OnixS C++ Tullett Prebon SURF Handler  1.6.1
API documentation
Decimal Struct Reference

#include <OnixS/SURF/MarketData/Decimal.h>

Public Member Functions

 Decimal ()
 
 Decimal (signed char)
 
 Decimal (unsigned char)
 
 Decimal (signed short)
 
 Decimal (unsigned short)
 
 Decimal (signed int)
 
 Decimal (unsigned int)
 
 Decimal (signed long long)
 
 Decimal (unsigned long long)
 
 Decimal (float value, size_t precision)
 
 Decimal (signed long long mantissa, signed int exponent)
 
 Decimal (signed char sign, unsigned long long mantissaHigh, unsigned long long mantissaLow, signed int exponent)
 
 Decimal (const std::string &)
 
 Decimal (const char *buffer, size_t bufferSize)
 
 Decimal (const Decimal &other)
 
signed long long mantissa () const
 
void mantissa (signed long long)
 
signed int exponent () const
 
void exponent (signed int)
 
bool toNumber (signed char &converted) const
 
bool toNumber (unsigned char &converted) const
 
bool toNumber (signed short &converted) const
 
bool toNumber (unsigned short &converted) const
 
bool toNumber (signed int &converted) const
 
bool toNumber (unsigned int &converted) const
 
bool toNumber (signed long long &converted) const
 
bool toNumber (unsigned long long &converted) const
 
bool toNumber (float &converted) const
 
bool toNumber (double &converted) const
 
 operator signed int () const
 
 operator unsigned int () const
 
 operator signed long long () const
 
 operator unsigned long long () const
 
 operator double () const
 
bool operator== (const Decimal &other) const
 
bool operator!= (const Decimal &other) const
 
Decimaloperator= (const Decimal &other)
 
Decimaloperator+= (const Decimal &other)
 
Decimaloperator-= (const Decimal &other)
 
Decimaloperator*= (const Decimal &other)
 
Decimaloperator/= (const Decimal &other)
 
std::string toString () const
 

Detailed Description

Decimal representation.

Definition at line 33 of file Decimal.h.

Constructor & Destructor Documentation

Decimal ( )
Decimal ( signed  char)
Decimal ( unsigned  char)
Decimal ( signed  short)
Decimal ( unsigned  short)
Decimal ( signed  int)
Decimal ( unsigned  int)
Decimal ( signed long  long)
Decimal ( unsigned long  long)
Decimal ( float  value,
size_t  precision 
)
Decimal ( signed long long  mantissa,
signed int  exponent 
)
Decimal ( signed char  sign,
unsigned long long  mantissaHigh,
unsigned long long  mantissaLow,
signed int  exponent 
)
Decimal ( const std::string &  )
Decimal ( const char *  buffer,
size_t  bufferSize 
)
Decimal ( const Decimal other)

Member Function Documentation

signed int exponent ( ) const
void exponent ( signed  int)
signed long long mantissa ( ) const
void mantissa ( signed long  long)
operator double ( ) const
operator signed int ( ) const
operator signed long long ( ) const
operator unsigned int ( ) const
operator unsigned long long ( ) const
bool operator!= ( const Decimal other) const
Decimal& operator*= ( const Decimal other)
Decimal& operator+= ( const Decimal other)
Decimal& operator-= ( const Decimal other)
Decimal& operator/= ( const Decimal other)
Decimal& operator= ( const Decimal other)
bool operator== ( const Decimal other) const
bool toNumber ( signed char &  converted) const
bool toNumber ( unsigned char &  converted) const
bool toNumber ( signed short &  converted) const
bool toNumber ( unsigned short &  converted) const
bool toNumber ( signed int &  converted) const
bool toNumber ( unsigned int &  converted) const
bool toNumber ( signed long long &  converted) const
bool toNumber ( unsigned long long &  converted) const
bool toNumber ( float &  converted) const
bool toNumber ( double &  converted) const
std::string toString ( ) const

The documentation for this struct was generated from the following file: