Main Page | Class Hierarchy | Class List | Directories | File List | Class Members

RNReplicaNet::RegistryManager< T > Class Template Reference

#include <RegistryManager.h>

List of all members.

Public Member Functions

 RegistryManager ()
virtual ~RegistryManager ()
void AddItem (T *item)
void RemoveItem (T *item)
void RemoveItem (void)
void BeginIterate (void)
T * Iterate (void)


Detailed Description

template<class T>
class RNReplicaNet::RegistryManager< T >

RegistryManager is a template class for handling classes in organised vector arrays


Constructor & Destructor Documentation

template<class T>
RNReplicaNet::RegistryManager< T >::RegistryManager  )  [inline]
 

The ctor performs some basic initialisation

template<class T>
virtual RNReplicaNet::RegistryManager< T >::~RegistryManager  )  [inline, virtual]
 

The dtor makes sure everything is tidy


Member Function Documentation

template<class T>
void RNReplicaNet::RegistryManager< T >::AddItem T *  item  )  [inline]
 

Adds an item to the list. This does not allocate an item as this is left to the user to do

Parameters:
item the item pointer to add

template<class T>
void RNReplicaNet::RegistryManager< T >::BeginIterate void   )  [inline]
 

Starts the iteration of the items in the list

template<class T>
T* RNReplicaNet::RegistryManager< T >::Iterate void   )  [inline]
 

Iterates through the items in the list

Returns:
returns the next item pointer in the list or returns NULL for the end of the list

template<class T>
void RNReplicaNet::RegistryManager< T >::RemoveItem void   )  [inline]
 

Removes the current iterated item

template<class T>
void RNReplicaNet::RegistryManager< T >::RemoveItem T *  item  )  [inline]
 

Removes an item from the list but does not free the item as this is left to the user to do

Parameters:
item the item pointer to remove


The documentation for this class was generated from the following file:
Generated on Sun Oct 30 01:12:31 2005 for Platform by  doxygen 1.4.1