![]() |
VR-Link API Documentation for HLA 1516
|
lint -e266 More...
Collaboration diagram for DtListItem:Public Member Functions | |
| virtual | ~DtListItem () |
| Destructor. | |
| DtListItem * | prev () const |
| Return previous (next) item. | |
| DtListItem * | next () const |
| void * | data () const |
| Returns the data element contained in the DtListItem envelope. | |
Protected Member Functions | |
| DtListItem (void *d) | |
| Constructor - called only by DtList. | |
Protected Attributes | |
| DtListItem * | myPrev |
| DtListItem * | myNext |
| void * | myData |
Friends | |
| class | DtList |
lint -e266
DtListItem is an envelope class used by DtList.
When you add an element to a DtList, it creates a DtListItem to contain the element. The DtListItem stores the next and previous pointer, as well as the data element itself.
|
virtual |
Destructor.
|
protected |
Constructor - called only by DtList.
|
inline |
Returns the data element contained in the DtListItem envelope.
Referenced by DtReflectedObjectList::firstObj(), DtReflectedObjectList::lastObj(), and DtOldHashlist::lookup().
|
inline |
|
inline |
Return previous (next) item.
Inline Functions.
If you hit the beginning (end) of the list, returns NULL.
Referenced by DtOldHashlist::addBefore().
|
friend |
|
protected |
|
protected |
|
protected |
Referenced by DtList::addBefore().