OpenStructure
Public Member Functions | Protected Member Functions
ModIPAlgorithm Class Referenceabstract

#include <data_algorithm.hh>

Inherits AlgorithmBase.

Inherited by ImageStateModIPAlgorithm< FNC >, and ImageStateMorphAlgorithm< FNC >.

Public Member Functions

virtual void Visit (ImageHandle &ih)=0
 
- Public Member Functions inherited from AlgorithmBase
const StringGetName () const
 
virtual ~AlgorithmBase ()
 

Protected Member Functions

 ModIPAlgorithm (const String &name)
 
 ModIPAlgorithm (const ModIPAlgorithm &a)
 
ModIPAlgorithmoperator= (const ModIPAlgorithm &a)
 
- Protected Member Functions inherited from AlgorithmBase
 AlgorithmBase (const String &n)
 
 AlgorithmBase (const AlgorithmBase &a)
 
AlgorithmBaseoperator= (const AlgorithmBase &b)
 

Detailed Description

In-place modification algorithm.

The Visit method is not const! As a consequence, algorithms of this type cannot be used as temporary objects. If the algorithm does not need to store values beyond the duraction of the Visit call, it is advisable to use ConstModIPAlgorithm

Definition at line 89 of file data_algorithm.hh.

Constructor & Destructor Documentation

◆ ModIPAlgorithm() [1/2]

ModIPAlgorithm ( const String name)
protected

◆ ModIPAlgorithm() [2/2]

ModIPAlgorithm ( const ModIPAlgorithm a)
protected

Member Function Documentation

◆ operator=()

ModIPAlgorithm& operator= ( const ModIPAlgorithm a)
protected

◆ Visit()

virtual void Visit ( ImageHandle ih)
pure virtual

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