Open PaperOpt
IO::Input Class Reference

#include <Input.h>

List of all members.

Public Member Functions

 Input (string file)
 ~Input (void)
SimVolumeparseSimulation (void)
void parseBulkGeneration (void)

Public Attributes

xmlroot mRoot
string mResultsDirectory

Detailed Description

This class provides methods for creating simulation volumes based on the specification XML file provided.

Author:
Mikael Lindquister
Version:
2008-11-27

Constructor & Destructor Documentation

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.

Parameters:
fileabsolute path to the XML file that will be used as input.
Input::~Input ( void  )

Member Function Documentation

void Input::parseBulkGeneration ( void  )

Reads from the xml file describing the static basesheet.

Here is the caller graph for this function:

SimVolume * Input::parseSimulation ( void  )

Reads from the simulation specification file.

Returns:
a pointer to the SimVolume that was created.

Here is the caller graph for this function:


Member Data Documentation

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.


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