OnixS C++ CME MDP Conflated UDP Handler 1.1.2
API documentation
Loading...
Searching...
No Matches
BinaryGroupEntries< EntryType, BlockLength, NumInGroup, Length >::Iterator Class Reference

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::ConflatedUDP::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

◆ difference_type

template<class EntryType, class BlockLength, class NumInGroup, class Length>
typedef ptrdiff_t difference_type

Iterator difference type.

Definition at line 623 of file BinaryMessage.h.

◆ iterator_category

template<class EntryType, class BlockLength, class NumInGroup, class Length>
typedef std::random_access_iterator_tag iterator_category

Identifies iterator category.

Definition at line 628 of file BinaryMessage.h.

◆ pointer

template<class EntryType, class BlockLength, class NumInGroup, class Length>
typedef const Entry* pointer

Aliases pointer to entry for STL conformance.

Definition at line 617 of file BinaryMessage.h.

◆ reference

template<class EntryType, class BlockLength, class NumInGroup, class Length>
typedef const Entry& reference

Aliases entry reference for STL conformance.

Definition at line 620 of file BinaryMessage.h.

◆ value_type

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

Aliases entry for STL conformance.

Definition at line 614 of file BinaryMessage.h.

Constructor & Destructor Documentation

◆ Iterator() [1/3]

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

Initializes instance referring to nothing.

Definition at line 631 of file BinaryMessage.h.

◆ Iterator() [2/3]

template<class EntryType, class BlockLength, class NumInGroup, class Length>
Iterator ( const void * block,
BlockLength length,
SchemaVersion version )
inline

Initializes instance for given repeating group.

Definition at line 639 of file BinaryMessage.h.

◆ Iterator() [3/3]

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

Initializes instance as copy of the other one.

Definition at line 650 of file BinaryMessage.h.

Member Function Documentation

◆ get()

template<class EntryType, class BlockLength, class NumInGroup, class Length>
const Entry get ( ) const
inline

Repeating group entry referenced by the instance.

Definition at line 659 of file BinaryMessage.h.

◆ operator!=()

template<class EntryType, class BlockLength, class NumInGroup, class Length>
bool operator!= ( const Iterator & other) const
inline

Compares the given iterator with the other instance.

Definition at line 686 of file BinaryMessage.h.

◆ operator*()

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

Repeating group block referenced by the iterator.

Definition at line 671 of file BinaryMessage.h.

◆ operator+()

template<class EntryType, class BlockLength, class NumInGroup, class Length>
Iterator operator+ ( difference_type distance) const
inline

Advances instance by given number of entries.

Definition at line 733 of file BinaryMessage.h.

◆ operator++()

template<class EntryType, class BlockLength, class NumInGroup, class Length>
Iterator & operator++ ( )
inline

Advances instance to the next repeating group entry.

Definition at line 710 of file BinaryMessage.h.

◆ operator-()

template<class EntryType, class BlockLength, class NumInGroup, class Length>
Iterator operator- ( difference_type distance) const
inline

Advances instance by given number of entries.

Definition at line 754 of file BinaryMessage.h.

◆ operator--()

template<class EntryType, class BlockLength, class NumInGroup, class Length>
Iterator & operator-- ( )
inline

Advances instance to the next repeating group entry.

Definition at line 721 of file BinaryMessage.h.

◆ operator<()

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

Established order between two iterators.

Definition at line 693 of file BinaryMessage.h.

◆ operator=()

template<class EntryType, class BlockLength, class NumInGroup, class Length>
Iterator & operator= ( const Iterator & other)
inline

Re-initializes instance as copy of the other one.

Definition at line 776 of file BinaryMessage.h.

◆ operator==()

template<class EntryType, class BlockLength, class NumInGroup, class Length>
bool operator== ( const Iterator & other) const
inline

Compares the given iterator with the other instance.

Definition at line 678 of file BinaryMessage.h.

◆ operator>()

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

Established order between two iterators.

Definition at line 702 of file BinaryMessage.h.