![]() |
VR-Link API Documentation for HLA 1516
|
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 | |
| DtRecordSetList & | operator= (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 DtRecordSet & | recordSet (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 |
| DtRecordSet * | myRecordSets |
| DtRecordSet | myEmptyObj |
| char * | myNetRepBuffer |
Instances of DtRecordSetList are lists of RecordSets.
This class was developed for use with the class DtTransferControlInteraction. It is similar to the DtGlobalObjectDesignatorList
default Constructor
| DtRecordSetList::DtRecordSetList | ( | const DtRecordSetList & | orig | ) |
copy constructor
| virtual DtRecordSetList::~DtRecordSetList | ( | ) | [virtual] |
destructor
| 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.
DtRecordSet DtRecordSetList::myEmptyObj [protected] |
char* DtRecordSetList::myNetRepBuffer [protected] |
int DtRecordSetList::myNum [protected] |
Referenced by numRecordSets().
DtRecordSet* DtRecordSetList::myRecordSets [protected] |