![]() |
VR-Forces Development_Version 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 |
| DtAttachmentDescriptorList::DtAttachmentDescriptorList | ( | ) |
default constructor
|
virtual |
destructor
| DtAttachmentDescriptorList::DtAttachmentDescriptorList | ( | const DtAttachmentDescriptorList & | orig | ) |
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 |
Set/Get number of strings.
Setting to a number lower than the current number will remove trailing strings from the list.
|
virtual |
|
virtual |
Set index'th string.
|
virtual |
Get index'th object designator.
Set valid to false if bad index, true otherwise.
|
virtual |
Set from network representation.
|
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 |
Returns size of network representation.
|
protected |
|
protected |
|
protected |
|
protected |