Reference

__gnu_cxx::Rope_iterator_base(3)

NAME

__gnu_cxx::Rope_iterator_base -

SYNOPSIS

Inherits std::iterator< std::random_access_iterator_tag, CharT >.

Inherited by __gnu_cxx::Rope_const_iterator< CharT, Alloc >, and __gnu_cxx::Rope_iterator< CharT, Alloc >.

Public Types

typedef Alloc _allocator_type
typedef RopeRopeRep< CharT, Alloc > RopeRep
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. typedef CharT * pointer
This type represents a pointer-to-value_type. typedef CharT & reference
This type represents a reference-to-value_type.

Public Member Functions

size_t index () const
Rope_iterator_base (const Rope_iterator_base &x)

Protected Types

enum
enum

Protected Member Functions

Rope_iterator_base ()
Rope_iterator_base (RopeRep *__root, size_t position)
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
_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_base< CharT, Alloc >

Definition at line 851 of file stl_rope.h.

Member Typedef Documentation

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.

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

This type represents a pointer-to-value_type.

Reimplemented in __gnu_cxx::Rope_const_iterator< CharT, Alloc >, and __gnu_cxx::Rope_iterator< CharT, Alloc >.

Definition at line 113 of file stl_iterator_base_types.h.

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

This type represents a reference-to-value_type.

Reimplemented in __gnu_cxx::Rope_const_iterator< CharT, Alloc >, and __gnu_cxx::Rope_iterator< CharT, Alloc >.

Definition at line 115 of file stl_iterator_base_types.h.

Author

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