Public Member Functions | |
| operator bool () const | |
| FieldValueRef | get (Tag tag) const |
| Int32 | getInt32 (Tag tag) const |
| UInt32 | getUInt32 (Tag tag) const |
| Int64 | getInt64 (Tag tag) const |
| UInt64 | getUInt64 (Tag tag) const |
| Decimal | getDecimal (Tag tag) const |
| StringRef | getStringRef (Tag tag) const |
| Timestamp | getTimestamp (Tag tag, TimestampFormat::Enum=TimestampFormat::YYYYMMDDHHMMSSNsec) const |
| Group | getGroup (Tag numberOfInstancesTag) const |
| Group | getOptionalGroup (Tag numberOfInstancesTag) const |
| bool | hasFlag (Tag tag) const |
| size_t | fields (Fields &fields) const |
| void | swap (FieldSet &) throw () |
Protected Member Functions | |
| FieldSet () | |
| FieldSet (const Message *, void *) | |
| FieldSet (const FieldSet &) | |
| ~FieldSet () | |
| FieldSet & | operator= (const FieldSet &) |
Protected Attributes | |
| const Message * | container_ |
| void * | impl_ |
Friends | |
| class | Message |
| class | GroupInstance |
| class | MessageOperator |
Encapsulates primary operations over collection of FIX fields like FIX message and repeating group instance are.
Definition at line 66 of file FieldSet.h.
|
protected |
|
protected |
| size_t fields | ( | Fields & | fields | ) | const |
| FieldValueRef get | ( | Tag | tag | ) | const |
Returns reference to a given field value.
Returns the field value as a decimal number.
| std::exception | if conversion is impossible. |
Returns reference to a repeating group if underlying field defines length of repeating group.
| numberOfInstancesTag | Tag number of the field that defines the number of instances in this repeating group (the NoXXX field). |
| std::exception | if no repeating group is associated with given field (tag). |
Returns field value as an OnixS::FIX::Int32 value.
| std::exception | if conversion is impossible. |
| Int64 getInt64 | ( | Tag | tag | ) | const |
Returns field value as an OnixS::FIX::Int64 value.
| std::exception | if conversion is impossible. |
Returns reference to a repeating group if underlying field defines length of repeating group.
| numberOfInstancesTag | Tag number of the field that defines the number of instances in this repeating group (the NoXXX field). |
Returns reference to a read-only text chain.
| std::exception | if conversion is impossible. |
| Timestamp getTimestamp | ( | Tag | tag, |
| TimestampFormat::Enum | = TimestampFormat::YYYYMMDDHHMMSSNsec ) const |
Returns the field value as timestamp of requested format.
| std::exception | if conversion is impossible. |
Returns field value as an OnixS::FIX::UInt32 value.
| std::exception | if conversion is impossible. |
| UInt64 getUInt64 | ( | Tag | tag | ) | const |
Returns field value as an OnixS::FIX::UInt64 value.
| std::exception | if conversion is impossible. |
| bool hasFlag | ( | Tag | tag | ) | const |
Returns true if the given flag is present and it equals to "Y", otherwise false.
| operator bool | ( | ) | const |
Indicates whether instance refers to a valid set of fields.
If given instance doesn't refer to a valid fields set, none of other members must be used.
| void swap | ( | FieldSet & | ) | |||
| throw | ( | ) | ||||
|
friend |
Definition at line 222 of file FieldSet.h.
|
friend |
Definition at line 221 of file FieldSet.h.
|
friend |
Definition at line 223 of file FieldSet.h.
|
protected |
Definition at line 201 of file FieldSet.h.
|
protected |
Definition at line 204 of file FieldSet.h.