Bond 0.9
C++ Bond Runtime Library API Documentation
Loading...
Searching...
No Matches
Bond::Value16 Union Reference

Union of all 16 bit value types used within the Bond compiler, the CBO file format, and the Bond Virtual Machine. More...

#include <bond/types/value.h>

Public Member Functions

 Value16 ()
 
 Value16 (int16_t value)
 
 Value16 (uint16_t value)
 
 Value16 (int32_t value)
 
 Value16 (uint32_t value)
 
 Value16 (const uint8_t value[])
 

Public Attributes

int16_t mShort
 
uint16_t mUShort
 
unsigned char mBytes [2]
 

Detailed Description

Union of all 16 bit value types used within the Bond compiler, the CBO file format, and the Bond Virtual Machine.

Constructor & Destructor Documentation

◆ Value16() [1/6]

Bond::Value16::Value16 ( )
inline

◆ Value16() [2/6]

Bond::Value16::Value16 ( int16_t  value)
inlineexplicit

◆ Value16() [3/6]

Bond::Value16::Value16 ( uint16_t  value)
inlineexplicit

◆ Value16() [4/6]

Bond::Value16::Value16 ( int32_t  value)
inlineexplicit

◆ Value16() [5/6]

Bond::Value16::Value16 ( uint32_t  value)
inlineexplicit

◆ Value16() [6/6]

Bond::Value16::Value16 ( const uint8_t  value[])
inlineexplicit

Member Data Documentation

◆ mBytes

unsigned char Bond::Value16::mBytes[2]

◆ mShort

int16_t Bond::Value16::mShort

◆ mUShort

uint16_t Bond::Value16::mUShort

The documentation for this union was generated from the following file: