|
CartoType API
|
#include <cartotype_list.h>
Public Member Functions | |
| CListBase () | |
| CT_IMPORT TResult | Link (TListLink *aLink, TListLink *aNext) |
| CT_IMPORT TResult | Insert (TListLink *aLink, TListLink *aNext) |
| CT_IMPORT void | Delete (TListLink *aLink) |
| void | MoveToStart (TListLink *aLink) |
| void | MoveTo (TListLink *aLink, TListLink *aNext) |
| const TListLink * | Start () const |
| TListLink * | Start () |
Protected Attributes | |
| TListLink * | iStart |
| int32 | iElements |
The base class for the CList and CPointerList template classes.
| CartoType::CListBase::CListBase | ( | ) | [inline] |
Construct an empty list.
Move aLink to the position before aNext.
| void CartoType::CListBase::MoveToStart | ( | TListLink * | aLink | ) | [inline] |
Move aLink to the start of the list.
| const TListLink* CartoType::CListBase::Start | ( | ) | const [inline] |
Return the first item in the list, or null if the list is empty.
| TListLink* CartoType::CListBase::Start | ( | ) | [inline] |
Return a non-const pointer to the first item in the list, or null if the list is empty.
1.7.5.1