CartoType API
Classes | Public Member Functions
CartoType::CList< T > Class Template Reference

#include <cartotype_list.h>

Inheritance diagram for CartoType::CList< T >:
CartoType::CListBase

List of all members.

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)

Detailed Description

template<class T>
class CartoType::CList< T >

A list class designed to hold small objects directly.


Member Function Documentation

template<class T>
TResult CartoType::CList< T >::Append ( const T &  aT) [inline]

Insert a new element at the end of the list.

template<class T>
int32 CartoType::CList< T >::Count ( ) const [inline]

Return the number of elements in the list.

template<class T>
void CartoType::CList< T >::Delete ( TIter aIter) [inline]

Delete the element referred to by the iterator aIter.

template<class T>
TIter CartoType::CList< T >::First ( ) [inline]

Return a non-constant iterator referring to the first element of the list.

template<class T>
TConstIter CartoType::CList< T >::First ( ) const [inline]

Return a constant iterator referring to the first element of the list.

template<class T>
TIter CartoType::CList< T >::Iter ( TListLink aLink) [inline]

Return a non-constant iterator referring to a specified link.

template<class T>
TConstIter CartoType::CList< T >::Iter ( const TListLink aLink) [inline]

Return a constant iterator referring to a specified link.

template<class T>
TIter CartoType::CList< T >::Last ( ) [inline]

Return a non-constant iterator referring to the last element of the list.

template<class T>
TConstIter CartoType::CList< T >::Last ( ) const [inline]

Return a constant iterator referring to the last element of the list.

template<class T>
TResult CartoType::CList< T >::Prefix ( const T &  aT) [inline]

Insert a new element at the start of the list.


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