VR-Link API Documentation for DIS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Member Functions | Static Public Attributes | Protected Member Functions

OMT Datatype of type Double - in network format which means Big Endian representation. More...

+ Inheritance diagram for DtDoubleDatatypeRep:
+ Collaboration diagram for DtDoubleDatatypeRep:

Public Member Functions

 DtDoubleDatatypeRep (bool useImplicitPadding)
 Default Constructor. More...
 
virtual ~DtDoubleDatatypeRep ()
 Destructor. More...
 
 DtDoubleDatatypeRep (const DtDoubleDatatypeRep &orig)
 Copy Constructor. More...
 
DtDoubleDatatypeRepoperator= (const DtDoubleDatatypeRep &rhs)
 Assignment Operator. More...
 
virtual const char * datatype () const
 
virtual double doubleVal (const void *) const
 
virtual DtString stringRep (const void *ptr, int *size=0) const
 
virtual double numberRep (const void *ptr, int *size=0) const
 
virtual std::vector< char > valueFromStringRep (const DtString &stringRep) const
 
virtual int byteAlignment () const
 The alignment size in bytes for this representation. More...
 
- Public Member Functions inherited from DtNumberDatatypeRep
 DtNumberDatatypeRep (bool useImplicitPadding)
 
 DtNumberDatatypeRep (const DtNumberDatatypeRep &orig)
 
- Public Member Functions inherited from DtDatatypeRep
 DtDatatypeRep (bool useImplicitPadding)
 
 DtDatatypeRep (const DtDatatypeRep &orig)
 Copy Constructor. More...
 
DtDatatypeRepoperator= (const DtDatatypeRep &rhs)
 Assignment Operator. More...
 

Static Public Attributes

static int defaultFloatPrecision
 

Protected Member Functions

const DtNetFloat64netValPtr (const void *ptr, int *size=0) const
 Align pointer if necessary and if provided pass back size of data and any added padding. More...
 

Additional Inherited Members

- Protected Attributes inherited from DtDatatypeRep
bool myUseImplicitPadding
 

Detailed Description

OMT Datatype of type Double - in network format which means Big Endian representation.

Constructor & Destructor Documentation

DtDoubleDatatypeRep::DtDoubleDatatypeRep ( bool  useImplicitPadding)

Default Constructor.

virtual DtDoubleDatatypeRep::~DtDoubleDatatypeRep ( )
virtual

Destructor.

DtDoubleDatatypeRep::DtDoubleDatatypeRep ( const DtDoubleDatatypeRep orig)

Copy Constructor.

Member Function Documentation

virtual int DtDoubleDatatypeRep::byteAlignment ( ) const
inlinevirtual

The alignment size in bytes for this representation.

Implements DtDatatypeRep.

virtual const char* DtDoubleDatatypeRep::datatype ( ) const
virtual
Returns
"double"

Implements DtDatatypeRep.

Reimplemented in DtDoubleLEDatatypeRep.

virtual double DtDoubleDatatypeRep::doubleVal ( const void *  ) const
virtual
Returns
the double val of this item

Reimplemented in DtDoubleLEDatatypeRep.

const DtNetFloat64* DtDoubleDatatypeRep::netValPtr ( const void *  ptr,
int size = 0 
) const
protected

Align pointer if necessary and if provided pass back size of data and any added padding.

virtual double DtDoubleDatatypeRep::numberRep ( const void *  ptr,
int size = 0 
) const
virtual
Returns
the number version of the byte stream

Implements DtNumberDatatypeRep.

Reimplemented in DtDoubleLEDatatypeRep.

DtDoubleDatatypeRep& DtDoubleDatatypeRep::operator= ( const DtDoubleDatatypeRep rhs)

Assignment Operator.

virtual DtString DtDoubleDatatypeRep::stringRep ( const void *  ptr,
int size = 0 
) const
virtual
Returns
an exact copy of the byte stream

Implements DtDatatypeRep.

Reimplemented in DtDoubleLEDatatypeRep.

virtual std::vector<char> DtDoubleDatatypeRep::valueFromStringRep ( const DtString stringRep) const
virtual
Returns
the reverse of string rep

Implements DtDatatypeRep.

Reimplemented in DtDoubleLEDatatypeRep.

Member Data Documentation

int DtDoubleDatatypeRep::defaultFloatPrecision
static

The documentation for this class was generated from the following file:

Document ID: Generated on Mon Apr 25 03:39:01 EDT 2022 from SVN revision 242502
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)