|
Open PaperOpt
|
#include <Input.h>
Public Member Functions | |
| Input (string file) | |
| ~Input (void) | |
| SimVolume * | parseSimulation (void) |
| void | parseBulkGeneration (void) |
Public Attributes | |
| xmlroot | mRoot |
| string | mResultsDirectory |
This class provides methods for creating simulation volumes based on the specification XML file provided.
| Input::Input | ( | string | file | ) |
Constructor. The type of input can be either SIMULATION or BULKGENERATION. Which type the file has is indicated by the class member mRoot which will be set after this constructor returns.
| file | absolute path to the XML file that will be used as input. |
| Input::~Input | ( | void | ) |
| void Input::parseBulkGeneration | ( | void | ) |
Reads from the xml file describing the static basesheet.

| SimVolume * Input::parseSimulation | ( | void | ) |
Reads from the simulation specification file.

| string IO::Input::mResultsDirectory |
After the Input object has been created the root member will be set to either of the enums SIMULATION or BULKGENERATION and the appropriate parse function can then be called.