 |
Belle II Software
release-05-02-19
|
43 ModuleParamBase(std::string typeInfo, std::string description,
bool force);
virtual void setValueToPythonObject(boost::python::object &pyObject, bool defaultValues=false) const =0
Pure virtual function.
virtual ~ModuleParamBase()
Destructor.
bool isForcedInSteering() const
Returns true if the parameter has to be set by the user in the steering file.
bool isSetInSteering() const
Returns true if the parameter was set in the steering file.
Abstract base class for different kinds of events.
const std::string & getTypeInfo() const
Returns the type identifier of the parameter as string.
bool m_forceInSteering
If true the parameter has to be set by the user in the steering file.
std::string m_typeInfo
The type of the parameter stored as string.
Base class for module parameter.
virtual void setValueFromParam(const ModuleParamBase ¶m)=0
Set value from other ModuleParam of same type.
virtual void setValueFromPythonObject(const boost::python::object &pyObject)=0
Pure virtual function.
std::string m_description
The (optional) description of the parameter.
const std::string & getDescription() const
Returns the description of the parameter.
bool m_setInSteering
True, if the parameter value was changed in the steering file.
ModuleParamBase(std::string typeInfo, std::string description, bool force)
Constructor.