Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

ACE_Node Class Template Reference

Implementation element in a Queue, Set, and Stack. More...

#include <Node.h>

Inheritance diagram for ACE_Node:

Inheritance graph
[legend]
Collaboration diagram for ACE_Node:

Collaboration graph
[legend]
List of all members.

Public Methods

 ~ACE_Node (void)
 This isn't necessary, but it keeps some compilers happy. More...


Private Methods

 ACE_Node (const T &i, ACE_Node< T > *n)
 ACE_Node (ACE_Node< T > *n=0, int=0)
 ACE_Node (const ACE_Node< T > &n)

Private Attributes

ACE_Node< T > * next_
 Pointer to next element in the list of <ACE_Node>s. More...

item_
 Current value of the item in this node. More...


Friends

class ACE_Unbounded_Queue< T >
class ACE_Unbounded_Queue_Iterator< T >
class ACE_Unbounded_Set< T >
class ACE_Unbounded_Set_Iterator< T >
class ACE_Unbounded_Set_Const_Iterator< T >
class ACE_Unbounded_Stack< T >
class ACE_Unbounded_Stack_Iterator< T >

Detailed Description

template<class T>
class ACE_Node< T >

Implementation element in a Queue, Set, and Stack.

Definition at line 39 of file Node.h.


Constructor & Destructor Documentation

template<class T>
ACE_Node< T >::~ACE_Node void   
 

This isn't necessary, but it keeps some compilers happy.

Definition at line 18 of file Node.cpp.

00019 {
00020 }

template<class T>
ACE_Node< T >::ACE_Node const T &    i,
ACE_Node< T > *    n
[private]
 

Definition at line 24 of file Node.cpp.

00025   : next_ (n),
00026     item_ (i)
00027 {
00028   // ACE_TRACE ("ACE_Node<T>::ACE_Node");
00029 }

template<class T>
ACE_Node< T >::ACE_Node ACE_Node< T > *    n = 0,
int    = 0
[private]
 

Definition at line 32 of file Node.cpp.

00033   : next_ (n)
00034 {
00035   // ACE_TRACE ("ACE_Node<T>::ACE_Node");
00036 }

template<class T>
ACE_Node< T >::ACE_Node const ACE_Node< T > &    n [private]
 

Definition at line 39 of file Node.cpp.

00040   : next_ (s.next_),
00041     item_ (s.item_)
00042 {
00043   // ACE_TRACE ("ACE_Node<T>::ACE_Node");
00044 }


Friends And Related Function Documentation

template<class T>
friend class ACE_Unbounded_Queue< T > [friend]
 

Definition at line 42 of file Node.h.

template<class T>
friend class ACE_Unbounded_Queue_Iterator< T > [friend]
 

Definition at line 43 of file Node.h.

template<class T>
friend class ACE_Unbounded_Set< T > [friend]
 

Definition at line 44 of file Node.h.

template<class T>
friend class ACE_Unbounded_Set_Const_Iterator< T > [friend]
 

Definition at line 46 of file Node.h.

template<class T>
friend class ACE_Unbounded_Set_Iterator< T > [friend]
 

Definition at line 45 of file Node.h.

template<class T>
friend class ACE_Unbounded_Stack< T > [friend]
 

Definition at line 47 of file Node.h.

template<class T>
friend class ACE_Unbounded_Stack_Iterator< T > [friend]
 

Definition at line 48 of file Node.h.


Member Data Documentation

template<class T>
T ACE_Node::item_ [private]
 

Current value of the item in this node.

Definition at line 65 of file Node.h.

Referenced by ACE_Unbounded_Stack::copy_all_nodes, ACE_Unbounded_Set::copy_nodes, ACE_Unbounded_Queue::copy_nodes, ACE_Unbounded_Queue::dequeue_head, ACE_Unbounded_Set::find, ACE_Unbounded_Stack::find, ACE_Unbounded_Queue::get, ACE_Unbounded_Stack::pop, and ACE_Unbounded_Queue::set.

template<class T>
ACE_Node<T>* ACE_Node::next_ [private]
 

Pointer to next element in the list of <ACE_Node>s.

Definition at line 62 of file Node.h.

Referenced by ACE_Unbounded_Stack::copy_all_nodes, ACE_Unbounded_Set::copy_nodes, ACE_Unbounded_Queue::copy_nodes, ACE_Unbounded_Stack::delete_all_nodes, ACE_Unbounded_Set::delete_nodes, ACE_Unbounded_Queue::delete_nodes, ACE_Unbounded_Queue::dequeue_head, ACE_Unbounded_Set::find, ACE_Unbounded_Stack::find, ACE_Unbounded_Queue::get, ACE_Unbounded_Stack::pop, ACE_Unbounded_Set::remove, ACE_Unbounded_Stack::remove, and ACE_Unbounded_Queue::set.


The documentation for this class was generated from the following files:
Generated on Mon Jun 16 12:51:00 2003 for ACE by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002