class: ewol::object::ParameterList
Description:
Constructor and Destructor:
+ ParameterList ();
+ virtual ~ParameterList ();
Synopsis:
+ void parameterAdd (Parameter* _pointerOnParameter);
+ void parameterClean ();
+ bool parameterSet (const std::string & _parameter,
const std::string & _value);
+ std::string parameterGet (const std::string & _parameter) const;
+ void parameterDisplay (bool _changeOnly) const;
+ virtual void onParameterChangeValue (const ewol::object::ParameterRef & _paramPointer);
+ std::map<std::string,std::string> parameterGetAll (bool _notIfDefault) const;
Detail:
ParameterList
+ ParameterList ();
Constructor.
~ParameterList
+ virtual ~ParameterList ();
Destructor.
parameterAdd
+ void parameterAdd (Parameter* _pointerOnParameter);
Register a parameter class pointer in the List of parameters
Note: This class does not destroy the parameter pointer!!!
parameterClean
+ void parameterClean ();
Remove all the parameter reference in this class.
Note: no delete, just clean and inform that a parameter has not been removed.
parameterSet
+ bool parameterSet (const std::string & _parameter,
const std::string & _value);
Set a specific value to the parameter reference name.
parameterGet
+ std::string parameterGet (const std::string & _parameter) const;
Get a specific value of the parameter reference name.
parameterDisplay
+ void parameterDisplay (bool _changeOnly) const;
Display all the parameter value with there name.
onParameterChangeValue
+ virtual void onParameterChangeValue (const ewol::object::ParameterRef & _paramPointer);
Called when a parameter change value.
parameterGetAll
+ std::map<std::string,std::string> parameterGetAll (bool _notIfDefault) const;
Get All the parameter configuration:
Return: | | map on the parameters |