neoGFX
Cross-platform C++ app/game engine
Loading...
Searching...
No Matches
neolib::indexitor< T, ForeignIndex, Alloc >::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::pointer pointer
 
typedef indexitor::reference reference
 

Public Member Functions

 iterator ()
 
 iterator (const iterator &aOther)
 
iteratoroperator= (const iterator &aOther)
 
iteratoroperator++ ()
 
iteratoroperator-- ()
 
iterator operator++ (int)
 
iterator operator-- (int)
 
iteratoroperator+= (difference_type aDifference)
 
iteratoroperator-= (difference_type aDifference)
 
iterator operator+ (difference_type aDifference) const
 
iterator operator- (difference_type aDifference) const
 
reference operator[] (difference_type aDifference) const
 
difference_type operator- (const iterator &aOther) const
 
reference operator* () const
 
pointer operator-> () const
 
bool operator== (const iterator &aOther) const
 
bool operator!= (const iterator &aOther) const
 
bool operator< (const iterator &aOther) const
 
bool operator<= (const iterator &aOther) const
 
bool operator> (const iterator &aOther) const
 
bool operator>= (const iterator &aOther) const
 

Friends

class indexitor
 
class indexitor::const_iterator
 

Detailed Description

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

Definition at line 96 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 >::iterator::difference_type

Definition at line 104 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 >::iterator::iterator_category

Definition at line 102 of file indexitor.hpp.

◆ pointer

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

Definition at line 105 of file indexitor.hpp.

◆ reference

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

Definition at line 106 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 >::iterator::value_type

Definition at line 103 of file indexitor.hpp.

Constructor & Destructor Documentation

◆ iterator() [1/2]

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

Definition at line 109 of file indexitor.hpp.

◆ iterator() [2/2]

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

Definition at line 113 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 >::iterator::operator!= ( const iterator aOther) const
inline

Definition at line 177 of file indexitor.hpp.

◆ operator*()

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

Definition at line 174 of file indexitor.hpp.

◆ operator+()

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

Definition at line 170 of file indexitor.hpp.

◆ operator++() [1/2]

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

Definition at line 142 of file indexitor.hpp.

◆ operator++() [2/2]

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

Definition at line 154 of file indexitor.hpp.

◆ operator+=()

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

Definition at line 156 of file indexitor.hpp.

◆ operator-() [1/2]

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

Definition at line 173 of file indexitor.hpp.

◆ operator-() [2/2]

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

Definition at line 171 of file indexitor.hpp.

◆ operator--() [1/2]

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

Definition at line 148 of file indexitor.hpp.

◆ operator--() [2/2]

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

Definition at line 155 of file indexitor.hpp.

◆ operator-=()

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

Definition at line 163 of file indexitor.hpp.

◆ operator->()

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

Definition at line 175 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 >::iterator::operator< ( const iterator aOther) const
inline

Definition at line 178 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 >::iterator::operator<= ( const iterator aOther) const
inline

Definition at line 179 of file indexitor.hpp.

◆ operator=()

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

Definition at line 117 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 >::iterator::operator== ( const iterator aOther) const
inline

Definition at line 176 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 >::iterator::operator> ( const iterator aOther) const
inline

Definition at line 180 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 >::iterator::operator>= ( const iterator aOther) const
inline

Definition at line 181 of file indexitor.hpp.

◆ operator[]()

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

Definition at line 172 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 98 of file indexitor.hpp.

◆ indexitor::const_iterator

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

Definition at line 99 of file indexitor.hpp.


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