![]() |
VR-Link API Documentation for HLA 1.3
|
A Datatype Representation is a class that can take a group of bytes and display them in a certain type of way that would be more useful to the user. More...
Inheritance diagram for DtDatatypeRep:Public Member Functions | |
| virtual const char * | datatype () const =0 |
| virtual DtString | stringRep (const void *ptr, int *size=0) const =0 |
| Given a byte string, returns a character string in a format that is easily read by a person. | |
A Datatype Representation is a class that can take a group of bytes and display them in a certain type of way that would be more useful to the user.
| virtual const char* DtDatatypeRep::datatype | ( | ) | const [pure virtual] |
Implemented in DtArrayDatatypeRep, DtCharDatatypeRep, DtDoubleDatatypeRep, DtFloatDatatypeRep, DtIntDatatypeRep, DtLongDatatypeRep, DtShortDatatypeRep, DtBoolDatatypeRep, DtHexDatatypeRep, DtStringDatatypeRep, DtUnicodeDatatypeRep, DtByteDatatypeRep, DtDoubleLEDatatypeRep, DtFloatLEDatatypeRep, DtEnum16DatatypeRep, DtEnum8DatatypeRep, DtIntLEDatatypeRep, DtLongLEDatatypeRep, DtShortLEDatatypeRep, DtEnum32DatatypeRep, DtEntityTypeDatatypeRep, DtAltVelocityDatatypeRep, DtTopoCoordinateDatatypeRep, and DtLatLongCoordinateDatatypeRep.
| virtual DtString DtDatatypeRep::stringRep | ( | const void * | ptr, |
| int * | size = 0 |
||
| ) | const [pure virtual] |
Given a byte string, returns a character string in a format that is easily read by a person.
| ptr | A Pointer to the unformated data |
| size | If this is other than 0, this pointer will be set to the total count of bytes used in ptr. |
Implemented in DtIntDatatypeRep, DtLongDatatypeRep, DtShortDatatypeRep, DtCharDatatypeRep, DtDoubleDatatypeRep, DtFloatDatatypeRep, DtIntLEDatatypeRep, DtLongLEDatatypeRep, DtShortLEDatatypeRep, DtArrayDatatypeRep, DtBoolDatatypeRep, DtHexDatatypeRep, DtByteDatatypeRep, DtDoubleLEDatatypeRep, DtFloatLEDatatypeRep, DtEnum16DatatypeRep, DtEnum8DatatypeRep, DtEnum32DatatypeRep, DtStringDatatypeRep, DtUnicodeDatatypeRep, DtEntityTypeDatatypeRep, DtAltVelocityDatatypeRep, DtTopoCoordinateDatatypeRep, and DtLatLongCoordinateDatatypeRep.