VR-Link API Documentation for HLA 1516
Public Member Functions | Protected Attributes
DtRecordSetList Class Reference

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

+ Collaboration diagram for DtRecordSetList:

List of all members.

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

default Constructor

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 [inline, virtual]

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

int DtRecordSetList::myNum [protected]

Referenced by numRecordSets().


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)