Public Member Functions | |
| FieldValueRef () | |
| FieldValueRef (const FieldValueRef &other) | |
| operator bool () const | |
| operator std::string () const | |
| bool | operator== (const FieldValueRef &) const |
| bool | operator!= (const FieldValueRef &) const |
| bool | operator== (const StringRef &) const |
| bool | operator!= (const StringRef &) const |
| bool | toNumber (Int32 &) const |
| bool | toNumber (UInt32 &) const |
| bool | toNumber (Int64 &) const |
| bool | toNumber (UInt64 &) const |
| bool | toNumber (Decimal &) const |
| bool | toTimestamp (Timestamp &, TimestampFormat::Enum=TimestampFormat::YYYYMMDDHHMMSSNsec) const |
| bool | toStringRef (StringRef &) const |
| bool | toChar (char &) const |
| bool | toGroup (Group &) const |
| void | toString (std::string &) const |
| std::string | toString () const |
| FieldValueRef & | operator= (const FieldValueRef &) |
| void | swap (FieldValueRef &) throw () |
Friends | |
| class | MessageOperator |
Implements concept of a read-only reference to a FIX field value.
Definition at line 38 of file FieldValueRef.h.
| FieldValueRef | ( | ) |
Uninitialized value.
| FieldValueRef | ( | const FieldValueRef & | other | ) |
Shallow copy from another one.
| operator bool | ( | ) | const |
Indicated whether the instance refers to a valid value.
|
inline |
Return string presentation of the value being referenced.
Definition at line 198 of file FieldValueRef.h.
| bool operator!= | ( | const FieldValueRef & | ) | const |
Compares with another instance for inequality.
| bool operator!= | ( | const StringRef & | ) | const |
Compares string presentation for equality with given text reference.
| FieldValueRef & operator= | ( | const FieldValueRef & | ) |
Updates instance to refer to another field value.
| bool operator== | ( | const FieldValueRef & | ) | const |
Compares with another instance for equality.
| bool operator== | ( | const StringRef & | ) | const |
Compares string presentation for equality with given text reference.
| void swap | ( | FieldValueRef & | ) | |||
| throw | ( | ) | ||||
| bool toChar | ( | char & | ) | const |
If value represent one-char text, copies it into given variable.
| bool toGroup | ( | Group & | ) | const |
If repeating group is associated with field, allows to get instance of it.
| bool toNumber | ( | Decimal & | ) | const |
Converts field value into floating point value.
| bool toNumber | ( | Int32 & | ) | const |
Converts field value into whole number.
| bool toNumber | ( | Int64 & | ) | const |
Converts field value into whole number.
| bool toNumber | ( | UInt32 & | ) | const |
Converts field value into whole number.
| bool toNumber | ( | UInt64 & | ) | const |
Converts field value into whole number.
|
inline |
Return string presentation of field value.
Definition at line 210 of file FieldValueRef.h.
| void toString | ( | std::string & | ) | const |
Appends copy of text presentation to the std::string.
| bool toStringRef | ( | StringRef & | ) | const |
If value represents text, returns reference to it.
| bool toTimestamp | ( | Timestamp & | , |
| TimestampFormat::Enum | = TimestampFormat::YYYYMMDDHHMMSSNsec ) const |
Converts field value into timestamp of requested format.
|
friend |
Definition at line 186 of file FieldValueRef.h.