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

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

+ Collaboration diagram for DtGlobalObjectDesignatorList:

List of all members.

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

default constructor

destructor

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


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)