Sese Framework  2.3.0
A cross-platform framework
Loading...
Searching...
No Matches
sese::Range< TYPE >::Iterator Class Reference

Iterators. More...

#include <Range.h>

Public Types

using difference_type = int64_t
 
using value_type = TYPE
 
using pointer = const TYPE *
 
using reference = const TYPE &
 
using iterator_category = std::forward_iterator_tag
 

Public Member Functions

 Iterator (TYPE cur_number)
 
Iteratoroperator++ ()
 
Iterator operator++ (int)
 
bool operator== (Iterator iterator) const
 
bool operator!= (Iterator iterator) const
 
TYPE operator* () const
 

Private Attributes

TYPE curNumber = 0
 

Detailed Description

template<class TYPE>
class sese::Range< TYPE >::Iterator

Iterators.

Member Typedef Documentation

◆ difference_type

template<class TYPE >
using sese::Range< TYPE >::Iterator::difference_type = int64_t

◆ iterator_category

template<class TYPE >
using sese::Range< TYPE >::Iterator::iterator_category = std::forward_iterator_tag

◆ pointer

template<class TYPE >
using sese::Range< TYPE >::Iterator::pointer = const TYPE *

◆ reference

template<class TYPE >
using sese::Range< TYPE >::Iterator::reference = const TYPE &

◆ value_type

template<class TYPE >
using sese::Range< TYPE >::Iterator::value_type = TYPE

Constructor & Destructor Documentation

◆ Iterator()

template<class TYPE >
sese::Range< TYPE >::Iterator::Iterator ( TYPE cur_number)
inlineexplicit

Member Function Documentation

◆ operator!=()

template<class TYPE >
bool sese::Range< TYPE >::Iterator::operator!= ( Iterator iterator) const
inline

◆ operator*()

template<class TYPE >
TYPE sese::Range< TYPE >::Iterator::operator* ( ) const
inline

◆ operator++() [1/2]

template<class TYPE >
Iterator & sese::Range< TYPE >::Iterator::operator++ ( )
inline

◆ operator++() [2/2]

template<class TYPE >
Iterator sese::Range< TYPE >::Iterator::operator++ ( int )
inline

◆ operator==()

template<class TYPE >
bool sese::Range< TYPE >::Iterator::operator== ( Iterator iterator) const
inline

Member Data Documentation

◆ curNumber


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