neoGFX
Cross-platform C++ app/game engine
Loading...
Searching...
No Matches
neolib::specialized_generic_iterator< Iterator > Class Template Reference

#include <generic_iterator.hpp>

Inheritance diagram for neolib::specialized_generic_iterator< Iterator >:
neolib::generic_iterator

Public Types

typedef std::iterator_traits< Iterator >::value_type value_type
 
typedef std::iterator_traits< Iterator >::pointer pointer
 
typedef std::iterator_traits< Iterator >::reference reference
 
typedef std::iterator_traits< Iterator >::difference_type difference_type
 
- Public Types inherited from neolib::generic_iterator
typedef std::bidirectional_iterator_tag iterator_category
 
typedef std::ptrdiff_t difference_type
 

Public Member Functions

 specialized_generic_iterator (Iterator aIterator)
 
 specialized_generic_iterator (const specialized_generic_iterator &aOther)
 
 specialized_generic_iterator (const generic_iterator &aOther)
 
specialized_generic_iteratoroperator++ ()
 
specialized_generic_iteratoroperator-- ()
 
specialized_generic_iterator operator++ (int)
 
specialized_generic_iterator operator-- (int)
 
specialized_generic_iteratoroperator+= (difference_type aDelta)
 
specialized_generic_iteratoroperator-= (difference_type aDelta)
 
specialized_generic_iterator operator+ (difference_type aDelta)
 
specialized_generic_iterator operator- (difference_type aDelta)
 
reference operator* () const
 
pointer operator-> () const
 
bool operator== (const specialized_generic_iterator &aOther) const
 
bool operator!= (const specialized_generic_iterator &aOther) const
 
- Public Member Functions inherited from neolib::generic_iterator
 generic_iterator ()
 
 generic_iterator (const generic_iterator &aOther)
 
virtual ~generic_iterator ()
 
generic_iteratoroperator++ ()
 
generic_iteratoroperator-- ()
 
generic_iterator operator++ (int)
 
generic_iterator operator-- (int)
 
generic_iteratoroperator+= (difference_type aDelta)
 
generic_iteratoroperator-= (difference_type aDelta)
 
generic_iterator operator+ (difference_type aDelta)
 
generic_iterator operator- (difference_type aDelta)
 
bool operator== (const generic_iterator &aOther) const
 
bool operator!= (const generic_iterator &aOther) const
 
template<typename Iterator >
bool is_one_of () const
 
template<typename Iterator1 , typename Iterator2 , typename... Rest>
bool is_one_of () const
 
template<typename Iterator >
Iterator get () const
 
template<typename Iterator , typename NextIterator , typename... Rest>
Iterator get () const
 

Additional Inherited Members

- Protected Member Functions inherited from neolib::generic_iterator
template<typename Wrapper >
void construct (const Wrapper &aWrapper)
 
template<typename Wrapper >
void construct2 (const Wrapper &aWrapper, bool aInPlace)
 
i_wrapperwrapped_iterator ()
 
const i_wrapperwrapped_iterator () const
 

Detailed Description

template<typename Iterator>
class neolib::specialized_generic_iterator< Iterator >

Definition at line 277 of file generic_iterator.hpp.

Member Typedef Documentation

◆ difference_type

template<typename Iterator >
typedef std::iterator_traits<Iterator>::difference_type neolib::specialized_generic_iterator< Iterator >::difference_type

Definition at line 283 of file generic_iterator.hpp.

◆ pointer

template<typename Iterator >
typedef std::iterator_traits<Iterator>::pointer neolib::specialized_generic_iterator< Iterator >::pointer

Definition at line 281 of file generic_iterator.hpp.

◆ reference

template<typename Iterator >
typedef std::iterator_traits<Iterator>::reference neolib::specialized_generic_iterator< Iterator >::reference

Definition at line 282 of file generic_iterator.hpp.

◆ value_type

template<typename Iterator >
typedef std::iterator_traits<Iterator>::value_type neolib::specialized_generic_iterator< Iterator >::value_type

Definition at line 280 of file generic_iterator.hpp.

Constructor & Destructor Documentation

◆ specialized_generic_iterator() [1/3]

template<typename Iterator >
neolib::specialized_generic_iterator< Iterator >::specialized_generic_iterator ( Iterator  aIterator)
inline

Definition at line 285 of file generic_iterator.hpp.

◆ specialized_generic_iterator() [2/3]

template<typename Iterator >
neolib::specialized_generic_iterator< Iterator >::specialized_generic_iterator ( const specialized_generic_iterator< Iterator > &  aOther)
inline

Definition at line 289 of file generic_iterator.hpp.

◆ specialized_generic_iterator() [3/3]

template<typename Iterator >
neolib::specialized_generic_iterator< Iterator >::specialized_generic_iterator ( const generic_iterator aOther)
inline

Definition at line 293 of file generic_iterator.hpp.

Member Function Documentation

◆ operator!=()

Definition at line 350 of file generic_iterator.hpp.

◆ operator*()

template<typename Iterator >
reference neolib::specialized_generic_iterator< Iterator >::operator* ( ) const
inline

Definition at line 338 of file generic_iterator.hpp.

◆ operator+()

◆ operator++() [1/2]

Definition at line 298 of file generic_iterator.hpp.

◆ operator++() [2/2]

Definition at line 308 of file generic_iterator.hpp.

◆ operator+=()

Definition at line 320 of file generic_iterator.hpp.

◆ operator-()

◆ operator--() [1/2]

Definition at line 303 of file generic_iterator.hpp.

◆ operator--() [2/2]

Definition at line 314 of file generic_iterator.hpp.

◆ operator-=()

Definition at line 325 of file generic_iterator.hpp.

◆ operator->()

template<typename Iterator >
pointer neolib::specialized_generic_iterator< Iterator >::operator-> ( ) const
inline

Definition at line 342 of file generic_iterator.hpp.

◆ operator==()

Definition at line 346 of file generic_iterator.hpp.


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