OnixS C++ Eurex T7 Market and Reference Data (EMDI, MDI, RDI, EOBI) Handlers  16.1.0
API documentation
Message Class Reference

#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
 
Messageoperator= (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 ()
 
FieldSetoperator= (const FieldSet &)
 
- Protected Attributes inherited from FieldSet
const Messagecontainer_
 
void * impl_
 

Detailed Description

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.

Definition at line 61 of file Message.h.

Constructor & Destructor Documentation

Message ( const Message other)

Initializes instance as deep copy of other one.

Parameters
otherMessage to be copied from.
~Message ( )

Disposes all internal data structures.

Warning
Once instance is destructed, all instances of OnixS::FIX::Group and OnixS::FIX::GroupInstance classes obtained from this instance must not be used any more.

Member Function Documentation

bool operator!= ( const Message ) const

Compares two messages. Comparison is performed using 'tag=value' message presentations.

Message& operator= ( const Message )
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).

std::string toString ( char  delimiter = 0x1,
MessageStringingFlags  flags = MessageStringingFlag::IncludeFieldTagNumber 
) const
inline

Returns the string representation of the message using the given delimiter and additional control flags.

Parameters
delimiterDefines field delimiter to be used.
flagsAffect how message presentation looks like.

Definition at line 176 of file Message.h.

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.

Parameters
strString to which presentation is appended.
delimiterDefines field delimiter to be used.
flagsAffect how message presentation looks like.
std::string toStringWithFieldNames ( ) const
inline

Returns the string representation of the message with field names using 0x1 delimiter.

Definition at line 111 of file Message.h.

FieldValueRef type ( ) const

Returns the message type (MsgType(35) field value).

Friends And Related Function Documentation

friend class ComplexInstrumentUpdate
friend

Definition at line 151 of file Message.h.

friend class CrossRequest
friend

Definition at line 150 of file Message.h.

friend class DepthIncremental
friend

Definition at line 145 of file Message.h.

friend class DepthSnapshot
friend

Definition at line 144 of file Message.h.

friend class ExchangeTrade
friend

Definition at line 157 of file Message.h.

friend class FlexibleInstrumentUpdate
friend

Definition at line 152 of file Message.h.

friend class InstrumentIncremental
friend

Definition at line 139 of file Message.h.

friend class InstrumentSnapshot
friend

Definition at line 138 of file Message.h.

friend class InstrumentStateChange
friend

Definition at line 148 of file Message.h.

friend class MassInstrumentStateChange
friend

Definition at line 147 of file Message.h.

friend class MessageOperator
friend

Definition at line 135 of file Message.h.

friend class OpenInterest
friend

Definition at line 155 of file Message.h.

friend class ProductSnapshot
friend

Definition at line 137 of file Message.h.

friend class ProductStateChange
friend

Definition at line 146 of file Message.h.

friend class QuoteRequest
friend

Definition at line 149 of file Message.h.

friend class ScaledSimpleInstrumentUpdate
friend

Definition at line 153 of file Message.h.

friend class Settlement
friend

Definition at line 156 of file Message.h.

friend class TopOfBookImplied
friend

Definition at line 159 of file Message.h.

friend class TotalReturnFuturesStatus
friend

Definition at line 141 of file Message.h.

friend class TradeAtReferencePriceStatus
friend

Definition at line 142 of file Message.h.

friend class VarianceFuturesStatus
friend

Definition at line 140 of file Message.h.


The documentation for this class was generated from the following file: