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

#include <generic_iterator.hpp>

Inheritance diagram for neolib::generic_iterator::wrapper< Iterator >:
neolib::generic_iterator::i_wrapper

Public Types

typedef std::iterator_traits< Iterator >::pointer pointer
 
typedef std::iterator_traits< Iterator >::reference reference
 

Public Member Functions

 wrapper (Iterator aIterator)
 
i_wrapperclone () const override
 
i_wrapperclone (void *aStorage) const override
 
Iterator get () const
 
reference operator* () const
 
pointer operator-> () const
 
wrapperoperator++ () override
 
wrapperoperator-- () override
 
wrapperoperator+= (difference_type aDelta) override
 
wrapperoperator-= (difference_type aDelta) override
 
bool operator== (const i_wrapper &aOther) const override
 
bool operator!= (const i_wrapper &aOther) const override
 
- Public Member Functions inherited from neolib::generic_iterator::i_wrapper
virtual ~i_wrapper ()=default
 

Detailed Description

template<typename Iterator>
class neolib::generic_iterator::wrapper< Iterator >

Definition at line 68 of file generic_iterator.hpp.

Member Typedef Documentation

◆ pointer

template<typename Iterator >
typedef std::iterator_traits<Iterator>::pointer neolib::generic_iterator::wrapper< Iterator >::pointer

Definition at line 71 of file generic_iterator.hpp.

◆ reference

template<typename Iterator >
typedef std::iterator_traits<Iterator>::reference neolib::generic_iterator::wrapper< Iterator >::reference

Definition at line 72 of file generic_iterator.hpp.

Constructor & Destructor Documentation

◆ wrapper()

template<typename Iterator >
neolib::generic_iterator::wrapper< Iterator >::wrapper ( Iterator  aIterator)
inline

Definition at line 74 of file generic_iterator.hpp.

Member Function Documentation

◆ clone() [1/2]

template<typename Iterator >
i_wrapper * neolib::generic_iterator::wrapper< Iterator >::clone ( ) const
inlineoverridevirtual

Implements neolib::generic_iterator::i_wrapper.

Definition at line 78 of file generic_iterator.hpp.

◆ clone() [2/2]

template<typename Iterator >
i_wrapper * neolib::generic_iterator::wrapper< Iterator >::clone ( void aStorage) const
inlineoverridevirtual

Implements neolib::generic_iterator::i_wrapper.

Definition at line 82 of file generic_iterator.hpp.

◆ get()

Definition at line 87 of file generic_iterator.hpp.

◆ operator!=()

template<typename Iterator >
bool neolib::generic_iterator::wrapper< Iterator >::operator!= ( const i_wrapper< Iterator > &  aOther) const
inlineoverridevirtual

Implements neolib::generic_iterator::i_wrapper.

Definition at line 125 of file generic_iterator.hpp.

◆ operator*()

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

Definition at line 92 of file generic_iterator.hpp.

◆ operator++()

template<typename Iterator >
wrapper & neolib::generic_iterator::wrapper< Iterator >::operator++ ( )
inlineoverridevirtual

Implements neolib::generic_iterator::i_wrapper.

Definition at line 101 of file generic_iterator.hpp.

◆ operator+=()

template<typename Iterator >
wrapper & neolib::generic_iterator::wrapper< Iterator >::operator+= ( difference_type  aDelta)
inlineoverridevirtual

Implements neolib::generic_iterator::i_wrapper.

Definition at line 111 of file generic_iterator.hpp.

◆ operator--()

template<typename Iterator >
wrapper & neolib::generic_iterator::wrapper< Iterator >::operator-- ( )
inlineoverridevirtual

Implements neolib::generic_iterator::i_wrapper.

Definition at line 106 of file generic_iterator.hpp.

◆ operator-=()

template<typename Iterator >
wrapper & neolib::generic_iterator::wrapper< Iterator >::operator-= ( difference_type  aDelta)
inlineoverridevirtual

Implements neolib::generic_iterator::i_wrapper.

Definition at line 116 of file generic_iterator.hpp.

◆ operator->()

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

Definition at line 96 of file generic_iterator.hpp.

◆ operator==()

template<typename Iterator >
bool neolib::generic_iterator::wrapper< Iterator >::operator== ( const i_wrapper< Iterator > &  aOther) const
inlineoverridevirtual

Implements neolib::generic_iterator::i_wrapper.

Definition at line 121 of file generic_iterator.hpp.


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