---
name: "__gnu_cxx::_Rope_iterator_base"
section: "3"
platform: "linux"
package: "libstdc++6-4.1-doc"
version: "4.1.1-21"
release: "Debian 4.0 (Etch)"
platforms: ["linux"]
url: "https://new.carta.tech/__gnu_cxx::_Rope_iterator_base"
---

# \_\_gnu\_cxx::\_Rope\_iterator\_base(3)

## NAME

\_\_gnu\_cxx::\_Rope\_iterator\_base -

## SYNOPSIS

Inherits **iterator\< std::random\_access\_iterator\_tag, \_CharT \>**.

Inherited by **\_Rope\_const\_iterator**, and **\_Rope\_iterator**.

## Detailed Description

### template\<class \_CharT, class \_Alloc\> class \_\_gnu\_cxx::\_Rope\_iterator\_base\< \_CharT, \_Alloc \>

Definition at line 1025 of file rope.

### Public Types

typedef \_Alloc **\_allocator\_type**\
 typedef **\_Rope\_RopeRep**\< \_CharT, \_Alloc \> **\_RopeRep**\
 typedef \_Distance **difference\_type**\
 typedef \_Category **iterator\_category**\
 typedef \_Pointer **pointer**\
 typedef \_Reference **reference**\
 typedef \_Tp **value\_type**\

### Public Member Functions

**\_Rope\_iterator\_base** (const **\_Rope\_iterator\_base** &\_\_x)\
 size\_t **index** () const\

### Protected Types

enum { **\_S\_path\_cache\_len** }\
 enum { **\_S\_iterator\_buf\_len** }\

### Protected Member Functions

void **\_M\_decr** (size\_t \_\_n)\
 void **\_M\_incr** (size\_t \_\_n)\
 **\_Rope\_iterator\_base** (**\_RopeRep** \*\_\_root, size\_t \_\_pos)\
 **\_Rope\_iterator\_base** ()\

### 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

\_\_GC\_CONST \_CharT \* **\_M\_buf\_end**\
 \_\_GC\_CONST \_CharT \* **\_M\_buf\_ptr**\
 \_\_GC\_CONST \_CharT \* **\_M\_buf\_start**\
 size\_t **\_M\_current\_pos**\
 int **\_M\_leaf\_index**\
 size\_t **\_M\_leaf\_pos**\
 unsigned char **\_M\_path\_directions**\
 const **\_RopeRep** \* **\_M\_path\_end** \[\_S\_path\_cache\_len\]\
 **\_RopeRep** \* **\_M\_root**\
 \_CharT **\_M\_tmp\_buf** \[\_S\_iterator\_buf\_len\]\

### Friends

class **rope\< \_CharT, \_Alloc \>**\

## Member Typedef Documentation

### typedef \_Distance difference\_type` [inherited]`

Distance between iterators is represented as this type.

Reimplemented in **reverse\_iterator**.

Definition at line 113 of file stl\_iterator\_base\_types.h.

### typedef \_Category iterator\_category` [inherited]`

One of the **tag types**.

Definition at line 109 of file stl\_iterator\_base\_types.h.

### typedef \_Pointer pointer` [inherited]`

This type represents a pointer-to-value\_type.

Reimplemented in **\_Bit\_iterator**, **\_Bit\_const\_iterator**, **reverse\_iterator**, **\_Rope\_const\_iterator**, and **\_Rope\_iterator**.

Definition at line 115 of file stl\_iterator\_base\_types.h.

### typedef \_Reference reference` [inherited]`

This type represents a reference-to-value\_type.

Reimplemented in **\_Bit\_iterator**, **\_Bit\_const\_iterator**, **reverse\_iterator**, **\_Rope\_const\_iterator**, and **\_Rope\_iterator**.

Definition at line 117 of file stl\_iterator\_base\_types.h.

### typedef \_Tp value\_type` [inherited]`

The type 'pointed to' by the iterator.

Reimplemented in **sequence\_buffer**.

Definition at line 111 of file stl\_iterator\_base\_types.h.

## Author

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