#include <parameter.h>
Inherits GenericParameter.
Inheritance diagram for IntParameter:
Public Member Functions | |
IntParameter (string aName, string aComment, string aDefault, string aValues) | |
the constructor of any parameter allows to define the various parameter attributes. | |
int | get (string aClass, string aInstance) |
returns the parameter value. |
It stores integer numbers.
example:
Param->addParameter ("fooClass", new IntParameter("foo", "foo desc.", "1", "(0,inf)" )); int fooVal = get<IntParameter,int>(Param, "foo", "fooClass", "");
|
the constructor of any parameter allows to define the various parameter attributes.
|
|
returns the parameter value.
|