open-dis-cpp
Public Member Functions | Protected Attributes | List of all members
DIS::VariableDatum Class Reference

Public Member Functions

virtual void marshal (DataStream &dataStream) const
 
virtual void unmarshal (DataStream &dataStream)
 
unsigned int getVariableDatumID () const
 
void setVariableDatumID (unsigned int pX)
 
unsigned int getVariableDatumLength () const
 
void setVariableDatumLength (unsigned int pX)
 
char * getVariableDatums ()
 
const char * getVariableDatums () const
 
void setVariableDatums (const char *pX, const unsigned int length)
 
virtual unsigned int getMarshalledSize () const
 
bool operator== (const VariableDatum &rhs) const
 
virtual void marshal (DataStream &dataStream) const
 
virtual void unmarshal (DataStream &dataStream)
 
unsigned int getVariableDatumID () const
 
void setVariableDatumID (unsigned int pX)
 
unsigned int getVariableDatumLength () const
 
void setVariableDatumLength (unsigned int pX)
 
unsigned int getVariableDatumBits () const
 
void setVariableDatumBits (unsigned int pX)
 
unsigned int getPadding () const
 
void setPadding (unsigned int pX)
 
virtual int getMarshalledSize () const
 
bool operator== (const VariableDatum &rhs) const
 

Protected Attributes

unsigned int _variableDatumID
 ID of the variable datum. More...
 
unsigned int _variableDatumLength
 length of the variable datums More...
 
std::vector< char > _variableDatums
 The variable datum data. More...
 
unsigned int _arrayLength
 
unsigned int _variableDatumBits
 Variable datum. More...
 
unsigned int _padding
 padding to put the record on a 64 bit boundary
 
std::vector< EightByteChunk_variableDatums
 

Member Data Documentation

◆ _variableDatumBits

unsigned int DIS::VariableDatum::_variableDatumBits
protected

Variable datum.

This can be any number of bits long, depending on the datum.

◆ _variableDatumID

unsigned int DIS::VariableDatum::_variableDatumID
protected

ID of the variable datum.

Type of variable datum to be transmitted.

32 bit enumeration defined in EBV

◆ _variableDatumLength

unsigned int DIS::VariableDatum::_variableDatumLength
protected

length of the variable datums

Length, in bits, of the variable datum.

◆ _variableDatums

std::vector<char> DIS::VariableDatum::_variableDatums
protected

The variable datum data.


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