Home  · Classes  · Annotated Classes  · Modules  · Members  · Namespaces  · Related Pages

HashMap::Iterator Class Reference

#include <OpenMS/DATASTRUCTURES/HashMap.h>

List of all members.


Detailed Description

template<class Key, class T>
class OpenMS::HashMap< Key, T >::Iterator

HashMap iterator class.

Public Types

typedef ValueType value_type
typedef Int difference_type
typedef std::forward_iterator_tag iterator_category
typedef value_typereference
typedef value_typepointer

Public Member Functions

 Iterator () throw ()
 Iterator (const Iterator &it) throw ()
 ~Iterator () throw ()
Iteratoroperator= (const Iterator &it) throw ()
bool operator== (const Iterator &it) const throw ()
bool operator!= (const Iterator &it) const throw ()
reference operator * () throw ()
const reference operator * () const throw ()
pointer operator-> () throw ()
const pointer operator-> () const
Iteratoroperator++ ()
Iterator operator++ (int)

Static Public Member Functions

static Iterator end (const HashMap &hm)
static Iterator begin (const HashMap &hm)

Protected Attributes

Nodeposition_
UInt bucket_
HashMapbound_

Friends

class HashMap
class ConstIterator

Member Typedef Documentation

typedef ValueType value_type

typedef Int difference_type

typedef std::forward_iterator_tag iterator_category

typedef value_type& reference

typedef value_type* pointer


Constructor & Destructor Documentation

Iterator (  )  throw () [inline]

Iterator ( const Iterator it  )  throw () [inline]

~Iterator (  )  throw () [inline]


Member Function Documentation

Iterator& operator= ( const Iterator it  )  throw () [inline]

bool operator== ( const Iterator it  )  const throw () [inline]

bool operator!= ( const Iterator it  )  const throw () [inline]

reference operator * (  )  throw () [inline]

const reference operator * (  )  const throw () [inline]

pointer operator-> (  )  throw () [inline]

const pointer operator-> (  )  const [inline]

Iterator& operator++ (  )  [inline]

Iterator operator++ ( int   )  [inline]

static Iterator end ( const HashMap hm  )  [inline, static]

static Iterator begin ( const HashMap hm  )  [inline, static]


Friends And Related Function Documentation

friend class HashMap [friend]

friend class ConstIterator [friend]


Member Data Documentation

Node* position_ [protected]

UInt bucket_ [protected]

HashMap* bound_ [protected]


The documentation for this class was generated from the following file:
Generated Tue Apr 1 15:36:43 2008 -- using doxygen 1.5.4 OpenMS / TOPP 1.1