|
Open PaperOpt
|
#include <SurfaceParser.h>
Public Member Functions | |
| SurfaceParser (void) | |
| ~SurfaceParser (void) | |
| StructureObject * | parseSurface (XMLParser &rParser, std::string &surfaceType, StructureObject *pPrevStructureObject, vector< float > &rLambdas, float xmax, float ymax) |
Class responsible for parsing surfaces.
| SurfaceParser::SurfaceParser | ( | void | ) |
| SurfaceParser::~SurfaceParser | ( | void | ) |
| StructureObject * SurfaceParser::parseSurface | ( | XMLParser & | rParser, |
| std::string & | surfaceType, | ||
| StructureObject * | pPrevStructureObject, | ||
| vector< float > & | rLambdas, | ||
| float | xmax, | ||
| float | ymax | ||
| ) |
Parses the surface with the type specified. The XMLParser's state will be advanced to the end tag of the surface element after this method has returned.
| rParser | reference to the XMLParser object, it must be at the start tag of the surface. |
| surfaceType | of the surface. |
| pPrevStructureObject | a pointer to the previous paper object. |
| surfaceType | type of the surface to be parsed. |
| rLambdas | the wavelengths to be simulated. |
| xmax | size in the x direction of the simulation volume. |
| ymax | size in the y direction of the simulation volume. |
