Project
Loading...
Searching...
No Matches
o2::data_compression::ContiguousAlphabet< T, _min, _max, NameT >::Iterator< ValueT > Class Template Reference

a forward iterator to access the list of elements More...

#include <dc_primitives.h>

Public Types

using self_type = Iterator
 
using value_type = ValueT
 
using reference = ValueT &
 
using pointer = ValueT *
 
using difference_type = std::ptrdiff_t
 
using iterator_category = std::forward_iterator_tag
 

Public Member Functions

 Iterator ()
 
 Iterator (T value, bool isEnd)
 
 ~Iterator ()=default
 
self_typeoperator++ ()
 
self_type operator++ (int)
 
self_type operator+ (size_type n) const
 
reference operator* ()
 
bool operator== (const self_type &other) const
 
bool operator!= (const self_type &other) const
 

Detailed Description

template<typename T, T _min, T _max, typename NameT = boost::mpl::string<'U', 'n', 'n', 'a', 'm', 'e', 'd'>::type>
template<typename ValueT>
class o2::data_compression::ContiguousAlphabet< T, _min, _max, NameT >::Iterator< ValueT >

a forward iterator to access the list of elements

Definition at line 251 of file dc_primitives.h.

Member Typedef Documentation

◆ difference_type

template<typename T , T _min, T _max, typename NameT = boost::mpl::string<'U', 'n', 'n', 'a', 'm', 'e', 'd'>::type>
template<typename ValueT >
using o2::data_compression::ContiguousAlphabet< T, _min, _max, NameT >::Iterator< ValueT >::difference_type = std::ptrdiff_t

Definition at line 262 of file dc_primitives.h.

◆ iterator_category

template<typename T , T _min, T _max, typename NameT = boost::mpl::string<'U', 'n', 'n', 'a', 'm', 'e', 'd'>::type>
template<typename ValueT >
using o2::data_compression::ContiguousAlphabet< T, _min, _max, NameT >::Iterator< ValueT >::iterator_category = std::forward_iterator_tag

Definition at line 263 of file dc_primitives.h.

◆ pointer

template<typename T , T _min, T _max, typename NameT = boost::mpl::string<'U', 'n', 'n', 'a', 'm', 'e', 'd'>::type>
template<typename ValueT >
using o2::data_compression::ContiguousAlphabet< T, _min, _max, NameT >::Iterator< ValueT >::pointer = ValueT*

Definition at line 261 of file dc_primitives.h.

◆ reference

template<typename T , T _min, T _max, typename NameT = boost::mpl::string<'U', 'n', 'n', 'a', 'm', 'e', 'd'>::type>
template<typename ValueT >
using o2::data_compression::ContiguousAlphabet< T, _min, _max, NameT >::Iterator< ValueT >::reference = ValueT&

Definition at line 260 of file dc_primitives.h.

◆ self_type

template<typename T , T _min, T _max, typename NameT = boost::mpl::string<'U', 'n', 'n', 'a', 'm', 'e', 'd'>::type>
template<typename ValueT >
using o2::data_compression::ContiguousAlphabet< T, _min, _max, NameT >::Iterator< ValueT >::self_type = Iterator

Definition at line 258 of file dc_primitives.h.

◆ value_type

template<typename T , T _min, T _max, typename NameT = boost::mpl::string<'U', 'n', 'n', 'a', 'm', 'e', 'd'>::type>
template<typename ValueT >
using o2::data_compression::ContiguousAlphabet< T, _min, _max, NameT >::Iterator< ValueT >::value_type = ValueT

Definition at line 259 of file dc_primitives.h.

Constructor & Destructor Documentation

◆ Iterator() [1/2]

template<typename T , T _min, T _max, typename NameT = boost::mpl::string<'U', 'n', 'n', 'a', 'm', 'e', 'd'>::type>
template<typename ValueT >
o2::data_compression::ContiguousAlphabet< T, _min, _max, NameT >::Iterator< ValueT >::Iterator ( )
inline

Definition at line 254 of file dc_primitives.h.

◆ Iterator() [2/2]

template<typename T , T _min, T _max, typename NameT = boost::mpl::string<'U', 'n', 'n', 'a', 'm', 'e', 'd'>::type>
template<typename ValueT >
o2::data_compression::ContiguousAlphabet< T, _min, _max, NameT >::Iterator< ValueT >::Iterator ( value,
bool  isEnd 
)
inline

Definition at line 255 of file dc_primitives.h.

◆ ~Iterator()

template<typename T , T _min, T _max, typename NameT = boost::mpl::string<'U', 'n', 'n', 'a', 'm', 'e', 'd'>::type>
template<typename ValueT >
o2::data_compression::ContiguousAlphabet< T, _min, _max, NameT >::Iterator< ValueT >::~Iterator ( )
default

Member Function Documentation

◆ operator!=()

template<typename T , T _min, T _max, typename NameT = boost::mpl::string<'U', 'n', 'n', 'a', 'm', 'e', 'd'>::type>
template<typename ValueT >
bool o2::data_compression::ContiguousAlphabet< T, _min, _max, NameT >::Iterator< ValueT >::operator!= ( const self_type other) const
inline

Definition at line 304 of file dc_primitives.h.

◆ operator*()

template<typename T , T _min, T _max, typename NameT = boost::mpl::string<'U', 'n', 'n', 'a', 'm', 'e', 'd'>::type>
template<typename ValueT >
reference o2::data_compression::ContiguousAlphabet< T, _min, _max, NameT >::Iterator< ValueT >::operator* ( )
inline

Definition at line 299 of file dc_primitives.h.

◆ operator+()

template<typename T , T _min, T _max, typename NameT = boost::mpl::string<'U', 'n', 'n', 'a', 'm', 'e', 'd'>::type>
template<typename ValueT >
self_type o2::data_compression::ContiguousAlphabet< T, _min, _max, NameT >::Iterator< ValueT >::operator+ ( size_type  n) const
inline

Definition at line 285 of file dc_primitives.h.

◆ operator++() [1/2]

template<typename T , T _min, T _max, typename NameT = boost::mpl::string<'U', 'n', 'n', 'a', 'm', 'e', 'd'>::type>
template<typename ValueT >
self_type & o2::data_compression::ContiguousAlphabet< T, _min, _max, NameT >::Iterator< ValueT >::operator++ ( )
inline

Definition at line 266 of file dc_primitives.h.

◆ operator++() [2/2]

template<typename T , T _min, T _max, typename NameT = boost::mpl::string<'U', 'n', 'n', 'a', 'm', 'e', 'd'>::type>
template<typename ValueT >
self_type o2::data_compression::ContiguousAlphabet< T, _min, _max, NameT >::Iterator< ValueT >::operator++ ( int  )
inline

Definition at line 277 of file dc_primitives.h.

◆ operator==()

template<typename T , T _min, T _max, typename NameT = boost::mpl::string<'U', 'n', 'n', 'a', 'm', 'e', 'd'>::type>
template<typename ValueT >
bool o2::data_compression::ContiguousAlphabet< T, _min, _max, NameT >::Iterator< ValueT >::operator== ( const self_type other) const
inline

Definition at line 303 of file dc_primitives.h.


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