OnixS C++ CME MDP Conflated UDP Handler 1.1.2
API documentation
Loading...
Searching...
No Matches
DecimalConverter Struct Reference

Public Member Functions

const ChartypeName () const
void toStr (std::string &str, const ValueContainer &container) const
bool convert (Decimal &value, const ValueContainer &container) const
Public Member Functions inherited from ValueConverter
virtual bool convert (StrRef &, const ValueContainer &) const
virtual bool convert (Char &, const ValueContainer &) const
virtual bool convert (Int8 &, const ValueContainer &) const
virtual bool convert (UInt8 &, const ValueContainer &) const
virtual bool convert (Int16 &, const ValueContainer &) const
virtual bool convert (UInt16 &, const ValueContainer &) const
virtual bool convert (Int32 &, const ValueContainer &) const
virtual bool convert (UInt32 &, const ValueContainer &) const
virtual bool convert (Int64 &, const ValueContainer &) const
virtual bool convert (UInt64 &, 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

Implements the value conversion abstraction for the decimal fields.

Definition at line 1058 of file ValueConverters.h.

Member Function Documentation

◆ convert()

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

◆ self()

const ValueConverter & self ( )
inlinestatic

Definition at line 1090 of file ValueConverters.h.

◆ toStr()

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

◆ typeName()

const Char * typeName ( ) const
inlinevirtual

The name of the type whose values are manipulated through the given converter.

Implements ValueConverter.

Definition at line 1062 of file ValueConverters.h.