#include <OnixS/CME/iLink3/messaging/TagBased/Message.h>
|
| operator bool () const noexcept |
|
FieldSet & | reset () noexcept |
|
Field | field (Tag tag) const noexcept |
|
FieldSet & | setField (Tag tag, const Field &field) |
|
FieldSet & | resetField (Tag tag) |
|
Field | operator[] (Tag tag) const noexcept |
|
bool | contain (Tag tag) const noexcept |
|
Char | getChar (Tag tag) const |
|
Int64 | getInt64 (Tag tag) const |
|
UInt64 | getUInt64 (Tag tag) const |
|
Int32 | getInt32 (Tag tag) const |
|
UInt32 | getUInt32 (Tag tag) const |
|
Int16 | getInt16 (Tag tag) const |
|
UInt16 | getUInt16 (Tag tag) const |
|
Int8 | getInt8 (Tag tag) const |
|
UInt8 | getUInt8 (Tag tag) const |
|
Decimal | getDecimal (Tag tag) const |
|
StrRef | getStringRef (Tag tag) const |
|
Timestamp | getTimestamp (Tag tag) const |
|
MaturityMonthYear | getMaturityMonthYear (Tag tag) const |
|
template<typename Enumeration > |
Enumeration::Enum | getEnumeration (Tag tag) const |
|
template<typename BitSet > |
BitSet | getBitSet (Tag tag) const |
|
FieldSet & | set (Tag tag, const Field &field) |
|
template<typename BitSet > |
FieldSet & | set (Tag tag, BitSet value, typename BitSet::Bits *=nullptr) |
|
FieldSet & | set (Tag tag, Char value) |
|
FieldSet & | set (Tag tag, UInt64 value) |
|
FieldSet & | set (Tag tag, Int64 value) |
|
FieldSet & | set (Tag tag, UInt32 value) |
|
FieldSet & | set (Tag tag, Int32 value) |
|
FieldSet & | set (Tag tag, UInt16 value) |
|
FieldSet & | set (Tag tag, Int16 value) |
|
FieldSet & | set (Tag tag, UInt8 value) |
|
FieldSet & | set (Tag tag, Int8 value) |
|
FieldSet & | set (Tag tag, const Decimal &value) |
|
FieldSet & | set (Tag tag, StrRef value) |
|
FieldSet & | set (Tag tag, Timestamp value) |
|
FieldSet & | set (Tag tag, const MaturityMonthYear &value) |
|
Definition at line 53 of file Message.h.
Initializes the instance over the binary data.
Definition at line 478 of file Message.h.
bool contain |
( |
Tag |
tag | ) |
const |
|
noexcept |
- Returns
true
if the field-set contains the field with the given tag, otherwise - false
.
- Warning
- Does not check whether the instance refers to a valid set of fields. Use operator bool() to check whether the instance is in a valid state.
- Returns
- Field by its tag.
- Warning
- Does not check whether the instance refers to a valid set of fields. Use operator bool() to check whether the instance is in a valid state.
Definition at line 80 of file Message.h.
BitSet getBitSet |
( |
Tag |
tag | ) |
const |
|
inline |
- Returns
- the field value as a set.
- Exceptions
-
std::runtime_error | if conversion is impossible or the value does not exist. |
- Warning
- Does not check whether the instance refers to a valid set of fields. Use operator bool() to check whether the instance is in a valid state.
Definition at line 312 of file Message.h.
- Returns
- field value as an
Char
value.
- Exceptions
-
std::runtime_error | if conversion is impossible or the value does not exist. |
- Warning
- Does not check whether the instance refers to a valid set of fields. Use operator bool() to check whether the instance is in a valid state.
- Returns
- the field value as a Decimal number.
- Exceptions
-
std::runtime_error | if conversion is impossible or the value does not exist. |
- Warning
- Does not check whether the instance refers to a valid set of fields. Use operator bool() to check whether the instance is in a valid state.
Enumeration::Enum getEnumeration |
( |
Tag |
tag | ) |
const |
|
inline |
- Returns
- the field value as an enumeration.
- Exceptions
-
std::runtime_error | if conversion is impossible or the value does not exist. |
- Warning
- Does not check whether the instance refers to a valid set of fields. Use operator bool() to check whether the instance is in a valid state.
Definition at line 297 of file Message.h.
Int16 getInt16 |
( |
Tag |
tag | ) |
const |
- Returns
- field value as an
Int16
value.
- Exceptions
-
std::runtime_error | if conversion is impossible or the value does not exist. |
- Warning
- Does not check whether the instance refers to a valid set of fields. Use operator bool() to check whether the instance is in a valid state.
- Returns
- field value as an
Int32
value.
- Exceptions
-
std::runtime_error | if conversion is impossible or the value does not exist. |
- Warning
- Does not check whether the instance refers to a valid set of fields. Use operator bool() to check whether the instance is in a valid state.
Int64 getInt64 |
( |
Tag |
tag | ) |
const |
- Returns
- field value as an
Int64
value.
- Exceptions
-
std::runtime_error | if conversion is impossible or the value does not exist. |
- Warning
- Does not check whether the instance refers to a valid set of fields. Use operator bool() to check whether the instance is in a valid state.
Int8 getInt8 |
( |
Tag |
tag | ) |
const |
- Returns
- field value as an
Int8
value.
- Exceptions
-
std::runtime_error | if conversion is impossible or the value does not exist. |
- Warning
- Does not check whether the instance refers to a valid set of fields. Use operator bool() to check whether the instance is in a valid state.
- Returns
- the field value as a MaturityMonthYear.
- Exceptions
-
std::runtime_error | if conversion is impossible or the value does not exist. |
- Warning
- Does not check whether the instance refers to a valid set of fields. Use operator bool() to check whether the instance is in a valid state.
- Returns
- reference to a read-only text chain.
- Exceptions
-
std::runtime_error | if conversion is impossible or the value does not exist. |
- Warning
- Does not check whether the instance refers to a valid set of fields. Use operator bool() to check whether the instance is in a valid state.
- Returns
- the field value as a timestamp
- Exceptions
-
std::runtime_error | if conversion is impossible or the value does not exist. |
- Warning
- Does not check whether the instance refers to a valid set of fields. Use operator bool() to check whether the instance is in a valid state.
- Returns
- field value as an
UInt16
value.
- Exceptions
-
std::runtime_error | if conversion is impossible or the value does not exist. |
- Warning
- Does not check whether the instance refers to a valid set of fields. Use operator bool() to check whether the instance is in a valid state.
- Returns
- field value as an
UInt32
value.
- Exceptions
-
std::runtime_error | if conversion is impossible or the value does not exist. |
- Warning
- Does not check whether the instance refers to a valid set of fields. Use operator bool() to check whether the instance is in a valid state.
- Returns
- field value as an
UInt64
value.
- Exceptions
-
std::runtime_error | if conversion is impossible or the value does not exist. |
- Warning
- Does not check whether the instance refers to a valid set of fields. Use operator bool() to check whether the instance is in a valid state.
- Returns
- field value as an
UInt8
value.
- Exceptions
-
std::runtime_error | if conversion is impossible or the value does not exist. |
- Warning
- Does not check whether the instance refers to a valid set of fields. Use operator bool() to check whether the instance is in a valid state.
- Returns
true
if the instance refers to a valid repeating group entry, otherwise - false
.
Definition at line 56 of file Message.h.
- Returns
- field by its tag.
If the source does not contain any field with the given tag, the returned instance represents a null field.
- Warning
- Does not check whether the instance refers to a valid set of fields. Use operator bool() to check whether the instance is in a valid state.
Definition at line 130 of file Message.h.
Resets all variable-length and optional fields.
- Warning
- Does not check whether the instance refers to a valid set of fields. Use operator bool() to check whether the instance is in a valid state.
Definition at line 67 of file Message.h.
Resets the field by its tag.
- Exceptions
-
std::runtime_error | if or the value is not optional or the value is not allowed. |
- Warning
- Does not check whether the instance refers to a valid set of fields. Use operator bool() to check whether the instance is in a valid state.
Definition at line 111 of file Message.h.
Assigns a given value.
- Exceptions
-
std::runtime_error | if conversion is impossible or the value is not allowed. |
Definition at line 321 of file Message.h.
FieldSet& set |
( |
Tag |
tag, |
|
|
BitSet |
value, |
|
|
typename BitSet::Bits * |
= nullptr |
|
) |
| |
|
inline |
Assigns a given value as a set.
- Exceptions
-
std::runtime_error | if conversion is impossible or the value is not allowed. |
Definition at line 331 of file Message.h.
Assigns a given value.
- Exceptions
-
std::runtime_error | if conversion is impossible or the value is not allowed. |
Assigns a given value.
- Exceptions
-
std::runtime_error | if conversion is impossible or the value is not allowed. |
- Warning
- Does not check whether the instance refers to a valid set of fields. Use operator bool() to check whether the instance is in a valid state.
Assigns a given value.
- Exceptions
-
std::runtime_error | if conversion is impossible or the value is not allowed. |
- Warning
- Does not check whether the instance refers to a valid set of fields. Use operator bool() to check whether the instance is in a valid state.
Assigns a given value.
- Exceptions
-
std::runtime_error | if conversion is impossible or the value is not allowed. |
- Warning
- Does not check whether the instance refers to a valid set of fields. Use operator bool() to check whether the instance is in a valid state.
Assigns a given value.
- Exceptions
-
std::runtime_error | if conversion is impossible or the value is not allowed. |
- Warning
- Does not check whether the instance refers to a valid set of fields. Use operator bool() to check whether the instance is in a valid state.
Assigns a given value.
- Exceptions
-
std::runtime_error | if conversion is impossible or the value is not allowed. |
- Warning
- Does not check whether the instance refers to a valid set of fields. Use operator bool() to check whether the instance is in a valid state.
Assigns a given value.
- Exceptions
-
std::runtime_error | if conversion is impossible or the value is not allowed. |
- Warning
- Does not check whether the instance refers to a valid set of fields. Use operator bool() to check whether the instance is in a valid state.
Assigns a given value.
- Exceptions
-
std::runtime_error | if conversion is impossible or the value is not allowed. |
- Warning
- Does not check whether the instance refers to a valid set of fields. Use operator bool() to check whether the instance is in a valid state.
Assigns a given value.
- Exceptions
-
std::runtime_error | if conversion is impossible or the value is not allowed. |
- Warning
- Does not check whether the instance refers to a valid set of fields. Use operator bool() to check whether the instance is in a valid state.
Assigns a given value.
- Exceptions
-
std::runtime_error | if conversion is impossible or the value is not allowed. |
- Warning
- Does not check whether the instance refers to a valid set of fields. Use operator bool() to check whether the instance is in a valid state.
Assigns a given value.
- Exceptions
-
std::runtime_error | if conversion is impossible or the value is not allowed. |
- Warning
- Does not check whether the instance refers to a valid set of fields. Use operator bool() to check whether the instance is in a valid state.
Assigns a given value.
- Exceptions
-
std::runtime_error | if conversion is impossible or the value is not allowed. |
- Warning
- Does not check whether the instance refers to a valid set of fields. Use operator bool() to check whether the instance is in a valid state.
Assigns a given value.
- Exceptions
-
std::runtime_error | if conversion is impossible or the value is not allowed. |
- Warning
- Does not check whether the instance refers to a valid set of fields. Use operator bool() to check whether the instance is in a valid state.
Assigns the field by its tag.
- Exceptions
-
std::runtime_error | if conversion is impossible or the value is not allowed. |
Definition at line 91 of file Message.h.
The documentation for this struct was generated from the following file:
- OnixS/CME/iLink3/messaging/TagBased/Message.h