![]() |
MAK RTIspy API Documentation for HLA 1516
|
DtSortedListItem is an envelope class used by DtSortedList. More...
Inheritance diagram for DtSortedListItem:
Collaboration diagram for DtSortedListItem:Public Member Functions | |
| virtual | ~DtSortedListItem () |
| Destructor. More... | |
| DtSortedListItem * | prev () const |
| Return previous (next) item. More... | |
| DtSortedListItem * | next () const |
| void * | data () const |
| Returns the data element contained in the DtSortedListItem envelope. More... | |
| virtual bool | operator<= (const DtSortedListItem &) const |
| Comparison operators for sorting. More... | |
| virtual bool | operator< (const DtSortedListItem &) const |
| virtual bool | operator>= (const DtSortedListItem &) const |
| virtual bool | operator> (const DtSortedListItem &) const |
| virtual bool | operator== (const DtSortedListItem &) const |
| virtual void | printData () |
| Print data contents. More... | |
Protected Member Functions | |
| DtSortedListItem (void *d) | |
| Constructor - called only by DtSortedList. More... | |
Protected Attributes | |
| DtSortedListItem * | myPrev |
| DtSortedListItem * | myNext |
| void * | myData |
Friends | |
| class | DtSortedList |
DtSortedListItem is an envelope class used by DtSortedList.
When you add an element to a DtSortedList, it creates a DtSortedListItem to contain the element. The DtSortedListItem stores the next and previous pointer, as well as the data element itself. The default relations apply to the data pointer itself.
|
virtual |
Destructor.
|
protected |
Constructor - called only by DtSortedList.
|
inline |
Returns the data element contained in the DtSortedListItem envelope.
References myData.
|
inline |
References myNext.
|
virtual |
Reimplemented in DtMessageItem.
|
virtual |
Comparison operators for sorting.
Reimplemented in DtMessageItem.
|
virtual |
Reimplemented in DtMessageItem.
|
virtual |
Reimplemented in DtMessageItem.
|
virtual |
Reimplemented in DtMessageItem.
|
inline |
Return previous (next) item.
If you hit the beginning (end) of the list, returns NULL.
References myPrev.
|
virtual |
Print data contents.
|
friend |
|
protected |
Referenced by data().
|
protected |
Referenced by next().
|
protected |
Referenced by prev().