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

Reverse Iterator. 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

 ReverseIterator (TYPE cur_number)
 
ReverseIteratoroperator++ ()
 
ReverseIterator operator++ (int)
 
bool operator== (ReverseIterator iterator) const
 
bool operator!= (ReverseIterator iterator) const
 
TYPE operator* () const
 

Private Attributes

TYPE curNumber = 0
 

Detailed Description

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

Reverse Iterator.

Member Typedef Documentation

◆ difference_type

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

◆ iterator_category

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

◆ pointer

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

◆ reference

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

◆ value_type

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

Constructor & Destructor Documentation

◆ ReverseIterator()

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

Member Function Documentation

◆ operator!=()

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

◆ operator*()

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

◆ operator++() [1/2]

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

◆ operator++() [2/2]

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

◆ operator==()

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

Member Data Documentation

◆ curNumber


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