Overture  Version 25
Public Member Functions | List of all members
List< T > Class Template Reference

#include <tlist.h>

Public Member Functions

 List ()
 
 List (const List &)
 
 ~List ()
 
Listoperator= (const List &)
 
void addElement (T &X)
 
void addElement (T &X, int index)
 
int getLength () const
 
T * getElementPtr (int index) const
 
T & getElement (int index) const
 
T & operator[] (int index) const
 
void deleteElement (T &X)
 
void deleteElement (int index)
 
void setElementPtr (T *X, int i)
 
void swapElements (int i, int j)
 
void clean ()
 
void deepClean ()
 

Constructor & Destructor Documentation

template<class T >
List< T >::List ( )
template<class T >
List< T >::List ( const List< T > &  source)
template<class T >
List< T >::~List ( )

Member Function Documentation

template<class T >
void List< T >::addElement ( T &  X)
template<class T >
void List< T >::addElement ( T &  X,
int  index 
)
template<class T >
void List< T >::clean ( )
template<class T >
void List< T >::deepClean ( )
template<class T >
void List< T >::deleteElement ( T &  X)
template<class T >
void List< T >::deleteElement ( int  index)
template<class T >
T & List< T >::getElement ( int  index) const
template<class T >
T * List< T >::getElementPtr ( int  index) const
template<class T>
int List< T >::getLength ( ) const
inline
template<class T >
List< T > & List< T >::operator= ( const List< T > &  source)
template<class T >
T & List< T >::operator[] ( int  index) const
template<class T >
void List< T >::setElementPtr ( T *  X,
int  i 
)
template<class T >
void List< T >::swapElements ( int  i,
int  j 
)

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