ConfigDB::PropertyData Union Reference
#include <PropertyData.h>
Collaboration diagram for ConfigDB::PropertyData:
Public Member Functions | |
| String | getString (const PropertyInfo &info) const |
| void | setValue (const PropertyInfo &prop, const PropertyData &src) |
| Range-check raw binary value. Do not use with Strings. More... | |
| bool | setValue (PropertyType type, const char *value, unsigned valueLength) |
| bool | setValue (const PropertyInfo &prop, const char *value, unsigned valueLength) |
Static Public Member Functions | |
| static PropertyData * | fromStruct (const PropertyInfo &prop, void *data) |
| static const PropertyData * | fromStruct (const PropertyInfo &prop, const void *data) |
Public Attributes | |
| uint8_t | uint8 |
| uint16_t | uint16 |
| uint32_t | uint32 |
| uint64_t | uint64 |
| int8_t | int8 |
| int16_t | int16 |
| int32_t | int32 |
| int64_t | int64 |
| bool | boolean |
| Number | number |
| ArrayId | array |
| StringId | string |
Member Function Documentation
◆ fromStruct() [1/2]
|
inlinestatic |
◆ fromStruct() [2/2]
|
inlinestatic |
◆ getString()
| String ConfigDB::PropertyData::getString | ( | const PropertyInfo & | info | ) | const |
◆ setValue() [1/3]
| bool ConfigDB::PropertyData::setValue | ( | const PropertyInfo & | prop, |
| const char * | value, | ||
| unsigned | valueLength | ||
| ) |
◆ setValue() [2/3]
| void ConfigDB::PropertyData::setValue | ( | const PropertyInfo & | prop, |
| const PropertyData & | src | ||
| ) |
Range-check raw binary value. Do not use with Strings.
◆ setValue() [3/3]
| bool ConfigDB::PropertyData::setValue | ( | PropertyType | type, |
| const char * | value, | ||
| unsigned | valueLength | ||
| ) |
Member Data Documentation
◆ array
| ArrayId ConfigDB::PropertyData::array |
◆ boolean
| bool ConfigDB::PropertyData::boolean |
◆ int16
| int16_t ConfigDB::PropertyData::int16 |
◆ int32
| int32_t ConfigDB::PropertyData::int32 |
◆ int64
| int64_t ConfigDB::PropertyData::int64 |
◆ int8
| int8_t ConfigDB::PropertyData::int8 |
◆ number
| Number ConfigDB::PropertyData::number |
◆ string
| StringId ConfigDB::PropertyData::string |
◆ uint16
| uint16_t ConfigDB::PropertyData::uint16 |
◆ uint32
| uint32_t ConfigDB::PropertyData::uint32 |
◆ uint64
| uint64_t ConfigDB::PropertyData::uint64 |
◆ uint8
| uint8_t ConfigDB::PropertyData::uint8 |
The documentation for this union was generated from the following file:
1.9.1