FreeFOAM The Cross-Platform CFD Toolkit
HashTable< T, Key, Hash >::const_iterator Class Reference

An STL-conforming const_iterator. More...

#include <src/OpenFOAM/containers/HashTables/HashTable/HashTable.H>


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 355 of file HashTable.H.

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 Toperator* () const
const Toperator() () const
const_iteratoroperator++ ()
const_iterator operator++ (int)
const Key & key () const

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

const_iterator ( const iterator iter)
inline

Construct from the non-const iterator.

Definition at line 368 of file HashTableI.H.


Member Function Documentation

void operator= ( const const_iterator iter)
inline

Definition at line 380 of file HashTableI.H.

bool operator== ( const const_iterator iter) const
inline

Definition at line 391 of file HashTableI.H.

bool operator!= ( const const_iterator iter) const
inline

Definition at line 401 of file HashTableI.H.

bool operator== ( const iterator iter) const
inline

Definition at line 411 of file HashTableI.H.

bool operator!= ( const iterator iter) const
inline

Definition at line 421 of file HashTableI.H.

const T & operator* ( ) const
inline

Definition at line 431 of file HashTableI.H.

const T & operator() ( ) const
inline

Definition at line 438 of file HashTableI.H.

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

Definition at line 447 of file HashTableI.H.

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

Definition at line 471 of file HashTableI.H.

const Key & key ( ) const
inline

Definition at line 483 of file HashTableI.H.


Friends And Related Function Documentation

friend class iterator
friend

Definition at line 357 of file HashTable.H.


The documentation for this class was generated from the following files: