DWFCore::DWFChainedSkipList< PK, SK, V, PE, SE, PL, SL, PZ, SZ >::ConstIterator Class Reference

#include "dwfcore/SkipList.h"

Inheritance diagram for DWFCore::DWFChainedSkipList< PK, SK, V, PE, SE, PL, SL, PZ, SZ >::ConstIterator:

Inheritance graph
[legend]
Collaboration diagram for DWFCore::DWFChainedSkipList< PK, SK, V, PE, SE, PL, SL, PZ, SZ >::ConstIterator:

Collaboration graph
[legend]
List of all members.

Detailed Description

template<class PK, class SK, class V, class PE = tDWFCompareEqual<PK>, class SE = tDWFCompareEqual<SK>, class PL = tDWFCompareLess<PK>, class SL = tDWFCompareLess<SK>, class PZ = tDWFDefinedEmpty<PK>, class SZ = tDWFDefinedEmpty<SK>>
class DWFCore::DWFChainedSkipList< PK, SK, V, PE, SE, PL, SL, PZ, SZ >::ConstIterator

An implementation of a skip list const iterator for chained lists.

Since:
1.2

Definition at line 2347 of file SkipList.h.

Public Member Functions

 ConstIterator (_tChainConstIterator *piChain) throw ()
 ConstIterator (_tListConstIterator *piList, int) throw ()
virtual ~ConstIterator () throw ()
void reset () throw ()
bool valid () const throw ()
bool next () throw ()
const SK & key () throw ( DWFException )
const V & value () throw ( DWFException )


Constructor & Destructor Documentation

template<class PK, class SK, class V, class PE = tDWFCompareEqual<PK>, class SE = tDWFCompareEqual<SK>, class PL = tDWFCompareLess<PK>, class SL = tDWFCompareLess<SK>, class PZ = tDWFDefinedEmpty<PK>, class SZ = tDWFDefinedEmpty<SK>>
virtual DWFCore::DWFChainedSkipList< PK, SK, V, PE, SE, PL, SL, PZ, SZ >::ConstIterator::~ConstIterator  )  throw () [inline, virtual]
 

Destructor

Exceptions:
None 

Reimplemented from DWFCore::DWFSkipList< K, V, E, L, Z >::ConstIterator.

Definition at line 2391 of file SkipList.h.


Member Function Documentation

template<class PK, class SK, class V, class PE = tDWFCompareEqual<PK>, class SE = tDWFCompareEqual<SK>, class PL = tDWFCompareLess<PK>, class SL = tDWFCompareLess<SK>, class PZ = tDWFDefinedEmpty<PK>, class SZ = tDWFDefinedEmpty<SK>>
const SK& DWFCore::DWFChainedSkipList< PK, SK, V, PE, SE, PL, SL, PZ, SZ >::ConstIterator::key  )  throw ( DWFException ) [inline, virtual]
 

Returns the key of the element at the current position.

Returns:
The current key.
Exceptions:
DWFException 

Reimplemented from DWFCore::DWFSkipList< K, V, E, L, Z >::ConstIterator.

Definition at line 2505 of file SkipList.h.

template<class PK, class SK, class V, class PE = tDWFCompareEqual<PK>, class SE = tDWFCompareEqual<SK>, class PL = tDWFCompareLess<PK>, class SL = tDWFCompareLess<SK>, class PZ = tDWFDefinedEmpty<PK>, class SZ = tDWFDefinedEmpty<SK>>
bool DWFCore::DWFChainedSkipList< PK, SK, V, PE, SE, PL, SL, PZ, SZ >::ConstIterator::next  )  throw () [inline, virtual]
 

Move the iterator forward one element.

Returns:
true if the iterator points to a valid element, false if the end of the iterator has been reached.
Exceptions:
None 

Reimplemented from DWFCore::DWFSkipList< K, V, E, L, Z >::ConstIterator.

Definition at line 2470 of file SkipList.h.

template<class PK, class SK, class V, class PE = tDWFCompareEqual<PK>, class SE = tDWFCompareEqual<SK>, class PL = tDWFCompareLess<PK>, class SL = tDWFCompareLess<SK>, class PZ = tDWFDefinedEmpty<PK>, class SZ = tDWFDefinedEmpty<SK>>
void DWFCore::DWFChainedSkipList< PK, SK, V, PE, SE, PL, SL, PZ, SZ >::ConstIterator::reset  )  throw () [inline, virtual]
 

Reset the iterator back to its initial position

Exceptions:
None 

Reimplemented from DWFCore::DWFSkipList< K, V, E, L, Z >::ConstIterator.

Definition at line 2404 of file SkipList.h.

template<class PK, class SK, class V, class PE = tDWFCompareEqual<PK>, class SE = tDWFCompareEqual<SK>, class PL = tDWFCompareLess<PK>, class SL = tDWFCompareLess<SK>, class PZ = tDWFDefinedEmpty<PK>, class SZ = tDWFDefinedEmpty<SK>>
const V& DWFCore::DWFChainedSkipList< PK, SK, V, PE, SE, PL, SL, PZ, SZ >::ConstIterator::value  )  throw ( DWFException ) [inline, virtual]
 

Returns the value of the element at the current position.

Returns:
The current value.
Exceptions:
DWFException 

Reimplemented from DWFCore::DWFSkipList< K, V, E, L, Z >::ConstIterator.

Definition at line 2518 of file SkipList.h.


The documentation for this class was generated from the following file:
Generated on Tue Jan 6 22:39:41 2009 for Autodesk DWF Core Library by  doxygen 1.4.5