86 if (&source ==
this)
return *
this;
98 if (
name_.empty())
return nullptr;
Abstract base class for all D-dimensional models.
Definition: BaseModel.h:52
void setParameters(const Param ¶m)
Sets the parameters.
Returns FactoryProduct* based on the name of the desired concrete FactoryProduct.
Definition: Factory.h:63
Stores the name and parameters of a model.
Definition: ModelDescription.h:54
void setParam(const Param ¶m)
Set the model parameters.
Definition: ModelDescription.h:138
Param & getParam()
Mutable access to the model parameters.
Definition: ModelDescription.h:132
BaseModel< D > * createModel()
Definition: ModelDescription.h:96
const Param & getParam() const
Non-mutable access to model parameters.
Definition: ModelDescription.h:126
String name_
Definition: ModelDescription.h:159
virtual bool operator==(const ModelDescription &rhs) const
Definition: ModelDescription.h:145
ModelDescription(const BaseModel< D > *model)
constructor provided for convenience
Definition: ModelDescription.h:72
void setName(const String &name)
Set the model name.
Definition: ModelDescription.h:120
virtual ~ModelDescription()
destructor
Definition: ModelDescription.h:79
virtual bool operator!=(const ModelDescription &rhs) const
Definition: ModelDescription.h:150
ModelDescription()
Default constructor.
Definition: ModelDescription.h:58
virtual ModelDescription & operator=(const ModelDescription &source)
assignment operator
Definition: ModelDescription.h:84
const String & getName() const
Non-mutable access to model name.
Definition: ModelDescription.h:108
Param parameters_
Definition: ModelDescription.h:160
ModelDescription(const ModelDescription &source)
copy constructor
Definition: ModelDescription.h:65
String & getName()
Mutable access to the model name.
Definition: ModelDescription.h:114
Management and storage of parameters / INI files.
Definition: Param.h:70
A more convenient string class.
Definition: String.h:60
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:47