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

StaticHashTable::Iterator Class Template Reference

Collaboration diagram for StaticHashTable::Iterator:

Collaboration graph
[legend]
List of all members.

Detailed Description

template<class T, class Key = word, class Hash = string::hash>
template<class TRef, class TableRef>
class Foam::StaticHashTable< T, Key, Hash >::Iterator< TRef, TableRef >

Definition at line 247 of file StaticHashTable.H.


Public Member Functions

 Iterator (TableRef curStaticHashTable, label hashIndex_, label elementIndex_)
 Construct from hash table, element and hash index.
 Iterator (const iterator &)
 Construct from the non-const iterator.
void operator= (const iterator &iter)
bool operator== (const iterator &iter) const
bool operator== (const const_iterator &iter) const
bool operator!= (const iterator &iter) const
bool operator!= (const const_iterator &iter) const
TRef operator * ()
TRef operator() ()
Iterator & operator++ ()
Iterator operator++ (int)
const Key & key ()

Friends

class StaticHashTable
class Iterator

Constructor & Destructor Documentation

Iterator ( TableRef  curStaticHashTable,
label  hashIndex_,
label  elementIndex_ 
) [inline]

Construct from hash table, element and hash index.

Definition at line 101 of file StaticHashTableI.H.

Iterator ( const iterator &   )  [inline]

Construct from the non-const iterator.

Definition at line 116 of file StaticHashTableI.H.


Member Function Documentation

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

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

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

Definition at line 145 of file StaticHashTableI.H.

References StaticHashTable::Iterator::operator==().

Here is the call graph for this function:

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

Definition at line 154 of file StaticHashTableI.H.

References StaticHashTable::Iterator::operator==().

Here is the call graph for this function:

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

Definition at line 162 of file StaticHashTableI.H.

TRef operator * (  )  [inline]

Definition at line 171 of file StaticHashTableI.H.

TRef operator() (  )  [inline]

Definition at line 180 of file StaticHashTableI.H.

References if().

Here is the call graph for this function:

StaticHashTable< T, Key, Hash >::template Iterator< TRef, TableRef > & operator++ (  )  [inline]

Definition at line 198 of file StaticHashTableI.H.

StaticHashTable< T, Key, Hash >::template Iterator< TRef, TableRef > operator++ ( int   )  [inline]

Definition at line 242 of file StaticHashTableI.H.

const Key & key (  )  [inline]

Definition at line 256 of file StaticHashTableI.H.

References forAll.


Friends And Related Function Documentation

friend class StaticHashTable [friend]

Definition at line 249 of file StaticHashTable.H.

friend class Iterator [friend]

Definition at line 253 of file StaticHashTable.H.


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