OpenStructure
Public Types | Public Member Functions | Protected Member Functions
SequenceListIterator< T, I > Class Template Reference

#include <sequence_list_iterator.hh>

Public Types

using ValueType = T
 
using IteratorType = I
 
using ClassType = SequenceListIterator< T, I >
 
using iterator_category = std::random_access_iterator_tag
 
using value_type = T
 
using difference_type = std::ptrdiff_t
 
using pointer = T *
 
using reference = T &
 

Public Member Functions

 SequenceListIterator (IteratorType it, IteratorType end)
 
ValueTypeoperator* ()
 
ValueTypeoperator-> ()
 
ClassTypeoperator++ ()
 
ClassTypeoperator+= (int n)
 
ClassType operator+ (int n)
 
ClassTypeoperator-= (int n)
 
ClassType operator++ (int)
 
bool operator== (const ClassType &rhs) const
 
bool operator!= (const ClassType &rhs) const
 

Protected Member Functions

void UpdateVal ()
 

Detailed Description

template<typename T, typename I>
class ost::seq::impl::SequenceListIterator< T, I >

Definition at line 31 of file sequence_list_iterator.hh.

Member Typedef Documentation

◆ ClassType

Definition at line 35 of file sequence_list_iterator.hh.

◆ difference_type

using difference_type = std::ptrdiff_t

Definition at line 39 of file sequence_list_iterator.hh.

◆ iterator_category

using iterator_category = std::random_access_iterator_tag

Definition at line 37 of file sequence_list_iterator.hh.

◆ IteratorType

using IteratorType = I

Definition at line 34 of file sequence_list_iterator.hh.

◆ pointer

using pointer = T*

Definition at line 40 of file sequence_list_iterator.hh.

◆ reference

using reference = T&

Definition at line 41 of file sequence_list_iterator.hh.

◆ value_type

using value_type = T

Definition at line 38 of file sequence_list_iterator.hh.

◆ ValueType

using ValueType = T

Definition at line 33 of file sequence_list_iterator.hh.

Constructor & Destructor Documentation

◆ SequenceListIterator()

Definition at line 51 of file sequence_list_iterator.hh.

Member Function Documentation

◆ operator!=()

bool operator!= ( const ClassType rhs) const
inline

Definition at line 101 of file sequence_list_iterator.hh.

◆ operator*()

ValueType& operator* ( )
inline

Definition at line 57 of file sequence_list_iterator.hh.

◆ operator+()

ClassType operator+ ( int  n)
inline

Definition at line 78 of file sequence_list_iterator.hh.

◆ operator++() [1/2]

ClassType& operator++ ( )
inline

Definition at line 67 of file sequence_list_iterator.hh.

◆ operator++() [2/2]

ClassType operator++ ( int  )
inline

Definition at line 89 of file sequence_list_iterator.hh.

◆ operator+=()

ClassType& operator+= ( int  n)
inline

Definition at line 73 of file sequence_list_iterator.hh.

◆ operator-=()

ClassType& operator-= ( int  n)
inline

Definition at line 83 of file sequence_list_iterator.hh.

◆ operator->()

ValueType* operator-> ( )
inline

Definition at line 62 of file sequence_list_iterator.hh.

◆ operator==()

bool operator== ( const ClassType rhs) const
inline

Definition at line 96 of file sequence_list_iterator.hh.

◆ UpdateVal()

void UpdateVal ( )
inlineprotected

Definition at line 44 of file sequence_list_iterator.hh.


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