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

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

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

Collaboration graph
[legend]
List of all members.

Public Types

typedef CharT reference
 This type represents a reference-to-value_type.
typedef const CharT * 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_const_iterator ()
 Rope_const_iterator (const Rope_const_iterator &x)
 Rope_const_iterator (const Rope_iterator< CharT, Alloc > &x)
 Rope_const_iterator (const rope< CharT, Alloc > &__r, size_t position)
Rope_const_iteratoroperator= (const Rope_const_iterator &x)
reference operator * ()
Rope_const_iteratoroperator++ ()
Rope_const_iteratoroperator+= (ptrdiff_t n)
Rope_const_iteratoroperator-- ()
Rope_const_iteratoroperator-= (ptrdiff_t n)
Rope_const_iterator operator++ (int)
Rope_const_iterator operator-- (int)
reference operator[] (size_t n)
size_t index () const

Protected Types

typedef RopeRopeRep< CharT,
Alloc > 
RopeRep
enum  
enum  

Protected Member Functions

 Rope_const_iterator (const RopeRep *__root, size_t position)
void M_incr (size_t n)
void M_decr (size_t n)

Protected Attributes

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_const_iterator< CharT, Alloc >

Definition at line 949 of file rope.


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 113 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 109 of file stl_iterator_base_types.h.

template<class CharT, class Alloc>
typedef const CharT* __gnu_cxx::Rope_const_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 963 of file rope.

template<class CharT, class Alloc>
typedef CharT __gnu_cxx::Rope_const_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 960 of file rope.

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 111 of file stl_iterator_base_types.h.


The documentation for this class was generated from the following files:
Generated on Thu Mar 16 10:41:49 2006 for libstdc++-v3 Source by  doxygen 1.4.6