#include <inputData.h>
Public Member Functions | |
| inputData () | |
| void | read (string s, real &sValue) |
| read a real vvariable. | |
| void | read (string s, int &sValue) |
| read an integer variable. | |
| ~inputData () | |
This class make it easy to read an input file with a free format. In the input file, the variable can be put anywhere and their meaningful comments are very useful for users.
| inputData::inputData | ( | ) |
constructor
| inputData::~inputData | ( | ) |
destructor
| void inputData::read | ( | string | s, | |
| real & | sValue | |||
| ) |
read a real vvariable.
| s | a string of the variable name | |
| sValue | the assigned real value of the variable |
| void inputData::read | ( | string | s, | |
| int & | sValue | |||
| ) |
read an integer variable.
| s | a string of the variable name | |
| sValue | the assigned integer value of the variable |
1.5.6