Link to: source code | other
data directory
Copyright Turtle Creek Software 1996-2006. All Rights Reserved.
This class compares money amounts for the Goldenseal job cost accounting software,
project management software, construction
estimating software
and construction project estimating software.
// a comparator for the id portion of a SMoneyIDInfo array
class CMoneyIDComparator : public CTCS_ArrayComparator // TCS 12/11/00
{
public:
CMoneyIDComparator() {}
virtual ~CMoneyIDComparator() {}
virtual LComparator* Clone() { return NEW CMoneyIDComparator; }
virtual SInt32 Compare(const void *inItemOne, const void *inItemTwo,
UInt32 inSizeOne, UInt32 inSizeTwo) const;
protected:
};
// a comparator for the money portion of a SMoneyIDInfo array
class CMoneyIDValueComparator : public CTCS_ArrayComparator // TCS 9/27/01
{
public:
CMoneyIDValueComparator() {}
virtual ~CMoneyIDValueComparator() {}
virtual LComparator* Clone() { return NEW CMoneyIDValueComparator; }
virtual SInt32 Compare(const void *inItemOne, const void *inItemTwo,
UInt32 inSizeOne, UInt32 inSizeTwo) const;
protected:
}; |