NSkipList::iterator Class Reference

NSkipList::iterator is the iterator object for NSkipList. More...

List of all members.

Public Member Functions

 iterator (NSkipNode< T > *node)
 Constructs a NSkipList::iterator.
 iterator (const iterator &other)
 Copy-constructs a NSkipList::iterator.
iteratoroperator= (const iterator &rhs)
 Copies an iterator.
bool operator!= (const iterator &rhs) const
 Test whether two iterator's items differs.
bool operator== (const iterator &rhs) const
 Test whether two iterator's items are equal.
iterator operator++ (int)
 Moves foward.
const iteratoroperator++ (void) const
 Moves foward.
const iterator operator++ (int) const
 Moves foward.
T & operator * (void)
 Gets the content of the iterator's item.
const T & operator * (void) const
 Gets the content of the iterator's item.
T * operator-> (void)
 Gets the address of the iterator's item.
const T * operator-> (void) const
 Gets the address of the iterator's item.


Detailed Description

template<typename T>
class NSkipList< T >::iterator

NSkipList::iterator is the iterator object for NSkipList.

Definition at line 400 of file nskiplist.hpp.


Constructor & Destructor Documentation

iterator ( const iterator other  )  [inline]

Copy-constructs a NSkipList::iterator.

Parameters:
other The object to be copied

Definition at line 413 of file nskiplist.hpp.

References m_node.


Member Function Documentation

iterator& operator= ( const iterator rhs  )  [inline]

Copies an iterator.

Parameters:
rhs The iterator to be copied
Returns:
A reference to the current object

Definition at line 422 of file nskiplist.hpp.

References m_node.

bool operator!= ( const iterator rhs  )  const [inline]

Test whether two iterator's items differs.

Parameters:
rhs The iterator with the item to be tested
Returns:
true if differs or false otherwise

Definition at line 433 of file nskiplist.hpp.

References m_node.

bool operator== ( const iterator rhs  )  const [inline]

Test whether two iterator's items are equal.

Parameters:
rhs The iterator with the item to be tested
Returns:
true if equals or false otherwise

Definition at line 453 of file nskiplist.hpp.

References m_node.

iterator operator++ ( int   )  [inline]

Moves foward.

Returns:
An iterator pointing to the next item

Definition at line 473 of file nskiplist.hpp.

const iterator& operator++ ( void   )  const [inline]

Moves foward.

Returns:
A const iterator pointing to the next item

Definition at line 484 of file nskiplist.hpp.

const iterator operator++ ( int   )  const [inline]

Moves foward.

Returns:
A const iterator pointing to the next item

Definition at line 495 of file nskiplist.hpp.

T& operator * ( void   )  [inline]

Gets the content of the iterator's item.

Returns:
A reference to the content of the iterator's item

Definition at line 506 of file nskiplist.hpp.

const T& operator * ( void   )  const [inline]

Gets the content of the iterator's item.

Returns:
A const referecence to the content of the iterator's item

Definition at line 514 of file nskiplist.hpp.

T* operator-> ( void   )  [inline]

Gets the address of the iterator's item.

Returns:
A pointer to the address of the iterator's item

Definition at line 522 of file nskiplist.hpp.

const T* operator-> ( void   )  const [inline]

Gets the address of the iterator's item.

Returns:
A const-pointer to the address of the iterator's item

Definition at line 530 of file nskiplist.hpp.


The documentation for this class was generated from the following file:
Generated on Wed Mar 5 23:10:37 2008 for NemesisUtilitiesSystem by  doxygen 1.5.4