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

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.
DtDatatypeRepoperator= (const DtDatatypeRep &rhs)
 Assignment Operator.
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.
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.
virtual int byteAlignment () const =0
 The alignment size in bytes for this representation.

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

Referenced by operator=().


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

Document ID: Generated on Mon Feb 6 18:36:34 EST 2017 from SVN revision 173107
Copyright © 2005-2016 VT MÄK. All Rights Reserved (www.mak.com)