OnixS C++ CME MDP Premium Market Data Handler  5.8.3
API Documentation
BinaryMessage Class Reference

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

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)
 

Additional Inherited Members

- Protected Member Functions inherited from BinaryBlock< BinaryMessage, MessageSize >
 BinaryBlock ()
 
 ~BinaryBlock ()
 
Value ordinary (MessageSizeoffset) const
 
bool ordinary (Value &value, MessageSizeoffset, const NullValue &null) const
 
bool ordinary (Value &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 883 of file BinaryMessage.h.

Member Typedef Documentation

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

Definition at line 891 of file BinaryMessage.h.

Length of message binary data.

Definition at line 887 of file BinaryMessage.h.

Repeating groups.

Definition at line 894 of file BinaryMessage.h.

Constructor & Destructor Documentation

BinaryMessage ( )
inline

Initializes the instance referencing to nothing.

Definition at line 897 of file BinaryMessage.h.

BinaryMessage ( const void *  encoded,
EncodedLength  length 
)
inline

Initializes instance over the given encoded data.

Definition at line 904 of file BinaryMessage.h.

BinaryMessage ( const BinaryMessage other)
inline

Initializes instance as copy of the other one.

Definition at line 917 of file BinaryMessage.h.

Member Function Documentation

const void* block ( ) const
inline

Indicates beginning of message body.

Definition at line 958 of file BinaryMessage.h.

BlockLength blockLength ( ) const
inline

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

Definition at line 967 of file BinaryMessage.h.

const void* encoded ( ) const
inline

SBE-encoded message content.

Definition at line 946 of file BinaryMessage.h.

EncodedLength encodedLength ( ) const
inline

Size of SBE-encoded message.

Definition at line 952 of file BinaryMessage.h.

Groups groups ( ) const
inline

Collection of repeating groups of the message being referenced.

Definition at line 976 of file BinaryMessage.h.

operator bool ( ) const
inline

Indicates whether instance refers to a valid message.

Definition at line 924 of file BinaryMessage.h.

BinaryMessage& operator= ( const BinaryMessage other)
inline

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

Definition at line 988 of file BinaryMessage.h.

MessageTemplateId templateId ( ) const
inline

Template identifier of message being referenced.

Definition at line 930 of file BinaryMessage.h.

SchemaVersion version ( ) const
inline

Version of message being referenced.

Definition at line 938 of file BinaryMessage.h.


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