neoGFX
Cross-platform C++ app/game engine
Loading...
Searching...
No Matches
neolib::indexitor< T, ForeignIndex, Alloc >::const_iterator Class Reference

#include <indexitor.hpp>

Public Types

typedef std::random_access_iterator_tag iterator_category
 
typedef indexitor::value_type value_type
 
typedef indexitor::difference_type difference_type
 
typedef indexitor::const_pointer pointer
 
typedef indexitor::const_reference reference
 

Public Member Functions

 const_iterator ()
 
 const_iterator (const const_iterator &aOther)
 
 const_iterator (const typename indexitor::iterator &aOther)
 
const_iteratoroperator= (const const_iterator &aOther)
 
const_iteratoroperator= (const typename indexitor::iterator &aOther)
 
const_iteratoroperator++ ()
 
const_iteratoroperator-- ()
 
const_iterator operator++ (int)
 
const_iterator operator-- (int)
 
const_iteratoroperator+= (difference_type aDifference)
 
const_iteratoroperator-= (difference_type aDifference)
 
const_iterator operator+ (difference_type aDifference) const
 
const_iterator operator- (difference_type aDifference) const
 
const_reference operator[] (difference_type aDifference) const
 
const_reference operator* () const
 
const_pointer operator-> () const
 
bool operator== (const const_iterator &aOther) const
 
bool operator!= (const const_iterator &aOther) const
 
bool operator< (const const_iterator &aOther) const
 
bool operator<= (const const_iterator &aOther) const
 
bool operator> (const const_iterator &aOther) const
 
bool operator>= (const const_iterator &aOther) const
 

Friends

class indexitor
 
difference_type operator- (const const_iterator &aLhs, const const_iterator &aRhs)
 

Detailed Description

template<typename T, typename ForeignIndex, typename Alloc = std::allocator<std::pair<T, const ForeignIndex>>>
class neolib::indexitor< T, ForeignIndex, Alloc >::const_iterator

Definition at line 191 of file indexitor.hpp.

Member Typedef Documentation

◆ difference_type

template<typename T , typename ForeignIndex , typename Alloc = std::allocator<std::pair<T, const ForeignIndex>>>
typedef indexitor::difference_type neolib::indexitor< T, ForeignIndex, Alloc >::const_iterator::difference_type

Definition at line 198 of file indexitor.hpp.

◆ iterator_category

template<typename T , typename ForeignIndex , typename Alloc = std::allocator<std::pair<T, const ForeignIndex>>>
typedef std::random_access_iterator_tag neolib::indexitor< T, ForeignIndex, Alloc >::const_iterator::iterator_category

Definition at line 196 of file indexitor.hpp.

◆ pointer

template<typename T , typename ForeignIndex , typename Alloc = std::allocator<std::pair<T, const ForeignIndex>>>
typedef indexitor::const_pointer neolib::indexitor< T, ForeignIndex, Alloc >::const_iterator::pointer

Definition at line 199 of file indexitor.hpp.

◆ reference

template<typename T , typename ForeignIndex , typename Alloc = std::allocator<std::pair<T, const ForeignIndex>>>
typedef indexitor::const_reference neolib::indexitor< T, ForeignIndex, Alloc >::const_iterator::reference

Definition at line 200 of file indexitor.hpp.

◆ value_type

template<typename T , typename ForeignIndex , typename Alloc = std::allocator<std::pair<T, const ForeignIndex>>>
typedef indexitor::value_type neolib::indexitor< T, ForeignIndex, Alloc >::const_iterator::value_type

Definition at line 197 of file indexitor.hpp.

Constructor & Destructor Documentation

◆ const_iterator() [1/3]

template<typename T , typename ForeignIndex , typename Alloc = std::allocator<std::pair<T, const ForeignIndex>>>
neolib::indexitor< T, ForeignIndex, Alloc >::const_iterator::const_iterator ( )
inline

Definition at line 203 of file indexitor.hpp.

◆ const_iterator() [2/3]

template<typename T , typename ForeignIndex , typename Alloc = std::allocator<std::pair<T, const ForeignIndex>>>
neolib::indexitor< T, ForeignIndex, Alloc >::const_iterator::const_iterator ( const const_iterator aOther)
inline

Definition at line 207 of file indexitor.hpp.

◆ const_iterator() [3/3]

template<typename T , typename ForeignIndex , typename Alloc = std::allocator<std::pair<T, const ForeignIndex>>>
neolib::indexitor< T, ForeignIndex, Alloc >::const_iterator::const_iterator ( const typename indexitor::iterator aOther)
inline

Definition at line 211 of file indexitor.hpp.

Member Function Documentation

◆ operator!=()

template<typename T , typename ForeignIndex , typename Alloc = std::allocator<std::pair<T, const ForeignIndex>>>
bool neolib::indexitor< T, ForeignIndex, Alloc >::const_iterator::operator!= ( const const_iterator aOther) const
inline

Definition at line 282 of file indexitor.hpp.

◆ operator*()

template<typename T , typename ForeignIndex , typename Alloc = std::allocator<std::pair<T, const ForeignIndex>>>
const_reference neolib::indexitor< T, ForeignIndex, Alloc >::const_iterator::operator* ( ) const
inline

Definition at line 279 of file indexitor.hpp.

◆ operator+()

template<typename T , typename ForeignIndex , typename Alloc = std::allocator<std::pair<T, const ForeignIndex>>>
const_iterator neolib::indexitor< T, ForeignIndex, Alloc >::const_iterator::operator+ ( difference_type  aDifference) const
inline

Definition at line 275 of file indexitor.hpp.

◆ operator++() [1/2]

template<typename T , typename ForeignIndex , typename Alloc = std::allocator<std::pair<T, const ForeignIndex>>>
const_iterator & neolib::indexitor< T, ForeignIndex, Alloc >::const_iterator::operator++ ( )
inline

Definition at line 247 of file indexitor.hpp.

◆ operator++() [2/2]

template<typename T , typename ForeignIndex , typename Alloc = std::allocator<std::pair<T, const ForeignIndex>>>
const_iterator neolib::indexitor< T, ForeignIndex, Alloc >::const_iterator::operator++ ( int  )
inline

Definition at line 259 of file indexitor.hpp.

◆ operator+=()

template<typename T , typename ForeignIndex , typename Alloc = std::allocator<std::pair<T, const ForeignIndex>>>
const_iterator & neolib::indexitor< T, ForeignIndex, Alloc >::const_iterator::operator+= ( difference_type  aDifference)
inline

Definition at line 261 of file indexitor.hpp.

◆ operator-()

template<typename T , typename ForeignIndex , typename Alloc = std::allocator<std::pair<T, const ForeignIndex>>>
const_iterator neolib::indexitor< T, ForeignIndex, Alloc >::const_iterator::operator- ( difference_type  aDifference) const
inline

Definition at line 276 of file indexitor.hpp.

◆ operator--() [1/2]

template<typename T , typename ForeignIndex , typename Alloc = std::allocator<std::pair<T, const ForeignIndex>>>
const_iterator & neolib::indexitor< T, ForeignIndex, Alloc >::const_iterator::operator-- ( )
inline

Definition at line 253 of file indexitor.hpp.

◆ operator--() [2/2]

template<typename T , typename ForeignIndex , typename Alloc = std::allocator<std::pair<T, const ForeignIndex>>>
const_iterator neolib::indexitor< T, ForeignIndex, Alloc >::const_iterator::operator-- ( int  )
inline

Definition at line 260 of file indexitor.hpp.

◆ operator-=()

template<typename T , typename ForeignIndex , typename Alloc = std::allocator<std::pair<T, const ForeignIndex>>>
const_iterator & neolib::indexitor< T, ForeignIndex, Alloc >::const_iterator::operator-= ( difference_type  aDifference)
inline

Definition at line 268 of file indexitor.hpp.

◆ operator->()

template<typename T , typename ForeignIndex , typename Alloc = std::allocator<std::pair<T, const ForeignIndex>>>
const_pointer neolib::indexitor< T, ForeignIndex, Alloc >::const_iterator::operator-> ( ) const
inline

Definition at line 280 of file indexitor.hpp.

◆ operator<()

template<typename T , typename ForeignIndex , typename Alloc = std::allocator<std::pair<T, const ForeignIndex>>>
bool neolib::indexitor< T, ForeignIndex, Alloc >::const_iterator::operator< ( const const_iterator aOther) const
inline

Definition at line 283 of file indexitor.hpp.

◆ operator<=()

template<typename T , typename ForeignIndex , typename Alloc = std::allocator<std::pair<T, const ForeignIndex>>>
bool neolib::indexitor< T, ForeignIndex, Alloc >::const_iterator::operator<= ( const const_iterator aOther) const
inline

Definition at line 284 of file indexitor.hpp.

◆ operator=() [1/2]

template<typename T , typename ForeignIndex , typename Alloc = std::allocator<std::pair<T, const ForeignIndex>>>
const_iterator & neolib::indexitor< T, ForeignIndex, Alloc >::const_iterator::operator= ( const const_iterator aOther)
inline

Definition at line 215 of file indexitor.hpp.

◆ operator=() [2/2]

template<typename T , typename ForeignIndex , typename Alloc = std::allocator<std::pair<T, const ForeignIndex>>>
const_iterator & neolib::indexitor< T, ForeignIndex, Alloc >::const_iterator::operator= ( const typename indexitor::iterator aOther)
inline

Definition at line 222 of file indexitor.hpp.

◆ operator==()

template<typename T , typename ForeignIndex , typename Alloc = std::allocator<std::pair<T, const ForeignIndex>>>
bool neolib::indexitor< T, ForeignIndex, Alloc >::const_iterator::operator== ( const const_iterator aOther) const
inline

Definition at line 281 of file indexitor.hpp.

◆ operator>()

template<typename T , typename ForeignIndex , typename Alloc = std::allocator<std::pair<T, const ForeignIndex>>>
bool neolib::indexitor< T, ForeignIndex, Alloc >::const_iterator::operator> ( const const_iterator aOther) const
inline

Definition at line 285 of file indexitor.hpp.

◆ operator>=()

template<typename T , typename ForeignIndex , typename Alloc = std::allocator<std::pair<T, const ForeignIndex>>>
bool neolib::indexitor< T, ForeignIndex, Alloc >::const_iterator::operator>= ( const const_iterator aOther) const
inline

Definition at line 286 of file indexitor.hpp.

◆ operator[]()

template<typename T , typename ForeignIndex , typename Alloc = std::allocator<std::pair<T, const ForeignIndex>>>
const_reference neolib::indexitor< T, ForeignIndex, Alloc >::const_iterator::operator[] ( difference_type  aDifference) const
inline

Definition at line 277 of file indexitor.hpp.

Friends And Related Symbol Documentation

◆ indexitor

template<typename T , typename ForeignIndex , typename Alloc = std::allocator<std::pair<T, const ForeignIndex>>>
friend class indexitor
friend

Definition at line 193 of file indexitor.hpp.

◆ operator-

template<typename T , typename ForeignIndex , typename Alloc = std::allocator<std::pair<T, const ForeignIndex>>>
difference_type operator- ( const const_iterator aLhs,
const const_iterator aRhs 
)
friend

Definition at line 278 of file indexitor.hpp.


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