1 #if !defined(PARAMETERS_H_INCLUDED_)
2 #define PARAMETERS_H_INCLUDED_
6 #endif // _MSC_VER > 1000
11 #include "Sti/Base/Named.h"
12 #include "Sti/Base/Described.h"
16 typedef vector<Parameter*> ParameterVector;
17 typedef ParameterVector::iterator ParameterIterator;
18 typedef ParameterVector::const_iterator ParameterConstIterator;
24 Parameters(
const string & name,
const string & description);
29 Parameter * getParameter(
const string name);
30 ParameterIterator begin();
31 ParameterIterator end();
32 ParameterConstIterator begin()
const;
33 ParameterConstIterator end()
const;
34 virtual void initialize()=0;
38 void setEnabled(
bool value);
39 void setEditable(
bool value);
41 ParameterVector parameterVector;
49 parameterVector.clear();
90 #endif // !defined(PARAMETERS_H_INCLUDED_)
void clear()
Clear/delete all parameters held by this container.
void setEditable(bool value)
void setEnabled(bool value)