41 #ifndef BPP_NUMERIC_AUTOPARAMETER_H
42 #define BPP_NUMERIC_AUTOPARAMETER_H
48 #include "../Io/OutputStream.h"
74 AutoParameter(
const std::string& name =
"",
double value = 0, std::shared_ptr<Constraint> constraint = 0);
115 virtual void setValue(
double value);
AutoParameter(const std::string &name="", double value=0, std::shared_ptr< Constraint > constraint=0)
Build a new AutoParameter.
virtual void setValue(double value)
Set the value of this parameter.
static std::string CONSTRAINTS_AUTO
AutoParameter & operator=(const AutoParameter ¶m)
Assignment operator.
static std::string CONSTRAINTS_IGNORE
virtual void setMessageHandler(OutputStream *mh)
Set the message handler for this AutoParameter.
OutputStream * messageHandler_
AutoParameter * clone() const
Create a copy of this object and send a pointer to it.
static std::string CONSTRAINTS_KEEP
This class is designed to facilitate the manipulation of parameters.