Instances of DtVariableDatumRecord are used to hold a single variable datum record and to provide access to its network representation.
More...
Detailed Description
Instances of DtVariableDatumRecord are used to hold a single variable datum record and to provide access to its network representation.
Constructor & Destructor Documentation
| DtVariableDatumRecord::DtVariableDatumRecord |
( |
| ) |
|
| virtual DtVariableDatumRecord::~DtVariableDatumRecord |
( |
| ) |
|
|
virtual |
Member Function Documentation
| virtual const char* DtVariableDatumRecord::constDatumValPtr |
( |
| ) |
const |
|
virtual |
Get a const pointer to the datum value inside of the record.
| virtual const DtNetVarDatum* DtVariableDatumRecord::constNetStruct |
( |
| ) |
const |
|
protectedvirtual |
| virtual DtU32 DtVariableDatumRecord::datumBitLength |
( |
| ) |
const |
|
virtual |
| virtual int DtVariableDatumRecord::datumByteLength |
( |
| ) |
const |
|
virtual |
Get the datum length in bytes (padded to an 8 byte boundary).
| virtual int DtVariableDatumRecord::datumByteSize |
( |
int |
datumBitLength | ) |
const |
|
protectedvirtual |
Compute the total datum size in bytes from the datum bit length.
| virtual DtDatumParam DtVariableDatumRecord::datumID |
( |
| ) |
const |
|
virtual |
| virtual DtFloat32 DtVariableDatumRecord::datumValFloat32 |
( |
| ) |
const |
|
virtual |
| virtual DtFloat64 DtVariableDatumRecord::datumValFloat64 |
( |
| ) |
const |
|
virtual |
| virtual DtInt16 DtVariableDatumRecord::datumValInt16 |
( |
| ) |
const |
|
virtual |
| virtual DtInt32 DtVariableDatumRecord::datumValInt32 |
( |
| ) |
const |
|
virtual |
| virtual char* DtVariableDatumRecord::datumValPtr |
( |
| ) |
|
|
virtual |
Get a pointer to the datum value inside of the record.
| virtual DtU16 DtVariableDatumRecord::datumValU16 |
( |
| ) |
const |
|
virtual |
| virtual DtU32 DtVariableDatumRecord::datumValU32 |
( |
| ) |
const |
|
virtual |
| virtual DtU8 DtVariableDatumRecord::datumValU8 |
( |
| ) |
const |
|
virtual |
| virtual void DtVariableDatumRecord::deleteIfNoExternal |
( |
| ) |
|
|
protectedvirtual |
Delete the internal buffer if there is no external buffer.
| virtual void DtVariableDatumRecord::getDatumValByteArray |
( |
DtU8 * |
copyTo | ) |
const |
|
virtual |
| virtual int DtVariableDatumRecord::networkByteLength |
( |
| ) |
const |
|
virtual |
Get the network byte length of the entire datum record.
| virtual const char* DtVariableDatumRecord::networkDataBuffer |
( |
| ) |
const |
|
virtual |
Get a pointer to the buffer which stores the network representation of the datum record.
| virtual void DtVariableDatumRecord::printData |
( |
| ) |
const |
|
virtual |
Print the contents of the record.
| virtual void DtVariableDatumRecord::printDataToStream |
( |
std::ostream & |
str | ) |
const |
|
virtual |
| virtual int DtVariableDatumRecord::recordByteSize |
( |
int |
datumBitLength | ) |
const |
|
protectedvirtual |
Compute the total record size in bytes from the datum bit length.
| virtual void DtVariableDatumRecord::setDatumBitLength |
( |
DtU32 |
newDatumBitLength | ) |
|
|
virtual |
Set/Get the datum length in bits.
This method will re-allocate memory if the buffer is an internal buffer.
| virtual void DtVariableDatumRecord::setDatumID |
( |
DtDatumParam |
value | ) |
|
|
virtual |
Set/Get the variable datum ID.
| virtual void DtVariableDatumRecord::setDatumValByteArray |
( |
const DtU8 * |
setFrom | ) |
|
|
virtual |
Set/Get datum value as a byte array.
Data is copied to and from the network data buffer according to the specified length of the record.
| virtual void DtVariableDatumRecord::setDatumValFloat32 |
( |
DtFloat32 |
value | ) |
|
|
virtual |
Set/Get datum value as a DtFloat32.
Set will set the datum bit length to 32.
| virtual void DtVariableDatumRecord::setDatumValFloat64 |
( |
DtFloat64 |
value | ) |
|
|
virtual |
Set/Get datum value as a DtFloat64.
Set will set the datum bit length to 64.
| virtual void DtVariableDatumRecord::setDatumValInt16 |
( |
DtInt16 |
value | ) |
|
|
virtual |
Set/Get datum value as a DtInt16.
Set will set the datum bit length to 16.
| virtual void DtVariableDatumRecord::setDatumValInt32 |
( |
DtInt32 |
value | ) |
|
|
virtual |
Set/Get datum value as a DtInt32.
Set will set the datum bit length to 32.
| virtual void DtVariableDatumRecord::setDatumValU16 |
( |
DtU16 |
value | ) |
|
|
virtual |
Set/Get datum value as a DtU16.
Set will set the datum bit length to 16.
| virtual void DtVariableDatumRecord::setDatumValU32 |
( |
DtU32 |
value | ) |
|
|
virtual |
Set/Get datum value as a DtU32.
Set will set the datum bit length to 32.
| virtual void DtVariableDatumRecord::setDatumValU8 |
( |
DtU8 |
value | ) |
|
|
virtual |
Set/Get datum value as a DtU8.
Set will set the datum bit length to 8.
| virtual void DtVariableDatumRecord::setExternalBuffer |
( |
char * |
bufferPtr | ) |
|
|
virtual |
Set the working buffer to an externally supplied buffer.
Member Data Documentation
| char* DtVariableDatumRecord::myExternalBuffer |
|
protected |
| char* DtVariableDatumRecord::myRecordBuffer |
|
protected |
The documentation for this class was generated from the following file: