STXXL  1.4.1
 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 30 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 44 of file deque.h.

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

Definition at line 38 of file deque.h.

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

Definition at line 40 of file deque.h.

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

Definition at line 33 of file deque.h.

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

Definition at line 42 of file deque.h.

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

Definition at line 43 of file deque.h.

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

Definition at line 46 of file deque.h.

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

Definition at line 37 of file deque.h.

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

Definition at line 39 of file deque.h.

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

Definition at line 52 of file deque.h.

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

Definition at line 41 of file deque.h.

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

Definition at line 36 of file deque.h.

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

Definition at line 34 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 57 of file deque.h.

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

Definition at line 62 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 106 of file deque.h.

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

Definition at line 116 of file deque.h.

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

Definition at line 89 of file deque.h.

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

Definition at line 136 of file deque.h.

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

Definition at line 141 of file deque.h.

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

Definition at line 100 of file deque.h.

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

Definition at line 64 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 74 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 84 of file deque.h.

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

Definition at line 147 of file deque.h.

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

Definition at line 152 of file deque.h.

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

Definition at line 94 of file deque.h.

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

Definition at line 111 of file deque.h.

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

Definition at line 121 of file deque.h.

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

Definition at line 169 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 201 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 180 of file deque.h.

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

Definition at line 212 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 175 of file deque.h.

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

Definition at line 207 of file deque.h.

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

Definition at line 185 of file deque.h.

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

Definition at line 217 of file deque.h.

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

Definition at line 126 of file deque.h.

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

Definition at line 131 of file deque.h.

Member Data Documentation


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