#include <OnixS/CME/DropCopy/Numeric.h>
Public Types | |
typedef bool(* | CompareFunction) (const Decimal &, const Decimal &) |
Public Member Functions | |
DecimalComparator (const CompareFunction equalFunc, const CompareFunction nonEqualFunc, const CompareFunction lessFunc, const CompareFunction greaterFunc) | |
DecimalComparator & | operator= (const DecimalComparator &) |
bool | fixedPoint () const |
bool | genericDecimal () const |
Public Attributes | |
const CompareFunction | equal |
const CompareFunction | nonEqual |
const CompareFunction | less |
const CompareFunction | greater |
Comparator aggregate providing compare functions. Such functions can be generic (slower, but able to deal with any decimal) or fixed point based (faster, but assuming that all compating values have the same exponent).
|
inline |
|
inline |
|
inline |
DecimalComparator& operator= | ( | const DecimalComparator & | ) |
const CompareFunction equal |
const CompareFunction greater |
const CompareFunction less |
const CompareFunction nonEqual |