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