RTI Connext Traditional C++ API
Version 6.0.1
|
Keyed string built-in type. More...
Public Member Functions | |
DDS_KeyedString () | |
Constructor. | |
DDS_KeyedString (int key_size, int size) | |
Constructor that specifies the allocated sizes. | |
~DDS_KeyedString () | |
Destructor. | |
Public Attributes | |
char * | key |
Instance key associated with the specified value. | |
char * | value |
String value. | |
Keyed string built-in type.
|
inline |
Constructor.
The default constructor initializes the newly created object with NULL key and value.
|
inline |
Constructor that specifies the allocated sizes.
The allocated strings are initialized to empty ("").
If a memory allocation failure occurs, and the DDS_KeyedString structure is allocated but one or both strings inside of it cannot be, the unallocated string will be NULL.
key_size | <<in>> Size of the allocated key string (with NULL-terminated character). |
size | <<in>> Size of the allocated value string (with NULL-terminated character). |
References DDS_String_alloc(), DDS_String_free(), key, and value.
|
inline |
Destructor.
References DDS_String_free(), key, and value.
char* DDS_KeyedString::key |
Instance key associated with the specified value.
Referenced by DDS_KeyedString(), and ~DDS_KeyedString().
char* DDS_KeyedString::value |
String value.
Referenced by DDS_KeyedString(), and ~DDS_KeyedString().