60 if (&source ==
this)
return *
this;
72 if (
name_.empty())
return nullptr;
Abstract base class for all D-dimensional models.
Definition: BaseModel.h:25
void setParameters(const Param ¶m)
Sets the parameters.
Returns FactoryProduct* based on the name of the desired concrete FactoryProduct.
Definition: Factory.h:37
Stores the name and parameters of a model.
Definition: ModelDescription.h:28
void setParam(const Param ¶m)
Set the model parameters.
Definition: ModelDescription.h:112
Param & getParam()
Mutable access to the model parameters.
Definition: ModelDescription.h:106
BaseModel< D > * createModel()
Definition: ModelDescription.h:70
const Param & getParam() const
Non-mutable access to model parameters.
Definition: ModelDescription.h:100
String name_
Definition: ModelDescription.h:133
virtual bool operator==(const ModelDescription &rhs) const
Definition: ModelDescription.h:119
ModelDescription(const BaseModel< D > *model)
constructor provided for convenience
Definition: ModelDescription.h:46
void setName(const String &name)
Set the model name.
Definition: ModelDescription.h:94
virtual ~ModelDescription()
destructor
Definition: ModelDescription.h:53
virtual bool operator!=(const ModelDescription &rhs) const
Definition: ModelDescription.h:124
ModelDescription()
Default constructor.
Definition: ModelDescription.h:32
virtual ModelDescription & operator=(const ModelDescription &source)
assignment operator
Definition: ModelDescription.h:58
const String & getName() const
Non-mutable access to model name.
Definition: ModelDescription.h:82
Param parameters_
Definition: ModelDescription.h:134
ModelDescription(const ModelDescription &source)
copy constructor
Definition: ModelDescription.h:39
String & getName()
Mutable access to the model name.
Definition: ModelDescription.h:88
Management and storage of parameters / INI files.
Definition: Param.h:44
A more convenient string class.
Definition: String.h:34
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:22