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