![]() |
VR-Link API Documentation for DIS
|
A type of datatype that can turn itself into a number (double) representation. More...
Inheritance diagram for DtNumberDatatypeRep:
Collaboration diagram for DtNumberDatatypeRep:Public Member Functions | |
| DtNumberDatatypeRep (bool useImplicitPadding) | |
| DtNumberDatatypeRep (const DtNumberDatatypeRep &orig) | |
| virtual double | numberRep (const void *ptr, int *size=0) const =0 |
Public Member Functions inherited from DtDatatypeRep | |
| DtDatatypeRep (bool useImplicitPadding) | |
| DtDatatypeRep (const DtDatatypeRep &orig) | |
| Copy Constructor. More... | |
| DtDatatypeRep & | operator= (const DtDatatypeRep &rhs) |
| Assignment Operator. More... | |
| 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. More... | |
| 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. More... | |
| virtual int | byteAlignment () const =0 |
| The alignment size in bytes for this representation. More... | |
Additional Inherited Members | |
Protected Attributes inherited from DtDatatypeRep | |
| bool | myUseImplicitPadding |
A type of datatype that can turn itself into a number (double) representation.
|
inline |
|
inline |
|
pure virtual |
Implemented in DtLongDatatypeRep, DtShortDatatypeRep, DtDoubleDatatypeRep, DtFloatDatatypeRep, DtCharDatatypeRep, DtLongLEDatatypeRep, DtShortLEDatatypeRep, DtBoolDatatypeRep, DtEnum16DatatypeRep, DtByteDatatypeRep, DtDoubleLEDatatypeRep, DtEnum32DatatypeRep, DtFloatLEDatatypeRep, and DtEnum8DatatypeRep.