#include <OnixS/CME/MDH/FIX/Field.h>
Public Member Functions | |
| Field () | |
| Field (const Field &other) | |
| operator bool () const | |
| template<class Value> | |
| ValueConversion< Value >::Result | cast () const |
| bool | tryCast (StrRef &str) const |
| bool | tryCast (Char &value) const |
| bool | tryCast (Int8 &value) const |
| bool | tryCast (UInt8 &value) const |
| bool | tryCast (Int16 &value) const |
| bool | tryCast (UInt16 &value) const |
| bool | tryCast (Int32 &value) const |
| bool | tryCast (UInt32 &value) const |
| bool | tryCast (Int64 &value) const |
| bool | tryCast (UInt64 &value) const |
| bool | tryCast (Timestamp &value) const |
| bool | tryCast (MaturityMonthYear &value) const |
| template<class Enumeration> | |
| bool | tryCast (typename Enumeration::Enum &value) const |
| template<class BitSet> | |
| bool | tryCast (BitSet &value, typename BitSet::Bits *=nullptr) const |
| std::string | toStr () const |
| void | toStr (std::string &str) const |
| Field & | operator= (const Field &other) |
Protected Member Functions | |
| Field (const ValueConverter &converter) | |
| const ValueContainer & | value () const |
| ValueContainer & | value () |
Represents the field in the FIX message.
Exposes operations to access value and make a compatible conversion.
|
inlineprotected |
|
inline |
Casts the stored value to the requested type.
The value may be converted into the value of the requested type if a conversion is possible. Otherwise, an exception is thrown. For example, if the field value represents a reference to a string (e.g. instance of the StrRef class), then it can be successfully converted into a number if the string referred represents a number.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Tries to cast the stored value into a value of the MaturityMonthYear type. Returned value indicates whether the casting succeeded.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlineprotected |
|
inlineprotected |