#include <OnixS/CME/MDH/messaging/TagBased/ValueConverters.h>
Public Member Functions | |
| virtual const Char * | typeName () const noexcept=0 |
| virtual void | toStr (std::string &, const ValueContainer &) const |
| virtual StrRef | toStr (Char *, size_t, const ValueContainer &) const |
| 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 bool | convert (MaturityMonthYear &, const ValueContainer &) const noexcept |
| ~ValueConverter () | |
Abstraction gathering operations over a value of a particular type stored as a field in a message.
Definition at line 39 of file ValueConverters.h.
| ~ValueConverter | ( | ) |
|
inlinevirtualnoexcept |
Tries to convert the value into a character.
Reimplemented in CharConverter, DecimalConverter, IntegerConverter< Integer, Descendant >, MaturityMonthYearConverter, StrRefConverter, and TimestampConverter.
Definition at line 81 of file ValueConverters.h.
|
inlinevirtualnoexcept |
Tries to convert the value into a Decimal.
Reimplemented in CharConverter, DecimalConverter, IntegerConverter< Integer, Descendant >, MaturityMonthYearConverter, StrRefConverter, and TimestampConverter.
Definition at line 153 of file ValueConverters.h.
|
inlinevirtualnoexcept |
Tries to convert the value into an integer.
Reimplemented in CharConverter, DecimalConverter, IntegerConverter< Integer, Descendant >, MaturityMonthYearConverter, StrRefConverter, and TimestampConverter.
Definition at line 105 of file ValueConverters.h.
|
inlinevirtualnoexcept |
Tries to convert the value into an integer.
Reimplemented in CharConverter, DecimalConverter, IntegerConverter< Integer, Descendant >, MaturityMonthYearConverter, StrRefConverter, and TimestampConverter.
Definition at line 121 of file ValueConverters.h.
|
inlinevirtualnoexcept |
Tries to convert the value into an integer.
Reimplemented in CharConverter, DecimalConverter, IntegerConverter< Integer, Descendant >, MaturityMonthYearConverter, StrRefConverter, and TimestampConverter.
Definition at line 137 of file ValueConverters.h.
|
inlinevirtualnoexcept |
Tries to convert the value into an integer.
Reimplemented in CharConverter, DecimalConverter, IntegerConverter< Integer, Descendant >, MaturityMonthYearConverter, StrRefConverter, and TimestampConverter.
Definition at line 89 of file ValueConverters.h.
|
inlinevirtualnoexcept |
Tries to convert the value into a month-year.
Reimplemented in CharConverter, DecimalConverter, IntegerConverter< Integer, Descendant >, IntegerConverter< Int16 >, IntegerConverter< Int32 >, IntegerConverter< Int64 >, IntegerConverter< Int8 >, IntegerConverter< UInt16 >, IntegerConverter< UInt32 >, IntegerConverter< UInt64 >, IntegerConverter< UInt8 >, MaturityMonthYearConverter, StrRefConverter, and TimestampConverter.
Definition at line 169 of file ValueConverters.h.
|
inline |
Definition at line 64 of file ValueConverters.h.
|
inlinevirtualnoexcept |
Tries to convert the value into a string reference.
Reimplemented in CharConverter, DecimalConverter, IntegerConverter< Integer, Descendant >, IntegerConverter< Int16 >, IntegerConverter< Int32 >, IntegerConverter< Int64 >, IntegerConverter< Int8 >, IntegerConverter< UInt16 >, IntegerConverter< UInt32 >, IntegerConverter< UInt64 >, IntegerConverter< UInt8 >, MaturityMonthYearConverter, StrRefConverter, and TimestampConverter.
Definition at line 58 of file ValueConverters.h.
|
inlinevirtual |
Tries to convert the value into a timestamp.
Reimplemented in CharConverter, DecimalConverter, IntegerConverter< Integer, Descendant >, MaturityMonthYearConverter, StrRefConverter, and TimestampConverter.
Definition at line 161 of file ValueConverters.h.
|
inlinevirtualnoexcept |
Tries to convert the value into an integer.
Reimplemented in CharConverter, DecimalConverter, IntegerConverter< Integer, Descendant >, MaturityMonthYearConverter, StrRefConverter, and TimestampConverter.
Definition at line 113 of file ValueConverters.h.
|
inlinevirtualnoexcept |
Tries to convert the value into an integer.
Reimplemented in CharConverter, DecimalConverter, IntegerConverter< Integer, Descendant >, MaturityMonthYearConverter, StrRefConverter, and TimestampConverter.
Definition at line 129 of file ValueConverters.h.
|
inlinevirtualnoexcept |
Tries to convert the value into an integer.
Reimplemented in CharConverter, DecimalConverter, IntegerConverter< Integer, Descendant >, MaturityMonthYearConverter, StrRefConverter, and TimestampConverter.
Definition at line 145 of file ValueConverters.h.
|
inlinevirtualnoexcept |
Tries to convert the value into an integer.
Reimplemented in CharConverter, DecimalConverter, IntegerConverter< Integer, Descendant >, MaturityMonthYearConverter, StrRefConverter, and TimestampConverter.
Definition at line 97 of file ValueConverters.h.
|
inlinevirtual |
Reimplemented in CharConverter, DecimalConverter, IntegerConverter< Integer, Descendant >, MaturityMonthYearConverter, StrRefConverter, and TimestampConverter.
Definition at line 50 of file ValueConverters.h.
|
inlinevirtual |
Outputs the text presentation of the value stored in the given container into the given string.
Reimplemented in CharConverter, DecimalConverter, IntegerConverter< Integer, Descendant >, IntegerConverter< Int16 >, IntegerConverter< Int32 >, IntegerConverter< Int64 >, IntegerConverter< Int8 >, IntegerConverter< UInt16 >, IntegerConverter< UInt32 >, IntegerConverter< UInt64 >, IntegerConverter< UInt8 >, MaturityMonthYearConverter, StrRefConverter, and TimestampConverter.
Definition at line 47 of file ValueConverters.h.
|
pure virtualnoexcept |
The name of the type whose values are manipulated through the given converter.
Implemented in CharConverter, DecimalConverter, Int16Converter, Int32Converter, Int64Converter, Int8Converter, MaturityMonthYearConverter, NullConverter, StrRefConverter, TimestampConverter, UInt16Converter, UInt32Converter, UInt64Converter, and UInt8Converter.