OnixS C++ CME iLink 3 Binary Order Entry Handler  1.18.0
API Documentation
DecimalConverter Struct Referencefinal

#include <OnixS/CME/iLink3/messaging/TagBased/ValueConverters.h>

Public Member Functions

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

Static Public Member Functions

static const ValueConverterself () noexcept
 

Protected Member Functions

 ~DecimalConverter ()=default
 
- Protected Member Functions inherited from ValueConverter
 ~ValueConverter ()=default
 

Detailed Description

Definition at line 1016 of file ValueConverters.h.

Constructor & Destructor Documentation

~DecimalConverter ( )
protecteddefault

Member Function Documentation

bool convert ( Decimal ,
const ValueContainer  
) const
inlineoverridevirtualnoexcept

Tries to convert the value into a Decimal.

Returns
Indicates whether the conversion successful.

Reimplemented from ValueConverter.

Definition at line 1056 of file ValueConverters.h.

static const ValueConverter& self ( )
staticnoexcept
void toStr ( std::string &  ,
const ValueContainer  
) const
inlineoverridevirtual

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

Reimplemented from ValueConverter.

Definition at line 1027 of file ValueConverters.h.

StrRef toStr ( Char ,
size_t  ,
const ValueContainer  
) const
inlineoverridevirtual
Returns
the text presentation of the value.

Reimplemented from ValueConverter.

Definition at line 1037 of file ValueConverters.h.

const Char* typeName ( ) const
inlineoverridevirtualnoexcept

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

Implements ValueConverter.

Definition at line 1021 of file ValueConverters.h.


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