NAME
__gnu_cxx::Rope_const_iterator -
SYNOPSIS
Inherits __gnu_cxx::Rope_iterator_base< CharT, Alloc >< CharT, Alloc >.
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_iterator & operator= (const Rope_const_iterator &x)
reference operator * ()
Rope_const_iterator & operator++ ()
Rope_const_iterator & operator+= (ptrdiff_t n)
Rope_const_iterator & operator-- ()
Rope_const_iterator & operator-= (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)
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_const_iterator< CharT, Alloc >
Definition at line 924 of file stl_rope.h.
Member Typedef Documentation
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 935 of file stl_rope.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 938 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.