Whole document tree
    

Whole document tree

Templatestd::_Rope_iterator_base class Reference
Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

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

#include <stl_rope.h>

Inheritance diagram for std::_Rope_iterator_base:

Inheritance graph
[legend]
Collaboration diagram for std::_Rope_iterator_base< _CharT, _Alloc >:

Collaboration graph
[legend]
List of all members.

Public Types

typedef _Alloc _allocator_type
typedef _Rope_RopeRep< _CharT,
_Alloc > 
_RopeRep

Public Methods

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

Protected Types

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

Protected Methods

 _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 Methods

void _S_setbuf (_Rope_iterator_base &__x)
void _S_setcache (_Rope_iterator_base &__x)
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 >

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


Member Typedef Documentation

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

Definition at line 851 of file stl_rope.h.

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

Reimplemented in std::_Rope_const_iterator< _CharT, _Alloc >.

Definition at line 852 of file stl_rope.h.

Referenced by std::_Rope_iterator_base< _CharT, _Alloc >::_S_setbuf().


Member Enumeration Documentation

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

Enumeration values:
_S_path_cache_len 

Definition at line 855 of file stl_rope.h.

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

Enumeration values:
_S_iterator_buf_len 

Definition at line 856 of file stl_rope.h.


Constructor & Destructor Documentation

template<class _CharT, class _Alloc>
std::_Rope_iterator_base< _CharT, _Alloc >::_Rope_iterator_base   [inline, protected]
 

Definition at line 898 of file stl_rope.h.

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

Definition at line 899 of file stl_rope.h.

template<class _CharT, class _Alloc>
std::_Rope_iterator_base< _CharT, _Alloc >::_Rope_iterator_base const _Rope_iterator_base< _CharT, _Alloc > &    __x [inline]
 

Definition at line 905 of file stl_rope.h.

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


Member Function Documentation

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

Definition at line 262 of file ropeimpl.h.

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

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

Definition at line 246 of file ropeimpl.h.

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

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

Definition at line 62 of file ropeimpl.h.

References __stl_assert, std::_Rope_iterator_base< _CharT, _Alloc >::_M_buf_end, std::_Rope_iterator_base< _CharT, _Alloc >::_M_buf_ptr, std::_Rope_iterator_base< _CharT, _Alloc >::_M_buf_start, std::_Rope_iterator_base< _CharT, _Alloc >::_M_current_pos, std::_Rope_iterator_base< _CharT, _Alloc >::_M_leaf_index, std::_Rope_iterator_base< _CharT, _Alloc >::_M_leaf_pos, std::_Rope_iterator_base< _CharT, _Alloc >::_M_path_end, std::_Rope_iterator_base< _CharT, _Alloc >::_M_tmp_buf, std::_Rope_iterator_base< _CharT, _Alloc >::_RopeRep, and std::_Rope_iterator_base< _CharT, _Alloc >::_S_iterator_buf_len.

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

Definition at line 109 of file ropeimpl.h.

References __stl_assert, std::_Rope_RopeConcatenation< _CharT, _Alloc >::_M_left, and std::_Rope_RopeConcatenation< _CharT, _Alloc >::_M_right.

Referenced by std::_Rope_iterator< _CharT, _Alloc >::_Rope_iterator().

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

Definition at line 183 of file ropeimpl.h.

References __stl_assert, std::_Rope_RopeConcatenation< _CharT, _Alloc >::_M_left, and std::_Rope_RopeConcatenation< _CharT, _Alloc >::_M_right.

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

template<class _CharT, class _Alloc>
size_t std::_Rope_iterator_base< _CharT, _Alloc >::index   const [inline]
 

Definition at line 904 of file stl_rope.h.

Referenced by std::_Rope_rotate().


Friends And Related Function Documentation

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

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

Definition at line 849 of file stl_rope.h.


Member Data Documentation

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

Definition at line 866 of file stl_rope.h.

Referenced by std::_Rope_iterator_base< _CharT, _Alloc >::_M_incr(), and std::_Rope_iterator_base< _CharT, _Alloc >::_S_setbuf().

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

Definition at line 863 of file stl_rope.h.

Referenced by std::_Rope_iterator< _CharT, _Alloc >::_M_check(), std::_Rope_iterator_base< _CharT, _Alloc >::_M_decr(), std::_Rope_iterator_base< _CharT, _Alloc >::_M_incr(), and std::_Rope_iterator_base< _CharT, _Alloc >::_S_setbuf().

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

Definition at line 860 of file stl_rope.h.

Referenced by std::_Rope_iterator_base< _CharT, _Alloc >::_M_decr(), and std::_Rope_iterator_base< _CharT, _Alloc >::_S_setbuf().

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

Definition at line 857 of file stl_rope.h.

Referenced by std::_Rope_iterator_base< _CharT, _Alloc >::_M_decr(), std::_Rope_iterator_base< _CharT, _Alloc >::_M_incr(), std::_Rope_iterator_base< _CharT, _Alloc >::_Rope_iterator_base(), std::_Rope_iterator_base< _CharT, _Alloc >::_S_setbuf(), std::operator!=(), std::operator+(), std::operator<(), std::operator==(), and std::_Rope_const_iterator< _CharT, _Alloc >::operator[]().

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

Definition at line 873 of file stl_rope.h.

Referenced by std::_Rope_iterator_base< _CharT, _Alloc >::_S_setbuf().

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

Definition at line 859 of file stl_rope.h.

Referenced by std::_Rope_iterator_base< _CharT, _Alloc >::_S_setbuf().

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

Definition at line 876 of file stl_rope.h.

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

Definition at line 872 of file stl_rope.h.

Referenced by std::_Rope_iterator_base< _CharT, _Alloc >::_S_setbuf().

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

Definition at line 858 of file stl_rope.h.

Referenced by std::_Rope_iterator< _CharT, _Alloc >::_M_check(), std::_Rope_iterator< _CharT, _Alloc >::_Rope_iterator(), std::operator!=(), std::operator+(), std::operator<(), std::operator==(), std::_Rope_const_iterator< _CharT, _Alloc >::operator[](), and std::_Rope_iterator< _CharT, _Alloc >::~_Rope_iterator().

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

Definition at line 881 of file stl_rope.h.

Referenced by std::_Rope_iterator_base< _CharT, _Alloc >::_S_setbuf().


The documentation for this class was generated from the following files:
Generated on Mon Apr 8 03:17:39 2002 for libstdc++-v3 Source by doxygen1.2.15