Main Page   Modules   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

LLongComparator Class Reference
["Arrays" Arrays and Iterators]

#include <LComparator.h>

Inheritance diagram for LLongComparator:

Inheritance graph
[legend]
Collaboration diagram for LLongComparator:

Collaboration graph
[legend]
List of all members.

Detailed Description

Compare long integers.

Has own static GetComparator retrieving sLongComparator Singleton.


Public Methods

 LLongComparator ()
virtual ~LLongComparator ()
virtual SInt32 Compare (const void *inItemOne, const void *inItemTwo, UInt32 inSizeOne, UInt32 inSizeTwo) const
virtual Boolean IsEqualTo (const void *inItemOne, const void *inItemTwo, UInt32 inSizeOne, UInt32 inSizeTwo) const
virtual LComparatorClone ()
virtual SInt32 CompareToKey (const void *inItem, UInt32 inSize, const void *inKey) const
virtual Boolean IsEqualToKey (const void *inItem, UInt32 inSize, const void *inKey) const

Static Public Methods

LLongComparator * GetComparator ()

Static Protected Attributes

LLongComparator * sLongComparator = nil
LComparatorsComparator
 Singleton pointer to a comparator obtained with GetComparator.


Constructor & Destructor Documentation

LLongComparator::LLongComparator  
 

LLongComparator::~LLongComparator   [virtual]
 


Member Function Documentation

LComparator * LLongComparator::Clone   [virtual]
 

Reimplemented from LComparator.

SInt32 LLongComparator::Compare const void *    inItemOne,
const void *    inItemTwo,
UInt32    inSizeOne,
UInt32    inSizeTwo
const [virtual]
 

Reimplemented from LComparator.

SInt32 LComparator::CompareToKey const void *    inItem,
UInt32    inSize,
const void *    inKey
const [virtual, inherited]
 

LLongComparator * LLongComparator::GetComparator   [static]
 

Reimplemented from LComparator.

Boolean LLongComparator::IsEqualTo const void *    inItemOne,
const void *    inItemTwo,
UInt32    inSizeOne,
UInt32    inSizeTwo
const [virtual]
 

Reimplemented from LComparator.

Boolean LComparator::IsEqualToKey const void *    inItem,
UInt32    inSize,
const void *    inKey
const [virtual, inherited]
 


Member Data Documentation

LComparator * LComparator::sComparator [static, protected, inherited]
 

Singleton pointer to a comparator obtained with GetComparator.

Don't know why this is protected rather than private, consider that a dodgy bit of original PowerPlant design.

LLongComparator * LLongComparator::sLongComparator = nil [static, protected]
 


The documentation for this class was generated from the following files:
Generated on Mon Jul 22 18:21:02 2002 for PP2MFC by doxygen1.2.17