A DDS_DynamicData object represents an individual data sample. It provides reflective getters and setters for the members of that sample. More...
Related Functions | |
(Note that these are not member functions.) | |
DDS_ReturnCode_t | DDS_DynamicData_get_type (DDS_DynamicData dd, DDS_DynamicType *dyn_type) |
This provides the type that defines the values within this sample. | |
DDS_ReturnCode_t | DDS_DynamicData_get_descriptor (DDS_DynamicData dd, DDS_MemberDescriptor *value, const DDS_MemberId id) |
This provides access to the descriptor for each value in this object, identified by the member ID. More... | |
DDS_ReturnCode_t | DDS_DynamicData_set_descriptor (DDS_DynamicData dd, const DDS_MemberId id, const DDS_MemberDescriptor *value) |
Set the descriptor of the member specified by 'id'. | |
unsigned char | DDS_DynamicData_equals (DDS_DynamicData dd, const DDS_DynamicData *other) |
Compare two DDS_DynamicData instances for equality. More... | |
DDS_MemberId | DDS_DynamicData_get_member_id_by_name (DDS_DynamicData dd, const DDS_ObjectName name) |
Access the 'id' of a member matching 'name'. | |
DDS_MemberId | DDS_DynamicData_get_member_id_at_index (DDS_DynamicData dd, const unsigned int index) |
Access the 'id' of a member at the specified index. | |
unsigned int | DDS_DynamicData_get_item_count (DDS_DynamicData dd) |
Access the "item count" of the DDS_DynamicData. More... | |
DDS_ReturnCode_t | DDS_DynamicData_clear_all_values (DDS_DynamicData dd) |
Clears all values from the instance. More... | |
DDS_ReturnCode_t | DDS_DynamicData_clear_nonkey_values (DDS_DynamicData dd) |
Clear all non-key values from the instance. More... | |
DDS_ReturnCode_t | DDS_DynamicData_clear_value (DDS_DynamicData dd, const DDS_MemberId id) |
Clear the specified value from the instance. More... | |
DDS_DynamicData | DDS_DynamicData_loan_value (DDS_DynamicData dd, const DDS_MemberId id) |
The "loan" operations loan to the application a DDS_DynamicData object representing a value within this sample. More... | |
DDS_ReturnCode_t | DDS_DynamicData_return_loaned_value (DDS_DynamicData dd, const DDS_DynamicData value) |
Return a "loaned" data sample. More... | |
DDS_DynamicData | DDS_DynamicData_clone (DDS_DynamicData dd) |
Create and return a new data sample with the same contents as this one. More... | |
DDS_ReturnCode_t | DDS_DynamicData_get_int32_value (DDS_DynamicData dd, int *value, const DDS_MemberId id) |
Access a 32bit integer value, identified by 'id', in the sample. More... | |
DDS_ReturnCode_t | DDS_DynamicData_set_int32_value (DDS_DynamicData dd, const DDS_MemberId id, const int value) |
Set a 32bit integer value, identified by 'id', in the sample. More... | |
DDS_ReturnCode_t | DDS_DynamicData_get_uint32_value (DDS_DynamicData dd, unsigned int *value, const DDS_MemberId id) |
Access an unsigned 32bit integer value, identified by 'id', in the sample. More... | |
DDS_ReturnCode_t | DDS_DynamicData_set_uint32_value (DDS_DynamicData dd, const DDS_MemberId id, const unsigned int value) |
Set an unsigned 32bit integer value, identified by 'id', in the sample. More... | |
DDS_ReturnCode_t | DDS_DynamicData_get_int16_value (DDS_DynamicData dd, short *value, const DDS_MemberId id) |
Access a 16bit integer value, identified by 'id', in the sample. More... | |
DDS_ReturnCode_t | DDS_DynamicData_set_int16_value (DDS_DynamicData dd, const DDS_MemberId id, const short value) |
Set a 16bit integer value, identified by 'id', in the sample. More... | |
DDS_ReturnCode_t | DDS_DynamicData_get_uint16_value (DDS_DynamicData dd, unsigned short *value, const DDS_MemberId id) |
Access an unsigned 16bit integer value, identified by 'id', in the sample. More... | |
DDS_ReturnCode_t | DDS_DynamicData_set_uint16_value (DDS_DynamicData dd, const DDS_MemberId id, const unsigned short value) |
Set an unsigned 16bit integer value, identified by 'id', in the sample. More... | |
DDS_ReturnCode_t | DDS_DynamicData_get_int64_value (DDS_DynamicData dd, int64_t *value, const DDS_MemberId id) |
Access a 64bit integer value, identified by 'id', in the sample. More... | |
DDS_ReturnCode_t | DDS_DynamicData_set_int64_value (DDS_DynamicData dd, const DDS_MemberId id, const int64_t value) |
Set a 64bit integer value, identified by 'id', in the sample. More... | |
DDS_ReturnCode_t | DDS_DynamicData_get_uint64_value (DDS_DynamicData dd, uint64_t *value, const DDS_MemberId id) |
Access an unsigned 64bit integer value, identified by 'id', in the sample. More... | |
DDS_ReturnCode_t | DDS_DynamicData_set_uint64_value (DDS_DynamicData dd, const DDS_MemberId id, const uint64_t value) |
Set an unsigned 64bit integer value, identified by 'id', in the sample. More... | |
DDS_ReturnCode_t | DDS_DynamicData_get_float32_value (DDS_DynamicData dd, float *value, const DDS_MemberId id) |
Access a float value, identified by 'id', in the sample. More... | |
DDS_ReturnCode_t | DDS_DynamicData_set_float32_value (DDS_DynamicData dd, const DDS_MemberId id, const float value) |
Set a float value, identified by 'id', in the sample. More... | |
DDS_ReturnCode_t | DDS_DynamicData_get_float64_value (DDS_DynamicData dd, double *value, const DDS_MemberId id) |
Access a double value, identified by 'id', in the sample. More... | |
DDS_ReturnCode_t | DDS_DynamicData_set_float64_value (DDS_DynamicData dd, const DDS_MemberId id, const double value) |
Set a double value, identified by 'id', in the sample. More... | |
DDS_ReturnCode_t | DDS_DynamicData_get_char8_value (DDS_DynamicData dd, char *value, const DDS_MemberId id) |
Access an 8bit character value, identified by 'id', in the sample. More... | |
DDS_ReturnCode_t | DDS_DynamicData_set_char8_value (DDS_DynamicData dd, const DDS_MemberId id, const char value) |
Set an 8bit character value, identified by 'id', in the sample. More... | |
DDS_ReturnCode_t | DDS_DynamicData_get_char32_value (DDS_DynamicData dd, cdx_char32_t *value, const DDS_MemberId id) |
Access a 32bit character value, identified by 'id', in the sample. More... | |
DDS_ReturnCode_t | DDS_DynamicData_set_char32_value (DDS_DynamicData dd, const DDS_MemberId id, const cdx_char32_t value) |
Set a 32bit character value, identified by 'id', in the sample. More... | |
DDS_ReturnCode_t | DDS_DynamicData_get_byte_value (DDS_DynamicData dd, unsigned char *value, const DDS_MemberId id) |
Access an 8bit value, identified by 'id', in the sample. More... | |
DDS_ReturnCode_t | DDS_DynamicData_set_byte_value (DDS_DynamicData dd, const DDS_MemberId id, const unsigned char value) |
Set an 8bit value, identified by 'id', in the sample. More... | |
DDS_ReturnCode_t | DDS_DynamicData_get_boolean_value (DDS_DynamicData dd, unsigned char *value, const DDS_MemberId id) |
Access a boolean value, identified by 'id', in the sample. More... | |
DDS_ReturnCode_t | DDS_DynamicData_set_boolean_value (DDS_DynamicData dd, const DDS_MemberId id, const unsigned char value) |
Set a boolean value, identified by 'id', in the sample. More... | |
DDS_ReturnCode_t | DDS_DynamicData_get_string_value (DDS_DynamicData dd, char **value, const DDS_MemberId id) |
Access a string value, identified by 'id', in the sample. More... | |
DDS_ReturnCode_t | DDS_DynamicData_set_string_value (DDS_DynamicData dd, const DDS_MemberId id, const char *value) |
Set a string value, identified by 'id', in the sample. More... | |
DDS_ReturnCode_t | DDS_DynamicData_get_wstring_value (DDS_DynamicData dd, cdx_char32_t **value, const DDS_MemberId id) |
Access a wstring value, identified by 'id', in the sample. More... | |
DDS_ReturnCode_t | DDS_DynamicData_set_wstring_value (DDS_DynamicData dd, const DDS_MemberId id, const cdx_char32_t *value) |
Set a wstring value, identified by 'id', in the sample. More... | |
DDS_ReturnCode_t | DDS_DynamicData_get_complex_value (DDS_DynamicData dd, DDS_DynamicData *value, const DDS_MemberId id) |
Access a complex value, identified by 'id', in the sample. More... | |
DDS_ReturnCode_t | DDS_DynamicData_set_complex_value (DDS_DynamicData dd, const DDS_MemberId id, const DDS_DynamicData value) |
Set a complex value, identified by 'id', in the sample. More... | |
DDS_ReturnCode_t | DDS_DynamicData_get_map_key_value (DDS_DynamicData dd, const char **key_str, const DDS_MemberId id) |
Access the key value of a map type, identified by 'id', in the sample. More... | |
DDS_ReturnCode_t | DDS_DynamicData_get_int32_values (DDS_DynamicData dd, DDS_Int32Seq *value, const DDS_MemberId id) |
Provide access to array values as a sequence. If 'dd' is an array type, then 'id' must be DDS_MEMBER_ID_INVALID. If 'dd' is an aggretage type, then 'id' must refer to a member that is of type array. The sequence is populated with a 'shallow' copy of the data. This means that modifications to any of the values in the sequence will result in modifications to the data in the DDS_DynamicData instance. It is an error to 'clear' the returned sequence, as this will destroy memory that the DynamicData owns. | |
DDS_ReturnCode_t | DDS_DynamicData_set_int32_values (DDS_DynamicData dd, const DDS_MemberId id, const DDS_Int32Seq *value) |
Modify an array of values in the DDS_DynamicData instance. More... | |
DDS_ReturnCode_t | DDS_DynamicData_get_uint32_values (DDS_DynamicData dd, DDS_UInt32Seq *value, const DDS_MemberId id) |
Provide access to array values as a sequence. If 'dd' is an array type, then 'id' must be DDS_MEMBER_ID_INVALID. If 'dd' is an aggretage type, then 'id' must refer to a member that is of type array. The sequence is populated with a 'shallow' copy of the data. This means that modifications to any of the values in the sequence will result in modifications to the data in the DDS_DynamicData instance. It is an error to 'clear' the returned sequence, as this will destroy memory that the DynamicData owns. | |
DDS_ReturnCode_t | DDS_DynamicData_set_uint32_values (DDS_DynamicData dd, const DDS_MemberId id, const DDS_UInt32Seq *value) |
Modify an array of values in the DDS_DynamicData instance. If 'dd' is an array type, then 'id' must be DDS_MEMBER_ID_INVALID. If 'dd' is an aggretage type, then 'id' must refer to a member that is of type array. This copies the data into the DynamicData instance 'dd'. Modifications to the value sequence after this call will not have an effect on the contents of 'dd'. | |
DDS_ReturnCode_t | DDS_DynamicData_get_int16_values (DDS_DynamicData dd, DDS_Int16Seq *value, const DDS_MemberId id) |
Provide access to array values as a sequence. If 'dd' is an array type, then 'id' must be DDS_MEMBER_ID_INVALID. If 'dd' is an aggretage type, then 'id' must refer to a member that is of type array. The sequence is populated with a 'shallow' copy of the data. This means that modifications to any of the values in the sequence will result in modifications to the data in the DDS_DynamicData instance. It is an error to 'clear' the returned sequence, as this will destroy memory that the DynamicData owns. | |
DDS_ReturnCode_t | DDS_DynamicData_set_int16_values (DDS_DynamicData dd, const DDS_MemberId id, const DDS_Int16Seq *value) |
Modify an array of values in the DDS_DynamicData instance. If 'dd' is an array type, then 'id' must be DDS_MEMBER_ID_INVALID. If 'dd' is an aggretage type, then 'id' must refer to a member that is of type array. This copies the data into the DynamicData instance 'dd'. Modifications to the value sequence after this call will not have an effect on the contents of 'dd'. | |
DDS_ReturnCode_t | DDS_DynamicData_get_uint16_values (DDS_DynamicData dd, DDS_UInt16Seq *value, const DDS_MemberId id) |
Provide access to array values as a sequence. If 'dd' is an array type, then 'id' must be DDS_MEMBER_ID_INVALID. If 'dd' is an aggretage type, then 'id' must refer to a member that is of type array. The sequence is populated with a 'shallow' copy of the data. This means that modifications to any of the values in the sequence will result in modifications to the data in the DDS_DynamicData instance. It is an error to 'clear' the returned sequence, as this will destroy memory that the DynamicData owns. | |
DDS_ReturnCode_t | DDS_DynamicData_set_uint16_values (DDS_DynamicData dd, const DDS_MemberId id, const DDS_UInt16Seq *value) |
Modify an array of values in the DDS_DynamicData instance. If 'dd' is an array type, then 'id' must be DDS_MEMBER_ID_INVALID. If 'dd' is an aggretage type, then 'id' must refer to a member that is of type array. This copies the data into the DynamicData instance 'dd'. Modifications to the value sequence after this call will not have an effect on the contents of 'dd'. | |
DDS_ReturnCode_t | DDS_DynamicData_get_int64_values (DDS_DynamicData dd, DDS_Int64Seq *value, const DDS_MemberId id) |
Provide access to array values as a sequence. If 'dd' is an array type, then 'id' must be DDS_MEMBER_ID_INVALID. If 'dd' is an aggretage type, then 'id' must refer to a member that is of type array. The sequence is populated with a 'shallow' copy of the data. This means that modifications to any of the values in the sequence will result in modifications to the data in the DDS_DynamicData instance. It is an error to 'clear' the returned sequence, as this will destroy memory that the DynamicData owns. | |
DDS_ReturnCode_t | DDS_DynamicData_set_int64_values (DDS_DynamicData dd, const DDS_MemberId id, const DDS_Int64Seq *value) |
Modify an array of values in the DDS_DynamicData instance. If 'dd' is an array type, then 'id' must be DDS_MEMBER_ID_INVALID. If 'dd' is an aggretage type, then 'id' must refer to a member that is of type array. This copies the data into the DynamicData instance 'dd'. Modifications to the value sequence after this call will not have an effect on the contents of 'dd'. | |
DDS_ReturnCode_t | DDS_DynamicData_get_uint64_values (DDS_DynamicData dd, DDS_UInt64Seq *value, const DDS_MemberId id) |
Provide access to array values as a sequence. If 'dd' is an array type, then 'id' must be DDS_MEMBER_ID_INVALID. If 'dd' is an aggretage type, then 'id' must refer to a member that is of type array. The sequence is populated with a 'shallow' copy of the data. This means that modifications to any of the values in the sequence will result in modifications to the data in the DDS_DynamicData instance. It is an error to 'clear' the returned sequence, as this will destroy memory that the DynamicData owns. | |
DDS_ReturnCode_t | DDS_DynamicData_set_uint64_values (DDS_DynamicData dd, const DDS_MemberId id, const DDS_UInt64Seq *value) |
Modify an array of values in the DDS_DynamicData instance. If 'dd' is an array type, then 'id' must be DDS_MEMBER_ID_INVALID. If 'dd' is an aggretage type, then 'id' must refer to a member that is of type array. This copies the data into the DynamicData instance 'dd'. Modifications to the value sequence after this call will not have an effect on the contents of 'dd'. | |
DDS_ReturnCode_t | DDS_DynamicData_get_float32_values (DDS_DynamicData dd, DDS_Float32Seq *value, const DDS_MemberId id) |
Provide access to array values as a sequence. If 'dd' is an array type, then 'id' must be DDS_MEMBER_ID_INVALID. If 'dd' is an aggretage type, then 'id' must refer to a member that is of type array. The sequence is populated with a 'shallow' copy of the data. This means that modifications to any of the values in the sequence will result in modifications to the data in the DDS_DynamicData instance. It is an error to 'clear' the returned sequence, as this will destroy memory that the DynamicData owns. | |
DDS_ReturnCode_t | DDS_DynamicData_set_float32_values (DDS_DynamicData dd, const DDS_MemberId id, const DDS_Float32Seq *value) |
Modify an array of values in the DDS_DynamicData instance. If 'dd' is an array type, then 'id' must be DDS_MEMBER_ID_INVALID. If 'dd' is an aggretage type, then 'id' must refer to a member that is of type array. This copies the data into the DynamicData instance 'dd'. Modifications to the value sequence after this call will not have an effect on the contents of 'dd'. | |
DDS_ReturnCode_t | DDS_DynamicData_get_float64_values (DDS_DynamicData dd, DDS_Float64Seq *value, const DDS_MemberId id) |
Provide access to array values as a sequence. If 'dd' is an array type, then 'id' must be DDS_MEMBER_ID_INVALID. If 'dd' is an aggretage type, then 'id' must refer to a member that is of type array. The sequence is populated with a 'shallow' copy of the data. This means that modifications to any of the values in the sequence will result in modifications to the data in the DDS_DynamicData instance. It is an error to 'clear' the returned sequence, as this will destroy memory that the DynamicData owns. | |
DDS_ReturnCode_t | DDS_DynamicData_set_float64_values (DDS_DynamicData dd, const DDS_MemberId id, const DDS_Float64Seq *value) |
Modify an array of values in the DDS_DynamicData instance. If 'dd' is an array type, then 'id' must be DDS_MEMBER_ID_INVALID. If 'dd' is an aggretage type, then 'id' must refer to a member that is of type array. This copies the data into the DynamicData instance 'dd'. Modifications to the value sequence after this call will not have an effect on the contents of 'dd'. | |
DDS_ReturnCode_t | DDS_DynamicData_get_char8_values (DDS_DynamicData dd, DDS_CharSeq *value, const DDS_MemberId id) |
Provide access to array values as a sequence. If 'dd' is an array type, then 'id' must be DDS_MEMBER_ID_INVALID. If 'dd' is an aggretage type, then 'id' must refer to a member that is of type array. The sequence is populated with a 'shallow' copy of the data. This means that modifications to any of the values in the sequence will result in modifications to the data in the DDS_DynamicData instance. It is an error to 'clear' the returned sequence, as this will destroy memory that the DynamicData owns. | |
DDS_ReturnCode_t | DDS_DynamicData_set_char8_values (DDS_DynamicData dd, const DDS_MemberId id, const DDS_CharSeq *value) |
Modify an array of values in the DDS_DynamicData instance. If 'dd' is an array type, then 'id' must be DDS_MEMBER_ID_INVALID. If 'dd' is an aggretage type, then 'id' must refer to a member that is of type array. This copies the data into the DynamicData instance 'dd'. Modifications to the value sequence after this call will not have an effect on the contents of 'dd'. | |
DDS_ReturnCode_t | DDS_DynamicData_get_char32_values (DDS_DynamicData dd, DDS_WcharSeq *value, const DDS_MemberId id) |
Provide access to array values as a sequence. If 'dd' is an array type, then 'id' must be DDS_MEMBER_ID_INVALID. If 'dd' is an aggretage type, then 'id' must refer to a member that is of type array. The sequence is populated with a 'shallow' copy of the data. This means that modifications to any of the values in the sequence will result in modifications to the data in the DDS_DynamicData instance. It is an error to 'clear' the returned sequence, as this will destroy memory that the DynamicData owns. | |
DDS_ReturnCode_t | DDS_DynamicData_set_char32_values (DDS_DynamicData dd, const DDS_MemberId id, const DDS_WcharSeq *value) |
Modify an array of values in the DDS_DynamicData instance. If 'dd' is an array type, then 'id' must be DDS_MEMBER_ID_INVALID. If 'dd' is an aggretage type, then 'id' must refer to a member that is of type array. This copies the data into the DynamicData instance 'dd'. Modifications to the value sequence after this call will not have an effect on the contents of 'dd'. | |
DDS_ReturnCode_t | DDS_DynamicData_get_byte_values (DDS_DynamicData dd, DDS_ByteSeq *value, const DDS_MemberId id) |
Provide access to array values as a sequence. If 'dd' is an array type, then 'id' must be DDS_MEMBER_ID_INVALID. If 'dd' is an aggretage type, then 'id' must refer to a member that is of type array. The sequence is populated with a 'shallow' copy of the data. This means that modifications to any of the values in the sequence will result in modifications to the data in the DDS_DynamicData instance. It is an error to 'clear' the returned sequence, as this will destroy memory that the DynamicData owns. | |
DDS_ReturnCode_t | DDS_DynamicData_set_byte_values (DDS_DynamicData dd, const DDS_MemberId id, const DDS_ByteSeq *value) |
Modify an array of values in the DDS_DynamicData instance. If 'dd' is an array type, then 'id' must be DDS_MEMBER_ID_INVALID. If 'dd' is an aggretage type, then 'id' must refer to a member that is of type array. This copies the data into the DynamicData instance 'dd'. Modifications to the value sequence after this call will not have an effect on the contents of 'dd'. | |
DDS_ReturnCode_t | DDS_DynamicData_get_boolean_values (DDS_DynamicData dd, DDS_BooleanSeq *value, const DDS_MemberId id) |
Provide access to array values as a sequence. If 'dd' is an array type, then 'id' must be DDS_MEMBER_ID_INVALID. If 'dd' is an aggretage type, then 'id' must refer to a member that is of type array. The sequence is populated with a 'shallow' copy of the data. This means that modifications to any of the values in the sequence will result in modifications to the data in the DDS_DynamicData instance. It is an error to 'clear' the returned sequence, as this will destroy memory that the DynamicData owns. | |
DDS_ReturnCode_t | DDS_DynamicData_set_boolean_values (DDS_DynamicData dd, const DDS_MemberId id, const DDS_BooleanSeq *value) |
Modify an array of values in the DDS_DynamicData instance. If 'dd' is an array type, then 'id' must be DDS_MEMBER_ID_INVALID. If 'dd' is an aggretage type, then 'id' must refer to a member that is of type array. This copies the data into the DynamicData instance 'dd'. Modifications to the value sequence after this call will not have an effect on the contents of 'dd'. | |
DDS_ReturnCode_t | DDS_DynamicData_get_string_values (DDS_DynamicData dd, DDS_StringSeq *value, const DDS_MemberId id) |
Provide access to array values as a sequence. If 'dd' is an array type, then 'id' must be DDS_MEMBER_ID_INVALID. If 'dd' is an aggretage type, then 'id' must refer to a member that is of type array. The sequence is populated with a 'shallow' copy of the data. This means that modifications to any of the values in the sequence will result in modifications to the data in the DDS_DynamicData instance. It is an error to 'clear' the returned sequence, as this will destroy memory that the DynamicData owns. | |
DDS_ReturnCode_t | DDS_DynamicData_set_string_values (DDS_DynamicData dd, const DDS_MemberId id, const DDS_StringSeq *value) |
Modify an array of values in the DDS_DynamicData instance. If 'dd' is an array type, then 'id' must be DDS_MEMBER_ID_INVALID. If 'dd' is an aggretage type, then 'id' must refer to a member that is of type array. This copies the data into the DynamicData instance 'dd'. Modifications to the value sequence after this call will not have an effect on the contents of 'dd'. | |
DDS_ReturnCode_t | DDS_DynamicData_get_wstring_values (DDS_DynamicData dd, DDS_WstringSeq *value, const DDS_MemberId id) |
Provide access to array values as a sequence. If 'dd' is an array type, then 'id' must be DDS_MEMBER_ID_INVALID. If 'dd' is an aggretage type, then 'id' must refer to a member that is of type array. The sequence is populated with a 'shallow' copy of the data. This means that modifications to any of the values in the sequence will result in modifications to the data in the DDS_DynamicData instance. It is an error to 'clear' the returned sequence, as this will destroy memory that the DynamicData owns. | |
DDS_ReturnCode_t | DDS_DynamicData_set_wstring_values (DDS_DynamicData dd, const DDS_MemberId id, const DDS_WstringSeq *value) |
Modify an array of values in the DDS_DynamicData instance. If 'dd' is an array type, then 'id' must be DDS_MEMBER_ID_INVALID. If 'dd' is an aggretage type, then 'id' must refer to a member that is of type array. This copies the data into the DynamicData instance 'dd'. Modifications to the value sequence after this call will not have an effect on the contents of 'dd'. | |
DDS_ReturnCode_t | DDS_DynamicDataFactory_create_value (DDS_DynamicDataFactory ddf, const DDS_DynamicData data, const DDS_MemberId id, DDS_DynamicData *value) |
Creates a DynamicData instance for the specified member (id) of 'data'. This is useful for 'optional' members that are not constructed by the DDS_DynamicData_create_data() call. By default 'optional' members are left in the 'null' state. To set them, call create_value() and then set_complex_value(). | |
A DDS_DynamicData object represents an individual data sample. It provides reflective getters and setters for the members of that sample.
Many of the properties and operations on DDS_DynamicData refer to values within the sample, which are identified by name, member ID, or index.
What constitutes a value within a sample, and which means of accessing it are valid, depends on the type of the sample.
Note that indices used here are always relative to other values in a particular DDS_DynamicData object. Even though member definitions within aggregate types have a well-defined order, the same is not true within data samples or across data samples.
Specifically, the index at which a member of an aggregated type appears in a particular data sample may not match that in which it appears in the corresponding type and may not match the index at which it appears in a different data sample.
There are several reasons for these inconsistencies: