OnixS C++ CME Market Data Handler  5.4.0
API documentation
BinaryGroupEntries< EntryType, BlockLength, NumInGroup, Length >::Iterator Class Reference

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

Public Types

typedef const Entry value_type
 
typedef const Entrypointer
 
typedef const Entryreference
 
typedef ptrdiff_t difference_type
 
typedef std::random_access_iterator_tag iterator_category
 

Public Member Functions

 Iterator ()
 
 Iterator (const void *block, BlockLength length, SchemaVersion version)
 
 Iterator (const Iterator &other)
 
const Entry get () const
 
const Entry operator* () const
 
bool operator== (const Iterator &other) const
 
bool operator!= (const Iterator &other) const
 
bool operator< (const Iterator &other) const
 
bool operator> (const Iterator &other) const
 
Iteratoroperator++ ()
 
Iteratoroperator-- ()
 
Iterator operator+ (difference_type distance) const
 
Iterator operator- (difference_type distance) const
 
Iteratoroperator= (const Iterator &other)
 

Detailed Description

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

Provides iterating facilities over SBE-encoded group entries.

Definition at line 605 of file BinaryMessage.h.

Member Typedef Documentation

typedef ptrdiff_t difference_type

Iterator difference type.

Definition at line 623 of file BinaryMessage.h.

typedef std::random_access_iterator_tag iterator_category

Identifies iterator category.

Definition at line 628 of file BinaryMessage.h.

typedef const Entry* pointer

Aliases pointer to entry for STL conformance.

Definition at line 617 of file BinaryMessage.h.

typedef const Entry& reference

Aliases entry reference for STL conformance.

Definition at line 620 of file BinaryMessage.h.

typedef const Entry value_type

Aliases entry for STL conformance.

Definition at line 614 of file BinaryMessage.h.

Constructor & Destructor Documentation

Iterator ( )
inline

Initializes instance referring to nothing.

Definition at line 631 of file BinaryMessage.h.

Iterator ( const void *  block,
BlockLength  length,
SchemaVersion  version 
)
inline

Initializes instance for given repeating group.

Definition at line 639 of file BinaryMessage.h.

Iterator ( const Iterator other)
inline

Initializes instance as copy of the other one.

Definition at line 650 of file BinaryMessage.h.

Member Function Documentation

const Entry get ( ) const
inline

Repeating group entry referenced by the instance.

Definition at line 659 of file BinaryMessage.h.

bool operator!= ( const Iterator other) const
inline

Compares the given iterator with the other instance.

Definition at line 686 of file BinaryMessage.h.

const Entry operator* ( ) const
inline

Repeating group block referenced by the iterator.

Definition at line 671 of file BinaryMessage.h.

Iterator operator+ ( difference_type  distance) const
inline

Advances instance by given number of entries.

Definition at line 733 of file BinaryMessage.h.

Iterator& operator++ ( )
inline

Advances instance to the next repeating group entry.

Definition at line 710 of file BinaryMessage.h.

Iterator operator- ( difference_type  distance) const
inline

Advances instance by given number of entries.

Definition at line 754 of file BinaryMessage.h.

Iterator& operator-- ( )
inline

Advances instance to the next repeating group entry.

Definition at line 721 of file BinaryMessage.h.

bool operator< ( const Iterator other) const
inline

Established order between two iterators.

Definition at line 694 of file BinaryMessage.h.

Iterator& operator= ( const Iterator other)
inline

Re-initializes instance as copy of the other one.

Definition at line 776 of file BinaryMessage.h.

bool operator== ( const Iterator other) const
inline

Compares the given iterator with the other instance.

Definition at line 678 of file BinaryMessage.h.

bool operator> ( const Iterator other) const
inline

Established order between two iterators.

Definition at line 702 of file BinaryMessage.h.


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