AGENT++  4.0.3
Public Member Functions | Protected Attributes | Friends | List of all members
OrderedList< T > Class Template Reference

#include <List.h>

Public Member Functions

T * add (T *item)
 
T * addLast (T *item)
 
T * addUnique (T *item)
 
T * remove (T *item)
 
T * remove (ListItem< T > *item)
 
T * overwriteNth (int n, T *t)
 
int size () const
 
T * first () const
 
T * last () const
 
T * getNth (int i) const
 
ListItem< T > * position (T *t) const
 
int index (T *t) const
 
int empty () const
 
void clearAll ()
 
void clear ()
 

Protected Attributes

List< T > content
 

Friends

class ListCursor< T >
 

Member Function Documentation

template<class T>
T* OrderedList< T >::add ( T *  item)
inline
template<class T>
T* OrderedList< T >::addLast ( T *  item)
inline
template<class T>
T* OrderedList< T >::addUnique ( T *  item)
inline
template<class T>
void OrderedList< T >::clear ( )
inline
template<class T>
void OrderedList< T >::clearAll ( )
inline
template<class T>
int OrderedList< T >::empty ( ) const
inline
template<class T>
T* OrderedList< T >::first ( ) const
inline
template<class T>
T* OrderedList< T >::getNth ( int  i) const
inline
template<class T>
int OrderedList< T >::index ( T *  t) const
inline
template<class T>
T* OrderedList< T >::last ( ) const
inline
template<class T>
T* OrderedList< T >::overwriteNth ( int  n,
T *  t 
)
inline
template<class T>
ListItem<T>* OrderedList< T >::position ( T *  t) const
inline
template<class T>
T* OrderedList< T >::remove ( T *  item)
inline
template<class T>
T* OrderedList< T >::remove ( ListItem< T > *  item)
inline
template<class T>
int OrderedList< T >::size ( ) const
inline

Friends And Related Function Documentation

template<class T>
friend class ListCursor< T >
friend

Member Data Documentation

template<class T>
List<T> OrderedList< T >::content
protected

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