OnixS C++ CME MDP Premium Market Data Handler  5.8.3
API Documentation
BinaryGroupEntry< Length > Class Template Reference

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

Public Types

typedef Length EncodedLength
 
typedef Length BlockLength
 

Public Member Functions

 BinaryGroupEntry ()
 
 BinaryGroupEntry (const void *encoded, BlockLength length, SchemaVersion version)
 
 BinaryGroupEntry (const BinaryGroupEntry &other)
 
 operator bool () const
 
const void * encoded () const
 
EncodedLength encodedLength () const
 
const void * block () const
 
BlockLength blockLength () const
 
SchemaVersion version () const
 
BinaryGroupEntryoperator= (const BinaryGroupEntry &other)
 

Additional Inherited Members

- Protected Member Functions inherited from BinaryBlock< BinaryGroupEntry< Length >, Length >
 BinaryBlock ()
 
 ~BinaryBlock ()
 
Value ordinary (Lengthoffset) const
 
bool ordinary (Value &value, Lengthoffset, const NullValue &null) const
 
bool ordinary (Value &value, Lengthoffset, const NullValue &null, SchemaVersion since) const
 
Enumeration::Enum enumeration (Lengthoffset) const
 
bool enumeration (typename Enumeration::Enum &value, Lengthoffset, const NullValue &null) const
 
bool enumeration (typename Enumeration::Enum &value, Lengthoffset, const NullValue &null, SchemaVersion since) const
 
Decimal decimal (Lengthoffset) const
 
bool decimal (Decimal &value, Lengthoffset, const NullValue &null) const
 
bool decimal (Decimal &value, Lengthoffset, const NullValue &null, SchemaVersion since) const
 
StrRef fixedStr (Lengthoffset) const
 
StrRef fixedStr (Lengthoffset, SchemaVersion since) const
 

Detailed Description

template<class Length>
class OnixS::CME::MDH::BinaryGroupEntry< Length >

Definition at line 250 of file BinaryMessage.h.

Member Typedef Documentation

typedef Length BlockLength

Represents the length of binary block storing fixed-length fields of the group entry.

Definition at line 259 of file BinaryMessage.h.

typedef Length EncodedLength

Represents the length of binary data occupied by the given group entry.

Definition at line 255 of file BinaryMessage.h.

Constructor & Destructor Documentation

BinaryGroupEntry ( )
inline

Initializes instance referring to nothing.

Definition at line 262 of file BinaryMessage.h.

BinaryGroupEntry ( const void *  encoded,
BlockLength  length,
SchemaVersion  version 
)
inline

Initializes instance from memory block of given SBE-encoded message.

Definition at line 271 of file BinaryMessage.h.

BinaryGroupEntry ( const BinaryGroupEntry< Length > &  other)
inline

Initializes instance as a copy of the other one.

Definition at line 282 of file BinaryMessage.h.

Member Function Documentation

const void* block ( ) const
inline

Returns pointer to the block containing fixed-length fields of the given entry.

Definition at line 311 of file BinaryMessage.h.

BlockLength blockLength ( ) const
inline

Returns length of the block containing fixed-length fields of the given entry.

Definition at line 318 of file BinaryMessage.h.

const void* encoded ( ) const
inline

Pointer to the binary data referring to the given entry.

Definition at line 297 of file BinaryMessage.h.

EncodedLength encodedLength ( ) const
inline

Length of the SBE-encoded data referring to the given entry.

Definition at line 304 of file BinaryMessage.h.

operator bool ( ) const
inline

Indicates whether instance refers to a valid content.

Definition at line 290 of file BinaryMessage.h.

BinaryGroupEntry& operator= ( const BinaryGroupEntry< Length > &  other)
inline

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

Definition at line 331 of file BinaryMessage.h.

SchemaVersion version ( ) const
inline

Version of message containing given repeating group instance.

Definition at line 325 of file BinaryMessage.h.


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