IntParameter Class Reference
[Parameters]

Integer number parameter type. More...

#include <parameter.h>

Inherits GenericParameter.

Inheritance diagram for IntParameter:

Inheritance graph
[legend]
Collaboration diagram for IntParameter:

Collaboration graph
[legend]
List of all members.

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.

Detailed Description

Integer number parameter type.

It stores integer numbers.

example:

Param->addParameter ("fooClass", new IntParameter("foo",  "foo desc.", "1", "(0,inf)" ));
int fooVal = get<IntParameter,int>(Param, "foo", "fooClass", "");


Constructor & Destructor Documentation

IntParameter::IntParameter string  aName,
string  aComment,
string  aDefault,
string  aValues
[inline]
 

the constructor of any parameter allows to define the various parameter attributes.

Parameters:
aName name of the parameter. Spaces not allowed.
aComment a comment about the parameter
aDefault default value
aValues allowed values. Not checked at runtime.


Member Function Documentation

int IntParameter::get string  aClass,
string  aInstance
 

returns the parameter value.

Parameters:
aClass the class of the parameter.
aInstance The instance of the parameter


The documentation for this class was generated from the following file:
Generated on Wed Dec 22 23:23:49 2004 for NePSing by doxygen 1.3.9.1 ---- Hosted by SourceForge.net Logo