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

A Datatype Representation is a class that can take a group of bytes and display them in a certain type of way that would be more useful to the user. More...

+ Inheritance diagram for DtDatatypeRep:
+ Collaboration diagram for DtDatatypeRep:

Public Member Functions

 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...
 

Protected Attributes

bool myUseImplicitPadding
 

Detailed Description

A Datatype Representation is a class that can take a group of bytes and display them in a certain type of way that would be more useful to the user.

Constructor & Destructor Documentation

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

Copy Constructor.

Member Function Documentation

virtual int DtDatatypeRep::byteAlignment ( ) const
pure virtual
virtual const char* DtDatatypeRep::datatype ( ) const
pure virtual
DtDatatypeRep & DtDatatypeRep::operator= ( const DtDatatypeRep rhs)
inline

Assignment Operator.

References myUseImplicitPadding.

virtual DtString DtDatatypeRep::stringRep ( const void *  ptr,
int size = 0 
) const
pure virtual
virtual std::vector<char> DtDatatypeRep::valueFromStringRep ( const DtString stringRep) const
pure virtual

Member Data Documentation

bool DtDatatypeRep::myUseImplicitPadding
protected

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

Document ID: Generated on Thu Oct 16 00:12:25 EDT 2025 from SVN revision 280738
Copyright © 1992-2025 MAK Technologies. All Rights Reserved (www.mak.com)