OpenStructure
Public Member Functions | Protected Member Functions
ModOPAlgorithm Class Referenceabstract

#include <data_algorithm.hh>

Inherits AlgorithmBase.

Inherited by Cartesian, EllipticPolar, Polar, and ImageStateModOPAlgorithm< FNC >.

Public Member Functions

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

Protected Member Functions

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

Detailed Description

out-of-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 ConstModOPAlgorithm

Definition at line 125 of file data_algorithm.hh.

Constructor & Destructor Documentation

◆ ModOPAlgorithm() [1/2]

ModOPAlgorithm ( const String name)
protected

◆ ModOPAlgorithm() [2/2]

ModOPAlgorithm ( const ModOPAlgorithm a)
protected

Member Function Documentation

◆ operator=()

ModOPAlgorithm& operator= ( const ModOPAlgorithm a)
protected

◆ Visit()

virtual ImageHandle Visit ( const ConstImageHandle ih)
pure virtual

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