![]() |
VR-Forces 4.0.4 Class Documentation
|
Public Member Functions | |
| DtAttachmentDescriptorList () | |
| default constructor | |
| virtual | ~DtAttachmentDescriptorList () |
| destructor | |
| DtAttachmentDescriptorList (const DtAttachmentDescriptorList &orig) | |
| copy constructor | |
| DtAttachmentDescriptorList & | operator= (const DtAttachmentDescriptorList &orig) |
| assignment operator | |
| int | operator== (const DtAttachmentDescriptorList &other) const |
| equivalence operators | |
| int | operator!= (const DtAttachmentDescriptorList &other) const |
| virtual void | setNumDescriptors (int num) |
| Set/Get number of strings. | |
| virtual int | numDescriptors () const |
| virtual bool | setDescriptor (int index, const DtAttachmentDescriptor &desc) |
| Set index'th string. | |
| virtual const DtAttachmentDescriptor & | descriptor (int index, bool *valid=0) const |
| Get index'th object designator. | |
| 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 | myNumberOfDescriptors |
| DtAttachmentDescriptor * | myDescriptors |
| DtAttachmentDescriptor | myEmptyDescriptor |
| void * | myNetRep |
default constructor
| virtual DtAttachmentDescriptorList::~DtAttachmentDescriptorList | ( | ) | [virtual] |
destructor
copy constructor
| DtAttachmentDescriptorList& DtAttachmentDescriptorList::operator= | ( | const DtAttachmentDescriptorList & | orig | ) |
assignment operator
| int DtAttachmentDescriptorList::operator== | ( | const DtAttachmentDescriptorList & | other | ) | const |
equivalence operators
| int DtAttachmentDescriptorList::operator!= | ( | const DtAttachmentDescriptorList & | other | ) | const |
| virtual void DtAttachmentDescriptorList::setNumDescriptors | ( | int | num | ) | [virtual] |
Set/Get number of strings.
Setting to a number lower than the current number will remove trailing strings from the list.
| virtual int DtAttachmentDescriptorList::numDescriptors | ( | ) | const [virtual] |
| virtual bool DtAttachmentDescriptorList::setDescriptor | ( | int | index, |
| const DtAttachmentDescriptor & | desc | ||
| ) | [virtual] |
Set index'th string.
| virtual const DtAttachmentDescriptor& DtAttachmentDescriptorList::descriptor | ( | int | index, |
| bool * | valid = 0 |
||
| ) | const [virtual] |
Get index'th object designator.
Set valid to false if bad index, true otherwise.
| virtual void DtAttachmentDescriptorList::setFromNet | ( | const void * | netRep, |
| int | length | ||
| ) | [virtual] |
Set from network representation.
| virtual const void* DtAttachmentDescriptorList::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 DtAttachmentDescriptorList::netSize | ( | ) | const [virtual] |
Returns size of network representation.
int DtAttachmentDescriptorList::myNumberOfDescriptors [protected] |
void* DtAttachmentDescriptorList::myNetRep [protected] |