OnixS C++ CME MDP Premium Market Data Handler 5.9.0
API Documentation
Loading...
Searching...
No Matches
BinaryMessage Class Reference

Public Types

typedef MessageSize EncodedLength
typedef MessageSize BlockLength
typedef BinaryGroups< MessageSizeGroups

Public Member Functions

 BinaryMessage ()
 BinaryMessage (const void *encoded, EncodedLength length)
 BinaryMessage (const BinaryMessage &other)
 operator bool () const
MessageTemplateId templateId () const
SchemaVersion version () const
const void * encoded () const
EncodedLength encodedLength () const
const void * block () const
BlockLength blockLength () const
Groups groups () const
BinaryMessageoperator= (const BinaryMessage &other)

Protected Member Functions

 BinaryMessage (const void *encoded, EncodedLength length, SchemaVersion since)
Protected Member Functions inherited from BinaryBlock< BinaryMessage, MessageSize >
 BinaryBlock ()
 ~BinaryBlock ()
Value ordinary (MessageSize offset) const
bool ordinary (Value &value, MessageSize offset, const NullValue &null) const
bool ordinary (Value &value, MessageSize offset, const NullValue &null, SchemaVersion since) const
Enumeration::Enum enumeration (MessageSize offset) const
bool enumeration (typename Enumeration::Enum &value, MessageSize offset, const NullValue &null) const
bool enumeration (typename Enumeration::Enum &value, MessageSize offset, const NullValue &null, SchemaVersion since) const
Decimal decimal (MessageSize offset) const
bool decimal (Decimal &value, MessageSize offset, const NullValue &null) const
bool decimal (Decimal &value, MessageSize offset, const NullValue &null, SchemaVersion since) const
StrRef fixedStr (MessageSize offset) const
StrRef fixedStr (MessageSize offset, SchemaVersion since) const

Detailed Description

Definition at line 883 of file BinaryMessage.h.

Member Typedef Documentation

◆ BlockLength

Length of message body representing a block of fixed-length fields.

Definition at line 891 of file BinaryMessage.h.

◆ EncodedLength

Length of message binary data.

Definition at line 887 of file BinaryMessage.h.

◆ Groups

Repeating groups.

Definition at line 894 of file BinaryMessage.h.

Constructor & Destructor Documentation

◆ BinaryMessage() [1/4]

BinaryMessage ( )
inline

Initializes the instance referencing to nothing.

Definition at line 897 of file BinaryMessage.h.

◆ BinaryMessage() [2/4]

BinaryMessage ( const void * encoded,
EncodedLength length )
inline

Initializes instance over the given encoded data.

Definition at line 904 of file BinaryMessage.h.

◆ BinaryMessage() [3/4]

BinaryMessage ( const BinaryMessage & other)
inline

Initializes instance as copy of the other one.

Definition at line 917 of file BinaryMessage.h.

◆ BinaryMessage() [4/4]

BinaryMessage ( const void * encoded,
EncodedLength length,
SchemaVersion since )
inlineprotected

Initializes instance over the given encoded data.

Definition at line 998 of file BinaryMessage.h.

Member Function Documentation

◆ block()

const void * block ( ) const
inline

Indicates beginning of message body.

Definition at line 958 of file BinaryMessage.h.

◆ blockLength()

BlockLength blockLength ( ) const
inline

Length of the message body ( block of fixed-length fields).

Definition at line 967 of file BinaryMessage.h.

◆ encoded()

const void * encoded ( ) const
inline

SBE-encoded message content.

Definition at line 946 of file BinaryMessage.h.

◆ encodedLength()

EncodedLength encodedLength ( ) const
inline

Size of SBE-encoded message.

Definition at line 952 of file BinaryMessage.h.

◆ groups()

Groups groups ( ) const
inline

Collection of repeating groups of the message being referenced.

Definition at line 976 of file BinaryMessage.h.

◆ operator bool()

operator bool ( ) const
inline

Indicates whether instance refers to a valid message.

Definition at line 924 of file BinaryMessage.h.

◆ operator=()

BinaryMessage & operator= ( const BinaryMessage & other)
inline

Re-initializes instance as a copy of the other one.

Definition at line 988 of file BinaryMessage.h.

◆ templateId()

MessageTemplateId templateId ( ) const
inline

Template identifier of message being referenced.

Definition at line 930 of file BinaryMessage.h.

◆ version()

SchemaVersion version ( ) const
inline

Version of message being referenced.

Definition at line 938 of file BinaryMessage.h.