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

Random-access iterator used as PreallocatedDeque<T>::iterator or PreallocatedDeque<T>::const_iterator. More...

#include <PreallocatedDeque.h>

Public Types

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

Public Member Functions

 PreallocatedDeque_iterator ()
 
 PreallocatedDeque_iterator (const iterator &x)
 
PreallocatedDeque_iteratoroperator= (const iterator &x)
 
PreallocatedDeque_iteratoroperator+= (difference_type n)
 
PreallocatedDeque_iterator operator+ (difference_type n) const
 
PreallocatedDeque_iteratoroperator-= (difference_type n)
 
difference_type operator- (const PreallocatedDeque_iterator &x) const
 
PreallocatedDeque_iterator operator- (difference_type n) const
 
PreallocatedDeque_iteratoroperator++ ()
 
PreallocatedDeque_iteratoroperator-- ()
 
PreallocatedDeque_iterator operator++ (int)
 
PreallocatedDeque_iterator operator-- (int)
 
reference operator* () const
 
pointer operator-> () const
 
reference operator[] (difference_type n) const
 
bool operator== (const PreallocatedDeque_iterator &x) const
 
bool operator!= (const PreallocatedDeque_iterator &x) const
 
bool operator< (const PreallocatedDeque_iterator &x) const
 
bool operator> (const PreallocatedDeque_iterator &x) const
 
bool operator<= (const PreallocatedDeque_iterator &x) const
 
bool operator>= (const PreallocatedDeque_iterator &x) const
 

Detailed Description

template<typename T, typename Ref, typename Ptr, typename DeqPtr>
class Container::PreallocatedDeque_iterator< T, Ref, Ptr, DeqPtr >

Random-access iterator used as PreallocatedDeque<T>::iterator or PreallocatedDeque<T>::const_iterator.

Member Typedef Documentation

◆ const_iterator

template<typename T , typename Ref , typename Ptr , typename DeqPtr >
typedef PreallocatedDeque_iterator<T, const T&, const T*, const PreallocatedDeque<T>*> Container::PreallocatedDeque_iterator< T, Ref, Ptr, DeqPtr >::const_iterator

◆ const_pointer

template<typename T , typename Ref , typename Ptr , typename DeqPtr >
typedef const Ptr Container::PreallocatedDeque_iterator< T, Ref, Ptr, DeqPtr >::const_pointer

◆ const_reference

template<typename T , typename Ref , typename Ptr , typename DeqPtr >
typedef const Ref Container::PreallocatedDeque_iterator< T, Ref, Ptr, DeqPtr >::const_reference

◆ difference_type

template<typename T , typename Ref , typename Ptr , typename DeqPtr >
typedef std::ptrdiff_t Container::PreallocatedDeque_iterator< T, Ref, Ptr, DeqPtr >::difference_type

◆ iterator

template<typename T , typename Ref , typename Ptr , typename DeqPtr >
typedef PreallocatedDeque_iterator<T, T&, T*, PreallocatedDeque<T>*> Container::PreallocatedDeque_iterator< T, Ref, Ptr, DeqPtr >::iterator

◆ iterator_category

template<typename T , typename Ref , typename Ptr , typename DeqPtr >
typedef std::random_access_iterator_tag Container::PreallocatedDeque_iterator< T, Ref, Ptr, DeqPtr >::iterator_category

◆ pointer

template<typename T , typename Ref , typename Ptr , typename DeqPtr >
typedef Ptr Container::PreallocatedDeque_iterator< T, Ref, Ptr, DeqPtr >::pointer

◆ reference

template<typename T , typename Ref , typename Ptr , typename DeqPtr >
typedef Ref Container::PreallocatedDeque_iterator< T, Ref, Ptr, DeqPtr >::reference

◆ size_type

template<typename T , typename Ref , typename Ptr , typename DeqPtr >
typedef std::size_t Container::PreallocatedDeque_iterator< T, Ref, Ptr, DeqPtr >::size_type

◆ value_type

template<typename T , typename Ref , typename Ptr , typename DeqPtr >
typedef T Container::PreallocatedDeque_iterator< T, Ref, Ptr, DeqPtr >::value_type

Constructor & Destructor Documentation

◆ PreallocatedDeque_iterator() [1/2]

template<typename T , typename Ref , typename Ptr , typename DeqPtr >
Container::PreallocatedDeque_iterator< T, Ref, Ptr, DeqPtr >::PreallocatedDeque_iterator ( )
inline

◆ PreallocatedDeque_iterator() [2/2]

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

Member Function Documentation

◆ operator!=()

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

◆ operator*()

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

◆ operator+()

template<typename T , typename Ref , typename Ptr , typename DeqPtr >
PreallocatedDeque_iterator Container::PreallocatedDeque_iterator< T, Ref, Ptr, DeqPtr >::operator+ ( difference_type  n) const
inline

◆ operator++() [1/2]

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

◆ operator++() [2/2]

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

◆ operator+=()

template<typename T , typename Ref , typename Ptr , typename DeqPtr >
PreallocatedDeque_iterator & Container::PreallocatedDeque_iterator< T, Ref, Ptr, DeqPtr >::operator+= ( difference_type  n)
inline

◆ operator-() [1/2]

template<typename T , typename Ref , typename Ptr , typename DeqPtr >
difference_type Container::PreallocatedDeque_iterator< T, Ref, Ptr, DeqPtr >::operator- ( const PreallocatedDeque_iterator< T, Ref, Ptr, DeqPtr > &  x) const
inline

◆ operator-() [2/2]

template<typename T , typename Ref , typename Ptr , typename DeqPtr >
PreallocatedDeque_iterator Container::PreallocatedDeque_iterator< T, Ref, Ptr, DeqPtr >::operator- ( difference_type  n) const
inline

◆ operator--() [1/2]

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

◆ operator--() [2/2]

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

◆ operator-=()

template<typename T , typename Ref , typename Ptr , typename DeqPtr >
PreallocatedDeque_iterator & Container::PreallocatedDeque_iterator< T, Ref, Ptr, DeqPtr >::operator-= ( difference_type  n)
inline

◆ operator->()

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

◆ operator<()

template<typename T , typename Ref , typename Ptr , typename DeqPtr >
bool Container::PreallocatedDeque_iterator< T, Ref, Ptr, DeqPtr >::operator< ( const PreallocatedDeque_iterator< T, Ref, Ptr, DeqPtr > &  x) const
inline

◆ operator<=()

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

◆ operator=()

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

◆ operator==()

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

◆ operator>()

template<typename T , typename Ref , typename Ptr , typename DeqPtr >
bool Container::PreallocatedDeque_iterator< T, Ref, Ptr, DeqPtr >::operator> ( const PreallocatedDeque_iterator< T, Ref, Ptr, DeqPtr > &  x) const
inline

◆ operator>=()

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

◆ operator[]()

template<typename T , typename Ref , typename Ptr , typename DeqPtr >
reference Container::PreallocatedDeque_iterator< T, Ref, Ptr, DeqPtr >::operator[] ( difference_type  n) const
inline

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