OnixS C++ CME MDP Premium Market Data Handler 5.10.2
Users' manual and API documentation
Loading...
Searching...
No Matches
SnapshotFullRefresh52::Entry Struct Reference

#include <OnixS/CME/MDH/messaging/Messages.h>

Public Types

typedef SbeGroupEntry< GroupSize::BlockLengthBase
typedef Entry ThisType
Public Types inherited from SbeGroupEntry< GroupSize::BlockLength >
typedef GroupSize::BlockLength BlockLength

Public Member Functions

 Entry (void *data, EncodedLength length, SchemaVersion version)
ThisTyperesetVariableFields () noexcept
ThisTypereset () noexcept
bool entryPx (Decimal &value) const noexcept
ThisTypesetEntryPx (PRICE9 value) noexcept
ThisTypeentryPxNull () noexcept
bool entrySize (Int32 &value) const noexcept
ThisTypesetEntrySize (Int32 value) noexcept
ThisTypeentrySizeNull () noexcept
bool numberOfOrders (Int32 &value) const noexcept
ThisTypesetNumberOfOrders (Int32 value) noexcept
ThisTypenumberOfOrdersNull () noexcept
bool priceLevel (Int8 &value) const noexcept
ThisTypesetPriceLevel (Int8 value) noexcept
ThisTypepriceLevelNull () noexcept
bool tradingReferenceDate (Timestamp &value) const noexcept
ThisTypesetTradingReferenceDate (Timestamp value) noexcept
ThisTypetradingReferenceDateNull () noexcept
bool openCloseSettlFlag (OpenCloseSettlFlag::Enum &value) const noexcept
ThisTypesetOpenCloseSettlFlag (OpenCloseSettlFlag::Enum value) noexcept
ThisTypeopenCloseSettlFlagNull () noexcept
SettlPriceType settlPriceType () const noexcept
ThisTypesetSettlPriceType (SettlPriceType value) noexcept
EntryType::Enum entryType () const noexcept
ThisTypesetEntryType (EntryType::Enum value) noexcept
Public Member Functions inherited from SbeGroupEntry< GroupSize::BlockLength >
 SbeGroupEntry ()
 SbeGroupEntry (void *encoded, BlockLength size, SchemaVersion version)
bool valid () const noexcept
const void * encoded () const noexcept
void * encoded () noexcept
const void * block () const noexcept
void * block () noexcept
BlockLength blockLength () const noexcept
SchemaVersion version () const noexcept
Public Member Functions inherited from SbeFields< Container, BlockLength >
Container & container () noexcept
void zeroPaddingBytes (BlockLength offset) noexcept
template<class FieldValue>
void setOrdinary (BlockLength offset, FieldValue value) noexcept
template<class FieldValue>
void setOrdinary (BlockLength offset, FieldValue value, SchemaVersion since)
template<class Enumeration>
void setEnumeration (BlockLength offset, typename Enumeration::Enum value) noexcept
template<class Enumeration>
void setEnumeration (BlockLength offset, typename Enumeration::Enum value, SchemaVersion since)
template<BlockLength Size>
void setFixedStr (BlockLength offset, StrRef value) noexcept
template<BlockLength Size>
void setFixedStr (BlockLength offset, StrRef value, SchemaVersion since)

Static Public Member Functions

static constexpr BlockLength blockLength (SchemaVersion version) noexcept
static constexpr BlockLength minimalBlockLength (SchemaVersion version) noexcept
static constexpr StrRef className () noexcept

Additional Inherited Members

Protected Member Functions inherited from SbeFields< Container, BlockLength >
 SbeFields ()=default
 ~SbeFields ()=default
Protected Member Functions inherited from BinaryBlock< Container, BlockLength >
 BinaryBlock ()=default
 ~BinaryBlock ()=default
template<class Value>
Value ordinary (BlockLength offset) const noexcept
template<class Value>
Value ordinary (BlockLength offset, SchemaVersion since) const
template<class Value, class NullValue>
bool ordinary (Value &value, BlockLength offset, NullValue null) const noexcept
template<class Value, class NullValue>
bool ordinary (Value &value, BlockLength offset, NullValue null, SchemaVersion since) const noexcept
template<class Enumeration>
Enumeration::Enum enumeration (BlockLength offset) const noexcept
template<class Enumeration, class NullValue>
bool enumeration (typename Enumeration::Enum &value, BlockLength offset, NullValue null) const noexcept
template<class Enumeration, class NullValue>
bool enumeration (typename Enumeration::Enum &value, BlockLength offset, NullValue null, SchemaVersion since) const noexcept
template<class Value>
Decimal decimal (BlockLength offset) const
template<class NullValue>
bool decimal (Decimal &value, BlockLength offset, NullValue null) const noexcept
template<class Value, class NullValue>
bool decimal (Value &value, BlockLength offset, NullValue null, SchemaVersion since) const noexcept
template<BlockLength Length>
StrRef fixedStr (BlockLength offset) const noexcept
template<BlockLength Length>
bool fixedStr (StrRef &value, BlockLength offset) const noexcept
template<BlockLength Length>
bool fixedStr (StrRef &value, BlockLength offset, SchemaVersion since) const noexcept
Protected Member Functions inherited from BinaryBlockBase
 ~BinaryBlockBase ()=default

Detailed Description

Number of entries in Market Data message. Entry of Entry repeating group.

Definition at line 17742 of file Messages.h.

Member Typedef Documentation

◆ Base

Base class type.

Definition at line 17754 of file Messages.h.

◆ ThisType

typedef Entry ThisType

This type alias.

Definition at line 17757 of file Messages.h.

Constructor & Destructor Documentation

◆ Entry()

Entry ( void * data,
EncodedLength length,
SchemaVersion version )
inline

Initializes instance of given version over given memory block.

Definition at line 17761 of file Messages.h.

Member Function Documentation

◆ blockLength()

constexpr BlockLength blockLength ( SchemaVersion version)
inlinestaticconstexprnoexcept
Returns
size of entry body in bytes for given version of message template.

Definition at line 18004 of file Messages.h.

◆ className()

constexpr StrRef className ( )
inlinestaticconstexprnoexcept

Entity class name.

Definition at line 18029 of file Messages.h.

◆ entryPx()

bool entryPx ( Decimal & value) const
inlinenoexcept

Market Data entry price.

Definition at line 17793 of file Messages.h.

◆ entryPxNull()

ThisType & entryPxNull ( )
inlinenoexcept

Definition at line 17809 of file Messages.h.

◆ entrySize()

bool entrySize ( Int32 & value) const
inlinenoexcept

Market Data entry quantity.

Definition at line 17819 of file Messages.h.

◆ entrySizeNull()

ThisType & entrySizeNull ( )
inlinenoexcept

Definition at line 17835 of file Messages.h.

◆ entryType()

EntryType::Enum entryType ( ) const
inlinenoexcept

Market Data entry type.

Definition at line 17984 of file Messages.h.

◆ minimalBlockLength()

constexpr BlockLength minimalBlockLength ( SchemaVersion version)
inlinestaticconstexprnoexcept
Returns
minimal size of entry body in bytes for given version of message template.

Definition at line 18017 of file Messages.h.

◆ numberOfOrders()

bool numberOfOrders ( Int32 & value) const
inlinenoexcept

Aggregate number of orders at the given price level.

Definition at line 17845 of file Messages.h.

◆ numberOfOrdersNull()

ThisType & numberOfOrdersNull ( )
inlinenoexcept

Definition at line 17861 of file Messages.h.

◆ openCloseSettlFlag()

bool openCloseSettlFlag ( OpenCloseSettlFlag::Enum & value) const
inlinenoexcept

Flag describing Open Price entry.

Definition at line 17935 of file Messages.h.

◆ openCloseSettlFlagNull()

ThisType & openCloseSettlFlagNull ( )
inlinenoexcept

Definition at line 17954 of file Messages.h.

◆ priceLevel()

bool priceLevel ( Int8 & value) const
inlinenoexcept

Aggregate book position.

Definition at line 17871 of file Messages.h.

◆ priceLevelNull()

ThisType & priceLevelNull ( )
inlinenoexcept

Definition at line 17887 of file Messages.h.

◆ reset()

ThisType & reset ( )
inlinenoexcept

Reset all variable-length and optional fields if any.

Definition at line 17778 of file Messages.h.

◆ resetVariableFields()

ThisType & resetVariableFields ( )
inlinenoexcept

Reset all variable-length fields if any.

Definition at line 17772 of file Messages.h.

◆ setEntryPx()

ThisType & setEntryPx ( PRICE9 value)
inlinenoexcept

Market Data entry price.

Definition at line 17801 of file Messages.h.

◆ setEntrySize()

ThisType & setEntrySize ( Int32 value)
inlinenoexcept

Market Data entry quantity.

Definition at line 17827 of file Messages.h.

◆ setEntryType()

ThisType & setEntryType ( EntryType::Enum value)
inlinenoexcept

Market Data entry type.

Definition at line 17992 of file Messages.h.

◆ setNumberOfOrders()

ThisType & setNumberOfOrders ( Int32 value)
inlinenoexcept

Aggregate number of orders at the given price level.

Definition at line 17853 of file Messages.h.

◆ setOpenCloseSettlFlag()

ThisType & setOpenCloseSettlFlag ( OpenCloseSettlFlag::Enum value)
inlinenoexcept

Flag describing Open Price entry.

Definition at line 17945 of file Messages.h.

◆ setPriceLevel()

ThisType & setPriceLevel ( Int8 value)
inlinenoexcept

Aggregate book position.

Definition at line 17879 of file Messages.h.

◆ setSettlPriceType()

ThisType & setSettlPriceType ( SettlPriceType value)
inlinenoexcept

Bitmap field of eight Boolean type indicators representing settlement price type.

Definition at line 17974 of file Messages.h.

◆ settlPriceType()

SettlPriceType settlPriceType ( ) const
inlinenoexcept

Bitmap field of eight Boolean type indicators representing settlement price type.

Definition at line 17965 of file Messages.h.

◆ setTradingReferenceDate()

ThisType & setTradingReferenceDate ( Timestamp value)
inlinenoexcept

Indicates the date of trade session corresponding to a statistic entry.

Definition at line 17916 of file Messages.h.

◆ tradingReferenceDate()

bool tradingReferenceDate ( Timestamp & value) const
inlinenoexcept

Indicates the date of trade session corresponding to a statistic entry.

Definition at line 17898 of file Messages.h.

◆ tradingReferenceDateNull()

ThisType & tradingReferenceDateNull ( )
inlinenoexcept

Definition at line 17924 of file Messages.h.