VR-Link API Documentation for HLA 1.3
Public Member Functions | Static Public Member Functions | Protected Attributes

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

+ Inheritance diagram for DtIntDatatypeRep:
+ Collaboration diagram for DtIntDatatypeRep:

List of all members.

Public Member Functions

 DtIntDatatypeRep (bool unsign=false)
 Default Constructor.
virtual ~DtIntDatatypeRep ()
 Destructor.
 DtIntDatatypeRep (const DtIntDatatypeRep &orig)
 Copy Constructor.
DtIntDatatypeRepoperator= (const DtIntDatatypeRep &rhs)
 Assignment Operator.
virtual const char * datatype () const
virtual unsigned unsignedIntVal (const void *) const
virtual DtString stringRep (const void *ptr, int *size=0) const
virtual double numberRep (const void *ptr, int *size=0) const
virtual void setUnsigned (bool)

Static Public Member Functions

static int intVal (const void *)

Protected Attributes

bool myIsUnsigned

Detailed Description

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


Constructor & Destructor Documentation

DtIntDatatypeRep::DtIntDatatypeRep ( bool  unsign = false)

Default Constructor.

virtual DtIntDatatypeRep::~DtIntDatatypeRep ( ) [virtual]

Destructor.

Copy Constructor.


Member Function Documentation

virtual const char* DtIntDatatypeRep::datatype ( ) const [virtual]
Returns:
"int"

Implements DtDatatypeRep.

Reimplemented in DtIntLEDatatypeRep.

static int DtIntDatatypeRep::intVal ( const void *  ) [static]
Returns:
the int val of this item NOTE: This function has been made static because it is used individually in the datatype manager when managing 1516 bitArrays
virtual double DtIntDatatypeRep::numberRep ( const void *  ptr,
int *  size = 0 
) const [virtual]
Returns:
the number version of the byte stream

Reimplemented in DtIntLEDatatypeRep.

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

Assignment Operator.

virtual void DtIntDatatypeRep::setUnsigned ( bool  ) [virtual]

Reimplemented in DtIntLEDatatypeRep.

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

Implements DtDatatypeRep.

Reimplemented in DtIntLEDatatypeRep.

virtual unsigned DtIntDatatypeRep::unsignedIntVal ( const void *  ) const [virtual]
Returns:
the unsigned int val of this item

Reimplemented in DtIntLEDatatypeRep.


Member Data Documentation

Reimplemented in DtIntLEDatatypeRep.


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

Document ID: Generated on Mon May 14 08:06:18 EDT 2012 from SVN revision 114750
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)