OnixS C++ CME iLink 3 Binary Order Entry Handler 1.19.0
API Documentation
Loading...
Searching...
No Matches
IntegerConverter< Integer > Class Template Reference

Public Member Functions

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

Protected Member Functions

 ~IntegerConverter ()=default
Protected Member Functions inherited from ValueConverter
 ~ValueConverter ()=default

Detailed Description

template<class Integer>
class OnixS::CME::iLink3::Messaging::TagBased::IntegerConverter< Integer >

Definition at line 626 of file ValueConverters.h.

Constructor & Destructor Documentation

◆ ~IntegerConverter()

template<class Integer>
~IntegerConverter ( )
protecteddefault

Member Function Documentation

◆ convert() [1/13]

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

Tries to convert the value into a character.

Returns
Indicates whether the conversion successful.

Reimplemented from ValueConverter.

Definition at line 712 of file ValueConverters.h.

◆ convert() [2/13]

template<class Integer>
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 831 of file ValueConverters.h.

◆ convert() [3/13]

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

Tries to convert the value into an integer.

Returns
Indicates whether the conversion successful.

Reimplemented from ValueConverter.

Definition at line 759 of file ValueConverters.h.

◆ convert() [4/13]

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

Tries to convert the value into an integer.

Returns
Indicates whether the conversion successful.

Reimplemented from ValueConverter.

Definition at line 783 of file ValueConverters.h.

◆ convert() [5/13]

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

Tries to convert the value into an integer.

Returns
Indicates whether the conversion successful.

Reimplemented from ValueConverter.

Definition at line 807 of file ValueConverters.h.

◆ convert() [6/13]

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

Tries to convert the value into an integer.

Returns
Indicates whether the conversion successful.

Reimplemented from ValueConverter.

Definition at line 735 of file ValueConverters.h.

◆ convert() [7/13]

template<class Integer>
virtual bool convert ( MaturityMonthYear & ,
const ValueContainer &  ) const
inlinevirtualnoexcept

Tries to convert the value into a month-year.

Returns
Indicates whether the conversion successful.

Reimplemented from ValueConverter.

Definition at line 157 of file ValueConverters.h.

◆ convert() [8/13]

template<class Integer>
virtual bool convert ( StrRef & ,
const ValueContainer &  ) const
inlinevirtualnoexcept

Tries to convert the value into a string reference.

Returns
Indicates whether the conversion successful.

Reimplemented from ValueConverter.

Definition at line 61 of file ValueConverters.h.

◆ convert() [9/13]

template<class Integer>
bool convert ( Timestamp & ,
const ValueContainer &  ) const
inlineoverridevirtualnoexcept

Tries to convert the value into a timestamp.

Returns
Indicates whether the conversion successful.

Reimplemented from ValueConverter.

Definition at line 847 of file ValueConverters.h.

◆ convert() [10/13]

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

Tries to convert the value into an integer.

Returns
Indicates whether the conversion successful.

Reimplemented from ValueConverter.

Definition at line 771 of file ValueConverters.h.

◆ convert() [11/13]

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

Tries to convert the value into an integer.

Returns
Indicates whether the conversion successful.

Reimplemented from ValueConverter.

Definition at line 795 of file ValueConverters.h.

◆ convert() [12/13]

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

Tries to convert the value into an integer.

Returns
Indicates whether the conversion successful.

Reimplemented from ValueConverter.

Definition at line 819 of file ValueConverters.h.

◆ convert() [13/13]

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

Tries to convert the value into an integer.

Returns
Indicates whether the conversion successful.

Reimplemented from ValueConverter.

Definition at line 747 of file ValueConverters.h.

◆ toStr() [1/2]

template<class Integer>
StrRef toStr ( Char * ,
size_t ,
const ValueContainer &  ) const
inlineoverridevirtual
Returns
the text presentation of the value.

Reimplemented from ValueConverter.

Definition at line 693 of file ValueConverters.h.

◆ toStr() [2/2]

template<class Integer>
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 683 of file ValueConverters.h.