OnixS C++ CME Market Data Handler  4.8.0.10
API documentation
BinaryMessage Class Reference

#include <BinaryMessage.h>

Collaboration diagram for BinaryMessage:

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
 
BinaryMessage & operator= (const BinaryMessage &other)
 

Protected Types

typedef BinaryGroupList< MessageSize > GroupList
 

Protected Member Functions

GroupList groups () const
 
- Protected Member Functions inherited from BinaryFields< BinaryMessage, MessageSize >
 BinaryFields ()
 
 ~BinaryFields ()
 
const FieldValue & ordinary (MessageSizeoffset) const
 
bool ordinary (FieldValue &value, MessageSizeoffset, const NullValue &null) const
 
bool ordinary (FieldValue &value, MessageSizeoffset, const NullValue &null, SchemaVersion since) const
 
Enumeration::Enum enumeration (MessageSizeoffset) const
 
bool enumeration (typename Enumeration::Enum &value, MessageSizeoffset, const NullValue &null) const
 
bool enumeration (typename Enumeration::Enum &value, MessageSizeoffset, const NullValue &null, SchemaVersion since) const
 
Decimal decimal (MessageSizeoffset) const
 
bool decimal (Decimal &value, MessageSizeoffset, const NullValue &null) const
 
bool decimal (Decimal &value, MessageSizeoffset, const NullValue &null, SchemaVersion since) const
 
StrRef fixedStr (MessageSizeoffset) const
 
StrRef fixedStr (MessageSizeoffset, SchemaVersion since) const
 

Detailed Description

Definition at line 1023 of file BinaryMessage.h.

Member Typedef Documentation

Length of message binary data.

Definition at line 1067 of file BinaryMessage.h.

Length of message body without repeating groups.

Definition at line 1072 of file BinaryMessage.h.

Binary group list instantiation.

Definition at line 1038 of file BinaryMessage.h.

Constructor & Destructor Documentation

BinaryMessage ( )
inline

Initializes blank instance referencing to nothing.

Definition at line 1075 of file BinaryMessage.h.

BinaryMessage ( const void *  data,
MessageSize  size 
)
inline

Initializes instance over given memory block.

Definition at line 1082 of file BinaryMessage.h.

BinaryMessage ( const BinaryMessage &  other)
inline

Initializes instance as copy of the other one.

Definition at line 1115 of file BinaryMessage.h.

Member Function Documentation

const void* binary ( ) const
inline

SBE-encoded message content.

Definition at line 1145 of file BinaryMessage.h.

MessageSize binarySize ( ) const
inline

Size of SBE-encoded message.

Definition at line 1151 of file BinaryMessage.h.

const void* body ( ) const
inline

Indicates beginning of message body.

Definition at line 1157 of file BinaryMessage.h.

BodySize bodySize ( ) const
inline

Size of message body in bytes.

Definition at line 1168 of file BinaryMessage.h.

GroupList groups ( ) const
inlineprotected

Returns list of repeating groups of a message being referenced.

Definition at line 1042 of file BinaryMessage.h.

operator bool ( ) const
inline

Indicates whether instance refers to a valid message.

Definition at line 1123 of file BinaryMessage.h.

BinaryMessage& operator= ( const BinaryMessage &  other)
inline

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

Definition at line 1177 of file BinaryMessage.h.

MessageTemplateId templateId ( ) const
inline

Template identifier of message being referenced.

Definition at line 1129 of file BinaryMessage.h.

SchemaVersion version ( ) const
inline

Version of message being referenced.

Definition at line 1137 of file BinaryMessage.h.


The documentation for this class was generated from the following file: