Reference

__gnu_cxx::Rope_iterator(3)

NAME

__gnu_cxx::Rope_iterator -

SYNOPSIS

Inherits __gnu_cxx::Rope_iterator_base< CharT, Alloc >< CharT, Alloc >.

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_iterator & operator= (const Rope_iterator &x)
reference operator * ()
Rope_iterator & operator++ ()
Rope_iterator & operator+= (ptrdiff_t n)
Rope_iterator & operator-- ()
Rope_iterator & operator-= (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)

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

rope< CharT, Alloc > * M_root_rope
size_t M_current_pos
RopeRep * M_root
size_t M_leaf_pos
_GCCONST CharT * M_buf_start
_GCCONST CharT * M_buf_ptr
_GCCONST 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< CharT, Alloc >

Definition at line 1035 of file stl_rope.h.

Member Typedef Documentation

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.

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.

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.

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.

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.

Author

Generated automatically by Doxygen for libstdc++-v3 Source from the source code.