STXXL  1.4.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
stxxl::deque_iterator< DequeType > Class Template Reference

Detailed Description

template<class DequeType>
class stxxl::deque_iterator< DequeType >

Examples:
examples/containers/deque1.cpp, and examples/containers/deque2.cpp.

Definition at line 31 of file deque.h.

Public Types

typedef const_deque_iterator
< deque_type
const_iterator
 
typedef deque_type::const_pointer const_pointer
 
typedef deque_type::const_reference const_reference
 
typedef DequeType deque_type
 
typedef deque_type::difference_type difference_type
 
typedef deque_iterator
< deque_type
iterator
 
typedef
std::random_access_iterator_tag 
iterator_category
 
typedef deque_type::pointer pointer
 
typedef deque_type::reference reference
 
typedef deque_type::size_type size_type
 
typedef deque_type::value_type value_type
 
typedef deque_type::vector_type vector_type
 

Public Member Functions

 deque_iterator ()
 
bool operator!= (const self_type &a) const
 
bool operator!= (const const_iterator &a) const
 
reference operator* ()
 
const_reference operator* () const
 
self_type operator+ (size_type op) const
 
self_typeoperator++ ()
 
self_type operator++ (int)
 
self_typeoperator+= (size_type op)
 
difference_type operator- (const self_type &a) const
 
difference_type operator- (const const_iterator &a) const
 
self_type operator- (size_type op) const
 
self_typeoperator-- ()
 
self_type operator-- (int)
 
self_typeoperator-= (size_type op)
 
pointer operator-> ()
 
const_pointer operator-> () const
 
bool operator< (const self_type &a) const
 
bool operator< (const const_iterator &a) const
 
bool operator<= (const self_type &a) const
 
bool operator<= (const const_iterator &a) const
 
bool operator== (const self_type &a) const
 
bool operator== (const const_iterator &a) const
 
bool operator> (const self_type &a) const
 
bool operator> (const const_iterator &a) const
 
bool operator>= (const self_type &a) const
 
bool operator>= (const const_iterator &a) const
 
reference operator[] (size_type op)
 
const_reference operator[] (size_type op) const
 

Protected Types

typedef deque_iterator
< deque_type
self_type
 

Protected Member Functions

 deque_iterator (deque_type *deque, size_type offset)
 

Protected Attributes

deque_typem_deque
 
size_type m_offset
 

Member Typedef Documentation

template<class DequeType>
typedef const_deque_iterator<deque_type> stxxl::deque_iterator< DequeType >::const_iterator

Definition at line 45 of file deque.h.

template<class DequeType>
typedef deque_type::const_pointer stxxl::deque_iterator< DequeType >::const_pointer

Definition at line 39 of file deque.h.

template<class DequeType>
typedef deque_type::const_reference stxxl::deque_iterator< DequeType >::const_reference

Definition at line 41 of file deque.h.

template<class DequeType>
typedef DequeType stxxl::deque_iterator< DequeType >::deque_type

Definition at line 34 of file deque.h.

template<class DequeType>
typedef deque_type::difference_type stxxl::deque_iterator< DequeType >::difference_type

Definition at line 43 of file deque.h.

template<class DequeType>
typedef deque_iterator<deque_type> stxxl::deque_iterator< DequeType >::iterator

Definition at line 44 of file deque.h.

template<class DequeType>
typedef std::random_access_iterator_tag stxxl::deque_iterator< DequeType >::iterator_category

Definition at line 47 of file deque.h.

template<class DequeType>
typedef deque_type::pointer stxxl::deque_iterator< DequeType >::pointer

Definition at line 38 of file deque.h.

template<class DequeType>
typedef deque_type::reference stxxl::deque_iterator< DequeType >::reference

Definition at line 40 of file deque.h.

template<class DequeType>
typedef deque_iterator<deque_type> stxxl::deque_iterator< DequeType >::self_type
protected

Definition at line 53 of file deque.h.

template<class DequeType>
typedef deque_type::size_type stxxl::deque_iterator< DequeType >::size_type

Definition at line 42 of file deque.h.

template<class DequeType>
typedef deque_type::value_type stxxl::deque_iterator< DequeType >::value_type

Definition at line 37 of file deque.h.

template<class DequeType>
typedef deque_type::vector_type stxxl::deque_iterator< DequeType >::vector_type

Definition at line 35 of file deque.h.

Constructor & Destructor Documentation

template<class DequeType>
stxxl::deque_iterator< DequeType >::deque_iterator ( deque_type deque,
size_type  offset 
)
inlineprotected

Definition at line 58 of file deque.h.

template<class DequeType>
stxxl::deque_iterator< DequeType >::deque_iterator ( )
inline

Definition at line 63 of file deque.h.

Member Function Documentation

template<class DequeType>
bool stxxl::deque_iterator< DequeType >::operator!= ( const self_type a) const
inline
template<class DequeType>
bool stxxl::deque_iterator< DequeType >::operator!= ( const const_iterator a) const
inline
template<class DequeType>
reference stxxl::deque_iterator< DequeType >::operator* ( )
inline

Definition at line 107 of file deque.h.

template<class DequeType>
const_reference stxxl::deque_iterator< DequeType >::operator* ( ) const
inline

Definition at line 117 of file deque.h.

template<class DequeType>
self_type stxxl::deque_iterator< DequeType >::operator+ ( size_type  op) const
inline

Definition at line 90 of file deque.h.

template<class DequeType>
self_type& stxxl::deque_iterator< DequeType >::operator++ ( )
inline

Definition at line 137 of file deque.h.

template<class DequeType>
self_type stxxl::deque_iterator< DequeType >::operator++ ( int  )
inline

Definition at line 142 of file deque.h.

template<class DequeType>
self_type& stxxl::deque_iterator< DequeType >::operator+= ( size_type  op)
inline

Definition at line 101 of file deque.h.

template<class DequeType>
difference_type stxxl::deque_iterator< DequeType >::operator- ( const self_type a) const
inline

Definition at line 65 of file deque.h.

References stxxl::deque_iterator< DequeType >::m_offset.

template<class DequeType>
difference_type stxxl::deque_iterator< DequeType >::operator- ( const const_iterator a) const
inline

Definition at line 75 of file deque.h.

References stxxl::const_deque_iterator< DequeType >::m_offset.

template<class DequeType>
self_type stxxl::deque_iterator< DequeType >::operator- ( size_type  op) const
inline

Definition at line 85 of file deque.h.

template<class DequeType>
self_type& stxxl::deque_iterator< DequeType >::operator-- ( )
inline

Definition at line 148 of file deque.h.

template<class DequeType>
self_type stxxl::deque_iterator< DequeType >::operator-- ( int  )
inline

Definition at line 153 of file deque.h.

template<class DequeType>
self_type& stxxl::deque_iterator< DequeType >::operator-= ( size_type  op)
inline

Definition at line 95 of file deque.h.

template<class DequeType>
pointer stxxl::deque_iterator< DequeType >::operator-> ( )
inline

Definition at line 112 of file deque.h.

template<class DequeType>
const_pointer stxxl::deque_iterator< DequeType >::operator-> ( ) const
inline

Definition at line 122 of file deque.h.

template<class DequeType>
bool stxxl::deque_iterator< DequeType >::operator< ( const self_type a) const
inline

Definition at line 170 of file deque.h.

References stxxl::deque_iterator< DequeType >::m_deque.

template<class DequeType>
bool stxxl::deque_iterator< DequeType >::operator< ( const const_iterator a) const
inline

Definition at line 202 of file deque.h.

References stxxl::const_deque_iterator< DequeType >::m_deque.

template<class DequeType>
bool stxxl::deque_iterator< DequeType >::operator<= ( const self_type a) const
inline

Definition at line 181 of file deque.h.

template<class DequeType>
bool stxxl::deque_iterator< DequeType >::operator<= ( const const_iterator a) const
inline

Definition at line 213 of file deque.h.

template<class DequeType>
bool stxxl::deque_iterator< DequeType >::operator== ( const self_type a) const
inline
template<class DequeType>
bool stxxl::deque_iterator< DequeType >::operator== ( const const_iterator a) const
inline
template<class DequeType>
bool stxxl::deque_iterator< DequeType >::operator> ( const self_type a) const
inline

Definition at line 176 of file deque.h.

template<class DequeType>
bool stxxl::deque_iterator< DequeType >::operator> ( const const_iterator a) const
inline

Definition at line 208 of file deque.h.

template<class DequeType>
bool stxxl::deque_iterator< DequeType >::operator>= ( const self_type a) const
inline

Definition at line 186 of file deque.h.

template<class DequeType>
bool stxxl::deque_iterator< DequeType >::operator>= ( const const_iterator a) const
inline

Definition at line 218 of file deque.h.

template<class DequeType>
reference stxxl::deque_iterator< DequeType >::operator[] ( size_type  op)
inline

Definition at line 127 of file deque.h.

template<class DequeType>
const_reference stxxl::deque_iterator< DequeType >::operator[] ( size_type  op) const
inline

Definition at line 132 of file deque.h.

Member Data Documentation


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