13 #include <vlutil/vlString.h>
35 virtual const char*
datatype()
const;
41 virtual int intVal(
const void*);
44 virtual unsigned unsignedIntVal(
const void*)
const;
50 virtual double numberRep(
const void* ptr,
int* size = 0)
const;
52 virtual void setUnsigned(
bool);
66 static int intValFromBuffer(
const void*);
71 const DtNetU32* netValPtr(
const void* ptr,
int* size=0)
const;
OMT Datatype of type Integer - in network format which means Big Endian representation.
Definition: intDatatypeRep.h:18
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
A Datatype Representation is a class that can take a group of bytes and display them in a certain typ...
Definition: datatypeRep.h:20
virtual int byteAlignment() const
The alignment size in bytes for this representation.
Definition: intDatatypeRep.h:58
DtDatatypeRep & operator=(const DtDatatypeRep &rhs)
Assignment Operator.
Definition: datatypeRep.h:67
virtual const char * datatype() const =0
bool myIsUnsigned
Definition: intDatatypeRep.h:74
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...