A skiprope iterator simulates a pointer to type const T. The iterator knows about the structure of a skiprope. It knows that a skiprope is a linked list of nodes of varying widths. More...
#include <skiprope.h>
Public Types | |
typedef skiprope_const_iterator< T > | self |
Public Member Functions | |
self const | begin () const |
self | begin () |
self const | end () const |
self | end () |
int | operator!= (skiprope_iterator< T > const &r) const |
int | operator!= (self const &r) const |
T const & | operator* () const |
self | operator++ (int) |
post increment | |
self & | operator++ () |
pre-increment | |
self | operator-- (int) |
post decrement | |
self & | operator-- () |
pre-decrement | |
self & | operator= (skiprope_iterator< T > const &r) |
self & | operator= (self const &r) |
int | operator== (skiprope_iterator< T > const &r) const |
int | operator== (self const &r) const |
skiprope_const_iterator (skiprope_iterator< T > i) | |
skiprope_const_iterator (skiprope_node< T > const *n, ptrdiff_t o, rope const *r) | |
skiprope_const_iterator (self const &r) | |
skiprope_const_iterator () | |
Private Types | |
typedef skiprope< T > | rope |
Private Attributes | |
skiprope_node< T > const * | node_ |
ptrdiff_t | offset_ |
rope const * | rope_ |
Friends | |
class | skiprope< T > |
class | skiprope_debugger< T > |
A skiprope iterator simulates a pointer to type const T. The iterator knows about the structure of a skiprope. It knows that a skiprope is a linked list of nodes of varying widths.
Definition at line 445 of file skiprope.h.
Definition at line 452 of file skiprope.h.
typedef skiprope_const_iterator<T> self |
Definition at line 462 of file skiprope.h.
Definition at line 464 of file skiprope.h.
skiprope_const_iterator | ( | self const & | r | ) |
Definition at line 466 of file skiprope.h.
skiprope_const_iterator | ( | skiprope_node< T > const * | n, | |
ptrdiff_t | o, | |||
rope const * | r | |||
) |
Definition at line 543 of file skiprope.h.
skiprope_const_iterator | ( | skiprope_iterator< T > | i | ) |
Definition at line 475 of file skiprope.h.
self const begin | ( | ) | const |
Definition at line 511 of file skiprope.h.
self begin | ( | ) |
Definition at line 508 of file skiprope.h.
self const end | ( | ) | const |
Definition at line 512 of file skiprope.h.
self end | ( | ) |
Definition at line 509 of file skiprope.h.
int operator!= | ( | skiprope_iterator< T > const & | r | ) | const |
Definition at line 529 of file skiprope.h.
int operator!= | ( | self const & | r | ) | const |
Definition at line 519 of file skiprope.h.
T const& operator* | ( | ) | const |
Definition at line 499 of file skiprope.h.
skiprope_const_iterator< T > operator++ | ( | int | ) |
post increment
Definition at line 1471 of file skiprope.h.
skiprope_const_iterator< T > & operator++ | ( | ) |
skiprope_const_iterator< T > operator-- | ( | int | ) |
post decrement
Definition at line 1528 of file skiprope.h.
skiprope_const_iterator< T > & operator-- | ( | ) |
self& operator= | ( | skiprope_iterator< T > const & | r | ) |
Definition at line 490 of file skiprope.h.
Definition at line 482 of file skiprope.h.
int operator== | ( | skiprope_iterator< T > const & | r | ) | const |
Definition at line 524 of file skiprope.h.
int operator== | ( | self const & | r | ) | const |
Definition at line 514 of file skiprope.h.
friend class skiprope< T > [friend] |
Definition at line 457 of file skiprope.h.
friend class skiprope_debugger< T > [friend] |
Definition at line 458 of file skiprope.h.
skiprope_node<T> const* node_ [private] |
Definition at line 453 of file skiprope.h.
ptrdiff_t offset_ [private] |
Definition at line 454 of file skiprope.h.
Definition at line 455 of file skiprope.h.