14 #ifdef DtUSE_UTILITIES_NAMESPACE
15 namespace DtUSE_UTILITIES_NAMESPACE
38 virtual const char* datatype()
const;
41 virtual int intVal(
const void*);
44 virtual unsigned unsignedIntVal(
const void*)
const;
47 virtual DtString stringRep(
const void* ptr,
int* size = 0)
const;
51 virtual double numberRep(
const void* ptr,
int* size = 0)
const;
54 virtual int sizeNeeded(
const void* ptr)
const;
57 virtual void setUnsigned(
bool);
60 virtual std::vector<char> valueFromStringRep(
const DtString& stringRep)
const;
71 static int intValFromBuffer(
const void*);
76 const DtNetU32* netValPtr(
const void* ptr,
int* size=0)
const;
83 #ifdef DtUSE_UTILITIES_NAMESPACE
A type of datatype that can turn itself into a number (double) representation.
Definition: numberDatatypeRep.h:21
OMT Datatype of type Integer - in network format which means Big Endian representation.
Definition: intDatatypeRep.h:21
Contains the DtString class declaration.
Network-order unsigned 32-bit quantity.
Definition: vlNetTypes.h:99
#define DT_DLL_OMTREADER
Definition: omtReader.h:27
virtual int byteAlignment() const
The alignment size in bytes for this representation.
Definition: intDatatypeRep.h:63
bool myIsUnsigned
Definition: intDatatypeRep.h:79
Instances of DtString are used to represent strings.
Definition: vlString.h:36