Open PaperOpt
IO::SurfaceParser Class Reference

#include <SurfaceParser.h>

List of all members.

Public Member Functions

 SurfaceParser (void)
 ~SurfaceParser (void)
StructureObjectparseSurface (XMLParser &rParser, std::string &surfaceType, StructureObject *pPrevStructureObject, vector< float > &rLambdas, float xmax, float ymax)

Detailed Description

Class responsible for parsing surfaces.

Author:
Mikael Lindquister
Version:
2008-11-28

Constructor & Destructor Documentation

SurfaceParser::SurfaceParser ( void  )
SurfaceParser::~SurfaceParser ( void  )

Member Function Documentation

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.

Parameters:
rParserreference to the XMLParser object, it must be at the start tag of the surface.
surfaceTypeof the surface.
pPrevStructureObjecta pointer to the previous paper object.
surfaceTypetype of the surface to be parsed.
rLambdasthe wavelengths to be simulated.
xmaxsize in the x direction of the simulation volume.
ymaxsize in the y direction of the simulation volume.
Returns:
pointer to the paper object that was created by this method.

Here is the call graph for this function:


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