Flow123d  release_3.0.0-879-gd0f69e9
Public Member Functions | Private Attributes | List of all members
Iter< Object > Class Template Reference

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

#include <general_iterator.hh>

Public Member Functions

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

Private Attributes

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

Detailed Description

template<class Object>
class Iter< 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 >
Iter< Object >::Iter ( const Object &  object)
inline

Definition at line 71 of file general_iterator.hh.

Member Function Documentation

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

non-equal operator

Definition at line 82 of file general_iterator.hh.

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

Definition at line 88 of file general_iterator.hh.

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

prefix increment

Definition at line 100 of file general_iterator.hh.

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

-> dereference operator

Definition at line 94 of file general_iterator.hh.

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

equal operator

Definition at line 76 of file general_iterator.hh.

Member Data Documentation

template<class Object>
Object Iter< 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: