OnixS C++ CME Streamlined Market Data Handler  1.0.0.4
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
 
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
 
bool ordinary (FieldValue &value, MessageSize offset, const NullValue &null) const
 
bool ordinary (FieldValue &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
 
StrRef fixedStr (MessageSize offset) const
 
StrRef fixedStr (MessageSize offset, SchemaVersion since) const
 
bool fixedStr (StrRef &value, MessageSize offset) const
 

Detailed Description

Definition at line 1345 of file BinaryMessage.h.

Member Typedef Documentation

Length of message binary data.

Definition at line 1389 of file BinaryMessage.h.

Length of message body without repeating groups.

Definition at line 1394 of file BinaryMessage.h.

Binary group list instantiation.

Definition at line 1360 of file BinaryMessage.h.

Constructor & Destructor Documentation

BinaryMessage ( )
inline

Initializes blank instance referencing to nothing.

Definition at line 1397 of file BinaryMessage.h.

BinaryMessage ( const void *  data,
MessageSize  size 
)
inline

Initializes instance over given memory block.

Definition at line 1404 of file BinaryMessage.h.

BinaryMessage ( const BinaryMessage other)
inline

Initializes instance as copy of the other one.

Definition at line 1437 of file BinaryMessage.h.

Member Function Documentation

const void* binary ( ) const
inline

SBE-encoded message content.

Definition at line 1467 of file BinaryMessage.h.

MessageSize binarySize ( ) const
inline

Size of SBE-encoded message.

Definition at line 1473 of file BinaryMessage.h.

const void* body ( ) const
inline

Indicates beginning of message body.

Definition at line 1479 of file BinaryMessage.h.

BodySize bodySize ( ) const
inline

Size of message body in bytes.

Definition at line 1490 of file BinaryMessage.h.

GroupList groups ( ) const
inlineprotected

Returns list of repeating groups of a message being referenced.

Definition at line 1364 of file BinaryMessage.h.

operator bool ( ) const
inline

Indicates whether instance refers to a valid message.

Definition at line 1445 of file BinaryMessage.h.

BinaryMessage& operator= ( const BinaryMessage other)
inline

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

Definition at line 1499 of file BinaryMessage.h.

MessageTemplateId templateId ( ) const
inline

Template identifier of message being referenced.

Definition at line 1451 of file BinaryMessage.h.

SchemaVersion version ( ) const
inline

Version of message being referenced.

Definition at line 1459 of file BinaryMessage.h.


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