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 &)

voidAddBackL(const T &aVal)[inline]

Parameters

const T & aVal

AddFrontL(const T &)

voidAddFrontL(const T &aVal)[inline]

Parameters

const T & aVal

AddL(const T &)

voidAddL(const T &aVal)[inline]

Parameters

const T & aVal

Empty()

voidEmpty()[inline]

IsEmpty()

TBool IsEmpty()const [inline]

Merge(ListNode *, ListNode *, CompFunc)

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

Parameters

ListNode * a
ListNode * b
CompFunc aCompFunc

MergeSort(ListNode *, CompFunc)

ListNode *MergeSort(ListNode *c,
CompFuncaCompFunc
)[private, inline]

Parameters

ListNode * c
CompFunc aCompFunc

Peek()

T &Peek()const [inline]

Pop()

TPop()[inline]

PushL(const T &)

voidPushL(const T &aVal)[inline]

Parameters

const T & aVal

SimpleComp(T, T)

TBool SimpleComp(Tl,
Tr
)[private, inline]

Parameters

T l
T r

Sort()

voidSort()[inline]

Sort(CompFunc)

voidSort(CompFuncaCompFunc)[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]