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

Public Types

typedef MessageSize BinarySize
typedef MessageHeader::BlockLength BodySize

Public Member Functions

 BinaryMessage ()
 BinaryMessage (const void *data, MessageSize size)
 BinaryMessage (const BinaryMessage &other)
 operator bool () const
MessageTemplateId templateId () const
SchemaVersion version () const
const void * binary () const
MessageSize binarySize () const
const void * body () const
BodySize bodySize () const
BinaryMessageoperator= (const BinaryMessage &other)

Protected Types

typedef BinaryGroupList< MessageSizeGroupList

Protected Member Functions

GroupList groups () const
Protected Member Functions inherited from BinaryFields< BinaryMessage, MessageSize >
 BinaryFields ()
 ~BinaryFields ()
const FieldValue & ordinary (MessageSize offset) const
Decimal decimal (MessageSize offset) const
Enumeration::Enum enumeration (MessageSize offset) const
StrRef fixedStr (MessageSize offset) const

Detailed Description

Definition at line 1404 of file BinaryMessage.h.

Member Typedef Documentation

◆ BinarySize

Length of message binary data.

Definition at line 1448 of file BinaryMessage.h.

◆ BodySize

Length of message body without repeating groups.

Definition at line 1453 of file BinaryMessage.h.

◆ GroupList

Binary group list instantiation.

Definition at line 1419 of file BinaryMessage.h.

Constructor & Destructor Documentation

◆ BinaryMessage() [1/3]

BinaryMessage ( )
inline

Initializes blank instance referencing to nothing.

Definition at line 1456 of file BinaryMessage.h.

◆ BinaryMessage() [2/3]

BinaryMessage ( const void * data,
MessageSize size )
inline

Initializes instance over given memory block.

Definition at line 1463 of file BinaryMessage.h.

◆ BinaryMessage() [3/3]

BinaryMessage ( const BinaryMessage & other)
inline

Initializes instance as copy of the other one.

Definition at line 1496 of file BinaryMessage.h.

Member Function Documentation

◆ binary()

const void * binary ( ) const
inline

SBE-encoded message content.

Definition at line 1526 of file BinaryMessage.h.

◆ binarySize()

MessageSize binarySize ( ) const
inline

Size of SBE-encoded message.

Definition at line 1532 of file BinaryMessage.h.

◆ body()

const void * body ( ) const
inline

Indicates beginning of message body.

Definition at line 1538 of file BinaryMessage.h.

◆ bodySize()

BodySize bodySize ( ) const
inline

Size of message body in bytes.

Definition at line 1549 of file BinaryMessage.h.

◆ groups()

GroupList groups ( ) const
inlineprotected

Returns list of repeating groups of a message being referenced.

Definition at line 1423 of file BinaryMessage.h.

◆ operator bool()

operator bool ( ) const
inline

Indicates whether instance refers to a valid message.

Definition at line 1504 of file BinaryMessage.h.

◆ operator=()

BinaryMessage & operator= ( const BinaryMessage & other)
inline

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

Definition at line 1558 of file BinaryMessage.h.

◆ templateId()

MessageTemplateId templateId ( ) const
inline

Template identifier of message being referenced.

Definition at line 1510 of file BinaryMessage.h.

◆ version()

SchemaVersion version ( ) const
inline

Version of message being referenced.

Definition at line 1518 of file BinaryMessage.h.