![]() |
MAK Data Logger API Documentation for HLA
|
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. | |
| virtual std::vector< char > | valueFromStringRep (const DtString &stringRep) const =0 |
| The reverse of string rep, given a character string, this returns an unformatted byte stream. | |
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.
|
pure virtual |
Implemented in DtArrayDatatypeRep, DtCharDatatypeRep, DtDoubleDatatypeRep, DtFloatDatatypeRep, DtIntDatatypeRep, DtLongDatatypeRep, DtShortDatatypeRep, DtBoolDatatypeRep, DtHexDatatypeRep, DtStringDatatypeRep, DtUnicodeDatatypeRep, DtByteDatatypeRep, DtDoubleLEDatatypeRep, DtFloatLEDatatypeRep, DtEnum16DatatypeRep, DtEnum8DatatypeRep, DtIntLEDatatypeRep, DtLongLEDatatypeRep, DtShortLEDatatypeRep, DtEnum32DatatypeRep, DtTopoCoordinateDatatypeRep, DtAltVelocityDatatypeRep, DtEntityTypeDatatypeRep, and DtLatLongCoordinateDatatypeRep.
|
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, DtTopoCoordinateDatatypeRep, DtAltVelocityDatatypeRep, DtEntityTypeDatatypeRep, and DtLatLongCoordinateDatatypeRep.
|
pure virtual |
The reverse of string rep, given a character string, this returns an unformatted byte stream.
| stringRep | A The character string |
| 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, DtEntityTypeDatatypeRep, DtIntLEDatatypeRep, DtLongLEDatatypeRep, DtShortLEDatatypeRep, DtDoubleDatatypeRep, DtFloatDatatypeRep, DtBoolDatatypeRep, DtHexDatatypeRep, DtByteDatatypeRep, DtDoubleLEDatatypeRep, DtFloatLEDatatypeRep, DtEnum16DatatypeRep, DtEnum8DatatypeRep, DtTopoCoordinateDatatypeRep, DtAltVelocityDatatypeRep, DtEnum32DatatypeRep, DtStringDatatypeRep, DtUnicodeDatatypeRep, and DtLatLongCoordinateDatatypeRep.