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

HashTable::const_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 >::const_iterator

Definition at line 317 of file HashTable.H.


Public Member Functions

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

Friends

class iterator

Constructor & Destructor Documentation

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

Construct from hash table, element and hash index.

Definition at line 292 of file HashTableI.H.

const_iterator ( const iterator &   )  [inline]

Construct from the non-const iterator.

Definition at line 306 of file HashTableI.H.


Member Function Documentation

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

Definition at line 318 of file HashTableI.H.

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

Definition at line 329 of file HashTableI.H.

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

Definition at line 339 of file HashTableI.H.

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

Definition at line 349 of file HashTableI.H.

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

Definition at line 359 of file HashTableI.H.

const T & operator * (  )  [inline]

Definition at line 368 of file HashTableI.H.

const T & operator() (  )  [inline]

Definition at line 375 of file HashTableI.H.

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

Definition at line 384 of file HashTableI.H.

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

Definition at line 407 of file HashTableI.H.

const Key & key (  )  [inline]

Definition at line 419 of file HashTableI.H.


Friends And Related Function Documentation

friend class iterator [friend]

Definition at line 319 of file HashTable.H.


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