OpenFOAM logo
The Open Source CFD Toolbox
  Programmer’s C++ Doxygen OpenCFD Solutions Contact OpenFOAM

HashTable::iterator Class Reference

List of all members.

Detailed Description

template<class T, class Key = word, class Hash = string::hash>
class Foam::HashTable< T, Key, Hash >::iterator

Definition at line 258 of file HashTable.H.


Public Member Functions

 iterator (HashTable< T, Key, Hash > &curHashTable, hashedEntry *elmt, label hashIndex)
 Construct from hash table, element and hash index.
void operator= (const iterator &iter)
bool operator== (const iterator &iter) const
bool operator!= (const iterator &iter) const
bool operator== (const const_iterator &iter) const
bool operator!= (const const_iterator &iter) const
T & operator * ()
T & operator() ()
iterator & operator++ ()
iterator operator++ (int)
const Key & key ()

Friends

class HashTable
class const_iterator

Constructor & Destructor Documentation

iterator ( HashTable< T, Key, Hash > &  curHashTable,
hashedEntry *  elmt,
label  hashIndex 
) [inline]

Construct from hash table, element and hash index.

Definition at line 126 of file HashTableI.H.


Member Function Documentation

void operator= ( const iterator &  iter  )  [inline]

Definition at line 139 of file HashTableI.H.

bool operator== ( const iterator &  iter  )  const [inline]

Definition at line 148 of file HashTableI.H.

bool operator!= ( const iterator &  iter  )  const [inline]

Definition at line 158 of file HashTableI.H.

bool operator== ( const const_iterator &  iter  )  const [inline]

Definition at line 168 of file HashTableI.H.

bool operator!= ( const const_iterator &  iter  )  const [inline]

Definition at line 178 of file HashTableI.H.

T & operator * (  )  [inline]

Definition at line 187 of file HashTableI.H.

T & operator() (  )  [inline]

Definition at line 194 of file HashTableI.H.

HashTable< T, Key, Hash >::iterator & operator++ (  )  [inline]

Definition at line 203 of file HashTableI.H.

HashTable< T, Key, Hash >::iterator operator++ ( int   )  [inline]

Definition at line 236 of file HashTableI.H.

const Key & key (  )  [inline]

Definition at line 248 of file HashTableI.H.


Friends And Related Function Documentation

friend class HashTable [friend]

Definition at line 260 of file HashTable.H.

friend class const_iterator [friend]

Definition at line 261 of file HashTable.H.


The documentation for this class was generated from the following files: Copyright © 2000-2007 OpenCFD Ltd