CppELib 1.7.0
Loading...
Searching...
No Matches
Container::IntrusiveList_iterator< T, Ref, Ptr, IntrusiveListNodePtr > Class Template Reference

Bidirectional iterator used as IntrusiveList<T>::iterator or IntrusiveList<T>::const_iterator. More...

#include <IntrusiveList.h>

Public Types

typedef T value_type
 
typedef std::size_t size_type
 
typedef std::ptrdiff_t difference_type
 
typedef IntrusiveList_iterator< T, T &, T *, IntrusiveListNode * > iterator
 
typedef IntrusiveList_iterator< T, const T &, const T *, const IntrusiveListNode * > const_iterator
 
typedef Ref reference
 
typedef const Ref const_reference
 
typedef Ptr pointer
 
typedef const Ptr const_pointer
 
typedef std::bidirectional_iterator_tag iterator_category
 

Public Member Functions

 IntrusiveList_iterator ()
 
 IntrusiveList_iterator (const iterator &x)
 
IntrusiveList_iteratoroperator= (const iterator &x)
 
IntrusiveList_iteratoroperator++ ()
 
IntrusiveList_iteratoroperator-- ()
 
IntrusiveList_iterator operator++ (int)
 
IntrusiveList_iterator operator-- (int)
 
reference operator* () const
 
pointer operator-> () const
 
bool operator== (const IntrusiveList_iterator &x) const
 
bool operator!= (const IntrusiveList_iterator &x) const
 

Detailed Description

template<typename T, typename Ref, typename Ptr, typename IntrusiveListNodePtr>
class Container::IntrusiveList_iterator< T, Ref, Ptr, IntrusiveListNodePtr >

Bidirectional iterator used as IntrusiveList<T>::iterator or IntrusiveList<T>::const_iterator.

Member Typedef Documentation

◆ const_iterator

template<typename T , typename Ref , typename Ptr , typename IntrusiveListNodePtr >
typedef IntrusiveList_iterator<T, const T&, const T*, const IntrusiveListNode*> Container::IntrusiveList_iterator< T, Ref, Ptr, IntrusiveListNodePtr >::const_iterator

◆ const_pointer

template<typename T , typename Ref , typename Ptr , typename IntrusiveListNodePtr >
typedef const Ptr Container::IntrusiveList_iterator< T, Ref, Ptr, IntrusiveListNodePtr >::const_pointer

◆ const_reference

template<typename T , typename Ref , typename Ptr , typename IntrusiveListNodePtr >
typedef const Ref Container::IntrusiveList_iterator< T, Ref, Ptr, IntrusiveListNodePtr >::const_reference

◆ difference_type

template<typename T , typename Ref , typename Ptr , typename IntrusiveListNodePtr >
typedef std::ptrdiff_t Container::IntrusiveList_iterator< T, Ref, Ptr, IntrusiveListNodePtr >::difference_type

◆ iterator

template<typename T , typename Ref , typename Ptr , typename IntrusiveListNodePtr >
typedef IntrusiveList_iterator<T, T&, T*, IntrusiveListNode*> Container::IntrusiveList_iterator< T, Ref, Ptr, IntrusiveListNodePtr >::iterator

◆ iterator_category

template<typename T , typename Ref , typename Ptr , typename IntrusiveListNodePtr >
typedef std::bidirectional_iterator_tag Container::IntrusiveList_iterator< T, Ref, Ptr, IntrusiveListNodePtr >::iterator_category

◆ pointer

template<typename T , typename Ref , typename Ptr , typename IntrusiveListNodePtr >
typedef Ptr Container::IntrusiveList_iterator< T, Ref, Ptr, IntrusiveListNodePtr >::pointer

◆ reference

template<typename T , typename Ref , typename Ptr , typename IntrusiveListNodePtr >
typedef Ref Container::IntrusiveList_iterator< T, Ref, Ptr, IntrusiveListNodePtr >::reference

◆ size_type

template<typename T , typename Ref , typename Ptr , typename IntrusiveListNodePtr >
typedef std::size_t Container::IntrusiveList_iterator< T, Ref, Ptr, IntrusiveListNodePtr >::size_type

◆ value_type

template<typename T , typename Ref , typename Ptr , typename IntrusiveListNodePtr >
typedef T Container::IntrusiveList_iterator< T, Ref, Ptr, IntrusiveListNodePtr >::value_type

Constructor & Destructor Documentation

◆ IntrusiveList_iterator() [1/2]

template<typename T , typename Ref , typename Ptr , typename IntrusiveListNodePtr >
Container::IntrusiveList_iterator< T, Ref, Ptr, IntrusiveListNodePtr >::IntrusiveList_iterator ( )
inline

◆ IntrusiveList_iterator() [2/2]

template<typename T , typename Ref , typename Ptr , typename IntrusiveListNodePtr >
Container::IntrusiveList_iterator< T, Ref, Ptr, IntrusiveListNodePtr >::IntrusiveList_iterator ( const iterator x)
inline

Member Function Documentation

◆ operator!=()

template<typename T , typename Ref , typename Ptr , typename IntrusiveListNodePtr >
bool Container::IntrusiveList_iterator< T, Ref, Ptr, IntrusiveListNodePtr >::operator!= ( const IntrusiveList_iterator< T, Ref, Ptr, IntrusiveListNodePtr > &  x) const
inline

◆ operator*()

template<typename T , typename Ref , typename Ptr , typename IntrusiveListNodePtr >
reference Container::IntrusiveList_iterator< T, Ref, Ptr, IntrusiveListNodePtr >::operator* ( ) const
inline

◆ operator++() [1/2]

template<typename T , typename Ref , typename Ptr , typename IntrusiveListNodePtr >
IntrusiveList_iterator & Container::IntrusiveList_iterator< T, Ref, Ptr, IntrusiveListNodePtr >::operator++ ( )
inline

◆ operator++() [2/2]

template<typename T , typename Ref , typename Ptr , typename IntrusiveListNodePtr >
IntrusiveList_iterator Container::IntrusiveList_iterator< T, Ref, Ptr, IntrusiveListNodePtr >::operator++ ( int  )
inline

◆ operator--() [1/2]

template<typename T , typename Ref , typename Ptr , typename IntrusiveListNodePtr >
IntrusiveList_iterator & Container::IntrusiveList_iterator< T, Ref, Ptr, IntrusiveListNodePtr >::operator-- ( )
inline

◆ operator--() [2/2]

template<typename T , typename Ref , typename Ptr , typename IntrusiveListNodePtr >
IntrusiveList_iterator Container::IntrusiveList_iterator< T, Ref, Ptr, IntrusiveListNodePtr >::operator-- ( int  )
inline

◆ operator->()

template<typename T , typename Ref , typename Ptr , typename IntrusiveListNodePtr >
pointer Container::IntrusiveList_iterator< T, Ref, Ptr, IntrusiveListNodePtr >::operator-> ( ) const
inline

◆ operator=()

template<typename T , typename Ref , typename Ptr , typename IntrusiveListNodePtr >
IntrusiveList_iterator & Container::IntrusiveList_iterator< T, Ref, Ptr, IntrusiveListNodePtr >::operator= ( const iterator x)
inline

◆ operator==()

template<typename T , typename Ref , typename Ptr , typename IntrusiveListNodePtr >
bool Container::IntrusiveList_iterator< T, Ref, Ptr, IntrusiveListNodePtr >::operator== ( const IntrusiveList_iterator< T, Ref, Ptr, IntrusiveListNodePtr > &  x) const
inline

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