|
CartoType API
|
#include <cartotype_list.h>
Classes | |
| class | TConstIter |
| class | TIter |
| class | TLink |
Public Member Functions | |
| void | Clear () |
| int32 | Count () const |
| TResult | Prefix (const T &aT) |
| TResult | Append (const T &aT) |
| void | Delete (TIter &aIter) |
| TIter | First () |
| TIter | Last () |
| TConstIter | First () const |
| TConstIter | Last () const |
| TIter | Iter (TListLink *aLink) |
| TConstIter | Iter (const TListLink *aLink) |
A list class designed to hold small objects directly.
| TResult CartoType::CList< T >::Append | ( | const T & | aT | ) | [inline] |
Insert a new element at the end of the list.
| int32 CartoType::CList< T >::Count | ( | ) | const [inline] |
Return the number of elements in the list.
| void CartoType::CList< T >::Delete | ( | TIter & | aIter | ) | [inline] |
Delete the element referred to by the iterator aIter.
| TIter CartoType::CList< T >::First | ( | ) | [inline] |
Return a non-constant iterator referring to the first element of the list.
| TConstIter CartoType::CList< T >::First | ( | ) | const [inline] |
Return a constant iterator referring to the first element of the list.
| TIter CartoType::CList< T >::Iter | ( | TListLink * | aLink | ) | [inline] |
Return a non-constant iterator referring to a specified link.
| TConstIter CartoType::CList< T >::Iter | ( | const TListLink * | aLink | ) | [inline] |
Return a constant iterator referring to a specified link.
| TIter CartoType::CList< T >::Last | ( | ) | [inline] |
Return a non-constant iterator referring to the last element of the list.
| TConstIter CartoType::CList< T >::Last | ( | ) | const [inline] |
Return a constant iterator referring to the last element of the list.
| TResult CartoType::CList< T >::Prefix | ( | const T & | aT | ) | [inline] |
Insert a new element at the start of the list.
1.7.5.1