VR-Link API Documentation for HLA 1.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Member Functions | Protected Attributes | Friends
DtListItem Class Reference

lint -e266 More...

+ Collaboration diagram for DtListItem:

Public Member Functions

virtual ~DtListItem ()
 Destructor. More...
 
DtListItemprev () const
 Return previous (next) item. More...
 
DtListItemnext () const
 
void * data () const
 Returns the data element contained in the DtListItem envelope. More...
 

Protected Member Functions

 DtListItem (void *d)
 Constructor - called only by DtList. More...
 

Protected Attributes

DtListItemmyPrev
 
DtListItemmyNext
 
void * myData
 

Friends

class DtList
 

Detailed Description

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.

Constructor & Destructor Documentation

virtual DtListItem::~DtListItem ( )
virtual

Destructor.

DtListItem::DtListItem ( void *  d)
protected

Constructor - called only by DtList.

Member Function Documentation

void * DtListItem::data ( ) const
inline

Returns the data element contained in the DtListItem envelope.

Referenced by DtOldHashlist::lookup().

DtListItem * DtListItem::next ( ) const
inline
DtListItem * DtListItem::prev ( ) const
inline

Return previous (next) item.

Inline Functions.

If you hit the beginning (end) of the list, returns NULL.

Referenced by DtOldHashlist::addBefore().

Friends And Related Function Documentation

friend class DtList
friend

Member Data Documentation

void* DtListItem::myData
protected
DtListItem* DtListItem::myNext
protected
DtListItem* DtListItem::myPrev
protected

Referenced by DtList::addBefore().


The documentation for this class was generated from the following file:

Document ID: Generated on Thu Oct 16 00:12:25 EDT 2025 from SVN revision 280738
Copyright © 1992-2025 MAK Technologies. All Rights Reserved (www.mak.com)