35 #ifndef OPENMS_TRANSFORMATIONS_FEATUREFINDER_MODELDESCRIPTION_H 36 #define OPENMS_TRANSFORMATIONS_FEATUREFINDER_MODELDESCRIPTION_H 87 if (&source ==
this)
return *
this;
99 if (
name_ ==
"")
return 0;
164 #endif // OPENMS_TRANSFORMATIONS_FEATUREFINDER_MODELDESCRIPTION_H const Param & getParam() const
Non-mutable access to model parameters.
Definition: ModelDescription.h:127
A more convenient string class.
Definition: String.h:57
ModelDescription()
Default constructor.
Definition: ModelDescription.h:59
Returns FactoryProduct* based on the name of the desired concrete FactoryProduct. ...
Definition: Factory.h:61
Param & getParam()
Mutable access to the model parameters.
Definition: ModelDescription.h:133
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:47
void setParameters(const Param ¶m)
Sets the parameters.
virtual bool operator!=(const ModelDescription &rhs) const
Definition: ModelDescription.h:151
String name_
Definition: ModelDescription.h:160
Param parameters_
Definition: ModelDescription.h:161
BaseModel< D > * createModel()
Definition: ModelDescription.h:97
virtual bool operator==(const ModelDescription &rhs) const
Definition: ModelDescription.h:146
String & getName()
Mutable access to the model name.
Definition: ModelDescription.h:115
const String & getName() const
Non-mutable access to model name.
Definition: ModelDescription.h:109
void setName(const String &name)
Set the model name.
Definition: ModelDescription.h:121
ModelDescription(const ModelDescription &source)
copy constructor
Definition: ModelDescription.h:66
Management and storage of parameters / INI files.
Definition: Param.h:75
Stores the name and parameters of a model.
Definition: ModelDescription.h:54
virtual ~ModelDescription()
destructor
Definition: ModelDescription.h:80
Abstract base class for all D-dimensional models.
Definition: BaseModel.h:51
virtual ModelDescription & operator=(const ModelDescription &source)
assignment operator
Definition: ModelDescription.h:85
ModelDescription(const BaseModel< D > *model)
constructor provided for convenience
Definition: ModelDescription.h:73
void setParam(const Param ¶m)
Set the model parameters.
Definition: ModelDescription.h:139