15 #include <vlutil/vlString.h>
36 virtual const char*
datatype()
const;
39 virtual int byteVal(
const void*)
const;
45 virtual double numberRep(
const void* ptr,
int* size = 0)
const;
A type of datatype that can turn itself into a number (double) representation.
Definition: numberDatatypeRep.h:15
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...
#define DT_DLL_OMTREADER
Definition: omtReader.h:23
OMT Datatype of type Char - in network format which means Big Endian representation.
Definition: charDatatypeRep.h:19
DtDatatypeRep & operator=(const DtDatatypeRep &rhs)
Assignment Operator.
Definition: datatypeRep.h:67
virtual double numberRep(const void *ptr, int *size=0) const =0
virtual int byteAlignment() const
The alignment size in bytes for this representation.
Definition: charDatatypeRep.h:51
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...