gridripper::util::ParameterPreprocessor Class Reference

Parameter preprocessor. More...

#include <ParameterPreprocessor.h>

Inheritance diagram for gridripper::util::ParameterPreprocessor:

gridripper::util::DummyParameterPreprocessor

List of all members.

Public Member Functions

virtual int processInt (const string &name) const throw (IllegalArgumentException&)
 Calculates an integer parameter.
virtual GReal_t processReal (const string &name) const throw (IllegalArgumentException&)
 Calculates a real parameter.
virtual ParameterPreprocessorclonePreprocessor () const =0
 Clones the object.
int getInt (const string &name) const throw (IllegalArgumentException&)
 Gets an integer value.
GReal_t getReal (const string &name) const throw (IllegalArgumentException&)
 Gets a real value.

Protected Member Functions

void store (const string &name, int v)
 Stores an integer value.
void store (const string &name, GReal_t v)
 Stores a real value.


Detailed Description

Parameter preprocessor.

Version:
0.5, 11/29/2008
Since:
GridRipper 0.5, 07/15/2008
Author:
Peter Csizmadia

Member Function Documentation

virtual int gridripper::util::ParameterPreprocessor::processInt ( const string &  name  )  const throw (IllegalArgumentException&) [virtual]

Calculates an integer parameter.

Parameters:
name the parameter name
Returns:
the value

virtual GReal_t gridripper::util::ParameterPreprocessor::processReal ( const string &  name  )  const throw (IllegalArgumentException&) [virtual]

Calculates a real parameter.

Parameters:
name the parameter name
Returns:
the value

virtual ParameterPreprocessor* gridripper::util::ParameterPreprocessor::clonePreprocessor (  )  const [pure virtual]

Clones the object.

int gridripper::util::ParameterPreprocessor::getInt ( const string &  name  )  const throw (IllegalArgumentException&)

Gets an integer value.

Parameters:
name the parameter name
Returns:
the value

GReal_t gridripper::util::ParameterPreprocessor::getReal ( const string &  name  )  const throw (IllegalArgumentException&)

Gets a real value.

Parameters:
name the parameter name
Returns:
the value

void gridripper::util::ParameterPreprocessor::store ( const string &  name,
int  v 
) [protected]

Stores an integer value.

Parameters:
name the parameter name
v the value

void gridripper::util::ParameterPreprocessor::store ( const string &  name,
GReal_t  v 
) [protected]

Stores a real value.

Parameters:
name the parameter name
v the value


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

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