#include <stl_rope.h>
Inheritance diagram for __rope_iterator_base:


Public Types | |
| typedef __rope_RopeBase< charT, Alloc > | RopeBase |
Public Methods | |
| size_t | index () const |
Protected Types | |
| enum | { path_cache_len = 4 } |
| enum | { iterator_buf_len = 15 } |
Protected Methods | |
| __rope_iterator_base () | |
| __rope_iterator_base (RopeBase *root, size_t pos) | |
| __rope_iterator_base (const __rope_iterator_base &x) | |
| void | incr (size_t n) |
| void | decr (size_t n) |
Static Protected Methods | |
| void | setbuf (__rope_iterator_base &x) |
| void | setcache (__rope_iterator_base &x) |
| void | setcache_for_incr (__rope_iterator_base &x) |
Protected Attributes | |
| size_t | current_pos |
| RopeBase * | root |
| size_t | leaf_pos |
| __GC_CONST charT * | buf_start |
| __GC_CONST charT * | buf_ptr |
| __GC_CONST charT * | buf_end |
| const RopeBase * | path_end [path_cache_len] |
| int | leaf_index |
| unsigned char | path_directions |
| charT | tmp_buf [iterator_buf_len] |
Friends | |
| class | rope< charT, Alloc > |
|
|||||
|
Definition at line 615 of file stl_rope.h. Referenced by __rope_const_iterator::__rope_const_iterator, and __rope_iterator::operator=. |
|
|||||
|
Definition at line 618 of file stl_rope.h.
00618 { path_cache_len = 4 }; // Must be <= 9.
|
|
|||||
|
Definition at line 619 of file stl_rope.h.
00619 { iterator_buf_len = 15 };
|
|
|||||||||
|
Definition at line 661 of file stl_rope.h.
00661 {}
|
|
||||||||||||||||
|
Definition at line 662 of file stl_rope.h. References buf_ptr, and current_pos.
00662 : 00663 root(root), current_pos(pos), buf_ptr(0) {} __rope_iterator_base(const __rope_iterator_base& x) { |
|
||||||||||
|
Definition at line 664 of file stl_rope.h. References buf_ptr, current_pos, and root.
00664 {
00665 if (0 != x.buf_ptr) {
00666 *this = x;
00667 } else {
00668 current_pos = x.current_pos;
00669 root = x.root;
00670 buf_ptr = 0;
00671 }
00672 }
|
|
||||||||||
|
||||||||||
|
|||||||||
|
Definition at line 676 of file stl_rope.h. References current_pos. Referenced by rope::erase, rope::find, rope::insert, rope::replace, and rope::substr.
00676 { return current_pos; }
|
|
||||||||||
|
|
|
||||||||||
|
Referenced by __rope_const_iterator::operator *. |
|
||||||||||
|
|
|
|||||
|
Reimplemented in __rope_const_iterator. Definition at line 613 of file stl_rope.h. |
|
|||||
|
Definition at line 629 of file stl_rope.h. Referenced by __rope_const_iterator::operator++. |
|
|||||
|
Definition at line 626 of file stl_rope.h. Referenced by __rope_iterator_base, __rope_iterator::operator *, __rope_const_iterator::operator *, __rope_const_iterator::operator++, __rope_iterator::operator=, and __rope_const_iterator::operator=. |
|
|||||
|
Definition at line 623 of file stl_rope.h. |
|
|||||
|
|||||
|
Definition at line 636 of file stl_rope.h. |
|
|||||
|
Definition at line 622 of file stl_rope.h. |
|
|||||
|
Definition at line 639 of file stl_rope.h. |
|
|||||
|
Definition at line 635 of file stl_rope.h. |
|
|||||
|
|||||
|
Definition at line 644 of file stl_rope.h. |
| Documentation generated on Thu May 2 15:03:18 2002 |
Generated with doxygen 1.2.12 by Dimitri van Heesch , 1997-2001 |