|
inkcpp
|
Repserentation of a ink variable. More...
#include <inkcpp.h>
Public Types | |
| enum | Type { ValueTypeNone , ValueTypeBool , ValueTypeUint32 , ValueTypeInt32 , ValueTypeString , ValueTypeFloat , ValueTypeList } |
| indicates which type is contained in the value More... | |
Public Attributes | |
| union { | |
| int bool_v | |
| contains value if type == ValueTypeBool | |
| uint32_t uint32_v | |
| contains value if type == ValueTypeUint32 | |
| int32_t int32_v | |
| contains value if type == ValueTypeInt32 | |
| const char * string_v | |
| contains value if type == ValueTypeString | |
| float float_v | |
| contains value if type == ValueTypeFloat | |
| HInkList * list_v | |
| contains value if type == ValueTypeList | |
| }; | |
| enum InkValue::Type | type |
| indicates type contained in value | |
Repserentation of a ink variable.
The concret type contained is noted in type, please use this information to access the corresponding field of the union
| enum InkValue::Type |