DoubleParameter Class Reference
[Parameters]

Double number parameter type. More...

#include <parameter.h>

Inherits GenericParameter.

Inheritance diagram for DoubleParameter:

Inheritance graph
[legend]
Collaboration diagram for DoubleParameter:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 DoubleParameter (string aName, string aComment, string aDefault, string aValues)
 the constructor of any parameter allows to define the various parameter attributes.
double get (string aClass, string aInstance)
 returns the parameter value.

Detailed Description

Double number parameter type.

It stores double numbers.

example:

Param->addParameter ("fooClass", new DoubleParameter("foo",  "foo desc.", "1.0", "(0,inf)" ));
double fooVal = get<DoubleParameter,double>(Param, "foo", "fooClass", "");


Constructor & Destructor Documentation

DoubleParameter::DoubleParameter 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

double DoubleParameter::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