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
DtNumberDatatypeRep Class Referenceabstract

A type of datatype that can turn itself into a number (double) representation. More...

+ Inheritance diagram for DtNumberDatatypeRep:
+ Collaboration diagram for DtNumberDatatypeRep:

Public Member Functions

 DtNumberDatatypeRep (bool useImplicitPadding)
 
 DtNumberDatatypeRep (const DtNumberDatatypeRep &orig)
 
virtual double numberRep (const void *ptr, int *size=0) const =0
 
- Public Member Functions inherited from DtDatatypeRep
 DtDatatypeRep (bool useImplicitPadding)
 
 DtDatatypeRep (const DtDatatypeRep &orig)
 Copy Constructor. More...
 
DtDatatypeRepoperator= (const DtDatatypeRep &rhs)
 Assignment Operator. More...
 
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. More...
 
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. More...
 
virtual int byteAlignment () const =0
 The alignment size in bytes for this representation. More...
 

Additional Inherited Members

- Protected Attributes inherited from DtDatatypeRep
bool myUseImplicitPadding
 

Detailed Description

A type of datatype that can turn itself into a number (double) representation.

Constructor & Destructor Documentation

DtNumberDatatypeRep::DtNumberDatatypeRep ( bool  useImplicitPadding)
inline
DtNumberDatatypeRep::DtNumberDatatypeRep ( const DtNumberDatatypeRep orig)
inline

Member Function Documentation

virtual double DtNumberDatatypeRep::numberRep ( const void *  ptr,
int size = 0 
) const
pure virtual

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

Document ID: Generated on Wed Mar 27 02:04:30 EDT 2024 from SVN revision 264570
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)