OnixS C++ CME Market Data Handler  5.4.0
API documentation
Decimal.h File Reference
#include <string>
#include <OnixS/CME/MDH/Integral.h>

Go to the source code of this file.

Classes

class  FixedPointDecimal< MantissaType, ExponentType >
 
class  Decimal
 

Namespaces

 OnixS
 
 OnixS::CME
 
 OnixS::CME::MDH
 

Typedefs

typedef Int64 DecimalMantissa
 
typedef Int32 DecimalExponent
 

Functions

template<class Mantissa , class Exponent >
bool operator== (const FixedPointDecimal< Mantissa, Exponent > &left, const FixedPointDecimal< Mantissa, Exponent > &right)
 
template<class Mantissa , class Exponent >
bool operator!= (const FixedPointDecimal< Mantissa, Exponent > &left, const FixedPointDecimal< Mantissa, Exponent > &right)
 
template<class Mantissa , class Exponent >
bool operator< (const FixedPointDecimal< Mantissa, Exponent > &left, const FixedPointDecimal< Mantissa, Exponent > &right)
 
template<class Mantissa , class Exponent >
bool operator> (const FixedPointDecimal< Mantissa, Exponent > &left, const FixedPointDecimal< Mantissa, Exponent > &right)
 
template<class Mantissa , class Exponent >
bool operator<= (const FixedPointDecimal< Mantissa, Exponent > &left, const FixedPointDecimal< Mantissa, Exponent > &right)
 
template<class Mantissa , class Exponent >
bool operator>= (const FixedPointDecimal< Mantissa, Exponent > &left, const FixedPointDecimal< Mantissa, Exponent > &right)
 
ONIXS_CMEMDH_EXPORTED bool decimalEqual (const Decimal &left, const Decimal &right)
 
bool operator== (const Decimal &left, const Decimal &right)
 
bool operator!= (const Decimal &left, const Decimal &right)
 
template<class Mantissa , class Exponent >
bool operator== (const Decimal &left, const FixedPointDecimal< Mantissa, Exponent > &right)
 
template<class Mantissa , class Exponent >
bool operator== (const FixedPointDecimal< Mantissa, Exponent > &left, const Decimal &right)
 
template<class Mantissa , class Exponent >
bool operator!= (const Decimal &left, const FixedPointDecimal< Mantissa, Exponent > &right)
 
template<class Mantissa , class Exponent >
bool operator!= (const FixedPointDecimal< Mantissa, Exponent > &left, const Decimal &right)
 
ONIXS_CMEMDH_EXPORTED bool decimalLess (const Decimal &left, const Decimal &right)
 
bool operator< (const Decimal &left, const Decimal &right)
 
bool operator> (const Decimal &left, const Decimal &right)
 
bool operator<= (const Decimal &left, const Decimal &right)
 
bool operator>= (const Decimal &left, const Decimal &right)
 
template<class Mantissa , class Exponent >
bool operator< (const Decimal &left, const FixedPointDecimal< Mantissa, Exponent > &right)
 
template<class Mantissa , class Exponent >
bool operator< (const FixedPointDecimal< Mantissa, Exponent > &left, const Decimal &right)
 
template<class Mantissa , class Exponent >
bool operator> (const Decimal &left, const FixedPointDecimal< Mantissa, Exponent > &right)
 
template<class Mantissa , class Exponent >
bool operator> (const FixedPointDecimal< Mantissa, Exponent > &left, const Decimal &right)
 
ONIXS_CMEMDH_EXPORTED bool fromStr (Decimal &, const Char *, size_t)
 
ONIXS_CMEMDH_EXPORTED void decimalToStr (std::string &, Int64, Int32)
 
void toStr (std::string &str, const Decimal &number)
 
std::string toStr (const Decimal &number)
 
template<class Mantissa , class Exponent >
void toStr (std::string &str, const FixedPointDecimal< Mantissa, Exponent > &number)
 
template<class Mantissa , class Exponent >
std::string toStr (const FixedPointDecimal< Mantissa, Exponent > &number)