#include <OnixS/CME/iLink3/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 |
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 |
Protected Member Functions | |
~ValueConverter ()=default | |
Definition at line 39 of file ValueConverters.h.
|
protecteddefault |
|
inlinevirtualnoexcept |
Tries to convert the value into a string reference.
Reimplemented in CharConverter, and StrRefConverter.
Definition at line 61 of file ValueConverters.h.
|
inlinevirtualnoexcept |
Tries to convert the value into a character.
Reimplemented in IntegerConverter< Integer >, IntegerConverter< UInt64 >, IntegerConverter< UInt8 >, IntegerConverter< UInt16 >, IntegerConverter< Int64 >, IntegerConverter< Int16 >, IntegerConverter< Int8 >, IntegerConverter< UInt32 >, IntegerConverter< Int32 >, CharConverter, and StrRefConverter.
Definition at line 69 of file ValueConverters.h.
|
inlinevirtualnoexcept |
Tries to convert the value into an integer.
Reimplemented in IntegerConverter< Integer >, IntegerConverter< UInt64 >, IntegerConverter< UInt8 >, IntegerConverter< UInt16 >, IntegerConverter< Int64 >, IntegerConverter< Int16 >, IntegerConverter< Int8 >, IntegerConverter< UInt32 >, IntegerConverter< Int32 >, CharConverter, and StrRefConverter.
Definition at line 77 of file ValueConverters.h.
|
inlinevirtualnoexcept |
Tries to convert the value into an integer.
Reimplemented in IntegerConverter< Integer >, IntegerConverter< UInt64 >, IntegerConverter< UInt8 >, IntegerConverter< UInt16 >, IntegerConverter< Int64 >, IntegerConverter< Int16 >, IntegerConverter< Int8 >, IntegerConverter< UInt32 >, IntegerConverter< Int32 >, CharConverter, and StrRefConverter.
Definition at line 85 of file ValueConverters.h.
|
inlinevirtualnoexcept |
Tries to convert the value into an integer.
Reimplemented in IntegerConverter< Integer >, IntegerConverter< UInt64 >, IntegerConverter< UInt8 >, IntegerConverter< UInt16 >, IntegerConverter< Int64 >, IntegerConverter< Int16 >, IntegerConverter< Int8 >, IntegerConverter< UInt32 >, IntegerConverter< Int32 >, CharConverter, and StrRefConverter.
Definition at line 93 of file ValueConverters.h.
|
inlinevirtualnoexcept |
Tries to convert the value into an integer.
Reimplemented in IntegerConverter< Integer >, IntegerConverter< UInt64 >, IntegerConverter< UInt8 >, IntegerConverter< UInt16 >, IntegerConverter< Int64 >, IntegerConverter< Int16 >, IntegerConverter< Int8 >, IntegerConverter< UInt32 >, IntegerConverter< Int32 >, CharConverter, and StrRefConverter.
Definition at line 101 of file ValueConverters.h.
|
inlinevirtualnoexcept |
Tries to convert the value into an integer.
Reimplemented in IntegerConverter< Integer >, IntegerConverter< UInt64 >, IntegerConverter< UInt8 >, IntegerConverter< UInt16 >, IntegerConverter< Int64 >, IntegerConverter< Int16 >, IntegerConverter< Int8 >, IntegerConverter< UInt32 >, IntegerConverter< Int32 >, CharConverter, and StrRefConverter.
Definition at line 109 of file ValueConverters.h.
|
inlinevirtualnoexcept |
Tries to convert the value into an integer.
Reimplemented in IntegerConverter< Integer >, IntegerConverter< UInt64 >, IntegerConverter< UInt8 >, IntegerConverter< UInt16 >, IntegerConverter< Int64 >, IntegerConverter< Int16 >, IntegerConverter< Int8 >, IntegerConverter< UInt32 >, IntegerConverter< Int32 >, CharConverter, and StrRefConverter.
Definition at line 117 of file ValueConverters.h.
|
inlinevirtualnoexcept |
Tries to convert the value into an integer.
Reimplemented in TimestampConverter, IntegerConverter< Integer >, IntegerConverter< UInt64 >, IntegerConverter< UInt8 >, IntegerConverter< UInt16 >, IntegerConverter< Int64 >, IntegerConverter< Int16 >, IntegerConverter< Int8 >, IntegerConverter< UInt32 >, IntegerConverter< Int32 >, CharConverter, and StrRefConverter.
Definition at line 125 of file ValueConverters.h.
|
inlinevirtualnoexcept |
Tries to convert the value into an integer.
Reimplemented in TimestampConverter, IntegerConverter< Integer >, IntegerConverter< UInt64 >, IntegerConverter< UInt8 >, IntegerConverter< UInt16 >, IntegerConverter< Int64 >, IntegerConverter< Int16 >, IntegerConverter< Int8 >, IntegerConverter< UInt32 >, IntegerConverter< Int32 >, CharConverter, and StrRefConverter.
Definition at line 133 of file ValueConverters.h.
|
inlinevirtualnoexcept |
Tries to convert the value into a Decimal.
Reimplemented in DecimalConverter, IntegerConverter< Integer >, IntegerConverter< UInt64 >, IntegerConverter< UInt8 >, IntegerConverter< UInt16 >, IntegerConverter< Int64 >, IntegerConverter< Int16 >, IntegerConverter< Int8 >, IntegerConverter< UInt32 >, IntegerConverter< Int32 >, CharConverter, and StrRefConverter.
Definition at line 141 of file ValueConverters.h.
|
inlinevirtual |
Tries to convert the value into a timestamp.
Reimplemented in TimestampConverter, IntegerConverter< Integer >, IntegerConverter< UInt64 >, IntegerConverter< UInt8 >, IntegerConverter< UInt16 >, IntegerConverter< Int64 >, IntegerConverter< Int16 >, IntegerConverter< Int8 >, IntegerConverter< UInt32 >, IntegerConverter< Int32 >, and StrRefConverter.
Definition at line 149 of file ValueConverters.h.
|
inlinevirtualnoexcept |
Tries to convert the value into a month-year.
Reimplemented in MaturityMonthYearConverter.
Definition at line 157 of file ValueConverters.h.
|
inlinevirtual |
Outputs the text presentation of the value stored in the given container into the given string.
Reimplemented in MaturityMonthYearConverter, TimestampConverter, DecimalConverter, IntegerConverter< Integer >, IntegerConverter< UInt64 >, IntegerConverter< UInt8 >, IntegerConverter< UInt16 >, IntegerConverter< Int64 >, IntegerConverter< Int16 >, IntegerConverter< Int8 >, IntegerConverter< UInt32 >, IntegerConverter< Int32 >, CharConverter, and StrRefConverter.
Definition at line 48 of file ValueConverters.h.
|
inlinevirtual |
Reimplemented in TimestampConverter, DecimalConverter, IntegerConverter< Integer >, IntegerConverter< UInt64 >, IntegerConverter< UInt8 >, IntegerConverter< UInt16 >, IntegerConverter< Int64 >, IntegerConverter< Int16 >, IntegerConverter< Int8 >, IntegerConverter< UInt32 >, IntegerConverter< Int32 >, CharConverter, and StrRefConverter.
Definition at line 53 of file ValueConverters.h.
|
pure virtualnoexcept |
The name of the type whose values are manipulated through the given converter.
Implemented in MaturityMonthYearConverter, TimestampConverter, DecimalConverter, UInt64Converter, Int64Converter, UInt32Converter, Int32Converter, UInt16Converter, Int16Converter, UInt8Converter, Int8Converter, CharConverter, StrRefConverter, and NullConverter.