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

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

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

Public Types

typedef _Alloc _allocator_type
typedef _Rope_RopeRep< _CharT,
_Alloc > 
_RopeRep

Public Member Functions

size_t index () const
 _Rope_iterator_base (const _Rope_iterator_base &__x)

Protected Types

 _S_path_cache_len = 4
 _S_iterator_buf_len = 15
enum  { _S_path_cache_len = 4 }
enum  { _S_iterator_buf_len = 15 }

Protected Member Functions

 _Rope_iterator_base ()
 _Rope_iterator_base (_RopeRep *__root, size_t __pos)
void _M_incr (size_t __n)
void _M_decr (size_t __n)

Static Protected Member Functions

static void _S_setbuf (_Rope_iterator_base &__x)
static void _S_setcache (_Rope_iterator_base &__x)
static void _S_setcache_for_incr (_Rope_iterator_base &__x)

Protected Attributes

size_t _M_current_pos
_RopeRep_M_root
size_t _M_leaf_pos
__GC_CONST _CharT * _M_buf_start
__GC_CONST _CharT * _M_buf_ptr
__GC_CONST _CharT * _M_buf_end
const _RopeRep_M_path_end [_S_path_cache_len]
int _M_leaf_index
unsigned char _M_path_directions
_CharT _M_tmp_buf [_S_iterator_buf_len]

Friends

class rope< _CharT, _Alloc >

Detailed Description

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

Definition at line 1025 of file rope.


Member Typedef Documentation

template<class _CharT, class _Alloc>
typedef _Alloc __gnu_cxx::_Rope_iterator_base< _CharT, _Alloc >::_allocator_type

Definition at line 1030 of file rope.

template<class _CharT, class _Alloc>
typedef _Rope_RopeRep<_CharT, _Alloc> __gnu_cxx::_Rope_iterator_base< _CharT, _Alloc >::_RopeRep

Reimplemented in __gnu_cxx::_Rope_const_iterator< _CharT, _Alloc >, and __gnu_cxx::_Rope_iterator< _CharT, _Alloc >.

Definition at line 1031 of file rope.


Member Enumeration Documentation

template<class _CharT, class _Alloc>
anonymous enum [protected]

Enumerator:
_S_path_cache_len 

Definition at line 1034 of file rope.

template<class _CharT, class _Alloc>
anonymous enum [protected]

Enumerator:
_S_iterator_buf_len 

Definition at line 1035 of file rope.


Constructor & Destructor Documentation

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

Definition at line 1077 of file rope.

template<class _CharT, class _Alloc>
__gnu_cxx::_Rope_iterator_base< _CharT, _Alloc >::_Rope_iterator_base ( _RopeRep __root,
size_t  __pos 
) [inline, protected]

Definition at line 1079 of file rope.

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

Definition at line 1089 of file rope.

References __gnu_cxx::_Rope_iterator_base< _CharT, _Alloc >::_M_buf_ptr, __gnu_cxx::_Rope_iterator_base< _CharT, _Alloc >::_M_current_pos, and __gnu_cxx::_Rope_iterator_base< _CharT, _Alloc >::_M_root.


Member Function Documentation

template<class _CharT, class _Alloc>
void __gnu_cxx::_Rope_iterator_base< _CharT, _Alloc >::_M_decr ( size_t  __n  )  [protected]

Definition at line 282 of file ropeimpl.h.

References __gnu_cxx::_Rope_iterator_base< _CharT, _Alloc >::_M_buf_ptr, __gnu_cxx::_Rope_iterator_base< _CharT, _Alloc >::_M_buf_start, and __gnu_cxx::_Rope_iterator_base< _CharT, _Alloc >::_M_current_pos.

Referenced by __gnu_cxx::_Rope_iterator< _CharT, _Alloc >::operator+=(), __gnu_cxx::_Rope_const_iterator< _CharT, _Alloc >::operator+=(), __gnu_cxx::_Rope_iterator< _CharT, _Alloc >::operator--(), __gnu_cxx::_Rope_const_iterator< _CharT, _Alloc >::operator--(), __gnu_cxx::_Rope_iterator< _CharT, _Alloc >::operator-=(), and __gnu_cxx::_Rope_const_iterator< _CharT, _Alloc >::operator-=().

template<class _CharT, class _Alloc>
void __gnu_cxx::_Rope_iterator_base< _CharT, _Alloc >::_M_incr ( size_t  __n  )  [protected]

Definition at line 261 of file ropeimpl.h.

References __gnu_cxx::_Rope_iterator_base< _CharT, _Alloc >::_M_buf_end, __gnu_cxx::_Rope_iterator_base< _CharT, _Alloc >::_M_buf_ptr, __gnu_cxx::_Rope_iterator_base< _CharT, _Alloc >::_M_current_pos, and __gnu_cxx::_Rope_iterator_base< _CharT, _Alloc >::_S_setcache_for_incr().

Referenced by __gnu_cxx::_Rope_iterator< _CharT, _Alloc >::operator++(), __gnu_cxx::_Rope_const_iterator< _CharT, _Alloc >::operator++(), __gnu_cxx::_Rope_iterator< _CharT, _Alloc >::operator+=(), __gnu_cxx::_Rope_const_iterator< _CharT, _Alloc >::operator+=(), __gnu_cxx::_Rope_iterator< _CharT, _Alloc >::operator-=(), and __gnu_cxx::_Rope_const_iterator< _CharT, _Alloc >::operator-=().

template<class _CharT, class _Alloc>
static void __gnu_cxx::_Rope_iterator_base< _CharT, _Alloc >::_S_setbuf ( _Rope_iterator_base< _CharT, _Alloc > &  __x  )  [static, protected]

template<class _CharT, class _Alloc>
static void __gnu_cxx::_Rope_iterator_base< _CharT, _Alloc >::_S_setcache ( _Rope_iterator_base< _CharT, _Alloc > &  __x  )  [static, protected]

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

template<class _CharT, class _Alloc>
static void __gnu_cxx::_Rope_iterator_base< _CharT, _Alloc >::_S_setcache_for_incr ( _Rope_iterator_base< _CharT, _Alloc > &  __x  )  [static, protected]

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

template<class _CharT, class _Alloc>
size_t __gnu_cxx::_Rope_iterator_base< _CharT, _Alloc >::index (  )  const [inline]

Definition at line 1086 of file rope.

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

Referenced by __gnu_cxx::_Rope_rotate(), __gnu_cxx::rope< _CharT, _Alloc >::erase(), __gnu_cxx::rope< _CharT, _Alloc >::find(), __gnu_cxx::rope< _CharT, _Alloc >::insert(), __gnu_cxx::rope< _CharT, _Alloc >::replace(), and __gnu_cxx::rope< _CharT, _Alloc >::substr().


Friends And Related Function Documentation

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

Reimplemented in __gnu_cxx::_Rope_const_iterator< _CharT, _Alloc >, and __gnu_cxx::_Rope_iterator< _CharT, _Alloc >.

Definition at line 1028 of file rope.


Member Data Documentation

template<class _CharT, class _Alloc>
__GC_CONST _CharT* __gnu_cxx::_Rope_iterator_base< _CharT, _Alloc >::_M_buf_end [protected]

Definition at line 1045 of file rope.

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

template<class _CharT, class _Alloc>
__GC_CONST _CharT* __gnu_cxx::_Rope_iterator_base< _CharT, _Alloc >::_M_buf_ptr [protected]

Definition at line 1042 of file rope.

Referenced by __gnu_cxx::_Rope_iterator< _CharT, _Alloc >::_M_check(), __gnu_cxx::_Rope_iterator_base< _CharT, _Alloc >::_M_decr(), __gnu_cxx::_Rope_iterator_base< _CharT, _Alloc >::_M_incr(), __gnu_cxx::_Rope_iterator_base< _CharT, _Alloc >::_Rope_iterator_base(), __gnu_cxx::_Rope_iterator< _CharT, _Alloc >::operator *(), __gnu_cxx::_Rope_const_iterator< _CharT, _Alloc >::operator *(), __gnu_cxx::_Rope_const_iterator< _CharT, _Alloc >::operator++(), __gnu_cxx::_Rope_iterator< _CharT, _Alloc >::operator=(), and __gnu_cxx::_Rope_const_iterator< _CharT, _Alloc >::operator=().

template<class _CharT, class _Alloc>
__GC_CONST _CharT* __gnu_cxx::_Rope_iterator_base< _CharT, _Alloc >::_M_buf_start [protected]

Definition at line 1039 of file rope.

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

template<class _CharT, class _Alloc>
size_t __gnu_cxx::_Rope_iterator_base< _CharT, _Alloc >::_M_current_pos [protected]

Definition at line 1036 of file rope.

Referenced by __gnu_cxx::_Rope_iterator_base< _CharT, _Alloc >::_M_decr(), __gnu_cxx::_Rope_iterator_base< _CharT, _Alloc >::_M_incr(), __gnu_cxx::_Rope_iterator_base< _CharT, _Alloc >::_Rope_iterator_base(), __gnu_cxx::rope< _CharT, _Alloc >::append(), __gnu_cxx::_Rope_iterator_base< _CharT, _Alloc >::index(), __gnu_cxx::_Rope_iterator< _CharT, _Alloc >::operator *(), __gnu_cxx::operator+(), __gnu_cxx::_Rope_iterator< _CharT, _Alloc >::operator++(), __gnu_cxx::_Rope_const_iterator< _CharT, _Alloc >::operator++(), __gnu_cxx::operator-(), __gnu_cxx::_Rope_iterator< _CharT, _Alloc >::operator--(), __gnu_cxx::_Rope_const_iterator< _CharT, _Alloc >::operator--(), __gnu_cxx::_Rope_iterator< _CharT, _Alloc >::operator=(), __gnu_cxx::_Rope_const_iterator< _CharT, _Alloc >::operator=(), __gnu_cxx::operator==(), and __gnu_cxx::_Rope_iterator< _CharT, _Alloc >::operator[]().

template<class _CharT, class _Alloc>
int __gnu_cxx::_Rope_iterator_base< _CharT, _Alloc >::_M_leaf_index [protected]

Definition at line 1052 of file rope.

template<class _CharT, class _Alloc>
size_t __gnu_cxx::_Rope_iterator_base< _CharT, _Alloc >::_M_leaf_pos [protected]

Definition at line 1038 of file rope.

template<class _CharT, class _Alloc>
unsigned char __gnu_cxx::_Rope_iterator_base< _CharT, _Alloc >::_M_path_directions [protected]

Definition at line 1055 of file rope.

template<class _CharT, class _Alloc>
const _RopeRep* __gnu_cxx::_Rope_iterator_base< _CharT, _Alloc >::_M_path_end[_S_path_cache_len] [protected]

Definition at line 1051 of file rope.

template<class _CharT, class _Alloc>
_RopeRep* __gnu_cxx::_Rope_iterator_base< _CharT, _Alloc >::_M_root [protected]

Definition at line 1037 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_base< _CharT, _Alloc >::_Rope_iterator_base(), __gnu_cxx::rope< _CharT, _Alloc >::append(), __gnu_cxx::operator+(), __gnu_cxx::_Rope_const_iterator< _CharT, _Alloc >::operator++(), __gnu_cxx::operator-(), __gnu_cxx::_Rope_const_iterator< _CharT, _Alloc >::operator--(), __gnu_cxx::_Rope_iterator< _CharT, _Alloc >::operator=(), __gnu_cxx::_Rope_const_iterator< _CharT, _Alloc >::operator=(), and __gnu_cxx::operator==().

template<class _CharT, class _Alloc>
_CharT __gnu_cxx::_Rope_iterator_base< _CharT, _Alloc >::_M_tmp_buf[_S_iterator_buf_len] [protected]

Definition at line 1060 of file rope.


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