VR-Link API Documentation for DIS
List of all members | Public Member Functions | Protected Attributes
DtGlobalObjectDesignatorList Class Reference

Instances of DtGlobalObjectDesignatorList are list of globally significant object identifiers. More...

+ Collaboration diagram for DtGlobalObjectDesignatorList:

Public Member Functions

 DtGlobalObjectDesignatorList ()
 default constructor
virtual ~DtGlobalObjectDesignatorList ()
 destructor
 DtGlobalObjectDesignatorList (const DtGlobalObjectDesignatorList &orig)
 copy constructor
DtGlobalObjectDesignatorListoperator= (const DtGlobalObjectDesignatorList &orig)
 assignment operator
int operator== (const DtGlobalObjectDesignatorList &other) const
 equivalence operators
int operator!= (const DtGlobalObjectDesignatorList &other) const
virtual void setNumObjects (int num)
 Set/Get number of objects.
virtual int numObjects () const
virtual bool setObject (int index, const DtGlobalObjectDesignator &des)
 Set index'th object designator.
virtual const
DtGlobalObjectDesignator
object (int index, bool *valid=0) const
 Get index'th object designator.
virtual void printData () const
 Print data.
virtual void printDataToStream (std::ostream &stream) const
virtual void setFromNet (const void *netRep, int length)
 Set from network representation.
virtual const void * netRep (int *size=0) const
 Returns network representation, fills size with size of netRep.
virtual int netSize () const
 Returns size of network representation.

Protected Attributes

int myNum
DtGlobalObjectDesignatormyObjs
DtGlobalObjectDesignator myEmptyObj
void * myNetRep

Detailed Description

Instances of DtGlobalObjectDesignatorList are list of globally significant object identifiers.

Constructor & Destructor Documentation

DtGlobalObjectDesignatorList::DtGlobalObjectDesignatorList ( )

default constructor

virtual DtGlobalObjectDesignatorList::~DtGlobalObjectDesignatorList ( )
virtual

destructor

DtGlobalObjectDesignatorList::DtGlobalObjectDesignatorList ( const DtGlobalObjectDesignatorList orig)

copy constructor

Member Function Documentation

virtual const void* DtGlobalObjectDesignatorList::netRep ( int *  size = 0) const
virtual

Returns 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 DtGlobalObjectDesignatorList::netSize ( ) const
virtual

Returns size of network representation.

virtual int DtGlobalObjectDesignatorList::numObjects ( ) const
virtual
virtual const DtGlobalObjectDesignator& DtGlobalObjectDesignatorList::object ( int  index,
bool *  valid = 0 
) const
virtual

Get index'th object designator.

Set valid to false if bad index, true otherwise.

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

assignment operator

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

equivalence operators

virtual void DtGlobalObjectDesignatorList::printData ( ) const
virtual

Print data.

virtual void DtGlobalObjectDesignatorList::printDataToStream ( std::ostream &  stream) const
virtual
virtual void DtGlobalObjectDesignatorList::setFromNet ( const void *  netRep,
int  length 
)
virtual

Set from network representation.

virtual void DtGlobalObjectDesignatorList::setNumObjects ( int  num)
virtual

Set/Get number of objects.

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

virtual bool DtGlobalObjectDesignatorList::setObject ( int  index,
const DtGlobalObjectDesignator des 
)
virtual

Set index'th object designator.

Member Data Documentation

DtGlobalObjectDesignator DtGlobalObjectDesignatorList::myEmptyObj
protected
void* DtGlobalObjectDesignatorList::myNetRep
protected
int DtGlobalObjectDesignatorList::myNum
protected
DtGlobalObjectDesignator* DtGlobalObjectDesignatorList::myObjs
protected

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

Document ID: Generated on Wed Oct 23 22:25:48 EDT 2013 from SVN revision 132765
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)