OnixS C++ CME MDP Premium Market Data Handler 5.9.0
API Documentation
Loading...
Searching...
No Matches
BinaryGroupEntries< EntryType, BlockLength, NumInGroup, Length > Class Template Reference

Classes

class  Iterator

Public Types

typedef Length EncodedLength
typedef EntryType Entry
typedef NumInGroup Size

Public Member Functions

 BinaryGroupEntries ()
 BinaryGroupEntries (const void *encoded, BlockLength blockLength, Size groupSize, SchemaVersion version)
template<class OtherEntry, class OtherBlockLength, class OtherNumInGroup, class OtherLength>
 BinaryGroupEntries (const BinaryGroupEntries< OtherEntry, OtherBlockLength, OtherNumInGroup, OtherLength > &other)
 operator bool () const
bool empty () const
Size size () const
Iterator begin () const
Iterator end () const
const Entry operator[] (Size index) const
const void * encoded () const
EncodedLength encodedLength () const
template<class OtherEntry, class OtherBlockLength, class OtherNumInGroup, class OtherLength>
BinaryGroupEntriesoperator= (const BinaryGroupEntries< OtherEntry, OtherBlockLength, OtherNumInGroup, OtherLength > &other)

Friends

template<class OtherEntry, class OtherBlockLength, class OtherNumInGroup, class OtherLength>
class BinaryGroupEntries

Detailed Description

template<class EntryType, class BlockLength, class NumInGroup, class Length>
class OnixS::CME::MDH::BinaryGroupEntries< EntryType, BlockLength, NumInGroup, Length >

Definition at line 350 of file BinaryMessage.h.

Member Typedef Documentation

◆ EncodedLength

template<class EntryType, class BlockLength, class NumInGroup, class Length>
typedef Length EncodedLength

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

Definition at line 355 of file BinaryMessage.h.

◆ Entry

template<class EntryType, class BlockLength, class NumInGroup, class Length>
typedef EntryType Entry

The type of repeating group entry.

Definition at line 358 of file BinaryMessage.h.

◆ Size

template<class EntryType, class BlockLength, class NumInGroup, class Length>
typedef NumInGroup Size

Number of entries in the collection.

Definition at line 361 of file BinaryMessage.h.

Constructor & Destructor Documentation

◆ BinaryGroupEntries() [1/3]

template<class EntryType, class BlockLength, class NumInGroup, class Length>
BinaryGroupEntries ( )
inline

Initializes blank instance referencing to nothing.

Definition at line 495 of file BinaryMessage.h.

◆ BinaryGroupEntries() [2/3]

template<class EntryType, class BlockLength, class NumInGroup, class Length>
BinaryGroupEntries ( const void * encoded,
BlockLength blockLength,
Size groupSize,
SchemaVersion version )
inline

Initializes the instance referencing to a real data.

Definition at line 504 of file BinaryMessage.h.

◆ BinaryGroupEntries() [3/3]

template<class EntryType, class BlockLength, class NumInGroup, class Length>
template<class OtherEntry, class OtherBlockLength, class OtherNumInGroup, class OtherLength>
BinaryGroupEntries ( const BinaryGroupEntries< OtherEntry, OtherBlockLength, OtherNumInGroup, OtherLength > & other)
inline

Initializes instance as a copy of the other one.

Definition at line 514 of file BinaryMessage.h.

Member Function Documentation

◆ begin()

template<class EntryType, class BlockLength, class NumInGroup, class Length>
Iterator begin ( ) const
inline

Returns iterator pointing to the first repeating group entry.

Definition at line 550 of file BinaryMessage.h.

◆ empty()

template<class EntryType, class BlockLength, class NumInGroup, class Length>
bool empty ( ) const
inline

Indicates whether a repeating group being referenced is empty.

Definition at line 538 of file BinaryMessage.h.

◆ encoded()

template<class EntryType, class BlockLength, class NumInGroup, class Length>
const void * encoded ( ) const
inline

Binary data occupied by the given group entries.

Definition at line 582 of file BinaryMessage.h.

◆ encodedLength()

template<class EntryType, class BlockLength, class NumInGroup, class Length>
EncodedLength encodedLength ( ) const
inline

Length of the binary data occupied by the given collection of entries.

Definition at line 589 of file BinaryMessage.h.

◆ end()

template<class EntryType, class BlockLength, class NumInGroup, class Length>
Iterator end ( ) const
inline

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

Definition at line 556 of file BinaryMessage.h.

◆ operator bool()

template<class EntryType, class BlockLength, class NumInGroup, class Length>
operator bool ( ) const
inline

Indicates whether given instance refers to a valid repeating group.

Definition at line 531 of file BinaryMessage.h.

◆ operator=()

template<class EntryType, class BlockLength, class NumInGroup, class Length>
template<class OtherEntry, class OtherBlockLength, class OtherNumInGroup, class OtherLength>
BinaryGroupEntries & operator= ( const BinaryGroupEntries< OtherEntry, OtherBlockLength, OtherNumInGroup, OtherLength > & other)
inline

Re-initializes instance as copy of the other one.

Initializes instance as a copy of the other one.

Definition at line 598 of file BinaryMessage.h.

◆ operator[]()

template<class EntryType, class BlockLength, class NumInGroup, class Length>
const Entry operator[] ( Size index) const
inline

Provides access to the group entry by its index in the group.

Index validness is not checked due to performance considerations.

Definition at line 570 of file BinaryMessage.h.

◆ size()

template<class EntryType, class BlockLength, class NumInGroup, class Length>
Size size ( ) const
inline

Returns number of blocks.

Definition at line 544 of file BinaryMessage.h.

◆ BinaryGroupEntries

template<class EntryType, class BlockLength, class NumInGroup, class Length>
template<class OtherEntry, class OtherBlockLength, class OtherNumInGroup, class OtherLength>
friend class BinaryGroupEntries
friend

Definition at line 619 of file BinaryMessage.h.