Parameter preprocessor.
More...
#include <ParameterPreprocessor.h>
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 ParameterPreprocessor * | clonePreprocessor () 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 ParameterPreprocessor* gridripper::util::ParameterPreprocessor::clonePreprocessor |
( |
|
) |
const [pure virtual] |
Gets an integer value.
- Parameters:
-
- Returns:
- the value
Gets a real value.
- Parameters:
-
- Returns:
- the value
virtual int gridripper::util::ParameterPreprocessor::processInt |
( |
const string & |
name |
) |
const throw (IllegalArgumentException&) [virtual] |
Calculates an integer parameter.
- Parameters:
-
- Returns:
- the value
Calculates a real parameter.
- Parameters:
-
- Returns:
- 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 |
void gridripper::util::ParameterPreprocessor::store |
( |
const string & |
name, |
|
|
int |
v | |
|
) |
| | [protected] |
Stores an integer value.
- Parameters:
-
| name | the parameter name |
| v | the value |
The documentation for this class was generated from the following file: