class PLIST

Public Methods

GDT_BOOLEAN AddHead (IATOM *a)
GDT_BOOLEAN AddTail (IATOM *a)
GDT_BOOLEAN Cat (PLIST* PlistPtr, IPOSITION p)
void DeleteAll ()
IATOM* GetAt (IPOSITION p)
IATOM* GetEntry (INT Index, IPOSITION *p)
IPOSITION GetHeadPosition ()
INT GetLength ()
IATOM* GetNext (IPOSITION *p)
IATOM* GetPrev (IPOSITION *p)
IPOSITION GetTailPosition ()
GDT_BOOLEAN InsertAfter (IPOSITION p, IATOM *a)
GDT_BOOLEAN InsertBefore (IPOSITION p, IATOM *a)
GDT_BOOLEAN IsEmpty ()
PLIST& operator= (PLIST& OtherPlist)
PLIST ()
void RemoveAll ()
void RemoveAt (IPOSITION p)
void RemoveRight (IPOSITION p)
void RemoveRightAndDelete (IPOSITION p)
void Reverse ()
GDT_BOOLEAN SetAt (IPOSITION p, IATOM *a)
void Sort (INT (*compar)(void* a, void* b))
void SortByScore ()
~PLIST ()

Private Fields

IPOSITION Head
INT Length
Tail

Private Methods

IPOSITION Merge (IPOSITION a, IPOSITION b, INT aLen, INT bLen, INT (*compar)(void* a, void* b))
IPOSITION MergeSort (IPOSITION c, INT Len, INT (*compar)(void* a, void* b))

Documentation

PLIST()

~PLIST()

IPOSITION GetHeadPosition()

IPOSITION GetTailPosition()

IATOM* GetNext(IPOSITION *p)

IATOM* GetPrev(IPOSITION *p)

GDT_BOOLEAN InsertBefore(IPOSITION p, IATOM *a)

GDT_BOOLEAN InsertAfter(IPOSITION p, IATOM *a)

GDT_BOOLEAN AddTail(IATOM *a)

GDT_BOOLEAN AddHead(IATOM *a)

void RemoveAll()

void DeleteAll()

void RemoveRight(IPOSITION p)

void RemoveRightAndDelete(IPOSITION p)

void Sort(INT (*compar)(void* a, void* b))

void SortByScore()

void Reverse()

GDT_BOOLEAN Cat(PLIST* PlistPtr, IPOSITION p)

PLIST& operator=(PLIST& OtherPlist)

IATOM* GetAt(IPOSITION p)

GDT_BOOLEAN SetAt(IPOSITION p, IATOM *a)

void RemoveAt(IPOSITION p)

IATOM* GetEntry(INT Index, IPOSITION *p)

INT GetLength()

GDT_BOOLEAN IsEmpty()

IPOSITION MergeSort(IPOSITION c, INT Len, INT (*compar)(void* a, void* b))

IPOSITION Merge(IPOSITION a, IPOSITION b, INT aLen, INT bLen, INT (*compar)(void* a, void* b))

INT Length

IPOSITION Head

Tail

This class has no child classes.

alphabetic index hierarchy of classes

this page has been generated automatically by doc++

(c)opyright by Malte Z&oumlckler, Roland Wunderling
contact: doc++@zib.de