Flow123d  release_2.2.0-20-gb8056ca
Public Member Functions | Private Attributes | List of all members
GeneralIterator< Object > Class Template Reference

General iterator template. Provides iterator over objects in some container. More...

#include <general_iterator.hh>

Public Member Functions

 GeneralIterator (const Object &object)
 
bool operator== (const GeneralIterator &other)
 equal operator More...
 
bool operator!= (const GeneralIterator &other)
 non-equal operator More...
 
const Object & operator* () const
 
const Object * operator-> () const
 -> dereference operator More...
 
GeneralIteratoroperator++ ()
 prefix increment More...
 

Private Attributes

Object object_
 Output element of the output mesh. More...
 

Detailed Description

template<class Object>
class GeneralIterator< Object >

General iterator template. Provides iterator over objects in some container.

Requires the template object to implement:

Definition at line 30 of file general_iterator.hh.

Constructor & Destructor Documentation

template<class Object >
GeneralIterator< Object >::GeneralIterator ( const Object &  object)
inline

Definition at line 62 of file general_iterator.hh.

Member Function Documentation

template<class Object >
bool GeneralIterator< Object >::operator!= ( const GeneralIterator< Object > &  other)
inline

non-equal operator

Definition at line 73 of file general_iterator.hh.

template<class Object >
const Object & GeneralIterator< Object >::operator* ( ) const
inline
  • dereference operator

Definition at line 79 of file general_iterator.hh.

template<class Object >
GeneralIterator< Object > & GeneralIterator< Object >::operator++ ( )
inline

prefix increment

Definition at line 91 of file general_iterator.hh.

template<class Object >
const Object * GeneralIterator< Object >::operator-> ( ) const
inline

-> dereference operator

Definition at line 85 of file general_iterator.hh.

template<class Object >
bool GeneralIterator< Object >::operator== ( const GeneralIterator< Object > &  other)
inline

equal operator

Definition at line 67 of file general_iterator.hh.

Member Data Documentation

template<class Object >
Object GeneralIterator< Object >::object_
private

Output element of the output mesh.

Definition at line 53 of file general_iterator.hh.


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