PCLoaderXML(PCPolyContainer &toFill, PCTypeMap &tm, OptionsCont &oc)
Constructor.
A reader for polygons and pois stored in XML-format.
PCTypeMap & myTypeMap
The type map to use.
RGBColor myCurrentColor
The color of the currently parsed polygon.
OptionsCont & myOptions
Settings to use.
bool myCurrentIgnorePrunning
Whether the current polygon must not be prunned.
SAX-handler base for SUMO-files.
A storage for loaded polygons and pois.
std::string myCurrentType
The type of the currently parsed polygon.
A storage for type mappings.
Encapsulated SAX-Attributes.
~PCLoaderXML()
Destructor.
std::string myCurrentID
The id of the currently parsed polygon.
virtual void myStartElement(int element, const SUMOSAXAttributes &attrs)
Called on the opening of a tag;.
SUMOReal myCurrentLayer
The layer of the currently parsed polygon.
A storage for options typed value containers)
static void loadIfSet(OptionsCont &oc, PCPolyContainer &toFill, PCTypeMap &tm)
Loads pois/polygons assumed to be stored as XML.
PCPolyContainer & myCont
The container to store the converted polygons/pois into.