OnixS C++ CME MDP Premium Market Data Handler  5.8.3
API Documentation
IntegerConverter< Integer, Descendant > Class Template Reference

#include <OnixS/CME/MDH/FIX/ValueConverters.h>

Public Member Functions

void toStr (std::string &str, const ValueContainer &container) const override
 
bool convert (Char &value, const ValueContainer &container) const override
 
bool convert (Int8 &value, const ValueContainer &container) const override
 
bool convert (UInt8 &value, const ValueContainer &container) const override
 
bool convert (Int16 &value, const ValueContainer &container) const override
 
bool convert (UInt16 &value, const ValueContainer &container) const override
 
bool convert (Int32 &value, const ValueContainer &container) const override
 
bool convert (UInt32 &value, const ValueContainer &container) const override
 
bool convert (Int64 &value, const ValueContainer &container) const override
 
bool convert (UInt64 &value, const ValueContainer &container) const override
 
bool convert (Decimal &value, const ValueContainer &container) const override
 
bool convert (StrRef &, const ValueContainer &) const override
 
bool convert (Timestamp &, const ValueContainer &) const override
 
bool convert (MaturityMonthYear &, const ValueContainer &) const override
 
- Public Member Functions inherited from ValueConverter
virtual const ChartypeName () const =0
 

Detailed Description

template<class Integer, class Descendant>
class OnixS::CME::MDH::FIX::IntegerConverter< Integer, Descendant >

Definition at line 403 of file ValueConverters.h.

Member Function Documentation

bool convert ( Char ,
const ValueContainer  
) const
inlineoverridevirtual

Tries to convert the value stored in the given container into a character.

The returned value indicates whether the conversion successful.

Reimplemented from ValueConverter.

Definition at line 431 of file ValueConverters.h.

bool convert ( Int8 ,
const ValueContainer  
) const
inlineoverridevirtual

Tries to convert the value stored in the given container into an integer.

The returned value indicates whether the conversion successful.

Reimplemented from ValueConverter.

Definition at line 445 of file ValueConverters.h.

bool convert ( UInt8 ,
const ValueContainer  
) const
inlineoverridevirtual

Tries to convert the value stored in the given container into an integer.

The returned value indicates whether the conversion successful.

Reimplemented from ValueConverter.

Definition at line 452 of file ValueConverters.h.

bool convert ( Int16 ,
const ValueContainer  
) const
inlineoverridevirtual

Tries to convert the value stored in the given container into an integer.

The returned value indicates whether the conversion successful.

Reimplemented from ValueConverter.

Definition at line 459 of file ValueConverters.h.

bool convert ( UInt16 ,
const ValueContainer  
) const
inlineoverridevirtual

Tries to convert the value stored in the given container into an integer.

The returned value indicates whether the conversion successful.

Reimplemented from ValueConverter.

Definition at line 466 of file ValueConverters.h.

bool convert ( Int32 ,
const ValueContainer  
) const
inlineoverridevirtual

Tries to convert the value stored in the given container into an integer.

The returned value indicates whether the conversion successful.

Reimplemented from ValueConverter.

Definition at line 473 of file ValueConverters.h.

bool convert ( UInt32 ,
const ValueContainer  
) const
inlineoverridevirtual

Tries to convert the value stored in the given container into an integer.

The returned value indicates whether the conversion successful.

Reimplemented from ValueConverter.

Definition at line 480 of file ValueConverters.h.

bool convert ( Int64 &  ,
const ValueContainer  
) const
inlineoverridevirtual

Tries to convert the value stored in the given container into an integer.

The returned value indicates whether the conversion successful.

Reimplemented from ValueConverter.

Definition at line 487 of file ValueConverters.h.

bool convert ( UInt64 ,
const ValueContainer  
) const
inlineoverridevirtual

Tries to convert the value stored in the given container into an integer.

The returned value indicates whether the conversion successful.

Reimplemented from ValueConverter.

Definition at line 494 of file ValueConverters.h.

bool convert ( Decimal ,
const ValueContainer  
) const
inlineoverridevirtual

Tries to convert the value stored in the given container into a decimal.

The returned value indicates whether the conversion successful.

Reimplemented from ValueConverter.

Definition at line 501 of file ValueConverters.h.

bool convert ( StrRef ,
const ValueContainer  
) const
inlineoverridevirtual

Tries to convert the value stored in the given container into the string reference.

The returned value indicates whether the conversion successful.

Reimplemented from ValueConverter.

Definition at line 508 of file ValueConverters.h.

bool convert ( Timestamp ,
const ValueContainer  
) const
inlineoverridevirtual

Tries to convert the value stored in the given container into a timestamp.

The returned value indicates whether the conversion successful.

Reimplemented from ValueConverter.

Definition at line 513 of file ValueConverters.h.

bool convert ( MaturityMonthYear ,
const ValueContainer  
) const
inlineoverridevirtual

Tries to convert the value stored in the given container into a month-year.

The returned value indicates whether the conversion successful.

Reimplemented from ValueConverter.

Definition at line 518 of file ValueConverters.h.

void toStr ( std::string &  ,
const ValueContainer  
) const
inlineoverridevirtual

Outputs the text presentation of the FIX value stored in the given container into the given string.

Reimplemented from ValueConverter.

Definition at line 426 of file ValueConverters.h.


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