Home  · Classes  · Annotated Classes  · Modules  · Members  · Namespaces  · Related Pages

FactoryProduct Class Reference
[Concept]

#include <OpenMS/CONCEPT/FactoryProduct.h>

Inheritance diagram for FactoryProduct:

DefaultParamHandler BaseModel BaseModel< 1 > BasePairFinder BasePairFinder< ConsensusMapT > BasePairwiseMapMatcher BaseSuperimposer BinnedRepCompareFunctor FeatureFinderAlgorithm FilterFunctor Fitter1D PairMatcher PeakMarker PeakSpectrumCompareFunctor PepIterator PreprocessingFunctor SpectrumAlignment

List of all members.


Detailed Description

Base class for all classes T whose objects need to be constructed by Factory<T>.

Every derived class T has to implement the static function registerChildren that registers all from T derived classes S at Factory<T>.

Every from T derived class S has to implement the static function T* create() which is going to be registered at Factory<T>.
Additionally the static function const String getProductName() is required, which returns the name the class is registered by. The used name has to be given in the Constructor.

Note:
Please read the documentation of DefaultParamHandler carefully if you derive a FactoryProduct!

Public Member Functions

 FactoryProduct (const String &name)
 Constructor.
 FactoryProduct (const FactoryProduct &source)
 Copy constructor.
virtual FactoryProductoperator= (const FactoryProduct &source)
 Assignment operator.
virtual bool operator== (const FactoryProduct &rhs) const
 Equality operator.

Private Member Functions

 FactoryProduct ()
 Hidden default construcor (name is required).

Constructor & Destructor Documentation

FactoryProduct ( const String name  ) 

Constructor.

FactoryProduct ( const FactoryProduct source  ) 

Copy constructor.

FactoryProduct (  )  [private]

Hidden default construcor (name is required).


Member Function Documentation

virtual FactoryProduct& operator= ( const FactoryProduct source  )  [virtual]

Assignment operator.

virtual bool operator== ( const FactoryProduct rhs  )  const [virtual]

Equality operator.


The documentation for this class was generated from the following file:
Generated Tue Apr 1 15:36:43 2008 -- using doxygen 1.5.4 OpenMS / TOPP 1.1