Contains a boolean. More...
Public Member Functions | |
unsigned char | get_boolean () |
Provides access to data held in an BOOLEAN DynamicType object. More... | |
DDS::ReturnCode_t | set_boolean (unsigned char c) |
Assigns a value to the provided BOOLEAN DynamicType. More... | |
Public Member Functions inherited from CDX::DynamicType | |
virtual TypeCodeKind | get_type () |
Provides access to the 'type' of the DynamicType object. Applicable to any DynamicType. More... | |
Contains a boolean.
unsigned char CDX::BooleanDynamicType::get_boolean | ( | ) |
Provides access to data held in an BOOLEAN DynamicType object.
unsigned_char | 0 indicates FALSE, non-zero indicates TRUE. |
DDS::ReturnCode_t CDX::BooleanDynamicType::set_boolean | ( | unsigned char | c | ) |
Assigns a value to the provided BOOLEAN DynamicType.
BAD_PARAMETER | if 't' is not of type BOOLEAN. |
OK | upon success. |