![]() |
VR-Exchange 2.2 API Documentation
|
Represents data of fixed length. More...
Public Member Functions | |
| DtFixedLengthData (const DtU32 data=0) | |
| Default CTOR. | |
| ~DtFixedLengthData () | |
| Default DTOR. | |
| DtFixedLengthData (const DtFixedLengthData &original) | |
| Copy CTOR – class is copyable. | |
| DtFixedLengthData & | operator= (const DtFixedLengthData &original) |
| Assignment Operator – class is copyable. | |
| bool | operator== (const DtFixedLengthData &rightOperand) const |
| Tests for equality by comparing size and bytes. | |
| bool | operator!= (const DtFixedLengthData &rightOperand) const |
| 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. | |
Data Exchange Attributes | |
| DtDEC_ATTRIBUTE (DtU32, Id, id) | |
| Specifies the type of fixed data. | |
| DtDEC_ATTRIBUTE (DtU32, Value, value) | |
| Value of the data. | |
Represents data of fixed length.
Modeled after IEEE 1278.1-1995 Section 5.2.10
| MAKVrExchange::DtFixedLengthData::DtFixedLengthData | ( | const DtU32 | data = 0 | ) |
Default CTOR.
| MAKVrExchange::DtFixedLengthData::~DtFixedLengthData | ( | ) |
Default DTOR.
| MAKVrExchange::DtFixedLengthData::DtFixedLengthData | ( | const DtFixedLengthData & | original | ) |
Copy CTOR – class is copyable.
| DtFixedLengthData& MAKVrExchange::DtFixedLengthData::operator= | ( | const DtFixedLengthData & | original | ) |
Assignment Operator – class is copyable.
| bool MAKVrExchange::DtFixedLengthData::operator== | ( | const DtFixedLengthData & | rightOperand | ) | const |
Tests for equality by comparing size and bytes.
| bool MAKVrExchange::DtFixedLengthData::operator!= | ( | const DtFixedLengthData & | rightOperand | ) | const |
| const unsigned int MAKVrExchange::DtFixedLengthData::size | ( | ) | const |
Returns the number of bytes stored in this class.
|
virtual |
Prints the byte array to a stream in hex.
| MAKVrExchange::DtFixedLengthData::DtDEC_ATTRIBUTE | ( | DtU32 | , |
| Id | , | ||
| id | |||
| ) |
Specifies the type of fixed data.
| MAKVrExchange::DtFixedLengthData::DtDEC_ATTRIBUTE | ( | DtU32 | , |
| Value | , | ||
| value | |||
| ) |
Value of the data.