OnixS C++ Euronext Optiq MDG Handler  1.3.1
API documentation
BfTrade Struct Reference

#include <OnixS/Euronext/MarketData/OptiqMdg/messaging/Messages.h>

Public Types

enum  { TemplateId = 1202 }
 
typedef SchemaTraits Schema
 
- Public Types inherited from SbeMessage
typedef MessageSize EncodedLength
 
typedef MessageSize BlockLength
 

Public Member Functions

 BfTrade ()=default
 
 BfTrade (const void *data, EncodedLength length)
 
 BfTrade (const SbeMessage &message)
 
bool seqNum (Uint64 &value) const noexcept
 
bool rebroadcastIndicator (UnsignedChar &value) const noexcept
 
bool symbolIndex (Uint32 &value) const noexcept
 
StrRef miFIdTransactionId () const noexcept
 
bool eventTime (Uint64 &value) const noexcept
 
bool bidOfferDateTime (Uint64 &value) const noexcept
 
StrRef mMTModificationIndicator () const noexcept
 
bool price (Int64 &value) const noexcept
 
bool bidPrice (Int64 &value) const noexcept
 
bool offerPrice (Int64 &value) const noexcept
 
bool quantity (Uint64 &value) const noexcept
 
bool mMTAgencyCrossTradeIndicator (StrRef &value) const noexcept
 
bool mMTBenchmarkIndicator (StrRef &value) const noexcept
 
bool mMTSpecialDividendIndicator (StrRef &value) const noexcept
 
bool mMTTradingMode (MmtTradingMode::Enum &value) const noexcept
 
bool miFIdPriceNotation (StrRef &value) const noexcept
 
bool quantityNotation (StrRef &value) const noexcept
 
bool notionalAmountTraded (Int64 &value) const noexcept
 
bool tradingCurrency (StrRef &value) const noexcept
 
std::string toString () const
 
- Public Member Functions inherited from SbeMessage
 SbeMessage () noexcept
 
 SbeMessage (const void *data, MessageSize size)
 
 SbeMessage (const void *data, MessageSize size, NoCheck) noexcept
 
void clear () noexcept
 
bool valid () const noexcept
 
MessageTemplateId templateId () const noexcept
 
SchemaVersion version () const noexcept
 
SchemaId schemaId () const noexcept
 
const void * binary () const noexcept
 
const void * blockEnd () const noexcept
 
MessageSize bufferSize () const noexcept
 
BlockLength blockLength () const noexcept
 
const void * block () const noexcept
 

Static Public Member Functions

static constexpr BlockLength minimalBlockLength (SchemaVersion version) noexcept
 
static constexpr BlockLength blockLength (SchemaVersion version) noexcept
 
static constexpr MessageSize getMinimalVariableFieldsSize (SchemaVersion version)
 
static constexpr const CharclassName ()
 
static constexpr StrRef fixType () noexcept
 

Additional Inherited Members

- Protected Types inherited from SbeMessage
typedef SbeGroupList< MessageSizeGroupList
 
- Protected Member Functions inherited from SbeMessage
GroupList groups () const noexcept
 
template<class Group , class Callable , class Owner >
Group getGroup (Callable callable, Owner &owner) const noexcept
 
template<class Group , class Callable , class Owner >
Group getGroup (Callable callable, SchemaVersion since, Owner &owner) const noexcept
 
- Protected Member Functions inherited from SbeFields< Messaging::SbeMessage, MessageSize >
 SbeFields ()=default
 
 ~SbeFields ()=default
 
- Protected Member Functions inherited from BinaryBlock< Messaging::SbeMessage, MessageSize >
 BinaryBlock ()=default
 
 ~BinaryBlock ()=default
 
Value ordinary (MessageSizeoffset) const noexcept
 
bool ordinary (Value &value, MessageSizeoffset, NullValue null) const noexcept
 
bool ordinary (Value &value, MessageSizeoffset, NullValue null, SchemaVersion since) const noexcept
 
Enumeration::Enum enumeration (MessageSizeoffset) const noexcept
 
bool enumeration (typename Enumeration::Enum &value, MessageSizeoffset, NullValue null) const noexcept
 
bool enumeration (typename Enumeration::Enum &value, MessageSizeoffset, NullValue null, SchemaVersion since) const noexcept
 
StrRef fixedStr (MessageSizeoffset) const noexcept
 
bool fixedStr (StrRef &value, MessageSizeoffset) const noexcept
 
bool fixedStr (StrRef &value, MessageSizeoffset, SchemaVersion since) const noexcept
 

Detailed Description

Definition at line 9135 of file Messages.h.

Member Typedef Documentation

Used template schema.

Definition at line 9140 of file Messages.h.

Member Enumeration Documentation

anonymous enum

Message template ID from SBE schema.

Enumerator
TemplateId 

Definition at line 9143 of file Messages.h.

Constructor & Destructor Documentation

BfTrade ( )
default

Initializes a blank instance.

BfTrade ( const void *  data,
EncodedLength  length 
)
inline

Creates an instance over the given memory block.

Definition at line 9149 of file Messages.h.

BfTrade ( const SbeMessage message)
inlineexplicit

Creates an instance over the given SBE message.

Definition at line 9159 of file Messages.h.

Member Function Documentation

bool bidOfferDateTime ( Uint64 value) const
inlinenoexcept

Provides access to bidOfferDateTime field.

Definition at line 9221 of file Messages.h.

bool bidPrice ( Int64 value) const
inlinenoexcept

Provides access to bidPrice field.

Definition at line 9252 of file Messages.h.

static constexpr BlockLength blockLength ( SchemaVersion  version)
inlinestaticnoexcept

Size of message body in bytes.

Definition at line 9385 of file Messages.h.

static constexpr const Char* className ( )
inlinestatic
Returns
class name.

Definition at line 9411 of file Messages.h.

bool eventTime ( Uint64 value) const
inlinenoexcept

Provides access to eventTime field.

Definition at line 9211 of file Messages.h.

static constexpr StrRef fixType ( )
inlinestaticnoexcept

FIX message type.

Definition at line 9420 of file Messages.h.

static constexpr MessageSize getMinimalVariableFieldsSize ( SchemaVersion  version)
inlinestatic

Minimal variable fields size (when variable-length fields are empty).

Definition at line 9399 of file Messages.h.

bool miFIdPriceNotation ( StrRef value) const
inlinenoexcept

Provides access to miFIDPriceNotation field.

Definition at line 9327 of file Messages.h.

StrRef miFIdTransactionId ( ) const
inlinenoexcept

Provides access to miFIDTransactionID field.

Definition at line 9200 of file Messages.h.

static constexpr BlockLength minimalBlockLength ( SchemaVersion  version)
inlinestaticnoexcept

Minimal size of message body in bytes.

Definition at line 9373 of file Messages.h.

bool mMTAgencyCrossTradeIndicator ( StrRef value) const
inlinenoexcept

Provides access to mMTAgencyCrossTradeIndicator field.

Definition at line 9282 of file Messages.h.

bool mMTBenchmarkIndicator ( StrRef value) const
inlinenoexcept

Provides access to mMTBenchmarkIndicator field.

Definition at line 9293 of file Messages.h.

StrRef mMTModificationIndicator ( ) const
inlinenoexcept

Provides access to mMTModificationIndicator field.

Definition at line 9231 of file Messages.h.

bool mMTSpecialDividendIndicator ( StrRef value) const
inlinenoexcept

Provides access to mMTSpecialDividendIndicator field.

Definition at line 9304 of file Messages.h.

bool mMTTradingMode ( MmtTradingMode::Enum value) const
inlinenoexcept

Provides access to mMTTradingMode field.

Definition at line 9316 of file Messages.h.

bool notionalAmountTraded ( Int64 value) const
inlinenoexcept

Provides access to notionalAmountTraded field.

Definition at line 9349 of file Messages.h.

bool offerPrice ( Int64 value) const
inlinenoexcept

Provides access to offerPrice field.

Definition at line 9262 of file Messages.h.

bool price ( Int64 value) const
inlinenoexcept

Provides access to price field.

Definition at line 9242 of file Messages.h.

bool quantity ( Uint64 value) const
inlinenoexcept

Provides access to quantity field.

Definition at line 9272 of file Messages.h.

bool quantityNotation ( StrRef value) const
inlinenoexcept

Provides access to quantityNotation field.

Definition at line 9338 of file Messages.h.

bool rebroadcastIndicator ( UnsignedChar value) const
inlinenoexcept

Provides access to rebroadcastIndicator field.

Definition at line 9180 of file Messages.h.

bool seqNum ( Uint64 value) const
inlinenoexcept

Provides access to mDSeqNum field.

Definition at line 9170 of file Messages.h.

bool symbolIndex ( Uint32 value) const
inlinenoexcept

Provides access to symbolIndex field.

Definition at line 9190 of file Messages.h.

std::string toString ( ) const
inline
Returns
a human-readable presentation.

Definition at line 1585 of file MessageSerialization.h.

bool tradingCurrency ( StrRef value) const
inlinenoexcept

Provides access to tradingCurrency field.

Definition at line 9359 of file Messages.h.


The documentation for this struct was generated from the following files: