MAK Data Logger API Documentation for HLA
List of all members | Public Member Functions | Static Public Member Functions | Protected Attributes
DtIntDatatypeRep Class Reference

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

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

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)
virtual std::vector< char > valueFromStringRep (const DtString &stringRep) const

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.

DtIntDatatypeRep::DtIntDatatypeRep ( const DtIntDatatypeRep orig)

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.

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

Implements DtDatatypeRep.

Reimplemented in DtIntLEDatatypeRep.

Member Data Documentation

bool DtIntDatatypeRep::myIsUnsigned
protected

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

Document ID: Generated on Thu Apr 10 18:53:01 EDT 2014 from SVN revision 138105
Copyright © 2005-2012 VT MÄK. All Rights Reserved (www.mak.com)