#include <List.hxx>
Classes | |
| class | Node |
Public Member Functions | |
| const char * | GetClassName () const |
| Return the class name. | |
| List () | |
| List & | operator= (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. | |
Definition at line 38 of file List.hxx.
| CLAM::List< T >::List | ( | ) | [inline] |
| CLAM::List< T >::List | ( | const List< T > & | src | ) | [inline] |
| CLAM::List< T >::~List | ( | ) | [inline] |
| void CLAM::List< T >::AddElem | ( | const T & | value | ) | [inline] |
Definition at line 282 of file List.hxx.
References CLAM_DEBUG_ASSERT, and CLAM::List< T >::FulfillsInvariant().
Referenced by CLAM::List< Frame >::LoadFrom(), and CLAM::List< Frame >::operator=().
| T& CLAM::List< T >::Current | ( | ) | [inline] |
| const T& CLAM::List< T >::Current | ( | ) | const [inline] |
| int CLAM::List< T >::CurrentIndex | ( | ) | const [inline] |
| void CLAM::List< T >::DeleteElem | ( | ) |
Referenced by CLAM::List< T >::Extract(), and CLAM::List< Frame >::operator=().
| 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().
| void CLAM::List< T >::DoFirst | ( | ) | [inline] |
| 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=().
| bool CLAM::List< T >::Done | ( | void | ) | [inline] |
| void CLAM::List< T >::DoNext | ( | ) | [inline] |
| void CLAM::List< T >::DoPrevious | ( | ) | [inline] |
| void CLAM::List< T >::Extract | ( | T & | value | ) | [inline] |
Definition at line 410 of file List.hxx.
References CLAM_DEBUG_ASSERT, CLAM::List< T >::Extract(), and CLAM::List< T >::FulfillsInvariant().
| void CLAM::List< T >::Extract | ( | T & | value, | |
| TIndex | i | |||
| ) | [inline] |
Definition at line 398 of file List.hxx.
References CLAM_ASSERT, CLAM_DEBUG_ASSERT, CLAM::List< T >::DeleteElem(), and CLAM::List< T >::FulfillsInvariant().
Referenced by CLAM::List< T >::Extract().
| T& CLAM::List< T >::First | ( | ) | [inline] |
| const T& CLAM::List< T >::First | ( | ) | const [inline] |
| bool CLAM::List< T >::FulfillsInvariant | ( | void | ) | const [inline] |
Definition at line 613 of file List.hxx.
References CLAM_ASSERT.
Referenced by CLAM::List< T >::AddElem(), CLAM::List< Frame >::Current(), CLAM::List< T >::DeleteElem(), CLAM::List< T >::Extract(), CLAM::List< Frame >::First(), CLAM::List< T >::InsertElem(), CLAM::List< Frame >::Last(), CLAM::List< Frame >::List(), and CLAM::List< T >::operator[]().
| const char* CLAM::List< T >::GetClassName | ( | ) | const [inline, virtual] |
| void CLAM::List< T >::InsertElem | ( | const T & | value | ) |
| 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().
| bool CLAM::List< T >::IsEmpty | ( | ) | const [inline] |
| bool CLAM::List< T >::IsFirst | ( | ) | [inline] |
| bool CLAM::List< T >::IsLast | ( | ) | [inline] |
| T& CLAM::List< T >::Last | ( | ) | [inline] |
| const T& CLAM::List< T >::Last | ( | ) | const [inline] |
Definition at line 141 of file List.hxx.
Referenced by CLAM::List< Frame >::LoadFrom().
| void CLAM::List< T >::LoadFrom | ( | Storage & | storage | ) | [inline, virtual] |
Loads component's subitems from the given Storage.
| storage | The given storage where the subitem will be loaded from |
Implements CLAM::Component.
| List& CLAM::List< T >::operator= | ( | const List< T > & | src | ) | [inline] |
| 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().
| 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().
| TSize CLAM::List< T >::Size | ( | void | ) | const [inline] |
Definition at line 119 of file List.hxx.
Referenced by CLAM::List< Frame >::operator=().
| void CLAM::List< T >::StoreOn | ( | Storage & | storage | ) | const [inline, virtual] |
Stores component's subitems on the given Storage.
| storage | The given storage where the subitem will be stored |
Implements CLAM::Component.
1.6.3