13 #include <vlutil/vlUtil.h>
26 virtual double numberRep(
const void* ptr,
int* size =
nullptr)
const = 0;
29 virtual int sizeNeeded(
const void* ptr)
const = 0;
35 int adjustedSizeNeeded(
const void* ptr,
int repSize)
const;
51 int neededSize = repSize;
54 const char* alignedPtr =
reinterpret_cast<const char*
>(alignPtr(ptr, repSize));
55 neededSize += (alignedPtr - (
const char*)ptr);
A type of datatype that can turn itself into a number (double) representation.
Definition: numberDatatypeRep.h:17
DtNumberDatatypeRep(bool useImplicitPadding)
Definition: numberDatatypeRep.h:39
#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
int adjustedSizeNeeded(const void *ptr, int repSize) const
Definition: numberDatatypeRep.h:49
bool myUseImplicitPadding
Definition: datatypeRep.h:54