amino::NodeType< KeyType > Class Template Reference

The node type, which stores the data and a next pointer in it. More...

#include <list.h>

List of all members.

Public Member Functions

 NodeType ()
 Constructor. construct a node.
 NodeType (const KeyType &val)
 Constructor. construct a node.

Public Attributes

KeyType data
atomic< NodeType< KeyType > * > next


Detailed Description

template<typename KeyType>
class amino::NodeType< KeyType >

The node type, which stores the data and a next pointer in it.

Template Parameters:
KeyType Type of element stored in it

Constructor & Destructor Documentation

template<typename KeyType>
amino::NodeType< KeyType >::NodeType (  )  [inline]

Constructor. construct a node.

template<typename KeyType>
amino::NodeType< KeyType >::NodeType ( const KeyType &  val  )  [inline]

Constructor. construct a node.

Parameters:
val A specified element


Member Data Documentation

template<typename KeyType>
KeyType amino::NodeType< KeyType >::data

template<typename KeyType>
atomic<NodeType<KeyType>*> amino::NodeType< KeyType >::next


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

Generated on Tue Dec 9 13:39:39 2008 for Amino by  doxygen 1.5.6