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

Classes

struct  UpdatesEntry

Public Types

enum  
typedef SchemaTraits Schema
typedef SbeGroup< UpdatesEntry, GroupSizeEncoding, MessageSizeUpdates
Public Types inherited from SbeMessage
typedef MessageSize EncodedLength
typedef MessageSize BlockLength

Public Member Functions

 MarketUpdate ()=default
 MarketUpdate (const void *data, EncodedLength length)
 MarketUpdate (const SbeMessage &message)
bool seqNum (Uint64 &value) const noexcept
bool rebroadcastIndicator (UnsignedChar &value) const noexcept
Emm::Enum eMM () const noexcept
bool eventTime (Uint64 &value) const noexcept
Updates updates () 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 631 of file Messages.h.

Member Typedef Documentation

◆ Schema

Used template schema.

Definition at line 636 of file Messages.h.

◆ Updates

Repeating group containing UpdatesEntry entries.

Definition at line 761 of file Messages.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum

Message template ID from SBE schema.

Enumerator
TemplateId 1001 

Definition at line 639 of file Messages.h.

Constructor & Destructor Documentation

◆ MarketUpdate() [1/3]

MarketUpdate ( )
default

Initializes a blank instance.

◆ MarketUpdate() [2/3]

MarketUpdate ( const void * data,
EncodedLength length )
inline

Creates an instance over the given memory block.

Definition at line 767 of file Messages.h.

◆ MarketUpdate() [3/3]

MarketUpdate ( const SbeMessage & message)
inlineexplicit

Creates an instance over the given SBE message.

Definition at line 777 of file Messages.h.

Member Function Documentation

◆ blockLength()

constexpr BlockLength blockLength ( SchemaVersion version)
inlinestaticconstexprnoexcept

Size of message body in bytes.

Definition at line 851 of file Messages.h.

◆ className()

constexpr StrRef className ( )
inlinestaticconstexprnoexcept
Returns
class name.

Definition at line 877 of file Messages.h.

◆ eMM()

Emm::Enum eMM ( ) const
inlinenoexcept

Provides access to eMM field.

Definition at line 808 of file Messages.h.

◆ eventTime()

bool eventTime ( Uint64 & value) const
inlinenoexcept

Provides access to eventTime field.

Definition at line 818 of file Messages.h.

◆ fixType()

constexpr StrRef fixType ( )
inlinestaticconstexprnoexcept

FIX message type.

Definition at line 887 of file Messages.h.

◆ getMinimalVariableFieldsSize()

constexpr MessageSize getMinimalVariableFieldsSize ( SchemaVersion version)
inlinestaticconstexpr

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

Definition at line 865 of file Messages.h.

◆ minimalBlockLength()

constexpr BlockLength minimalBlockLength ( SchemaVersion version)
inlinestaticconstexprnoexcept

Minimal size of message body in bytes.

Definition at line 839 of file Messages.h.

◆ rebroadcastIndicator()

bool rebroadcastIndicator ( UnsignedChar & value) const
inlinenoexcept

Provides access to rebroadcastIndicator field.

Definition at line 798 of file Messages.h.

◆ seqNum()

bool seqNum ( Uint64 & value) const
inlinenoexcept

Provides access to mDSeqNum field.

Definition at line 788 of file Messages.h.

◆ toString()

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

Definition at line 243 of file MessageSerialization.h.

◆ updates()

Updates updates ( ) const
inlinenoexcept
Returns
instance of Updates repeating group.

Definition at line 828 of file Messages.h.