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

ContainingStackItem Class Template Reference

#include <Stack.h>

List of all members.


Detailed Description

template<class ITEMTYPE>
class toolbox::ContainingStackItem< ITEMTYPE >

A ContainingStackItem is one item stored in the ContainingStack.

It may not be added twice to the same stack, nor be added to two different stacks, since the pointering technique is designed for performance, not for functionality. If you require this, use the PointeredStack and the PointeredStackItem.

See also:
PointeredStack

PointeredStackItem

Author:
Thomas Jacob

Definition at line 143 of file Stack.h.

Public Member Functions

 ContainingStackItem ()
 Creates a new ContainingStackItem.

virtual ~ContainingStackItem ()
 Destroys the ContainingStackItem.


Private Attributes

ITEMTYPE * NextItem
 A pointer to the next ContainingStackItem in the stack chain.


Friends

class ContainingStack< ITEMTYPE >


Constructor & Destructor Documentation

ContainingStackItem  ) 
 

Creates a new ContainingStackItem.

virtual ~ContainingStackItem  )  [virtual]
 

Destroys the ContainingStackItem.


Friends And Related Function Documentation

friend class ContainingStack< ITEMTYPE > [friend]
 

Definition at line 145 of file Stack.h.


Member Data Documentation

ITEMTYPE* NextItem [private]
 

A pointer to the next ContainingStackItem in the stack chain.

Definition at line 160 of file Stack.h.


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