OnixS C++ Euronext Optiq MDG Handler 1.3.4
API documentation
Loading...
Searching...
No Matches
BfTrade Struct Reference

Public Types

enum  
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 StrRef className () noexcept
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 (MessageSize offset) const noexcept
Enumeration::Enum enumeration (MessageSize offset) const noexcept
StrRef fixedStr (MessageSize offset) const noexcept

Detailed Description

Definition at line 9199 of file Messages.h.

Member Typedef Documentation

◆ Schema

Used template schema.

Definition at line 9204 of file Messages.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum

Message template ID from SBE schema.

Enumerator
TemplateId 1202 

Definition at line 9207 of file Messages.h.

Constructor & Destructor Documentation

◆ BfTrade() [1/3]

BfTrade ( )
default

Initializes a blank instance.

◆ BfTrade() [2/3]

BfTrade ( const void * data,
EncodedLength length )
inline

Creates an instance over the given memory block.

Definition at line 9213 of file Messages.h.

◆ BfTrade() [3/3]

BfTrade ( const SbeMessage & message)
inlineexplicit

Creates an instance over the given SBE message.

Definition at line 9223 of file Messages.h.

Member Function Documentation

◆ bidOfferDateTime()

bool bidOfferDateTime ( Uint64 & value) const
inlinenoexcept

Provides access to bidOfferDateTime field.

Definition at line 9285 of file Messages.h.

◆ bidPrice()

bool bidPrice ( Int64 & value) const
inlinenoexcept

Provides access to bidPrice field.

Definition at line 9316 of file Messages.h.

◆ blockLength()

constexpr BlockLength blockLength ( SchemaVersion version)
inlinestaticconstexprnoexcept

Size of message body in bytes.

Definition at line 9449 of file Messages.h.

◆ className()

constexpr StrRef className ( )
inlinestaticconstexprnoexcept
Returns
class name.

Definition at line 9475 of file Messages.h.

◆ eventTime()

bool eventTime ( Uint64 & value) const
inlinenoexcept

Provides access to eventTime field.

Definition at line 9275 of file Messages.h.

◆ fixType()

constexpr StrRef fixType ( )
inlinestaticconstexprnoexcept

FIX message type.

Definition at line 9485 of file Messages.h.

◆ getMinimalVariableFieldsSize()

constexpr MessageSize getMinimalVariableFieldsSize ( SchemaVersion version)
inlinestaticconstexpr

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

Definition at line 9463 of file Messages.h.

◆ miFIdPriceNotation()

bool miFIdPriceNotation ( StrRef & value) const
inlinenoexcept

Provides access to miFIDPriceNotation field.

Definition at line 9391 of file Messages.h.

◆ miFIdTransactionId()

StrRef miFIdTransactionId ( ) const
inlinenoexcept

Provides access to miFIDTransactionID field.

Definition at line 9264 of file Messages.h.

◆ minimalBlockLength()

constexpr BlockLength minimalBlockLength ( SchemaVersion version)
inlinestaticconstexprnoexcept

Minimal size of message body in bytes.

Definition at line 9437 of file Messages.h.

◆ mMTAgencyCrossTradeIndicator()

bool mMTAgencyCrossTradeIndicator ( StrRef & value) const
inlinenoexcept

Provides access to mMTAgencyCrossTradeIndicator field.

Definition at line 9346 of file Messages.h.

◆ mMTBenchmarkIndicator()

bool mMTBenchmarkIndicator ( StrRef & value) const
inlinenoexcept

Provides access to mMTBenchmarkIndicator field.

Definition at line 9357 of file Messages.h.

◆ mMTModificationIndicator()

StrRef mMTModificationIndicator ( ) const
inlinenoexcept

Provides access to mMTModificationIndicator field.

Definition at line 9295 of file Messages.h.

◆ mMTSpecialDividendIndicator()

bool mMTSpecialDividendIndicator ( StrRef & value) const
inlinenoexcept

Provides access to mMTSpecialDividendIndicator field.

Definition at line 9368 of file Messages.h.

◆ mMTTradingMode()

bool mMTTradingMode ( MmtTradingMode::Enum & value) const
inlinenoexcept

Provides access to mMTTradingMode field.

Definition at line 9380 of file Messages.h.

◆ notionalAmountTraded()

bool notionalAmountTraded ( Int64 & value) const
inlinenoexcept

Provides access to notionalAmountTraded field.

Definition at line 9413 of file Messages.h.

◆ offerPrice()

bool offerPrice ( Int64 & value) const
inlinenoexcept

Provides access to offerPrice field.

Definition at line 9326 of file Messages.h.

◆ price()

bool price ( Int64 & value) const
inlinenoexcept

Provides access to price field.

Definition at line 9306 of file Messages.h.

◆ quantity()

bool quantity ( Uint64 & value) const
inlinenoexcept

Provides access to quantity field.

Definition at line 9336 of file Messages.h.

◆ quantityNotation()

bool quantityNotation ( StrRef & value) const
inlinenoexcept

Provides access to quantityNotation field.

Definition at line 9402 of file Messages.h.

◆ rebroadcastIndicator()

bool rebroadcastIndicator ( UnsignedChar & value) const
inlinenoexcept

Provides access to rebroadcastIndicator field.

Definition at line 9244 of file Messages.h.

◆ seqNum()

bool seqNum ( Uint64 & value) const
inlinenoexcept

Provides access to mDSeqNum field.

Definition at line 9234 of file Messages.h.

◆ symbolIndex()

bool symbolIndex ( Uint32 & value) const
inlinenoexcept

Provides access to symbolIndex field.

Definition at line 9254 of file Messages.h.

◆ toString()

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

Definition at line 1585 of file MessageSerialization.h.

◆ tradingCurrency()

bool tradingCurrency ( StrRef & value) const
inlinenoexcept

Provides access to tradingCurrency field.

Definition at line 9423 of file Messages.h.