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
DtRecordSetList Class Reference

Instances of DtRecordSetList are lists of RecordSets. More...

+ Collaboration diagram for DtRecordSetList:

Public Member Functions

 DtRecordSetList ()
 default Constructor
 DtRecordSetList (const DtRecordSetList &orig)
 copy constructor
virtual ~DtRecordSetList ()
 destructor
DtRecordSetListoperator= (const DtRecordSetList &orig)
 assignment Operators
int operator== (const DtRecordSetList &other) const
 equivalence operators
int operator!= (const DtRecordSetList &other) const
virtual void setNumRecordSets (int num)
 Set/Get number of recordSets.
virtual int numRecordSets () const
virtual bool setRecordSet (int index, const DtRecordSet &des)
 set the index'th recordSet designator.
virtual const DtRecordSetrecordSet (int index, bool *valid=NULL) const
 Get the index'th recordSet designator.
virtual void print () const
 print data.
virtual void printDataToStream (std::ostream &stream) const
virtual int netSize () const
 returns the size of the network representation.
virtual const void * netRep () const
 Returns the network representation, fills size with size of netRep.
virtual void setFromNet (const void *netRep, int length)
 set from the network representation.

Protected Attributes

int myNum
DtRecordSetmyRecordSets
DtRecordSet myEmptyObj
char * myNetRepBuffer

Detailed Description

Instances of DtRecordSetList are lists of RecordSets.

This class was developed for use with the class DtTransferControlInteraction. It is similar to the DtGlobalObjectDesignatorList

Constructor & Destructor Documentation

DtRecordSetList::DtRecordSetList ( )

default Constructor

DtRecordSetList::DtRecordSetList ( const DtRecordSetList orig)

copy constructor

virtual DtRecordSetList::~DtRecordSetList ( )
virtual

destructor

Member Function Documentation

virtual const void* DtRecordSetList::netRep ( ) const
virtual

Returns the network representation, fills size with size of netRep.

Return value is pointer to internal object with same lifetime as this. do not delete.

virtual int DtRecordSetList::netSize ( ) const
virtual

returns the size of the network representation.

int DtRecordSetList::numRecordSets ( ) const
inlinevirtual

References myNum.

int DtRecordSetList::operator!= ( const DtRecordSetList other) const
DtRecordSetList& DtRecordSetList::operator= ( const DtRecordSetList orig)

assignment Operators

int DtRecordSetList::operator== ( const DtRecordSetList other) const

equivalence operators

virtual void DtRecordSetList::print ( ) const
virtual

print data.

virtual void DtRecordSetList::printDataToStream ( std::ostream &  stream) const
virtual
virtual const DtRecordSet& DtRecordSetList::recordSet ( int  index,
bool valid = NULL 
) const
virtual

Get the index'th recordSet designator.

Set valid to false if the index was out of range, true if otherwise.

virtual void DtRecordSetList::setFromNet ( const void *  netRep,
int  length 
)
virtual

set from the network representation.

virtual void DtRecordSetList::setNumRecordSets ( int  num)
virtual

Set/Get number of recordSets.

Setting to a number lower than the current number will remove trailing recordSets from the list.

virtual bool DtRecordSetList::setRecordSet ( int  index,
const DtRecordSet des 
)
virtual

set the index'th recordSet designator.

Member Data Documentation

DtRecordSet DtRecordSetList::myEmptyObj
protected
char* DtRecordSetList::myNetRepBuffer
protected
int DtRecordSetList::myNum
protected

Referenced by numRecordSets().

DtRecordSet* DtRecordSetList::myRecordSets
protected

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

Document ID: Generated on Wed Jan 7 13:31:29 EST 2015 from SVN revision 149162
Copyright © 2005-2014 VT MÄK. All Rights Reserved (www.mak.com)