Contains a short. More...
Public Member Functions | |
int16_t | get_short () |
Provides access to data held in an SHORT DynamicType object. More... | |
DDS::ReturnCode_t | set_short (short c) |
Assigns a value to the provided SHORT 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 short.
int16_t CDX::ShortDynamicType::get_short | ( | ) |
Provides access to data held in an SHORT DynamicType object.
int16_t | the data value held by 't'. |
DDS::ReturnCode_t CDX::ShortDynamicType::set_short | ( | short | c | ) |
Assigns a value to the provided SHORT DynamicType.
BAD_PARAMETER | if 't' is not of type SHORT. |
OK | upon success. |