|
SIXP
SIXP API
|
Variant data type used for all information received. More...
Public Member Functions | |
| sixp_variant & | operator= (const sixp_variant &v) |
| Assignment operator. | |
| void | to_string (char *s, sixp_uint32_t max) const |
| Convert the value to a string. | |
Public Attributes | |
| bool | is_null |
| Null value? | |
| field_info::field_type | type |
| Type of value. | |
| union { | |
| bool tbool_value | |
| Value if type==tbool. | |
| sixp_time_t tdate_value | |
| Value if type==tdate. | |
| double tdouble_value | |
| Value if type==tdouble. | |
| char * tstring_value | |
| Value if type==tstring. | |
| sixp_time_t ttime_value | |
| Value if type==ttime. | |
| sixp_time_t ttimestamp_value | |
| Value if type==ttimestamp. | |
| sixp_uint16_t tuint16_value | |
| Value if type==tuint16. | |
| sixp_uint32_t tuint32_value | |
| Value if type==tuint32. | |
| } | value |
Variant data type used for all information received.
| void six::sixp::client::sixp_variant::to_string | ( | char * | s, |
| sixp_uint32_t | max | ||
| ) | const |
Convert the value to a string.
| s | Buffer to hold the value. |
| max | Max size of value. |