OnixS C++ CME MDP Conflated UDP Handler  1.1.2
API documentation
Decimal.h File Reference
#include <string>
#include <OnixS/CME/ConflatedUDP/Integral.h>

Go to the source code of this file.

Classes

class  FixedPointDecimal< MantissaType, ExponentType >
 
class  Decimal
 

Namespaces

 OnixS
 
 OnixS::CME
 
 OnixS::CME::ConflatedUDP
 

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_CONFLATEDUDP_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_CONFLATEDUDP_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_CONFLATEDUDP_EXPORTED bool fromStr (Decimal &, const Char *, size_t)
 
ONIXS_CONFLATEDUDP_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)