#include <OnixS/Eurex/MarketData/Message.h>
Public Member Functions | |
Message (const Message &other) | |
~Message () | |
FieldValueRef | type () const |
SequenceNumber | seqNum () const |
FieldValueRef | senderCompId () const |
bool | operator== (const Message &) const |
bool | operator!= (const Message &) const |
std::string | toString (char delimiter=0x1, MessageStringingFlags flags=MessageStringingFlag::IncludeFieldTagNumber) const |
std::string | toStringWithFieldNames () const |
void | toString (std::string &str, char delimiter=0x1, MessageStringingFlags flags=MessageStringingFlag::IncludeFieldTagNumber) const |
Message & | operator= (const Message &) |
Public Member Functions inherited from FieldSet | |
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 () |
Friends | |
class | MessageOperator |
class | ProductSnapshot |
class | InstrumentSnapshot |
class | InstrumentIncremental |
class | VarianceFuturesStatus |
class | TotalReturnFuturesStatus |
class | TradeAtReferencePriceStatus |
class | DepthSnapshot |
class | DepthIncremental |
class | ProductStateChange |
class | MassInstrumentStateChange |
class | InstrumentStateChange |
class | QuoteRequest |
class | CrossRequest |
class | ComplexInstrumentUpdate |
class | FlexibleInstrumentUpdate |
class | ScaledSimpleInstrumentUpdate |
class | OpenInterest |
class | Settlement |
class | ExchangeTrade |
class | TopOfBookImplied |
Additional Inherited Members | |
Protected Member Functions inherited from FieldSet | |
FieldSet () | |
FieldSet (const Message *, void *) | |
FieldSet (const FieldSet &) | |
~FieldSet () | |
FieldSet & | operator= (const FieldSet &) |
Protected Attributes inherited from FieldSet | |
const Message * | container_ |
void * | impl_ |
Encapsulates operations over a FIX Message.
Message supports 'unconstructed' state which can be treated as pointer in null state. However, in contrast to OnixS::FIX::Group and OnixS::FIX::GroupInstance classes it does NOT represent light-weight wrapper over internal structures. In fact, it holds all the data which is fully copied on assignment or copy construction and disposed at instance destruction.
FIX field related operations now available via OnixS::FIX::FieldSet class from which OnixS::FIX::Message class is now derived.
Initializes instance as deep copy of other one.
other | Message to be copied from. |
~Message | ( | ) |
Disposes all internal data structures.
bool operator!= | ( | const Message & | ) | const |
Compares two messages. Comparison is performed using 'tag=value' message presentations.
bool operator== | ( | const Message & | ) | const |
Compares two messages. Comparison is performed using 'tag=value' message presentations.
FieldValueRef senderCompId | ( | ) | const |
Returns the assigned value used to identify firm sending message (SenderCompID (49) field value).
SequenceNumber seqNum | ( | ) | const |
Returns the message sequence number (the MsgSeqNum (tag=34) field value).
|
inline |
void toString | ( | std::string & | str, |
char | delimiter = 0x1 , |
||
MessageStringingFlags | flags = MessageStringingFlag::IncludeFieldTagNumber |
||
) | const |
Appends string representation of the message using the given delimiter and additional control flags.
str | String to which presentation is appended. |
delimiter | Defines field delimiter to be used. |
flags | Affect how message presentation looks like. |
|
inline |
FieldValueRef type | ( | ) | const |
Returns the message type (MsgType(35) field value).
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |