neoGFX
Cross-platform C++ app/game engine
Loading...
Searching...
No Matches
neolib::container::const_iterator< T, ContainerIterator, AbstractIterator > Class Template Reference

#include <container_iterator.hpp>

Inheritance diagram for neolib::container::const_iterator< T, ContainerIterator, AbstractIterator >:

Public Types

typedef AbstractIterator abstract_type
 
typedef const T value_type
 
typedef const abstract_t< Tabstract_value_type
 
typedef ContainerIterator container_iterator
 

Public Member Functions

 const_iterator ()
 
 const_iterator (container_iterator aContainerIterator)
 
 const_iterator (const self_type &aOther)
 
template<typename ContainerIterator2 , typename AbstractIterator2 >
 const_iterator (const const_iterator< T, ContainerIterator2, AbstractIterator2 > &aOther)
 
template<typename ContainerIterator2 , typename ContainerConstIterator , typename AbstractIterator2 >
 const_iterator (const iterator< T, ContainerIterator2, ContainerConstIterator, AbstractIterator2 > &aOther)
 
const_iteratoroperator= (const self_type &aOther)
 
template<typename ContainerIterator2 , typename ContainerConstIterator , typename AbstractIterator2 >
const_iteratoroperator= (const iterator< T, ContainerIterator2, ContainerConstIterator, AbstractIterator2 > &aOther)
 
 operator container_iterator () const
 
abstract_iterator & operator++ () override
 
abstract_iterator & operator-- () override
 
reference operator* () const override
 
pointer operator-> () const override
 
bool operator== (const abstract_base_iterator &aOther) const override
 
bool operator!= (const abstract_base_iterator &aOther) const override
 
abstract_iterator * clone (void *memory) const override
 

Protected Attributes

container_iterator iContainerIterator
 

Detailed Description

template<typename T, typename ContainerIterator, typename AbstractIterator = i_const_iterator<abstract_t<T>>>
class neolib::container::const_iterator< T, ContainerIterator, AbstractIterator >

Definition at line 52 of file container_iterator.hpp.

Member Typedef Documentation

◆ abstract_type

◆ abstract_value_type

Definition at line 60 of file container_iterator.hpp.

◆ container_iterator

Definition at line 61 of file container_iterator.hpp.

◆ value_type

Definition at line 59 of file container_iterator.hpp.

Constructor & Destructor Documentation

◆ const_iterator() [1/5]

template<typename T , typename ContainerIterator , typename AbstractIterator = i_const_iterator<abstract_t<T>>>
neolib::container::const_iterator< T, ContainerIterator, AbstractIterator >::const_iterator ( )
inline

Definition at line 70 of file container_iterator.hpp.

◆ const_iterator() [2/5]

template<typename T , typename ContainerIterator , typename AbstractIterator = i_const_iterator<abstract_t<T>>>
neolib::container::const_iterator< T, ContainerIterator, AbstractIterator >::const_iterator ( container_iterator  aContainerIterator)
inline

Definition at line 71 of file container_iterator.hpp.

◆ const_iterator() [3/5]

template<typename T , typename ContainerIterator , typename AbstractIterator = i_const_iterator<abstract_t<T>>>
neolib::container::const_iterator< T, ContainerIterator, AbstractIterator >::const_iterator ( const self_type &  aOther)
inline

Definition at line 72 of file container_iterator.hpp.

◆ const_iterator() [4/5]

◆ const_iterator() [5/5]

Member Function Documentation

◆ clone()

template<typename T , typename ContainerIterator , typename AbstractIterator = i_const_iterator<abstract_t<T>>>
abstract_iterator * neolib::container::const_iterator< T, ContainerIterator, AbstractIterator >::clone ( void memory) const
inlineoverride

Definition at line 91 of file container_iterator.hpp.

◆ operator container_iterator()

Definition at line 82 of file container_iterator.hpp.

◆ operator!=()

template<typename T , typename ContainerIterator , typename AbstractIterator = i_const_iterator<abstract_t<T>>>
bool neolib::container::const_iterator< T, ContainerIterator, AbstractIterator >::operator!= ( const abstract_base_iterator &  aOther) const
inlineoverride

Definition at line 89 of file container_iterator.hpp.

◆ operator*()

template<typename T , typename ContainerIterator , typename AbstractIterator = i_const_iterator<abstract_t<T>>>
reference neolib::container::const_iterator< T, ContainerIterator, AbstractIterator >::operator* ( ) const
inlineoverride

Definition at line 86 of file container_iterator.hpp.

◆ operator++()

template<typename T , typename ContainerIterator , typename AbstractIterator = i_const_iterator<abstract_t<T>>>
abstract_iterator & neolib::container::const_iterator< T, ContainerIterator, AbstractIterator >::operator++ ( )
inlineoverride

Definition at line 84 of file container_iterator.hpp.

◆ operator--()

template<typename T , typename ContainerIterator , typename AbstractIterator = i_const_iterator<abstract_t<T>>>
abstract_iterator & neolib::container::const_iterator< T, ContainerIterator, AbstractIterator >::operator-- ( )
inlineoverride

Definition at line 85 of file container_iterator.hpp.

◆ operator->()

template<typename T , typename ContainerIterator , typename AbstractIterator = i_const_iterator<abstract_t<T>>>
pointer neolib::container::const_iterator< T, ContainerIterator, AbstractIterator >::operator-> ( ) const
inlineoverride

Definition at line 87 of file container_iterator.hpp.

◆ operator=() [1/2]

◆ operator=() [2/2]

template<typename T , typename ContainerIterator , typename AbstractIterator = i_const_iterator<abstract_t<T>>>
const_iterator & neolib::container::const_iterator< T, ContainerIterator, AbstractIterator >::operator= ( const self_type &  aOther)
inline

Definition at line 78 of file container_iterator.hpp.

◆ operator==()

template<typename T , typename ContainerIterator , typename AbstractIterator = i_const_iterator<abstract_t<T>>>
bool neolib::container::const_iterator< T, ContainerIterator, AbstractIterator >::operator== ( const abstract_base_iterator &  aOther) const
inlineoverride

Definition at line 88 of file container_iterator.hpp.

Member Data Documentation

◆ iContainerIterator

Definition at line 96 of file container_iterator.hpp.


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