gridripper::util::ParameterPreprocessor Class Reference

Parameter preprocessor. More...

Inherits java::io::Serializable.

List of all members.

Public Member Functions

int processInt (String name) throws IllegalArgumentException
 Calculates an integer parameter.
double processFloat (String name) throws IllegalArgumentException
 Calculates a real parameter.
final int getInt (String name) throws IllegalArgumentException
 Gets an integer value.
final double getFloat (String name) throws IllegalArgumentException
 Gets a real value.

Static Public Member Functions

static ParameterPreprocessor create (String str, String path, Parameters p) throws IllegalArgumentException
 Creates a parameter preprocessor.

Protected Member Functions

void store (String name, int v)
 Stores an integer value.
void store (String name, double v)
 Stores a real value.
void log (String s)
 Print logging info on stderr.


Detailed Description

Parameter preprocessor.

Version:
0.5, 12/24/2008
Since:
GridRipper 0.5, 07/15/2008
Author:
Peter Csizmadia

Member Function Documentation

int gridripper::util::ParameterPreprocessor::processInt ( String  name  )  throws IllegalArgumentException [inline]

Calculates an integer parameter.

Parameters:
name the parameter name
Returns:
the value

double gridripper::util::ParameterPreprocessor::processFloat ( String  name  )  throws IllegalArgumentException [inline]

Calculates a real parameter.

Parameters:
name the parameter name
Returns:
the value

void gridripper::util::ParameterPreprocessor::store ( String  name,
int  v 
) [inline, protected]

Stores an integer value.

Parameters:
name the parameter name
v the value

void gridripper::util::ParameterPreprocessor::store ( String  name,
double  v 
) [inline, protected]

Stores a real value.

Parameters:
name the parameter name
v the value

final int gridripper::util::ParameterPreprocessor::getInt ( String  name  )  throws IllegalArgumentException [inline]

Gets an integer value.

Parameters:
name the parameter name
Returns:
the value

final double gridripper::util::ParameterPreprocessor::getFloat ( String  name  )  throws IllegalArgumentException [inline]

Gets a real value.

Parameters:
name the parameter name
Returns:
the value

static ParameterPreprocessor gridripper::util::ParameterPreprocessor::create ( String  str,
String  path,
Parameters  p 
) throws IllegalArgumentException [inline, static]

Creates a parameter preprocessor.

Parameters:
str the parameter preprocessor name and arguments
path the package name(s) under which the ParameterPreprocessor implementations is searched
p the parameters
Returns:
the new parameter preprocessor


The documentation for this class was generated from the following file:

Generated on Wed Jun 17 18:47:30 2009 for GridRipper by  doxygen 1.5.6