Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members

PointeredListItem Class Reference

#include <LinkedList.h>

Inheritance diagram for PointeredListItem:

ContainingListItem< PointeredListItem > List of all members.

Detailed Description

A PointeredListItem is one item stored in the PointeredList.

It may be added twice to the same list and be added to two different lists, since the pointering technique is designed for this. This results in a little less performance, and if you require a very good one, use the ContainingList and the ContainingListItem instead.

See also:
ContainingList

ContainingListItem

Author:
Thomas Jacob

Definition at line 478 of file LinkedList.h.

Public Member Functions

void * GetData () const
 Returns the stored data of the item.

PointeredListItemGetNext () const
 Returns the next ContainingListItem in the list chain.

PointeredListItemGetPrev () const
 Returns the previous ContainingListItem in the list chain.

 PointeredListItem ()
 Creates a new PointeredListItem.

void SetData (void *Data)
 Sets the data to be stored in the item.

virtual ~PointeredListItem ()
 Destroys the PointeredListItem.


Private Attributes

void * Data
 The application's data to be stored in the item,.


Constructor & Destructor Documentation

PointeredListItem  ) 
 

Creates a new PointeredListItem.

virtual ~PointeredListItem  )  [virtual]
 

Destroys the PointeredListItem.


Member Function Documentation

void* GetData  )  const [inline]
 

Returns the stored data of the item.

Returns:
The stored data of the item.

PointeredListItem * GetNext  )  const [inline, inherited]
 

Returns the next ContainingListItem in the list chain.

Returns:
The next ContainingListItem.

PointeredListItem * GetPrev  )  const [inline, inherited]
 

Returns the previous ContainingListItem in the list chain.

Returns:
The previous ContainingListItem.

void SetData void *  Data  )  [inline]
 

Sets the data to be stored in the item.

Parameters:
Data The new data to be stored.


Member Data Documentation

void* Data [private]
 

The application's data to be stored in the item,.

Definition at line 485 of file LinkedList.h.


The documentation for this class was generated from the following file:
Generated on Tue Oct 3 00:23:40 2006 for ToolBox by doxygen 1.3.6