__gnu_cxx::_Rope_iterator< _CharT, _Alloc > Class Template Reference

Inheritance diagram for __gnu_cxx::_Rope_iterator< _CharT, _Alloc >:

__gnu_cxx::_Rope_iterator_base< _CharT, _Alloc > std::iterator< _Category, _Tp, _Distance, _Pointer, _Reference > List of all members.

Public Types

typedef _Rope_char_ref_proxy<
_CharT, _Alloc > 
reference
 This type represents a reference-to-value_type.
typedef _Rope_char_ref_proxy<
_CharT, _Alloc > * 
pointer
 This type represents a pointer-to-value_type.

Public Member Functions

rope< _CharT, _Alloc > & container ()
 _Rope_iterator ()
 _Rope_iterator (const _Rope_iterator &__x)
 _Rope_iterator (rope< _CharT, _Alloc > &__r, size_t __pos)
 ~_Rope_iterator ()
_Rope_iteratoroperator= (const _Rope_iterator &__x)
reference operator * ()
_Rope_iteratoroperator++ ()
_Rope_iteratoroperator+= (ptrdiff_t __n)
_Rope_iteratoroperator-- ()
_Rope_iteratoroperator-= (ptrdiff_t __n)
_Rope_iterator operator++ (int)
_Rope_iterator operator-- (int)
reference operator[] (ptrdiff_t __n)

Protected Types

typedef _Rope_iterator_base<
_CharT, _Alloc >::_RopeRep 
_RopeRep

Protected Member Functions

 _Rope_iterator (rope< _CharT, _Alloc > *__r, size_t __pos)
void _M_check ()

Protected Attributes

rope< _CharT, _Alloc > * _M_root_rope

Friends

class rope< _CharT, _Alloc >
template<class _CharT2, class _Alloc2>
bool operator== (const _Rope_iterator< _CharT2, _Alloc2 > &__x, const _Rope_iterator< _CharT2, _Alloc2 > &__y)
template<class _CharT2, class _Alloc2>
bool operator< (const _Rope_iterator< _CharT2, _Alloc2 > &__x, const _Rope_iterator< _CharT2, _Alloc2 > &__y)
template<class _CharT2, class _Alloc2>
ptrdiff_t operator- (const _Rope_iterator< _CharT2, _Alloc2 > &__x, const _Rope_iterator< _CharT2, _Alloc2 > &__y)
template<class _CharT2, class _Alloc2>
_Rope_iterator< _CharT2, _Alloc2 > operator- (const _Rope_iterator< _CharT2, _Alloc2 > &__x, ptrdiff_t __n)
template<class _CharT2, class _Alloc2>
_Rope_iterator< _CharT2, _Alloc2 > operator+ (const _Rope_iterator< _CharT2, _Alloc2 > &__x, ptrdiff_t __n)
template<class _CharT2, class _Alloc2>
_Rope_iterator< _CharT2, _Alloc2 > operator+ (ptrdiff_t __n, const _Rope_iterator< _CharT2, _Alloc2 > &__x)

Detailed Description

template<class _CharT, class _Alloc>
class __gnu_cxx::_Rope_iterator< _CharT, _Alloc >

Definition at line 1255 of file rope.


Member Typedef Documentation

template<class _CharT, class _Alloc>
typedef _Rope_iterator_base<_CharT, _Alloc>::_RopeRep __gnu_cxx::_Rope_iterator< _CharT, _Alloc >::_RopeRep [protected]

Reimplemented from __gnu_cxx::_Rope_iterator_base< _CharT, _Alloc >.

Definition at line 1260 of file rope.

template<class _CharT, class _Alloc>
typedef _Rope_char_ref_proxy<_CharT, _Alloc>* __gnu_cxx::_Rope_iterator< _CharT, _Alloc >::pointer

This type represents a pointer-to-value_type.

Reimplemented from std::iterator< _Category, _Tp, _Distance, _Pointer, _Reference >.

Definition at line 1280 of file rope.

template<class _CharT, class _Alloc>
typedef _Rope_char_ref_proxy<_CharT, _Alloc> __gnu_cxx::_Rope_iterator< _CharT, _Alloc >::reference

This type represents a reference-to-value_type.

Reimplemented from std::iterator< _Category, _Tp, _Distance, _Pointer, _Reference >.

Definition at line 1279 of file rope.


Constructor & Destructor Documentation

template<class _CharT, class _Alloc>
__gnu_cxx::_Rope_iterator< _CharT, _Alloc >::_Rope_iterator ( rope< _CharT, _Alloc > *  __r,
size_t  __pos 
) [inline, protected]

Definition at line 1269 of file rope.

References __gnu_cxx::_Rope_RopeRep< _CharT, _Alloc >::_S_ref(), and __gnu_cxx::_Rope_iterator_base< _CharT, _Alloc >::_S_setcache().

template<class _CharT, class _Alloc>
__gnu_cxx::_Rope_iterator< _CharT, _Alloc >::_Rope_iterator (  )  [inline]

Definition at line 1287 of file rope.

References __gnu_cxx::_Rope_iterator_base< _CharT, _Alloc >::_M_root.

template<class _CharT, class _Alloc>
__gnu_cxx::_Rope_iterator< _CharT, _Alloc >::_Rope_iterator ( const _Rope_iterator< _CharT, _Alloc > &  __x  )  [inline]

Definition at line 1292 of file rope.

References __gnu_cxx::_Rope_iterator< _CharT, _Alloc >::_M_root_rope, and __gnu_cxx::_Rope_RopeRep< _CharT, _Alloc >::_S_ref().

template<class _CharT, class _Alloc>
__gnu_cxx::_Rope_iterator< _CharT, _Alloc >::_Rope_iterator ( rope< _CharT, _Alloc > &  __r,
size_t  __pos 
) [inline]

Definition at line 320 of file ropeimpl.h.

References __gnu_cxx::_Rope_RopeRep< _CharT, _Alloc >::_S_ref().

template<class _CharT, class _Alloc>
__gnu_cxx::_Rope_iterator< _CharT, _Alloc >::~_Rope_iterator (  )  [inline]

Definition at line 1301 of file rope.

References __gnu_cxx::_Rope_RopeRep< _CharT, _Alloc >::_S_unref().


Member Function Documentation

template<class _CharT, class _Alloc>
void __gnu_cxx::_Rope_iterator< _CharT, _Alloc >::_M_check (  )  [protected]

Definition at line 298 of file ropeimpl.h.

References __gnu_cxx::_Rope_iterator_base< _CharT, _Alloc >::_M_buf_ptr, __gnu_cxx::_Rope_iterator_base< _CharT, _Alloc >::_M_root, __gnu_cxx::_Rope_iterator< _CharT, _Alloc >::_M_root_rope, __gnu_cxx::_Rope_RopeRep< _CharT, _Alloc >::_S_ref(), and __gnu_cxx::_Rope_RopeRep< _CharT, _Alloc >::_S_unref().

Referenced by __gnu_cxx::_Rope_iterator< _CharT, _Alloc >::operator *().

template<class _CharT, class _Alloc>
rope<_CharT, _Alloc>& __gnu_cxx::_Rope_iterator< _CharT, _Alloc >::container (  )  [inline]

Definition at line 1284 of file rope.

References __gnu_cxx::_Rope_iterator< _CharT, _Alloc >::_M_root_rope.

template<class _CharT, class _Alloc>
reference __gnu_cxx::_Rope_iterator< _CharT, _Alloc >::operator * (  )  [inline]

Definition at line 1327 of file rope.

References __gnu_cxx::_Rope_iterator_base< _CharT, _Alloc >::_M_buf_ptr, __gnu_cxx::_Rope_iterator< _CharT, _Alloc >::_M_check(), __gnu_cxx::_Rope_iterator_base< _CharT, _Alloc >::_M_current_pos, and __gnu_cxx::_Rope_iterator< _CharT, _Alloc >::_M_root_rope.

template<class _CharT, class _Alloc>
_Rope_iterator __gnu_cxx::_Rope_iterator< _CharT, _Alloc >::operator++ ( int   )  [inline]

Definition at line 1374 of file rope.

References __gnu_cxx::_Rope_iterator_base< _CharT, _Alloc >::_M_current_pos, __gnu_cxx::_Rope_iterator_base< _CharT, _Alloc >::_M_incr(), and __gnu_cxx::_Rope_iterator< _CharT, _Alloc >::_M_root_rope.

template<class _CharT, class _Alloc>
_Rope_iterator& __gnu_cxx::_Rope_iterator< _CharT, _Alloc >::operator++ (  )  [inline]

Definition at line 1340 of file rope.

References __gnu_cxx::_Rope_iterator_base< _CharT, _Alloc >::_M_incr().

template<class _CharT, class _Alloc>
_Rope_iterator& __gnu_cxx::_Rope_iterator< _CharT, _Alloc >::operator+= ( ptrdiff_t  __n  )  [inline]

Definition at line 1347 of file rope.

References __gnu_cxx::_Rope_iterator_base< _CharT, _Alloc >::_M_decr(), and __gnu_cxx::_Rope_iterator_base< _CharT, _Alloc >::_M_incr().

template<class _CharT, class _Alloc>
_Rope_iterator __gnu_cxx::_Rope_iterator< _CharT, _Alloc >::operator-- ( int   )  [inline]

Definition at line 1382 of file rope.

References __gnu_cxx::_Rope_iterator_base< _CharT, _Alloc >::_M_current_pos, __gnu_cxx::_Rope_iterator_base< _CharT, _Alloc >::_M_decr(), and __gnu_cxx::_Rope_iterator< _CharT, _Alloc >::_M_root_rope.

template<class _CharT, class _Alloc>
_Rope_iterator& __gnu_cxx::_Rope_iterator< _CharT, _Alloc >::operator-- (  )  [inline]

Definition at line 1357 of file rope.

References __gnu_cxx::_Rope_iterator_base< _CharT, _Alloc >::_M_decr().

template<class _CharT, class _Alloc>
_Rope_iterator& __gnu_cxx::_Rope_iterator< _CharT, _Alloc >::operator-= ( ptrdiff_t  __n  )  [inline]

Definition at line 1364 of file rope.

References __gnu_cxx::_Rope_iterator_base< _CharT, _Alloc >::_M_decr(), and __gnu_cxx::_Rope_iterator_base< _CharT, _Alloc >::_M_incr().

template<class _CharT, class _Alloc>
_Rope_iterator& __gnu_cxx::_Rope_iterator< _CharT, _Alloc >::operator= ( const _Rope_iterator< _CharT, _Alloc > &  __x  )  [inline]

Definition at line 1305 of file rope.

References __gnu_cxx::_Rope_iterator_base< _CharT, _Alloc >::_M_buf_ptr, __gnu_cxx::_Rope_iterator_base< _CharT, _Alloc >::_M_current_pos, __gnu_cxx::_Rope_iterator_base< _CharT, _Alloc >::_M_root, __gnu_cxx::_Rope_iterator< _CharT, _Alloc >::_M_root_rope, __gnu_cxx::_Rope_RopeRep< _CharT, _Alloc >::_S_ref(), and __gnu_cxx::_Rope_RopeRep< _CharT, _Alloc >::_S_unref().

template<class _CharT, class _Alloc>
reference __gnu_cxx::_Rope_iterator< _CharT, _Alloc >::operator[] ( ptrdiff_t  __n  )  [inline]

Definition at line 1390 of file rope.

References __gnu_cxx::_Rope_iterator_base< _CharT, _Alloc >::_M_current_pos, and __gnu_cxx::_Rope_iterator< _CharT, _Alloc >::_M_root_rope.


Friends And Related Function Documentation

template<class _CharT, class _Alloc>
template<class _CharT2, class _Alloc2>
_Rope_iterator<_CharT2, _Alloc2> operator+ ( ptrdiff_t  __n,
const _Rope_iterator< _CharT2, _Alloc2 > &  __x 
) [friend]

template<class _CharT, class _Alloc>
template<class _CharT2, class _Alloc2>
_Rope_iterator<_CharT2, _Alloc2> operator+ ( const _Rope_iterator< _CharT2, _Alloc2 > &  __x,
ptrdiff_t  __n 
) [friend]

template<class _CharT, class _Alloc>
template<class _CharT2, class _Alloc2>
_Rope_iterator<_CharT2, _Alloc2> operator- ( const _Rope_iterator< _CharT2, _Alloc2 > &  __x,
ptrdiff_t  __n 
) [friend]

template<class _CharT, class _Alloc>
template<class _CharT2, class _Alloc2>
ptrdiff_t operator- ( const _Rope_iterator< _CharT2, _Alloc2 > &  __x,
const _Rope_iterator< _CharT2, _Alloc2 > &  __y 
) [friend]

template<class _CharT, class _Alloc>
template<class _CharT2, class _Alloc2>
bool operator< ( const _Rope_iterator< _CharT2, _Alloc2 > &  __x,
const _Rope_iterator< _CharT2, _Alloc2 > &  __y 
) [friend]

template<class _CharT, class _Alloc>
template<class _CharT2, class _Alloc2>
bool operator== ( const _Rope_iterator< _CharT2, _Alloc2 > &  __x,
const _Rope_iterator< _CharT2, _Alloc2 > &  __y 
) [friend]

template<class _CharT, class _Alloc>
friend class rope< _CharT, _Alloc > [friend]

Reimplemented from __gnu_cxx::_Rope_iterator_base< _CharT, _Alloc >.

Definition at line 1258 of file rope.


Member Data Documentation

template<class _CharT, class _Alloc>
rope<_CharT, _Alloc>* __gnu_cxx::_Rope_iterator< _CharT, _Alloc >::_M_root_rope [protected]

Definition at line 1261 of file rope.

Referenced by __gnu_cxx::_Rope_iterator< _CharT, _Alloc >::_M_check(), __gnu_cxx::_Rope_iterator< _CharT, _Alloc >::_Rope_iterator(), __gnu_cxx::_Rope_iterator< _CharT, _Alloc >::container(), __gnu_cxx::_Rope_iterator< _CharT, _Alloc >::operator *(), __gnu_cxx::operator+(), __gnu_cxx::_Rope_iterator< _CharT, _Alloc >::operator++(), __gnu_cxx::operator-(), __gnu_cxx::_Rope_iterator< _CharT, _Alloc >::operator--(), __gnu_cxx::_Rope_iterator< _CharT, _Alloc >::operator=(), __gnu_cxx::operator==(), and __gnu_cxx::_Rope_iterator< _CharT, _Alloc >::operator[]().


The documentation for this class was generated from the following files:
Generated on Tue Feb 2 16:58:06 2010 for GNU C++ STL by  doxygen 1.4.7