![]() |
VR-Exchange 2.4 API Documentation
|
Represents variable length byte arrays. More...
Public Member Functions | |
| DtVariableLengthData () | |
| Default CTOR. | |
| DtVariableLengthData (const char *data, unsigned int size) | |
| CTOR. | |
| DtVariableLengthData (const DtVariableLengthData &other) | |
| Copy CTOR. | |
| ~DtVariableLengthData () | |
| DTOR. | |
| DtVariableLengthData & | operator= (const DtVariableLengthData &other) |
| Assignment Operator. | |
| void | setData (const char *data, unsigned int size) |
| sets the data | |
| const char * | data () const |
| Returns the data for this class. | |
| const unsigned int | size () const |
| Returns the number of bytes stored in this class. | |
| virtual std::ostream & | printDataToStream (std::ostream &stream) const |
| Prints the byte array to a stream in hex. | |
Comparison Operators. | |
| bool | operator== (const DtVariableLengthData &other) const |
| bool | operator!= (const DtVariableLengthData &other) const |
Data Exchange Attributes | |
| DtDEC_ATTRIBUTE (std::vector< char >, DataArray, dataArray) | |
Represents variable length byte arrays.
| MAKVrExchange::DtVariableLengthData::DtVariableLengthData | ( | ) |
Default CTOR.
| MAKVrExchange::DtVariableLengthData::DtVariableLengthData | ( | const char * | data, |
| unsigned int | size | ||
| ) |
CTOR.
Takes memory pointer and size, and copies into local storage.
| MAKVrExchange::DtVariableLengthData::DtVariableLengthData | ( | const DtVariableLengthData & | other | ) |
Copy CTOR.
| MAKVrExchange::DtVariableLengthData::~DtVariableLengthData | ( | ) |
DTOR.
| const char* MAKVrExchange::DtVariableLengthData::data | ( | ) | const |
Returns the data for this class.
| MAKVrExchange::DtVariableLengthData::DtDEC_ATTRIBUTE | ( | std::vector< char > | , |
| DataArray | , | ||
| dataArray | |||
| ) |
| bool MAKVrExchange::DtVariableLengthData::operator!= | ( | const DtVariableLengthData & | other | ) | const |
| DtVariableLengthData& MAKVrExchange::DtVariableLengthData::operator= | ( | const DtVariableLengthData & | other | ) |
Assignment Operator.
| bool MAKVrExchange::DtVariableLengthData::operator== | ( | const DtVariableLengthData & | other | ) | const |
|
virtual |
Prints the byte array to a stream in hex.
| void MAKVrExchange::DtVariableLengthData::setData | ( | const char * | data, |
| unsigned int | size | ||
| ) |
sets the data
| const unsigned int MAKVrExchange::DtVariableLengthData::size | ( | ) | const |
Returns the number of bytes stored in this class.