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

Random-access iterator used as FixedDeque<T, MaxSize>::iterator or FixedDeque<T, MaxSize>::const_iterator. More...

#include <FixedDeque.h>

Public Types

typedef T value_type
 
typedef std::size_t size_type
 
typedef std::ptrdiff_t difference_type
 
typedef FixedDeque_iterator< T, T &, T *, FixedDeque< T, MaxSize > *, MaxSize > iterator
 
typedef FixedDeque_iterator< T, const T &, const T *, const FixedDeque< T, MaxSize > *, MaxSize > 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

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

Detailed Description

template<typename T, typename Ref, typename Ptr, typename DeqPtr, std::size_t MaxSize>
class Container::FixedDeque_iterator< T, Ref, Ptr, DeqPtr, MaxSize >

Random-access iterator used as FixedDeque<T, MaxSize>::iterator or FixedDeque<T, MaxSize>::const_iterator.

Member Typedef Documentation

◆ const_iterator

template<typename T , typename Ref , typename Ptr , typename DeqPtr , std::size_t MaxSize>
typedef FixedDeque_iterator<T, const T&, const T*, const FixedDeque<T, MaxSize>*, MaxSize> Container::FixedDeque_iterator< T, Ref, Ptr, DeqPtr, MaxSize >::const_iterator

◆ const_pointer

template<typename T , typename Ref , typename Ptr , typename DeqPtr , std::size_t MaxSize>
typedef const Ptr Container::FixedDeque_iterator< T, Ref, Ptr, DeqPtr, MaxSize >::const_pointer

◆ const_reference

template<typename T , typename Ref , typename Ptr , typename DeqPtr , std::size_t MaxSize>
typedef const Ref Container::FixedDeque_iterator< T, Ref, Ptr, DeqPtr, MaxSize >::const_reference

◆ difference_type

template<typename T , typename Ref , typename Ptr , typename DeqPtr , std::size_t MaxSize>
typedef std::ptrdiff_t Container::FixedDeque_iterator< T, Ref, Ptr, DeqPtr, MaxSize >::difference_type

◆ iterator

template<typename T , typename Ref , typename Ptr , typename DeqPtr , std::size_t MaxSize>
typedef FixedDeque_iterator<T, T&, T*, FixedDeque<T, MaxSize>*, MaxSize> Container::FixedDeque_iterator< T, Ref, Ptr, DeqPtr, MaxSize >::iterator

◆ iterator_category

template<typename T , typename Ref , typename Ptr , typename DeqPtr , std::size_t MaxSize>
typedef std::random_access_iterator_tag Container::FixedDeque_iterator< T, Ref, Ptr, DeqPtr, MaxSize >::iterator_category

◆ pointer

template<typename T , typename Ref , typename Ptr , typename DeqPtr , std::size_t MaxSize>
typedef Ptr Container::FixedDeque_iterator< T, Ref, Ptr, DeqPtr, MaxSize >::pointer

◆ reference

template<typename T , typename Ref , typename Ptr , typename DeqPtr , std::size_t MaxSize>
typedef Ref Container::FixedDeque_iterator< T, Ref, Ptr, DeqPtr, MaxSize >::reference

◆ size_type

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

◆ value_type

template<typename T , typename Ref , typename Ptr , typename DeqPtr , std::size_t MaxSize>
typedef T Container::FixedDeque_iterator< T, Ref, Ptr, DeqPtr, MaxSize >::value_type

Constructor & Destructor Documentation

◆ FixedDeque_iterator() [1/2]

template<typename T , typename Ref , typename Ptr , typename DeqPtr , std::size_t MaxSize>
Container::FixedDeque_iterator< T, Ref, Ptr, DeqPtr, MaxSize >::FixedDeque_iterator ( )
inline

◆ FixedDeque_iterator() [2/2]

template<typename T , typename Ref , typename Ptr , typename DeqPtr , std::size_t MaxSize>
Container::FixedDeque_iterator< T, Ref, Ptr, DeqPtr, MaxSize >::FixedDeque_iterator ( const iterator x)
inline

Member Function Documentation

◆ operator!=()

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

◆ operator*()

template<typename T , typename Ref , typename Ptr , typename DeqPtr , std::size_t MaxSize>
reference Container::FixedDeque_iterator< T, Ref, Ptr, DeqPtr, MaxSize >::operator* ( ) const
inline

◆ operator+()

template<typename T , typename Ref , typename Ptr , typename DeqPtr , std::size_t MaxSize>
FixedDeque_iterator Container::FixedDeque_iterator< T, Ref, Ptr, DeqPtr, MaxSize >::operator+ ( difference_type  n) const
inline

◆ operator++() [1/2]

template<typename T , typename Ref , typename Ptr , typename DeqPtr , std::size_t MaxSize>
FixedDeque_iterator & Container::FixedDeque_iterator< T, Ref, Ptr, DeqPtr, MaxSize >::operator++ ( )
inline

◆ operator++() [2/2]

template<typename T , typename Ref , typename Ptr , typename DeqPtr , std::size_t MaxSize>
FixedDeque_iterator Container::FixedDeque_iterator< T, Ref, Ptr, DeqPtr, MaxSize >::operator++ ( int  )
inline

◆ operator+=()

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

◆ operator-() [1/2]

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

◆ operator-() [2/2]

template<typename T , typename Ref , typename Ptr , typename DeqPtr , std::size_t MaxSize>
FixedDeque_iterator Container::FixedDeque_iterator< T, Ref, Ptr, DeqPtr, MaxSize >::operator- ( difference_type  n) const
inline

◆ operator--() [1/2]

template<typename T , typename Ref , typename Ptr , typename DeqPtr , std::size_t MaxSize>
FixedDeque_iterator & Container::FixedDeque_iterator< T, Ref, Ptr, DeqPtr, MaxSize >::operator-- ( )
inline

◆ operator--() [2/2]

template<typename T , typename Ref , typename Ptr , typename DeqPtr , std::size_t MaxSize>
FixedDeque_iterator Container::FixedDeque_iterator< T, Ref, Ptr, DeqPtr, MaxSize >::operator-- ( int  )
inline

◆ operator-=()

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

◆ operator->()

template<typename T , typename Ref , typename Ptr , typename DeqPtr , std::size_t MaxSize>
pointer Container::FixedDeque_iterator< T, Ref, Ptr, DeqPtr, MaxSize >::operator-> ( ) const
inline

◆ operator<()

template<typename T , typename Ref , typename Ptr , typename DeqPtr , std::size_t MaxSize>
bool Container::FixedDeque_iterator< T, Ref, Ptr, DeqPtr, MaxSize >::operator< ( const FixedDeque_iterator< T, Ref, Ptr, DeqPtr, MaxSize > &  x) const
inline

◆ operator<=()

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

◆ operator=()

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

◆ operator==()

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

◆ operator>()

template<typename T , typename Ref , typename Ptr , typename DeqPtr , std::size_t MaxSize>
bool Container::FixedDeque_iterator< T, Ref, Ptr, DeqPtr, MaxSize >::operator> ( const FixedDeque_iterator< T, Ref, Ptr, DeqPtr, MaxSize > &  x) const
inline

◆ operator>=()

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

◆ operator[]()

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

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