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

hashtable< K, D >::iterator Class Reference

#include </home/clem/local/src/opie/noncore/apps/opie-reader/hash.h>

Collaboration diagram for hashtable< K, D >::iterator:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 iterator ()
iterator operator++ ()
iteratoroperator= (const iterator &r)
bool operator!= (const iterator &r)
bool operator== (const iterator &r)
first ()
second ()

Private Member Functions

 iterator (int t, hashtable *_tab)

Private Attributes

unsigned int ptr
hashtabletab

Friends

class hashtable

template<class K, class D>
class hashtable< K, D >::iterator


Constructor & Destructor Documentation

template<class K, class D>
hashtable< K, D >::iterator::iterator int  t,
hashtable _tab
[inline, private]
 

Definition at line 155 of file hash.h.

References hashtable< K, D >::hshsz, hashtable< K, D >::iterator::ptr, hashtable< K, D >::iterator::tab, and hashtable< K, D >::table.

template<class K, class D>
hashtable< K, D >::iterator::iterator  )  [inline]
 

Definition at line 163 of file hash.h.


Member Function Documentation

template<class K, class D>
K hashtable< K, D >::iterator::first  )  [inline]
 

Definition at line 186 of file hash.h.

References hashtable< K, D >::keydata::key, hashtable< K, D >::iterator::ptr, hashtable< K, D >::iterator::tab, and hashtable< K, D >::table.

template<class K, class D>
bool hashtable< K, D >::iterator::operator!= const iterator r  )  [inline]
 

Definition at line 178 of file hash.h.

References hashtable< K, D >::iterator::ptr, and hashtable< K, D >::iterator::tab.

template<class K, class D>
iterator hashtable< K, D >::iterator::operator++  )  [inline]
 

Definition at line 164 of file hash.h.

References hashtable< K, D >::hshsz, hashtable< K, D >::iterator::ptr, hashtable< K, D >::iterator::tab, and hashtable< K, D >::table.

template<class K, class D>
iterator& hashtable< K, D >::iterator::operator= const iterator r  )  [inline]
 

Definition at line 172 of file hash.h.

References hashtable< K, D >::iterator::ptr, and hashtable< K, D >::iterator::tab.

template<class K, class D>
bool hashtable< K, D >::iterator::operator== const iterator r  )  [inline]
 

Definition at line 182 of file hash.h.

References hashtable< K, D >::iterator::ptr, and hashtable< K, D >::iterator::tab.

template<class K, class D>
D hashtable< K, D >::iterator::second  )  [inline]
 

Definition at line 187 of file hash.h.

References hashtable< K, D >::keydata::data, hashtable< K, D >::iterator::ptr, hashtable< K, D >::iterator::tab, and hashtable< K, D >::table.


Friends And Related Function Documentation

template<class K, class D>
friend class hashtable [friend]
 

Definition at line 149 of file hash.h.


Member Data Documentation

template<class K, class D>
unsigned int hashtable< K, D >::iterator::ptr [private]
 

Definition at line 153 of file hash.h.

Referenced by hashtable< K, D >::iterator::first(), hashtable< K, D >::iterator::iterator(), hashtable< K, D >::iterator::operator!=(), hashtable< K, D >::iterator::operator++(), hashtable< K, D >::iterator::operator=(), hashtable< K, D >::iterator::operator==(), and hashtable< K, D >::iterator::second().

template<class K, class D>
hashtable* hashtable< K, D >::iterator::tab [private]
 

Definition at line 154 of file hash.h.

Referenced by hashtable< K, D >::iterator::first(), hashtable< K, D >::iterator::iterator(), hashtable< K, D >::iterator::operator!=(), hashtable< K, D >::iterator::operator++(), hashtable< K, D >::iterator::operator=(), hashtable< K, D >::iterator::operator==(), and hashtable< K, D >::iterator::second().


The documentation for this class was generated from the following file:
Generated on Sat Nov 5 17:34:41 2005 for OPIE by  doxygen 1.4.2