RTI Connext Traditional C++ API  Version 5.2.0
 All Classes Functions Variables Typedefs Enumerations Enumerator Groups Pages
DDS_Octets Struct Reference

Built-in type consisting of a variable-length array of opaque bytes. More...

Public Member Functions

 DDS_Octets ()
 Constructor.
 
 DDS_Octets (int size)
 Constructor that specifies the size of the allocated octets array.
 
 ~DDS_Octets ()
 Destructor.
 

Public Attributes

int length
 Number of octets to serialize.
 
unsigned char * value
 DDS_Octets array value.
 

Detailed Description

Built-in type consisting of a variable-length array of opaque bytes.

Constructor & Destructor Documentation

DDS_Octets::DDS_Octets ( )
inline

Constructor.

The default constructor initializes the newly created object with NULL value, and zero length.

DDS_Octets::DDS_Octets ( int  size)
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.

Parameters
size<<in>> Size of the allocated octets array.
DDS_Octets::~DDS_Octets ( )
inline

Destructor.

Member Data Documentation

int DDS_Octets::length

Number of octets to serialize.

unsigned char* DDS_Octets::value

DDS_Octets array value.


RTI Connext Traditional C++ API Version 5.2.0 Copyright © Sun Jun 21 2015 Real-Time Innovations, Inc