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