CLAM::List< T > Class Template Reference

#include <List.hxx>

List of all members.

Classes

class  Node

Public Member Functions

const char * GetClassName () const
 Return the class name.
 List ()
Listoperator= (const List &src)
 List (const List &src)
 ~List ()
void AddElem (const T &value)
void InsertElem (const T &value, TIndex i)
void InsertElem (const T &value)
void DeleteElem (TIndex i)
void DeleteElem ()
void Extract (T &value, TIndex i)
void Extract (T &value)
TSize Size () const
bool IsEmpty () const
const T & operator[] (TIndex i) const
T & operator[] (TIndex i)
const T & Current () const
const T & First () const
const T & Last () const
T & Current ()
T & First ()
T & Last ()
void DoFirst ()
void DoLast ()
void DoNext ()
void DoPrevious ()
bool IsLast ()
bool Done (void)
bool IsFirst ()
int CurrentIndex () const
bool FulfillsInvariant (void) const
void StoreOn (Storage &storage) const
 Stores component's subitems on the given Storage.
void LoadFrom (Storage &storage)
 Loads component's subitems from the given Storage.

Detailed Description

template<class T>
class CLAM::List< T >

Definition at line 38 of file List.hxx.


Constructor & Destructor Documentation

template<class T>
CLAM::List< T >::List (  )  [inline]

Definition at line 64 of file List.hxx.

template<class T>
CLAM::List< T >::List ( const List< T > &  src  )  [inline]

Definition at line 93 of file List.hxx.

template<class T>
CLAM::List< T >::~List (  )  [inline]

Definition at line 101 of file List.hxx.


Member Function Documentation

template<class T>
void CLAM::List< T >::AddElem ( const T &  value  )  [inline]
template<class T>
T& CLAM::List< T >::Current (  )  [inline]

Definition at line 147 of file List.hxx.

template<class T>
const T& CLAM::List< T >::Current (  )  const [inline]

Definition at line 129 of file List.hxx.

template<class T>
int CLAM::List< T >::CurrentIndex (  )  const [inline]

Definition at line 203 of file List.hxx.

template<class T>
void CLAM::List< T >::DeleteElem (  ) 
template<class T >
void CLAM::List< T >::DeleteElem ( TIndex  i  )  [inline]

Definition at line 294 of file List.hxx.

References CLAM_ASSERT, CLAM_DEBUG_ASSERT, and CLAM::List< T >::FulfillsInvariant().

template<class T>
void CLAM::List< T >::DoFirst (  )  [inline]

Definition at line 165 of file List.hxx.

template<class T>
void CLAM::List< T >::DoLast (  )  [inline]

Definition at line 170 of file List.hxx.

Referenced by CLAM::List< Frame >::LoadFrom(), and CLAM::List< Frame >::operator=().

template<class T>
bool CLAM::List< T >::Done ( void   )  [inline]

Definition at line 193 of file List.hxx.

template<class T>
void CLAM::List< T >::DoNext (  )  [inline]

Definition at line 175 of file List.hxx.

template<class T>
void CLAM::List< T >::DoPrevious (  )  [inline]

Definition at line 181 of file List.hxx.

template<class T>
void CLAM::List< T >::Extract ( T &  value  )  [inline]
template<class T>
void CLAM::List< T >::Extract ( T &  value,
TIndex  i 
) [inline]
template<class T>
T& CLAM::List< T >::First (  )  [inline]

Definition at line 153 of file List.hxx.

template<class T>
const T& CLAM::List< T >::First (  )  const [inline]

Definition at line 135 of file List.hxx.

template<class T >
bool CLAM::List< T >::FulfillsInvariant ( void   )  const [inline]
template<class T>
const char* CLAM::List< T >::GetClassName (  )  const [inline, virtual]

Return the class name.

Implements CLAM::Component.

Definition at line 62 of file List.hxx.

template<class T>
void CLAM::List< T >::InsertElem ( const T &  value  ) 
template<class T>
void CLAM::List< T >::InsertElem ( const T &  value,
TIndex  i 
) [inline]

Definition at line 359 of file List.hxx.

References CLAM_ASSERT, CLAM_DEBUG_ASSERT, and CLAM::List< T >::FulfillsInvariant().

template<class T>
bool CLAM::List< T >::IsEmpty (  )  const [inline]

Definition at line 123 of file List.hxx.

template<class T>
bool CLAM::List< T >::IsFirst (  )  [inline]

Definition at line 198 of file List.hxx.

template<class T>
bool CLAM::List< T >::IsLast (  )  [inline]

Definition at line 188 of file List.hxx.

template<class T>
T& CLAM::List< T >::Last (  )  [inline]

Definition at line 159 of file List.hxx.

template<class T>
const T& CLAM::List< T >::Last (  )  const [inline]

Definition at line 141 of file List.hxx.

Referenced by CLAM::List< Frame >::LoadFrom().

template<class T>
void CLAM::List< T >::LoadFrom ( Storage storage  )  [inline, virtual]

Loads component's subitems from the given Storage.

Parameters:
storage The given storage where the subitem will be loaded from
See also:
Storage

Implements CLAM::Component.

Definition at line 240 of file List.hxx.

template<class T>
List& CLAM::List< T >::operator= ( const List< T > &  src  )  [inline]

Definition at line 74 of file List.hxx.

template<class T >
T & CLAM::List< T >::operator[] ( TIndex  i  )  [inline]

Definition at line 501 of file List.hxx.

References CLAM_DEBUG_ASSERT, and CLAM::List< T >::FulfillsInvariant().

template<class T >
const T & CLAM::List< T >::operator[] ( TIndex  i  )  const [inline]

Definition at line 444 of file List.hxx.

References CLAM_DEBUG_ASSERT, and CLAM::List< T >::FulfillsInvariant().

template<class T>
TSize CLAM::List< T >::Size ( void   )  const [inline]

Definition at line 119 of file List.hxx.

Referenced by CLAM::List< Frame >::operator=().

template<class T>
void CLAM::List< T >::StoreOn ( Storage storage  )  const [inline, virtual]

Stores component's subitems on the given Storage.

Parameters:
storage The given storage where the subitem will be stored
See also:
Storage

Implements CLAM::Component.

Definition at line 224 of file List.hxx.


The documentation for this class was generated from the following file:
Generated by  doxygen 1.6.3