DWFCore::DWFSkipList< K, V, E, L, Z >::_Node::_Iterator Class Reference

Inheritance diagram for DWFCore::DWFSkipList< K, V, E, L, Z >::_Node::_Iterator:

Inheritance graph
[legend]
Collaboration diagram for DWFCore::DWFSkipList< K, V, E, L, Z >::_Node::_Iterator:

Collaboration graph
[legend]
List of all members.

Detailed Description

template<class K, class V, class E = tDWFCompareEqual<K>, class L = tDWFCompareLess<K>, class Z = tDWFDefinedEmpty<K>>
class DWFCore::DWFSkipList< K, V, E, L, Z >::_Node::_Iterator

Definition at line 173 of file SkipList.h.

Public Member Functions

 _Iterator (_Node *pFirst) throw ()
virtual ~_Iterator () throw ()
void reset () throw ()
bool valid () throw ()
bool next () throw ()
_Node *& get () throw ()


Member Function Documentation

template<class K, class V, class E = tDWFCompareEqual<K>, class L = tDWFCompareLess<K>, class Z = tDWFDefinedEmpty<K>>
_Node*& DWFCore::DWFSkipList< K, V, E, L, Z >::_Node::_Iterator::get  )  throw () [inline, virtual]
 

Returns the element at the current position.

Returns:
The current element.
Exceptions:
DWFException 

Implements DWFCore::DWFIterator< _Node * >.

Definition at line 209 of file SkipList.h.

template<class K, class V, class E = tDWFCompareEqual<K>, class L = tDWFCompareLess<K>, class Z = tDWFDefinedEmpty<K>>
bool DWFCore::DWFSkipList< K, V, E, L, Z >::_Node::_Iterator::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 

Implements DWFCore::DWFIterator< _Node * >.

Definition at line 201 of file SkipList.h.

template<class K, class V, class E = tDWFCompareEqual<K>, class L = tDWFCompareLess<K>, class Z = tDWFDefinedEmpty<K>>
void DWFCore::DWFSkipList< K, V, E, L, Z >::_Node::_Iterator::reset  )  throw () [inline, virtual]
 

Reset the iterator back to its initial position

Exceptions:
None 

Implements DWFCore::DWFIterator< _Node * >.

Definition at line 189 of file SkipList.h.

template<class K, class V, class E = tDWFCompareEqual<K>, class L = tDWFCompareLess<K>, class Z = tDWFDefinedEmpty<K>>
bool DWFCore::DWFSkipList< K, V, E, L, Z >::_Node::_Iterator::valid  )  throw () [inline, virtual]
 

Determines if the iterator points to a valid element.

Returns:
true if get() will return a valid element, false if the end of the iterator has been reached.
Exceptions:
None 

Implements DWFCore::DWFIterator< _Node * >.

Definition at line 195 of file SkipList.h.


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