![]() |
VR-Link API Documentation for HLA 1516
|
This file contains the declaration of DtList and DtListItem. More...
Go to the source code of this file.
Classes | |
| class | DtListItem |
| lint -e266 More... | |
| class | DtList |
| DtList is deprecated, please use std::list<T>. More... | |
| class | DtListedObj |
| This is a base class from which elements of a DtIntrusiveList must be derived. More... | |
| class | DtIntrusiveList |
| An intrusive list is a list that assumes that the elements that you add are pointers to instances of classes derived from DtListedObject. More... | |
Defines | |
| #define | looplist(theData, list) |
| Macro to loop through the list. | |
| #define | looptlist(theData, type, list) |
| Typed looplist for cfront (ANSI C and GCC don't require casting from void *). | |
| #define | looptlist2(theData, type, list) |
| Looptlist for multiple loops in same scope with C++ without proper scope of loop vars. | |
This file contains the declaration of DtList and DtListItem.
| #define looplist | ( | theData, | |
| list | |||
| ) |
for (DtListItem* item=(list)->first(); \ theData = (item ? item->data() : 0); \ item = item->next())
Macro to loop through the list.
| #define looptlist | ( | theData, | |
| type, | |||
| list | |||
| ) |
for (DtListItem* item=(list)->first(); \ theData = (type)(item ? item->data() : 0); \ item = item->next())
Typed looplist for cfront (ANSI C and GCC don't require casting from void *).
| #define looptlist2 | ( | theData, | |
| type, | |||
| list | |||
| ) |
for (item=(list)->first(); \
theData = (type)(item ? item->data() : 0); \
item = item->next())
Looptlist for multiple loops in same scope with C++ without proper scope of loop vars.