OOFILE  1.9
Public Member Functions | Protected Attributes | List of all members

Sortable list of unsigned longs. More...

#include <ooflist.h>

Inheritance diagram for OOF_ULSorter:
Inheritance graph
[legend]
Collaboration diagram for OOF_ULSorter:
Collaboration graph
[legend]

Public Member Functions

unsigned long count ()
 
void exchange (OOF_ULSorterElement *theItem)
 
bool isEmpty ()
 
bool lastEqual ()
 
 OOF_ULSorter ()
 
virtual unsigned long remove ()
 Take item off the front of the list. More...
 
void sortedInsert (unsigned long theItem, unsigned long theData)
 
void sortedInsertReverse (unsigned long theItem, unsigned long theData)
 Put item into list sorted. More...
 
OOF_ULSorterElementtheEqual ()
 
virtual ~OOF_ULSorter ()
 

Protected Attributes

unsigned long mCount
 

Detailed Description

Sortable list of unsigned longs.

Definition at line 126 of file ooflist.h.

Constructor & Destructor Documentation

OOF_ULSorter::OOF_ULSorter ( )
inline

Definition at line 128 of file ooflist.h.

virtual OOF_ULSorter::~OOF_ULSorter ( )
inlinevirtual

Definition at line 135 of file ooflist.h.

References OOF_ListBase::mCount.

Member Function Documentation

unsigned long OOF_ListBase::count ( )
inlineinherited
void OOF_ULSorter::exchange ( OOF_ULSorterElement theItem)
bool OOF_ListBase::isEmpty ( )
inlineinherited
bool OOF_ULSorter::lastEqual ( )
inline
unsigned long OOF_ULSorter::remove ( )
virtual

Take item off the front of the list.

NOTE: This now returns the container data and not the Key

Implements OOF_ListBase.

Definition at line 231 of file ooflist.cpp.

References OOF_ULSorterElement::mData, and OOF_ULSorterElement::mNext.

Referenced by OOF_simpleRecordBackend::SortSelectionInverseNow(), and OOF_simpleRecordBackend::SortSelectionNow().

void OOF_ULSorter::sortedInsert ( unsigned long  theItem,
unsigned long  theData 
)
void OOF_ULSorter::sortedInsertReverse ( unsigned long  theItem,
unsigned long  theData 
)

Put item into list sorted.

Definition at line 318 of file ooflist.cpp.

References OOF_ULSorterElement::mItem, and OOF_ULSorterElement::mNext.

Referenced by OOF_simpleRecordBackend::SortSelectionInverseNow().

OOF_ULSorterElement* OOF_ULSorter::theEqual ( )
inline

Member Data Documentation

unsigned long OOF_ListBase::mCount
protectedinherited

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