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

Union of all value types representable by a Token in the Bond compiler. More...

#include <bond/types/value.h>

Public Member Functions

 Value ()
 
 Value (bool value)
 
 Value (int32_t value)
 
 Value (uint32_t value)
 
 Value (int64_t value)
 
 Value (uint64_t value)
 
 Value (float value)
 
 Value (double value)
 

Public Attributes

bool mBool
 
int32_t mInt
 
uint32_t mUInt
 
int64_t mLong
 
uint64_t mULong
 
float mFloat
 
double mDouble
 
struct {
   const char *   buffer
 
   size_t   length
 
mString
 

Detailed Description

Union of all value types representable by a Token in the Bond compiler.

Constructor & Destructor Documentation

◆ Value() [1/8]

Bond::Value::Value ( )
inline

◆ Value() [2/8]

Bond::Value::Value ( bool  value)
inlineexplicit

◆ Value() [3/8]

Bond::Value::Value ( int32_t  value)
inlineexplicit

◆ Value() [4/8]

Bond::Value::Value ( uint32_t  value)
inlineexplicit

◆ Value() [5/8]

Bond::Value::Value ( int64_t  value)
inlineexplicit

◆ Value() [6/8]

Bond::Value::Value ( uint64_t  value)
inlineexplicit

◆ Value() [7/8]

Bond::Value::Value ( float  value)
inlineexplicit

◆ Value() [8/8]

Bond::Value::Value ( double  value)
inlineexplicit

Member Data Documentation

◆ buffer

const char* Bond::Value::buffer

◆ length

size_t Bond::Value::length

◆ mBool

bool Bond::Value::mBool

◆ mDouble

double Bond::Value::mDouble

◆ mFloat

float Bond::Value::mFloat

◆ mInt

int32_t Bond::Value::mInt

◆ mLong

int64_t Bond::Value::mLong

◆ 

struct { ... } Bond::Value::mString

◆ mUInt

uint32_t Bond::Value::mUInt

◆ mULong

uint64_t Bond::Value::mULong

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