OnixS C++ CME MDP Conflated UDP Handler 1.1.2
API documentation
Loading...
Searching...
No Matches
IntegerConverter< Integer, Descendant > Class Template Reference

Public Member Functions

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

Static Public Member Functions

static const ValueConverterself ()

Detailed Description

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

Implements the value conversion abstraction for the integer fields.

Definition at line 696 of file ValueConverters.h.

Member Function Documentation

◆ convert() [1/10]

template<class Integer, class Descendant>
bool convert ( Char & ,
const ValueContainer &  ) const
inlinevirtual

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 762 of file ValueConverters.h.

◆ convert() [2/10]

template<class Integer, class Descendant>
bool convert ( Decimal & ,
const ValueContainer &  ) const
inlinevirtual

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 889 of file ValueConverters.h.

◆ convert() [3/10]

template<class Integer, class Descendant>
bool convert ( Int16 & ,
const ValueContainer &  ) const
inlinevirtual

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 811 of file ValueConverters.h.

◆ convert() [4/10]

template<class Integer, class Descendant>
bool convert ( Int32 & ,
const ValueContainer &  ) const
inlinevirtual

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 837 of file ValueConverters.h.

◆ convert() [5/10]

template<class Integer, class Descendant>
bool convert ( Int64 & ,
const ValueContainer &  ) const
inlinevirtual

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 863 of file ValueConverters.h.

◆ convert() [6/10]

template<class Integer, class Descendant>
bool convert ( Int8 & ,
const ValueContainer &  ) const
inlinevirtual

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 785 of file ValueConverters.h.

◆ convert() [7/10]

template<class Integer, class Descendant>
bool convert ( UInt16 & ,
const ValueContainer &  ) const
inlinevirtual

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 824 of file ValueConverters.h.

◆ convert() [8/10]

template<class Integer, class Descendant>
bool convert ( UInt32 & ,
const ValueContainer &  ) const
inlinevirtual

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 850 of file ValueConverters.h.

◆ convert() [9/10]

template<class Integer, class Descendant>
bool convert ( UInt64 & ,
const ValueContainer &  ) const
inlinevirtual

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 876 of file ValueConverters.h.

◆ convert() [10/10]

template<class Integer, class Descendant>
bool convert ( UInt8 & ,
const ValueContainer &  ) const
inlinevirtual

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 798 of file ValueConverters.h.

◆ self()

template<class Integer, class Descendant>
const ValueConverter & self ( )
inlinestatic

Definition at line 907 of file ValueConverters.h.

◆ toStr()

template<class Integer, class Descendant>
void toStr ( std::string & ,
const ValueContainer &  ) const
inlinevirtual

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

Reimplemented from ValueConverter.

Definition at line 752 of file ValueConverters.h.