OnixS C++ CME MDP Streamlined Market Data Handler 1.2.0
API Documentation
Loading...
Searching...
No Matches
BinaryGroup< EntryType, DimensionType, GroupSizeType > Class Template Reference

Classes

class  Iterator

Public Types

typedef EntryType Entry
typedef DimensionType Dimension
typedef GroupSizeType BinarySize
typedef DimensionType::BlockLength EntrySize
typedef Dimension::NumInGroup Size

Public Member Functions

 BinaryGroup ()
 BinaryGroup (const void *data, BinarySize size, SchemaVersion version)
 BinaryGroup (const BinaryGroup &other)
 operator bool () const
bool empty () const
Size size () const
Iterator begin () const
Iterator end () const
Entry operator[] (Size index) const
const void * binary () const
BinarySize binarySize () const
const void * entries () const
EntrySize entrySize () const
BinaryGroupoperator= (const BinaryGroup &other)

Detailed Description

template<class EntryType, class DimensionType, class GroupSizeType>
class OnixS::CME::Streamlined::MDH::BinaryGroup< EntryType, DimensionType, GroupSizeType >

Definition at line 392 of file BinaryMessage.h.

Member Typedef Documentation

◆ BinarySize

template<class EntryType, class DimensionType, class GroupSizeType>
typedef GroupSizeType BinarySize

Length of group data.

Definition at line 402 of file BinaryMessage.h.

◆ Dimension

template<class EntryType, class DimensionType, class GroupSizeType>
typedef DimensionType Dimension

Aliases repeating group dimension type.

Definition at line 399 of file BinaryMessage.h.

◆ Entry

template<class EntryType, class DimensionType, class GroupSizeType>
typedef EntryType Entry

Aliases type of repeating group entry.

Definition at line 396 of file BinaryMessage.h.

◆ EntrySize

template<class EntryType, class DimensionType, class GroupSizeType>
typedef DimensionType::BlockLength EntrySize

Length of group entry data.

Definition at line 408 of file BinaryMessage.h.

◆ Size

template<class EntryType, class DimensionType, class GroupSizeType>
typedef Dimension::NumInGroup Size

Size of group (number of entries).

Definition at line 415 of file BinaryMessage.h.

Constructor & Destructor Documentation

◆ BinaryGroup() [1/3]

template<class EntryType, class DimensionType, class GroupSizeType>
BinaryGroup ( )
inline

Initializes blank instance referencing to nothing.

Definition at line 594 of file BinaryMessage.h.

◆ BinaryGroup() [2/3]

template<class EntryType, class DimensionType, class GroupSizeType>
BinaryGroup ( const void * data,
BinarySize size,
SchemaVersion version )
inline

Initializes instance referencing to a valid group of a given message.

Definition at line 605 of file BinaryMessage.h.

◆ BinaryGroup() [3/3]

template<class EntryType, class DimensionType, class GroupSizeType>
BinaryGroup ( const BinaryGroup< EntryType, DimensionType, GroupSizeType > & other)
inline

Initializes instance as a copy of the other one.

Definition at line 649 of file BinaryMessage.h.

Member Function Documentation

◆ begin()

template<class EntryType, class DimensionType, class GroupSizeType>
Iterator begin ( ) const
inline

Returns iterator pointing to the first repeating group entry.

Definition at line 686 of file BinaryMessage.h.

◆ binary()

template<class EntryType, class DimensionType, class GroupSizeType>
const void * binary ( ) const
inline

SBE-encoded data representing repeating group.

Definition at line 723 of file BinaryMessage.h.

◆ binarySize()

template<class EntryType, class DimensionType, class GroupSizeType>
BinarySize binarySize ( ) const
inline

Size of SBE-encoded data representing repeating group.

Definition at line 733 of file BinaryMessage.h.

◆ empty()

template<class EntryType, class DimensionType, class GroupSizeType>
bool empty ( ) const
inline

Indicates whether a repeating group being referenced is empty.

Definition at line 673 of file BinaryMessage.h.

◆ end()

template<class EntryType, class DimensionType, class GroupSizeType>
Iterator end ( ) const
inline

Returns iterator pointing to the entry behind the end of the group.

Definition at line 696 of file BinaryMessage.h.

◆ entries()

template<class EntryType, class DimensionType, class GroupSizeType>
const void * entries ( ) const
inline

Location of repeating group entries.

Definition at line 739 of file BinaryMessage.h.

◆ entrySize()

template<class EntryType, class DimensionType, class GroupSizeType>
EntrySize entrySize ( ) const
inline

Size in bytes of single repeating group entry.

Definition at line 745 of file BinaryMessage.h.

◆ operator bool()

template<class EntryType, class DimensionType, class GroupSizeType>
operator bool ( ) const
inline

Indicates whether given instance refers to a valid repeating group.

Definition at line 666 of file BinaryMessage.h.

◆ operator=()

template<class EntryType, class DimensionType, class GroupSizeType>
BinaryGroup & operator= ( const BinaryGroup< EntryType, DimensionType, GroupSizeType > & other)
inline

Re-initializes instance as copy of the other one.

Definition at line 752 of file BinaryMessage.h.

◆ operator[]()

template<class EntryType, class DimensionType, class GroupSizeType>
Entry operator[] ( Size index) const
inline

Provides access to a repeating group entry by index.

Index validness is not checked due to performance considerations.

Definition at line 709 of file BinaryMessage.h.

◆ size()

template<class EntryType, class DimensionType, class GroupSizeType>
Size size ( ) const
inline

Returns number of entries in a repeating group being referenced.

Definition at line 680 of file BinaryMessage.h.