ESyS-Particle  2.3
List< T > Class Template Reference

#include <t_list.h>

Inheritance diagram for List< T >:

Public Member Functions

 List ()
 Pointer to current position in the list. More...
 
 List (const List &L)
 
virtual ~List ()
 
void Swap ()
 
void InsertAtStart (T *V)
 
void Append (T *V)
 
void InsertAfter (T *V)
 
void InsertBefore (T *V)
 
T * Get ()
 
void Put (T *V)
 
void Clear ()
 
void Destroy ()
 
Listoperator<< (T *V)
 
Listoperator>> (T *V)
 
void Next ()
 
void Prev ()
 
void First ()
 
void Last ()
 
int IsEnd ()
 
int IsStart ()
 
int SizeList ()
 
List operator+ (const List &L)
 
Listoperator+= (const List &L)
 
Listoperator= (const List &L)
 

Protected Attributes

Node< T > * Start
 Pointer to Start of list. More...
 
Node< T > * End
 Pointer to end of list. More...
 
Node< T > * Current
 

Detailed Description

template<class T>
class List< T >

List container.

Constructor & Destructor Documentation

template<class T >
List< T >::List ( )
inline

Pointer to current position in the list.

References NULL.

template<class T >
List< T >::List ( const List< T > &  L)
inline
template<class T >
List< T >::~List ( )
virtual

Member Function Documentation

template<class T>
void List< T >::Append ( T *  V)
inline

References Node< T >::Next, NULL, Node< T >::Prev, and Node< T >::Val.

Referenced by CCounterList::addCounter(), and CCounterList::operator<<().

Here is the caller graph for this function:

template<class T >
void List< T >::Clear ( )
inline

References Node< T >::Next, and NULL.

Referenced by CCounterList::~CCounterList().

Here is the caller graph for this function:

template<class T >
void List< T >::Destroy ( )
inline

Referenced by Stack< T >::~Stack().

Here is the caller graph for this function:

template<class T >
void List< T >::First ( )
inline

Referenced by CCounterList::counter(), CCounterList::print(), and CCounterList::~CCounterList().

Here is the caller graph for this function:

template<class T >
T * List< T >::Get ( )
inline

References console, BasicCon::Critical(), and BasicCon::Warning().

Referenced by CCounterList::counter(), CCounterList::print(), and CCounterList::~CCounterList().

Here is the call graph for this function:

Here is the caller graph for this function:

template<class T>
void List< T >::InsertAfter ( T *  V)
inline
template<class T>
void List< T >::InsertAtStart ( T *  V)
inline

Insert an element at the begining of the list

Parameters
Vpointer to element to be inserted

References Node< T >::Next, NULL, Node< T >::Prev, and Node< T >::Val.

template<class T>
void List< T >::InsertBefore ( T *  V)
inline
template<class T >
int List< T >::IsEnd ( )
inline

References NULL.

Referenced by CCounterList::counter(), CCounterList::print(), and CCounterList::~CCounterList().

Here is the caller graph for this function:

template<class T >
int List< T >::IsStart ( )
inline
template<class T >
void List< T >::Last ( )
inline
template<class T >
void List< T >::Next ( )
inline

Referenced by CCounterList::counter(), and CCounterList::print().

Here is the caller graph for this function:

template<class T >
List< T > List< T >::operator+ ( const List< T > &  L)
inline
template<class T >
List< T > & List< T >::operator+= ( const List< T > &  L)
inline
template<class T>
List< T > & List< T >::operator<< ( T *  V)
inline
template<class T >
List< T > & List< T >::operator= ( const List< T > &  L)
inline
template<class T>
List< T > & List< T >::operator>> ( T *  V)
inline
template<class T >
void List< T >::Prev ( )
inline
template<class T>
void List< T >::Put ( T *  V)
inline
template<class T >
int List< T >::SizeList ( )
inline

return the number of element in the list

template<class T >
void List< T >::Swap ( )
inline

References Node< T >::Next, and Node< T >::Prev.

Member Data Documentation

template<class T>
Node<T>* List< T >::Current
protected
template<class T>
Node<T>* List< T >::End
protected

Pointer to end of list.

template<class T>
Node<T>* List< T >::Start
protected

Pointer to Start of list.

Referenced by List< T >::List(), List< T >::operator+=(), and List< T >::operator=().


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