OnixS C++ Euronext Optiq MDG Handler  1.3.1
API documentation
SbeGroupEntries< EntryType, BlockLength, NumInGroup, Length > Class Template Reference

#include <OnixS/Euronext/MarketData/OptiqMdg/messaging/SbeMessage.h>

Classes

class  Iterator
 

Public Types

typedef Length EncodedLength
 
typedef EntryType Entry
 
typedef NumInGroup Size
 

Public Member Functions

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

Friends

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

Detailed Description

template<class EntryType, class BlockLength, class NumInGroup, class Length>
class OnixS::Euronext::MarketData::OptiqMdg::Messaging::SbeGroupEntries< EntryType, BlockLength, NumInGroup, Length >

Definition at line 252 of file SbeMessage.h.

Member Typedef Documentation

typedef Length EncodedLength

The length of the binary data occupied by the group entries.

Definition at line 256 of file SbeMessage.h.

typedef EntryType Entry

The type of the repeating group entry.

Definition at line 259 of file SbeMessage.h.

typedef NumInGroup Size

Number of entries in the collection.

Definition at line 262 of file SbeMessage.h.

Constructor & Destructor Documentation

SbeGroupEntries ( )
inlinenoexcept

Initializes a blank instance referencing to nothing.

Definition at line 386 of file SbeMessage.h.

SbeGroupEntries ( const void *  encoded,
BlockLength  blockLength,
Size  groupSize,
SchemaVersion  version 
)
inlinenoexcept

Initializes the instance referencing to data.

Definition at line 395 of file SbeMessage.h.

SbeGroupEntries ( const SbeGroupEntries< OtherEntry, OtherBlockLength, OtherNumInGroup, OtherLength > &  other)
inlinenoexcept

Copy constructor.

Definition at line 461 of file SbeMessage.h.

Member Function Documentation

Iterator begin ( ) const
inline
Returns
the iterator pointing to the first repeating group entry.

Definition at line 425 of file SbeMessage.h.

bool empty ( ) const
inlinenoexcept
Returns
true if the referenced repeating group is empty, otherwise - false.

Definition at line 413 of file SbeMessage.h.

const void* encoded ( ) const
inlinenoexcept
Returns
Binary data occupied by the group entries.

Definition at line 448 of file SbeMessage.h.

EncodedLength encodedLength ( ) const
inlinenoexcept
Returns
the length of the binary data occupied by the group entries.

Definition at line 454 of file SbeMessage.h.

Iterator end ( ) const
inline

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

Definition at line 431 of file SbeMessage.h.

SbeGroupEntries& operator= ( const SbeGroupEntries< OtherEntry, OtherBlockLength, OtherNumInGroup, OtherLength > &  other)
inlinenoexcept

Definition at line 475 of file SbeMessage.h.

Entry operator[] ( Size  index) const
inline

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

Note
Index validness is not checked due to performance considerations.

Definition at line 439 of file SbeMessage.h.

Size size ( ) const
inlinenoexcept
Returns
number of blocks.

Definition at line 419 of file SbeMessage.h.

bool valid ( ) const
inlinenoexcept
Returns
true if the instance refers to a valid repeating group, otherwise - false.

Definition at line 407 of file SbeMessage.h.

Friends And Related Function Documentation

friend class SbeGroupEntries
friend

Definition at line 494 of file SbeMessage.h.


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