Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

hashmap< keyT, dataT, hasherT, mapT >::iterator Class Reference

#include <hashmap.h>

List of all members.

template<class keyT, class dataT, class hasherT, class mapT>
class hashmap< keyT, dataT, hasherT, mapT >::iterator


Public Member Functions

 iterator ()
 iterator (typename hash_array::iterator vfirst, typename hash_array::iterator vlast, typename stdmap::iterator mfirst, typename stdmap::iterator mlast)
bool operator== (const iterator &rhs)
bool operator!= (const iterator &rhs)
iteratoroperator++ ()
 increment if current list next element not null, use it else find next list and point to the first non-null element.

std::pair< const keyT, dataT > & operator * () const
std::pair< const keyT, dataT > * operator-> () const

Private Attributes

hash_array::iterator vbegin
 current iterator

hash_array::iterator vend
 current iterator

stdmap::iterator mbegin
 current iterator

stdmap::iterator mend
 current iterator


Constructor & Destructor Documentation

template<class keyT, class dataT, class hasherT, class mapT>
hashmap< keyT, dataT, hasherT, mapT >::iterator::iterator  )  [inline]
 

Definition at line 29 of file hashmap.h.

References hashmap< keyT, dataT, hasherT, mapT >::iterator::mbegin, hashmap< keyT, dataT, hasherT, mapT >::iterator::mend, hashmap< keyT, dataT, hasherT, mapT >::iterator::vbegin, and hashmap< keyT, dataT, hasherT, mapT >::iterator::vend.

template<class keyT, class dataT, class hasherT, class mapT>
hashmap< keyT, dataT, hasherT, mapT >::iterator::iterator typename hash_array::iterator  vfirst,
typename hash_array::iterator  vlast,
typename stdmap::iterator  mfirst,
typename stdmap::iterator  mlast
[inline]
 

Definition at line 37 of file hashmap.h.

References hashmap< keyT, dataT, hasherT, mapT >::iterator::mbegin, hashmap< keyT, dataT, hasherT, mapT >::iterator::mend, hashmap< keyT, dataT, hasherT, mapT >::iterator::vbegin, and hashmap< keyT, dataT, hasherT, mapT >::iterator::vend.


Member Function Documentation

template<class keyT, class dataT, class hasherT, class mapT>
std::pair<const keyT, dataT>& hashmap< keyT, dataT, hasherT, mapT >::iterator::operator *  )  const [inline]
 

Definition at line 80 of file hashmap.h.

template<class keyT, class dataT, class hasherT, class mapT>
bool hashmap< keyT, dataT, hasherT, mapT >::iterator::operator!= const iterator rhs  )  [inline]
 

Definition at line 49 of file hashmap.h.

template<class keyT, class dataT, class hasherT, class mapT>
iterator& hashmap< keyT, dataT, hasherT, mapT >::iterator::operator++  )  [inline]
 

increment if current list next element not null, use it else find next list and point to the first non-null element.

Definition at line 59 of file hashmap.h.

References hashmap< keyT, dataT, hasherT, mapT >::iterator::mbegin, hashmap< keyT, dataT, hasherT, mapT >::iterator::mend, hashmap< keyT, dataT, hasherT, mapT >::iterator::vbegin, and hashmap< keyT, dataT, hasherT, mapT >::iterator::vend.

template<class keyT, class dataT, class hasherT, class mapT>
std::pair<const keyT, dataT>* hashmap< keyT, dataT, hasherT, mapT >::iterator::operator->  )  const [inline]
 

Definition at line 84 of file hashmap.h.

template<class keyT, class dataT, class hasherT, class mapT>
bool hashmap< keyT, dataT, hasherT, mapT >::iterator::operator== const iterator rhs  )  [inline]
 

Definition at line 44 of file hashmap.h.

References hashmap< keyT, dataT, hasherT, mapT >::iterator::mbegin, and hashmap< keyT, dataT, hasherT, mapT >::iterator::vbegin.


Member Data Documentation

template<class keyT, class dataT, class hasherT, class mapT>
stdmap::iterator hashmap< keyT, dataT, hasherT, mapT >::iterator::mbegin [private]
 

current iterator

Definition at line 93 of file hashmap.h.

Referenced by hashmap< keyT, dataT, hasherT, mapT >::iterator::iterator(), hashmap< keyT, dataT, hasherT, mapT >::iterator::operator++(), and hashmap< keyT, dataT, hasherT, mapT >::iterator::operator==().

template<class keyT, class dataT, class hasherT, class mapT>
stdmap::iterator hashmap< keyT, dataT, hasherT, mapT >::iterator::mend [private]
 

current iterator

Definition at line 93 of file hashmap.h.

Referenced by hashmap< keyT, dataT, hasherT, mapT >::iterator::iterator(), and hashmap< keyT, dataT, hasherT, mapT >::iterator::operator++().

template<class keyT, class dataT, class hasherT, class mapT>
hash_array::iterator hashmap< keyT, dataT, hasherT, mapT >::iterator::vbegin [private]
 

current iterator

Definition at line 91 of file hashmap.h.

Referenced by hashmap< keyT, dataT, hasherT, mapT >::iterator::iterator(), hashmap< keyT, dataT, hasherT, mapT >::iterator::operator++(), and hashmap< keyT, dataT, hasherT, mapT >::iterator::operator==().

template<class keyT, class dataT, class hasherT, class mapT>
hash_array::iterator hashmap< keyT, dataT, hasherT, mapT >::iterator::vend [private]
 

current iterator

Definition at line 91 of file hashmap.h.

Referenced by hashmap< keyT, dataT, hasherT, mapT >::iterator::iterator(), and hashmap< keyT, dataT, hasherT, mapT >::iterator::operator++().


The documentation for this class was generated from the following file:
Generated on Mon Jun 28 15:02:19 2004 for Advanced Surface Library by doxygen 1.3.4