VR-Link API Documentation for HLA 4
 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 More...
 
 DtRecordSetList (const DtRecordSetList &orig)
 copy constructor More...
 
virtual ~DtRecordSetList ()
 destructor More...
 
DtRecordSetListoperator= (const DtRecordSetList &orig)
 assignment Operators More...
 
int operator== (const DtRecordSetList &other) const
 equivalence operators More...
 
int operator!= (const DtRecordSetList &other) const
 
virtual void setNumRecordSets (int num)
 Set/Get number of recordSets. More...
 
virtual int numRecordSets () const
 
virtual bool setRecordSet (int index, const DtRecordSet &des)
 set the index'th recordSet designator. More...
 
virtual const DtRecordSetrecordSet (int index, bool *valid=NULL) const
 Get the index'th recordSet designator. More...
 
virtual void print () const
 print data. More...
 
virtual void printDataToStream (std::ostream &stream) const
 
virtual int netSize () const
 returns the size of the network representation. More...
 
virtual const void * netRep () const
 Returns the network representation, fills size with size of netRep. More...
 
virtual void setFromNet (const void *netRep, int length)
 set from the network representation. More...
 

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 Thu Oct 16 00:12:25 EDT 2025 from SVN revision 280738
Copyright © 1992-2025 MAK Technologies. All Rights Reserved (www.mak.com)