Open PaperOpt
IO::LightSourceParser Class Reference

#include <LightSourceParser.h>

List of all members.

Public Member Functions

 LightSourceParser (void)
 ~LightSourceParser (void)
LightSourceparse (XMLParser &rParser, std::string type, float xmax, float ymax)

Detailed Description

This class is responsible for parsing lightsource elements.

Author:
Mikael Lindquister
Version:
2008-11-25

Constructor & Destructor Documentation

LightSourceParser::LightSourceParser ( void  )
LightSourceParser::~LightSourceParser ( void  )

Member Function Documentation

LightSource * LightSourceParser::parse ( XMLParser rParser,
std::string  type,
float  xmax,
float  ymax 
)

Parse the light source the XMLParser is currently at, having type 'type'. Note: p must be at the start tag of the lightSource element.

Parameters:
pthe XMLParser object to read from.
typethe type of the light source.
xmaxsize of simulation volume in x dir.
ymaxsize of simulation volume in y dir.
Returns:
a pointer to the light source object created.

Here is the call graph for this function:


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