OpenFOAM logo
The Open Source CFD Toolbox
  Source Guide OpenCFD Solutions Contact OpenFOAM

const_iterator Class Reference

An STL-conforming const_iterator. More...

Collaboration diagram for const_iterator:

List of all members.


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 &)
bool operator== (const const_iterator &) const
bool operator!= (const const_iterator &) const
bool operator== (const iterator &) const
bool operator!= (const iterator &) const
const T & operator* () const
const T & operator() () const
const_iteratoroperator++ ()
const_iterator operator++ (int)
const Key & key () const

Friends

class iterator

Detailed Description

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

An STL-conforming const_iterator.

Definition at line 367 of file HashTable.H.


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 346 of file HashTableI.H.

const_iterator ( const iterator iter  )  [inline]

Construct from the non-const iterator.

Definition at line 360 of file HashTableI.H.


Member Function Documentation

void operator= ( const const_iterator iter  )  [inline]

Definition at line 372 of file HashTableI.H.

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

Definition at line 383 of file HashTableI.H.

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

Definition at line 393 of file HashTableI.H.

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

Definition at line 403 of file HashTableI.H.

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

Definition at line 413 of file HashTableI.H.

const T & operator* (  )  const [inline]

Definition at line 423 of file HashTableI.H.

const T & operator() (  )  const [inline]

Definition at line 430 of file HashTableI.H.

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

Definition at line 439 of file HashTableI.H.

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

Definition at line 463 of file HashTableI.H.

const Key & key (  )  const [inline]

Definition at line 475 of file HashTableI.H.


Friends And Related Function Documentation

friend class iterator [friend]

Definition at line 369 of file HashTable.H.


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