CLinkedList Class Reference

class CLinkedList : public CBase

Inherits from

Nested Classes and Structures

Constructor & Destructor Documentation

CLinkedList()

CLinkedList ( ) [inline]

~CLinkedList()

~CLinkedList ( ) [inline]

Member Functions Documentation

AddBackL(const T &)

void AddBackL ( const T & aVal ) [inline]

Parameters

const T & aVal

AddFrontL(const T &)

void AddFrontL ( const T & aVal ) [inline]

Parameters

const T & aVal

AddL(const T &)

void AddL ( const T & aVal ) [inline]

Parameters

const T & aVal

Empty()

void Empty ( ) [inline]

IsEmpty()

TBool IsEmpty ( ) const [inline]

Merge(ListNode *, ListNode *, CompFunc)

ListNode * Merge ( ListNode * a,
ListNode * b,
CompFunc aCompFunc
) [private, inline]

Parameters

ListNode * a
ListNode * b
CompFunc aCompFunc

MergeSort(ListNode *, CompFunc)

ListNode * MergeSort ( ListNode * c,
CompFunc aCompFunc
) [private, inline]

Parameters

ListNode * c
CompFunc aCompFunc

Peek()

T & Peek ( ) const [inline]

Pop()

T Pop ( ) [inline]

PushL(const T &)

void PushL ( const T & aVal ) [inline]

Parameters

const T & aVal

SimpleComp(T, T)

TBool SimpleComp ( T l,
T r
) [private, inline]

Parameters

T l
T r

Sort()

void Sort ( ) [inline]

Sort(CompFunc)

void Sort ( CompFunc aCompFunc ) [inline]

Parameters

CompFunc aCompFunc

Member Type Definitions Documentation

Typedef CompFunc

typedef TBool (* CompFunc

Member Data Documentation

ListNode * iFirst

ListNode * iFirst [private]

ListNode * iLast

ListNode * iLast [private]