OnixS C++ CME MDP Premium Market Data Handler  5.8.3
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)
 
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)
 
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)
 
bool fromStr (Decimal &, const Char *, size_t)
 
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)