LLongComparator is a PowerPlant class that is used for comparing
long quantities.
Methods :
The methods in this class are:
Data Members:
The data members in this class are:
Operation:
For information on using this class, refer to LComparator.
Source files:
Ancestors:
Purpose:
The constructor is a placeholder, it doesn't do anything for this class.
Access:
Prototype:
LLongComparator();Parameters:
Purpose:
The destructor is a placeholder, it doesn't do anything for this class.
Access:
Prototype:
~LLongComparator();
Purpose:
This method behaves identically to Clone() in the base class LComparator.
Purpose:
This method compares the contents of the two items to determine the comparison value.
Access:
Prototype:
virtual SInt32 Compare(Parameters:
const void* inItemOne,
const void* inItemTwo,
UInt32 inSizeOne,
UInt32 inSizeTwo) const;
This method has the following parameters:
Return:
SInt32 that indicates one of the following:
Purpose:
This method behaves identically to GetComparator() in the base class LComparator.
Purpose:
This method detects whether two objects are equal.
Access:
Prototype:
virtual Boolean IsEqualTo(Parameters:
const void* inItemOne,
const void* inItemTwo,
UInt32 inSizeOne,
UInt32 inSizeTwo) const;
This method has the following parameters:
Return:
Boolean indicating true if the items are equal, false otherwise.
Purpose:
This data member stores the pointer to the comparison "standard" object.
Access:
Prototype:
static LLongComparator* sLongComparator;