skiprope_iterator< T > Class Template Reference

A skiprope iterator simulates a pointer to type 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_iterator< T >:
Collaboration graph
[legend]

List of all members.

Public Types

typedef skiprope_iterator< T > self

Public Member Functions

self const begin () const
self begin ()
self const end () const
self end ()
int operator!= (self const &r) const
T const & operator* () const
T & operator* ()
self operator++ (int)
 post increment
selfoperator++ ()
 pre-increment
self operator-- (int)
 post decrement
selfoperator-- ()
 pre-decrement
selfoperator= (self const &r)
int operator== (self const &r) const
 skiprope_iterator (skiprope_node< T > *n, ptrdiff_t o, skiprope< T > *r, int normal=1)
 skiprope_iterator (self const &r)
 skiprope_iterator ()

Private Types

typedef skiprope< T > rope

Private Attributes

skiprope_node< T > * node_
ptrdiff_t offset_
roperope_

Friends

class skiprope< T >
class skiprope_const_iterator< T >
class skiprope_debugger< T >

Detailed Description

template<class T>
class cxxtls::skiprope_iterator< T >

A skiprope iterator simulates a pointer to type 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 334 of file skiprope.h.


Member Typedef Documentation

typedef skiprope<T> rope [private]

Definition at line 341 of file skiprope.h.

typedef skiprope_iterator<T> self

Definition at line 353 of file skiprope.h.


Constructor & Destructor Documentation

Definition at line 355 of file skiprope.h.

skiprope_iterator ( self const &  r  ) 

Definition at line 357 of file skiprope.h.

skiprope_iterator ( skiprope_node< T > *  n,
ptrdiff_t  o,
skiprope< T > *  r,
int  normal = 1 
)

Definition at line 403 of file skiprope.h.

Here is the call graph for this function:


Member Function Documentation

self const begin (  )  const

Definition at line 373 of file skiprope.h.

self begin (  ) 

Definition at line 370 of file skiprope.h.

Here is the caller graph for this function:

self const end (  )  const

Definition at line 374 of file skiprope.h.

self end (  ) 

Definition at line 371 of file skiprope.h.

int operator!= ( self const &  r  )  const

Definition at line 381 of file skiprope.h.

T const& operator* (  )  const

Definition at line 362 of file skiprope.h.

T& operator* (  ) 

Definition at line 361 of file skiprope.h.

skiprope_iterator< T > operator++ ( int   ) 

post increment

Definition at line 1353 of file skiprope.h.

Here is the call graph for this function:

skiprope_iterator< T > & operator++ (  ) 

pre-increment

Definition at line 1334 of file skiprope.h.

Here is the call graph for this function:

skiprope_iterator< T > operator-- ( int   ) 

post decrement

Definition at line 1413 of file skiprope.h.

Here is the call graph for this function:

skiprope_iterator< T > & operator-- (  ) 

pre-decrement

Definition at line 1376 of file skiprope.h.

Here is the call graph for this function:

self& operator= ( self const &  r  ) 

Definition at line 386 of file skiprope.h.

int operator== ( self const &  r  )  const

Definition at line 376 of file skiprope.h.


Friends And Related Function Documentation

friend class skiprope< T > [friend]

Definition at line 348 of file skiprope.h.

friend class skiprope_const_iterator< T > [friend]

Definition at line 347 of file skiprope.h.

friend class skiprope_debugger< T > [friend]

Definition at line 349 of file skiprope.h.


Member Data Documentation

skiprope_node<T>* node_ [private]

Definition at line 343 of file skiprope.h.

ptrdiff_t offset_ [private]

Definition at line 344 of file skiprope.h.

rope* rope_ [private]

Definition at line 345 of file skiprope.h.


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