skiprope_const_iterator< T > Class Template Reference

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>

Collaboration diagram for skiprope_const_iterator< T >:
Collaboration graph
[legend]

List of all members.

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
selfoperator++ ()
 pre-increment
self operator-- (int)
 post decrement
selfoperator-- ()
 pre-decrement
selfoperator= (skiprope_iterator< T > const &r)
selfoperator= (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 >

Detailed Description

template<class T>
class cxxtls::skiprope_const_iterator< 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.


Member Typedef Documentation

typedef skiprope<T> rope [private]

Definition at line 452 of file skiprope.h.

Definition at line 462 of file skiprope.h.


Constructor & Destructor Documentation

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.

Definition at line 475 of file skiprope.h.


Member Function Documentation

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.

Here is the call graph for this function:

skiprope_const_iterator< T > & operator++ (  ) 

pre-increment

Definition at line 1452 of file skiprope.h.

Here is the call graph for this function:

skiprope_const_iterator< T > operator-- ( int   ) 

post decrement

Definition at line 1528 of file skiprope.h.

Here is the call graph for this function:

skiprope_const_iterator< T > & operator-- (  ) 

pre-decrement

Definition at line 1494 of file skiprope.h.

Here is the call graph for this function:

self& operator= ( skiprope_iterator< T > const &  r  ) 

Definition at line 490 of file skiprope.h.

self& operator= ( self const &  r  ) 

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.


Friends And Related Function Documentation

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.


Member Data Documentation

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.

rope const* rope_ [private]

Definition at line 455 of file skiprope.h.


The documentation for this class was generated from the following file:
Generated on Wed Feb 29 22:56:37 2012 for CXXUtilities by  doxygen 1.6.3