15 #ifndef BORNAGAIN_CORE_PARAMETRIZATION_IPARAMETERIZED_H
16 #define BORNAGAIN_CORE_PARAMETRIZATION_IPARAMETERIZED_H
49 const std::string& units =
"nm");
73 std::unique_ptr<ParameterPool>
m_pool;
Defines basic vectors in R^3 and C^3.
Manages a local parameter pool, and a tree of child pools.
RealParameter & registerParameter(const std::string &name, double *parpointer)
IParameterized(const std::string &name="")
std::string parametersToString() const
Returns multiline string representing available parameters.
RealParameter * parameter(const std::string &name) const
Returns parameter with given 'name'.
static std::string XComponentName(const std::string &base_name)
void removeParameter(const std::string &name)
const std::string & getName() const
void removeVector(const std::string &base_name)
IParameterized & operator=(const IParameterized &other)=delete
void setVectorValue(const std::string &base_name, kvector_t value)
virtual void onChange()
Action to be taken in inherited class when a parameter has changed.
void setName(const std::string &name)
std::unique_ptr< ParameterPool > m_pool
parameter pool (kind of pointer-to-implementation)
ParameterPool * parameterPool() const
Returns pointer to the parameter pool.
void registerVector(const std::string &base_name, kvector_t *p_vec, const std::string &units="nm")
virtual ParameterPool * createParameterTree() const
Creates new parameter pool, with all local parameters and those of its children.
static std::string YComponentName(const std::string &base_name)
virtual ~IParameterized()
void setParameterValue(const std::string &name, double value)
static std::string ZComponentName(const std::string &base_name)
Container with parameters for IParameterized object.
Limits for a real fit parameter.
Wraps a parameter of type double.