Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::container::container_detail::deque_iterator< Pointer, IsConst > Class Template Reference

#include <deque.hpp>

Inheritance diagram for boost::container::container_detail::deque_iterator< Pointer, IsConst >:
Collaboration diagram for boost::container::container_detail::deque_iterator< Pointer, IsConst >:

Public Types

typedef
std::random_access_iterator_tag 
iterator_category
 
typedef
boost::intrusive::pointer_traits
< Pointer >::element_type 
value_type
 
typedef
boost::intrusive::pointer_traits
< Pointer >::difference_type 
difference_type
 
typedef if_c< IsConst,
typename
boost::intrusive::pointer_traits
< Pointer >::template
rebind_pointer< const
value_type >::type, Pointer >
::type 
pointer
 
typedef if_c< IsConst, const
value_type &, value_type & >
::type 
reference
 
typedef Pointer val_alloc_ptr
 
typedef
boost::intrusive::pointer_traits
< Pointer >::template
rebind_pointer< Pointer >
::type 
index_pointer
 

Public Member Functions

Pointer get_cur () const
 
Pointer get_first () const
 
Pointer get_last () const
 
index_pointer get_node () const
 
 deque_iterator (val_alloc_ptr x, index_pointer y) BOOST_CONTAINER_NOEXCEPT
 
 deque_iterator () BOOST_CONTAINER_NOEXCEPT
 
 deque_iterator (deque_iterator< Pointer, false > const &x) BOOST_CONTAINER_NOEXCEPT
 
 deque_iterator (Pointer cur, Pointer first, Pointer last, index_pointer node) BOOST_CONTAINER_NOEXCEPT
 
deque_iterator< Pointer, false > unconst () const BOOST_CONTAINER_NOEXCEPT
 
reference operator* () const BOOST_CONTAINER_NOEXCEPT
 
pointer operator-> () const BOOST_CONTAINER_NOEXCEPT
 
difference_type operator- (const deque_iterator &x) const BOOST_CONTAINER_NOEXCEPT
 
deque_iteratoroperator++ () BOOST_CONTAINER_NOEXCEPT
 
deque_iterator operator++ (int) BOOST_CONTAINER_NOEXCEPT
 
deque_iteratoroperator-- () BOOST_CONTAINER_NOEXCEPT
 
deque_iterator operator-- (int) BOOST_CONTAINER_NOEXCEPT
 
deque_iteratoroperator+= (difference_type n) BOOST_CONTAINER_NOEXCEPT
 
deque_iterator operator+ (difference_type n) const BOOST_CONTAINER_NOEXCEPT
 
deque_iteratoroperator-= (difference_type n) BOOST_CONTAINER_NOEXCEPT
 
deque_iterator operator- (difference_type n) const BOOST_CONTAINER_NOEXCEPT
 
reference operator[] (difference_type n) const BOOST_CONTAINER_NOEXCEPT
 
void priv_set_node (index_pointer new_node) BOOST_CONTAINER_NOEXCEPT
 

Static Public Member Functions

static std::size_t s_buffer_size ()
 

Public Attributes

Pointer m_cur
 
Pointer m_first
 
Pointer m_last
 
index_pointer m_node
 

Friends

bool operator== (const deque_iterator &l, const deque_iterator &r) BOOST_CONTAINER_NOEXCEPT
 
bool operator!= (const deque_iterator &l, const deque_iterator &r) BOOST_CONTAINER_NOEXCEPT
 
bool operator< (const deque_iterator &l, const deque_iterator &r) BOOST_CONTAINER_NOEXCEPT
 
bool operator> (const deque_iterator &l, const deque_iterator &r) BOOST_CONTAINER_NOEXCEPT
 
bool operator<= (const deque_iterator &l, const deque_iterator &r) BOOST_CONTAINER_NOEXCEPT
 
bool operator>= (const deque_iterator &l, const deque_iterator &r) BOOST_CONTAINER_NOEXCEPT
 
deque_iterator operator+ (difference_type n, deque_iterator x) BOOST_CONTAINER_NOEXCEPT
 

Member Typedef Documentation

template<class Pointer, bool IsConst>
typedef boost::intrusive::pointer_traits<Pointer>::difference_type boost::container::container_detail::deque_iterator< Pointer, IsConst >::difference_type
template<class Pointer, bool IsConst>
typedef boost::intrusive::pointer_traits<Pointer>:: template rebind_pointer<Pointer>::type boost::container::container_detail::deque_iterator< Pointer, IsConst >::index_pointer
template<class Pointer, bool IsConst>
typedef std::random_access_iterator_tag boost::container::container_detail::deque_iterator< Pointer, IsConst >::iterator_category
template<class Pointer, bool IsConst>
typedef if_c< IsConst , typename boost::intrusive::pointer_traits<Pointer>::template rebind_pointer<const value_type>::type , Pointer >::type boost::container::container_detail::deque_iterator< Pointer, IsConst >::pointer
template<class Pointer, bool IsConst>
typedef if_c< IsConst , const value_type& , value_type& >::type boost::container::container_detail::deque_iterator< Pointer, IsConst >::reference
template<class Pointer, bool IsConst>
typedef Pointer boost::container::container_detail::deque_iterator< Pointer, IsConst >::val_alloc_ptr
template<class Pointer, bool IsConst>
typedef boost::intrusive::pointer_traits<Pointer>::element_type boost::container::container_detail::deque_iterator< Pointer, IsConst >::value_type

Constructor & Destructor Documentation

template<class Pointer, bool IsConst>
boost::container::container_detail::deque_iterator< Pointer, IsConst >::deque_iterator ( val_alloc_ptr  x,
index_pointer  y 
)
inline
template<class Pointer, bool IsConst>
boost::container::container_detail::deque_iterator< Pointer, IsConst >::deque_iterator ( )
inline
template<class Pointer, bool IsConst>
boost::container::container_detail::deque_iterator< Pointer, IsConst >::deque_iterator ( deque_iterator< Pointer, false > const &  x)
inline
template<class Pointer, bool IsConst>
boost::container::container_detail::deque_iterator< Pointer, IsConst >::deque_iterator ( Pointer  cur,
Pointer  first,
Pointer  last,
index_pointer  node 
)
inline

Member Function Documentation

template<class Pointer, bool IsConst>
Pointer boost::container::container_detail::deque_iterator< Pointer, IsConst >::get_cur ( ) const
inline
template<class Pointer, bool IsConst>
Pointer boost::container::container_detail::deque_iterator< Pointer, IsConst >::get_first ( ) const
inline
template<class Pointer, bool IsConst>
Pointer boost::container::container_detail::deque_iterator< Pointer, IsConst >::get_last ( ) const
inline
template<class Pointer, bool IsConst>
index_pointer boost::container::container_detail::deque_iterator< Pointer, IsConst >::get_node ( ) const
inline
template<class Pointer, bool IsConst>
reference boost::container::container_detail::deque_iterator< Pointer, IsConst >::operator* ( ) const
inline
template<class Pointer, bool IsConst>
deque_iterator boost::container::container_detail::deque_iterator< Pointer, IsConst >::operator+ ( difference_type  n) const
inline
template<class Pointer, bool IsConst>
deque_iterator& boost::container::container_detail::deque_iterator< Pointer, IsConst >::operator++ ( )
inline
template<class Pointer, bool IsConst>
deque_iterator boost::container::container_detail::deque_iterator< Pointer, IsConst >::operator++ ( int  )
inline
template<class Pointer, bool IsConst>
deque_iterator& boost::container::container_detail::deque_iterator< Pointer, IsConst >::operator+= ( difference_type  n)
inline
template<class Pointer, bool IsConst>
difference_type boost::container::container_detail::deque_iterator< Pointer, IsConst >::operator- ( const deque_iterator< Pointer, IsConst > &  x) const
inline
template<class Pointer, bool IsConst>
deque_iterator boost::container::container_detail::deque_iterator< Pointer, IsConst >::operator- ( difference_type  n) const
inline
template<class Pointer, bool IsConst>
deque_iterator& boost::container::container_detail::deque_iterator< Pointer, IsConst >::operator-- ( )
inline
template<class Pointer, bool IsConst>
deque_iterator boost::container::container_detail::deque_iterator< Pointer, IsConst >::operator-- ( int  )
inline
template<class Pointer, bool IsConst>
deque_iterator& boost::container::container_detail::deque_iterator< Pointer, IsConst >::operator-= ( difference_type  n)
inline
template<class Pointer, bool IsConst>
pointer boost::container::container_detail::deque_iterator< Pointer, IsConst >::operator-> ( ) const
inline
template<class Pointer, bool IsConst>
reference boost::container::container_detail::deque_iterator< Pointer, IsConst >::operator[] ( difference_type  n) const
inline
template<class Pointer, bool IsConst>
deque_iterator<Pointer, false> boost::container::container_detail::deque_iterator< Pointer, IsConst >::unconst ( ) const
inline

Friends And Related Function Documentation

template<class Pointer, bool IsConst>
bool operator!= ( const deque_iterator< Pointer, IsConst > &  l,
const deque_iterator< Pointer, IsConst > &  r 
)
friend
template<class Pointer, bool IsConst>
deque_iterator operator+ ( difference_type  n,
deque_iterator< Pointer, IsConst >  x 
)
friend
template<class Pointer, bool IsConst>
bool operator< ( const deque_iterator< Pointer, IsConst > &  l,
const deque_iterator< Pointer, IsConst > &  r 
)
friend
template<class Pointer, bool IsConst>
bool operator<= ( const deque_iterator< Pointer, IsConst > &  l,
const deque_iterator< Pointer, IsConst > &  r 
)
friend
template<class Pointer, bool IsConst>
bool operator== ( const deque_iterator< Pointer, IsConst > &  l,
const deque_iterator< Pointer, IsConst > &  r 
)
friend
template<class Pointer, bool IsConst>
bool operator> ( const deque_iterator< Pointer, IsConst > &  l,
const deque_iterator< Pointer, IsConst > &  r 
)
friend
template<class Pointer, bool IsConst>
bool operator>= ( const deque_iterator< Pointer, IsConst > &  l,
const deque_iterator< Pointer, IsConst > &  r 
)
friend

Member Data Documentation


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