OnixS C++ CME MDP Streamlined Market Data Handler  1.2.0
API Documentation
BinaryMessage Class Reference

#include <OnixS/CME/Streamlined/BinaryMessage.h>

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 (MessageSizeoffset) const
 
bool ordinary (FieldValue &value, MessageSizeoffset, const NullValue &null) const
 
bool ordinary (FieldValue &value, MessageSizeoffset, const NullValue &null, SchemaVersion since) const
 
Decimal decimal (MessageSizeoffset) const
 
bool decimal (Decimal &value, MessageSizeoffset, const NullValue &null) 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
 
StrRef fixedStr (MessageSizeoffset) const
 
StrRef fixedStr (MessageSizeoffset, SchemaVersion since) const
 
bool fixedStr (StrRef &value, MessageSizeoffset) const
 

Detailed Description

Definition at line 1404 of file BinaryMessage.h.

Member Typedef Documentation

Length of message binary data.

Definition at line 1448 of file BinaryMessage.h.

Length of message body without repeating groups.

Definition at line 1453 of file BinaryMessage.h.

Binary group list instantiation.

Definition at line 1419 of file BinaryMessage.h.

Constructor & Destructor Documentation

BinaryMessage ( )
inline

Initializes blank instance referencing to nothing.

Definition at line 1456 of file BinaryMessage.h.

BinaryMessage ( const void *  data,
MessageSize  size 
)
inline

Initializes instance over given memory block.

Definition at line 1463 of file BinaryMessage.h.

BinaryMessage ( const BinaryMessage other)
inline

Initializes instance as copy of the other one.

Definition at line 1496 of file BinaryMessage.h.

Member Function Documentation

const void* binary ( ) const
inline

SBE-encoded message content.

Definition at line 1526 of file BinaryMessage.h.

MessageSize binarySize ( ) const
inline

Size of SBE-encoded message.

Definition at line 1532 of file BinaryMessage.h.

const void* body ( ) const
inline

Indicates beginning of message body.

Definition at line 1538 of file BinaryMessage.h.

BodySize bodySize ( ) const
inline

Size of message body in bytes.

Definition at line 1549 of file BinaryMessage.h.

GroupList groups ( ) const
inlineprotected

Returns list of repeating groups of a message being referenced.

Definition at line 1423 of file BinaryMessage.h.

operator bool ( ) const
inline

Indicates whether instance refers to a valid message.

Definition at line 1504 of file BinaryMessage.h.

BinaryMessage& operator= ( const BinaryMessage other)
inline

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

Definition at line 1558 of file BinaryMessage.h.

MessageTemplateId templateId ( ) const
inline

Template identifier of message being referenced.

Definition at line 1510 of file BinaryMessage.h.

SchemaVersion version ( ) const
inline

Version of message being referenced.

Definition at line 1518 of file BinaryMessage.h.


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