MFEM  v3.3
Finite element discretization library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Pages
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
mfem::HashTable< ItemT >::Iterator Class Reference

Iterator over items contained in the HashTable. More...

#include <hash.hpp>

Public Member Functions

 Iterator (const HashTable< ItemT > &table)
 
 operator ItemT * () const
 
ItemT & operator* () const
 
ItemT * operator-> () const
 
Iteratoroperator++ ()
 

Protected Member Functions

void next ()
 

Protected Attributes

const HashTable< ItemT > & hash_table
 
int cur_id
 
ItemT * cur_item
 

Detailed Description

template<typename ItemT>
class mfem::HashTable< ItemT >::Iterator

Iterator over items contained in the HashTable.

Definition at line 160 of file hash.hpp.

Constructor & Destructor Documentation

template<typename ItemT>
mfem::HashTable< ItemT >::Iterator::Iterator ( const HashTable< ItemT > &  table)
inline

Definition at line 163 of file hash.hpp.

Member Function Documentation

template<typename ItemT >
void mfem::HashTable< ItemT >::Iterator::next ( )
protected

Definition at line 483 of file hash.hpp.

template<typename ItemT>
mfem::HashTable< ItemT >::Iterator::operator ItemT * ( ) const
inline

Definition at line 166 of file hash.hpp.

template<typename ItemT>
ItemT& mfem::HashTable< ItemT >::Iterator::operator* ( ) const
inline

Definition at line 167 of file hash.hpp.

template<typename ItemT>
Iterator& mfem::HashTable< ItemT >::Iterator::operator++ ( )
inline

Definition at line 170 of file hash.hpp.

template<typename ItemT>
ItemT* mfem::HashTable< ItemT >::Iterator::operator-> ( ) const
inline

Definition at line 168 of file hash.hpp.

Member Data Documentation

template<typename ItemT>
int mfem::HashTable< ItemT >::Iterator::cur_id
protected

Definition at line 174 of file hash.hpp.

template<typename ItemT>
ItemT* mfem::HashTable< ItemT >::Iterator::cur_item
protected

Definition at line 175 of file hash.hpp.

template<typename ItemT>
const HashTable<ItemT>& mfem::HashTable< ItemT >::Iterator::hash_table
protected

Definition at line 173 of file hash.hpp.


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