__gnu_cxx::Rope_iterator< CharT, Alloc > Class Template Reference

Inheritance diagram for __gnu_cxx::Rope_iterator< CharT, Alloc >:

Inheritance graph
[legend]
Collaboration diagram for __gnu_cxx::Rope_iterator< CharT, Alloc >:

Collaboration graph
[legend]
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.
typedef Alloc _allocator_type
typedef std::random_access_iterator_tag iterator_category
 One of the tag types.
typedef CharT value_type
 The type "pointed to" by the iterator.
typedef ptrdiff_t difference_type
 Distance between iterators is represented as this type.

Public Member Functions

rope< CharT, Alloc > & container ()
 Rope_iterator ()
 Rope_iterator (const Rope_iterator &x)
 Rope_iterator (rope< CharT, Alloc > &__r, size_t position)
 ~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)
size_t index () const

Protected Types

typedef Rope_iterator_base<
CharT, Alloc >::RopeRep 
RopeRep
enum  
enum  

Protected Member Functions

 Rope_iterator (rope< CharT, Alloc > *__r, size_t position)
void M_check ()
void M_incr (size_t n)
void M_decr (size_t n)

Protected Attributes

rope< CharT, Alloc > * M_root_rope
size_t M_current_pos
RopeRepM_root
size_t M_leaf_pos
_GCCONST CharT * M_buf_start
_GCCONST CharT * M_buf_ptr
_GCCONST CharT * M_buf_end
const RopeRepM_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< CharT, Alloc >

Definition at line 1035 of file stl_rope.h.


Member Typedef Documentation

typedef ptrdiff_t std::iterator< std::random_access_iterator_tag , CharT , ptrdiff_t , CharT * , CharT & >::difference_type [inherited]
 

Distance between iterators is represented as this type.

Definition at line 111 of file stl_iterator_base_types.h.

typedef std::random_access_iterator_tag std::iterator< std::random_access_iterator_tag , CharT , ptrdiff_t , CharT * , CharT & >::iterator_category [inherited]
 

One of the tag types.

Definition at line 107 of file stl_iterator_base_types.h.

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< std::random_access_iterator_tag, CharT >.

Definition at line 1055 of file stl_rope.h.

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< std::random_access_iterator_tag, CharT >.

Definition at line 1054 of file stl_rope.h.

typedef CharT std::iterator< std::random_access_iterator_tag , CharT , ptrdiff_t , CharT * , CharT & >::value_type [inherited]
 

The type "pointed to" by the iterator.

Definition at line 109 of file stl_iterator_base_types.h.


The documentation for this class was generated from the following files:
Generated on Wed Oct 26 12:22:57 2005 for libstdc++-v3 Source by  doxygen 1.4.5