OnixS C++ CME Market Data Handler  5.4.0
API documentation
BinaryGroups< Length > Class Template Reference

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

Public Types

typedef Length EncodedLength
 

Public Member Functions

 BinaryGroups ()
 
 BinaryGroups (const void *encoded, EncodedLength length, SchemaVersion version)
 
 BinaryGroups (const BinaryGroups &other)
 
bool empty () const
 
template<class Group >
Group head () const
 
template<class Group >
BinaryGroups tail () const
 
const void * encoded () const
 
EncodedLength encodedLength () const
 
BinaryGroupsoperator= (const BinaryGroups &other)
 

Detailed Description

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

Encapsulates services for manipulating SBE-encoded groups stored sequentially in SBE-encoded message.

Definition at line 1176 of file BinaryMessage.h.

Member Typedef Documentation

typedef Length EncodedLength

Represents the length of binary data occupied by the given list of groups.

Definition at line 1187 of file BinaryMessage.h.

Constructor & Destructor Documentation

BinaryGroups ( )
inline

Initializes empty list.

Definition at line 1190 of file BinaryMessage.h.

BinaryGroups ( const void *  encoded,
EncodedLength  length,
SchemaVersion  version 
)
inline

Initializes list over memory block, where given message is stored.

Definition at line 1199 of file BinaryMessage.h.

BinaryGroups ( const BinaryGroups< Length > &  other)
inline

Initializes as copy of other list.

Definition at line 1210 of file BinaryMessage.h.

Member Function Documentation

bool empty ( ) const
inline

Indicates whether group list is empty.

Definition at line 1219 of file BinaryMessage.h.

const void* encoded ( ) const
inline

SBE-encoded content referenced by the list.

Definition at line 1264 of file BinaryMessage.h.

EncodedLength encodedLength ( ) const
inline

Length of SBE-encoded content referenced by the given group list.

Definition at line 1271 of file BinaryMessage.h.

Group head ( ) const
inline

Provides access to the head group of the list.

Definition at line 1229 of file BinaryMessage.h.

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

Re-initializes instance as copy of the other one.

Definition at line 1278 of file BinaryMessage.h.

BinaryGroups tail ( ) const
inline

Returns the groups following the head.

Definition at line 1243 of file BinaryMessage.h.


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