OnixS C++ CME MDP Premium Market Data Handler 5.10.2
Users' manual and API documentation
Loading...
Searching...
No Matches
MaturityMonthYearConverter Struct Reference

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

Public Member Functions

const ChartypeName () const noexcept override
void toStr (std::string &str, const ValueContainer &container) const override
bool convert (MaturityMonthYear &value, const ValueContainer &container) const noexcept override
 ~MaturityMonthYearConverter ()=default
virtual bool convert (StrRef &, const ValueContainer &) const noexcept
template<class StringRef>
bool convert (StringRef &ref, const ValueContainer &container) const
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 (Decimal &, const ValueContainer &) const noexcept
virtual bool convert (Timestamp &, const ValueContainer &) const
virtual StrRef toStr (Char *, size_t, const ValueContainer &) const
Public Member Functions inherited from ValueConverter
template<class StringRef>
bool convert (StringRef &ref, const ValueContainer &container) const
 ~ValueConverter ()

Static Public Member Functions

static const ValueConverterself () noexcept

Detailed Description

Definition at line 753 of file ValueConverters.h.

Constructor & Destructor Documentation

◆ ~MaturityMonthYearConverter()

Member Function Documentation

◆ convert() [1/14]

virtual bool convert ( Char & ,
const ValueContainer &  ) const
inlinevirtualnoexcept

Tries to convert the value into a character.

Returns
Indicates whether the conversion successful.

Reimplemented from ValueConverter.

Definition at line 81 of file ValueConverters.h.

◆ convert() [2/14]

virtual bool convert ( Decimal & ,
const ValueContainer &  ) const
inlinevirtualnoexcept

Tries to convert the value into a Decimal.

Returns
Indicates whether the conversion successful.

Reimplemented from ValueConverter.

Definition at line 153 of file ValueConverters.h.

◆ convert() [3/14]

virtual bool convert ( Int16 & ,
const ValueContainer &  ) const
inlinevirtualnoexcept

Tries to convert the value into an integer.

Returns
Indicates whether the conversion successful.

Reimplemented from ValueConverter.

Definition at line 105 of file ValueConverters.h.

◆ convert() [4/14]

virtual bool convert ( Int32 & ,
const ValueContainer &  ) const
inlinevirtualnoexcept

Tries to convert the value into an integer.

Returns
Indicates whether the conversion successful.

Reimplemented from ValueConverter.

Definition at line 121 of file ValueConverters.h.

◆ convert() [5/14]

virtual bool convert ( Int64 & ,
const ValueContainer &  ) const
inlinevirtualnoexcept

Tries to convert the value into an integer.

Returns
Indicates whether the conversion successful.

Reimplemented from ValueConverter.

Definition at line 137 of file ValueConverters.h.

◆ convert() [6/14]

virtual bool convert ( Int8 & ,
const ValueContainer &  ) const
inlinevirtualnoexcept

Tries to convert the value into an integer.

Returns
Indicates whether the conversion successful.

Reimplemented from ValueConverter.

Definition at line 89 of file ValueConverters.h.

◆ convert() [7/14]

bool convert ( MaturityMonthYear & ,
const ValueContainer &  ) const
inlineoverridevirtualnoexcept

Tries to convert the value into a month-year.

Returns
Indicates whether the conversion successful.

Reimplemented from ValueConverter.

Definition at line 768 of file ValueConverters.h.

◆ convert() [8/14]

template<class StringRef>
bool convert ( StringRef & ref,
const ValueContainer & container ) const
inline

Definition at line 64 of file ValueConverters.h.

◆ convert() [9/14]

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

◆ convert() [10/14]

virtual bool convert ( Timestamp & ,
const ValueContainer &  ) const
inlinevirtual

Tries to convert the value into a timestamp.

Returns
Indicates whether the conversion successful.

Reimplemented from ValueConverter.

Definition at line 161 of file ValueConverters.h.

◆ convert() [11/14]

virtual bool convert ( UInt16 & ,
const ValueContainer &  ) const
inlinevirtualnoexcept

Tries to convert the value into an integer.

Returns
Indicates whether the conversion successful.

Reimplemented from ValueConverter.

Definition at line 113 of file ValueConverters.h.

◆ convert() [12/14]

virtual bool convert ( UInt32 & ,
const ValueContainer &  ) const
inlinevirtualnoexcept

Tries to convert the value into an integer.

Returns
Indicates whether the conversion successful.

Reimplemented from ValueConverter.

Definition at line 129 of file ValueConverters.h.

◆ convert() [13/14]

virtual bool convert ( UInt64 & ,
const ValueContainer &  ) const
inlinevirtualnoexcept

Tries to convert the value into an integer.

Returns
Indicates whether the conversion successful.

Reimplemented from ValueConverter.

Definition at line 145 of file ValueConverters.h.

◆ convert() [14/14]

virtual bool convert ( UInt8 & ,
const ValueContainer &  ) const
inlinevirtualnoexcept

Tries to convert the value into an integer.

Returns
Indicates whether the conversion successful.

Reimplemented from ValueConverter.

Definition at line 97 of file ValueConverters.h.

◆ self()

const ValueConverter & self ( )
staticnoexcept

◆ toStr() [1/2]

virtual StrRef toStr ( Char * ,
size_t ,
const ValueContainer &  ) const
inlinevirtual
Returns
the text presentation of the value.

Reimplemented from ValueConverter.

Definition at line 50 of file ValueConverters.h.

◆ toStr() [2/2]

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

◆ typeName()

const Char * typeName ( ) const
inlineoverridevirtualnoexcept

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

Implements ValueConverter.

Definition at line 758 of file ValueConverters.h.