RTI Connext Traditional C++ API
Version 7.0.0
|
Built-in type consisting of a variable-length array of opaque bytes. More...
Public Member Functions | |
DDS_Octets () | |
Constructor. More... | |
DDS_Octets (int size) | |
Constructor that specifies the size of the allocated octets array. More... | |
~DDS_Octets () | |
Destructor. More... | |
Public Attributes | |
int | length |
Number of octets to serialize. More... | |
unsigned char * | value |
DDS_Octets array value. More... | |
Built-in type consisting of a variable-length array of opaque bytes.
|
inline |
Constructor.
The default constructor initializes the newly created object with NULL value, and zero length.
References DDS_OctetBuffer_dup(), length, and value.
Referenced by ~DDS_Octets().
|
inline |
Constructor that specifies the size of the allocated octets array.
After this method is called, length is set to zero.
If a memory allocation failure occurs, and the DDS_Octets structure is allocated but the array inside of it cannot be, the array will be NULL.
size | <<in>> Size of the allocated octets array. |
References DDS_OctetBuffer_alloc().
|
inline |
Destructor.
References DDS_OctetBuffer_dup(), DDS_OctetBuffer_free(), DDS_Octets(), length, and value.
int DDS_Octets::length |
Number of octets to serialize.
Referenced by DDS_KeyedOctets::DDS_KeyedOctets(), DDS_Octets(), DDS_KeyedOctets::~DDS_KeyedOctets(), and ~DDS_Octets().
unsigned char* DDS_Octets::value |