1 #ifndef GEAR_XMLHandler_H
2 #define GEAR_XMLHandler_H 1
44 const std::string& defaultValue) ;
55 const std::string& defaultValue ) ;
std::string getOptionalXMLAttribute(const TiXmlNode *node, const std::string &name, const std::string &defaultValue)
Helper method used for parsing XML.
virtual GearParameters * fromXML(const TiXmlElement *xmlElement, GearMgr *gearMgr=0) const =0
Creates the approprtiate GearParameters subclass from the given XML element (node) and adss it to the...
Interface for XML handlers of GEAR classes.
std::string getOptionalChildElementValue(const TiXmlNode *node, const std::string &name, const std::string &defaultValue)
Helper method used for parsing XML - returns the attribute 'value' of the optional named child elemen...
Abstract interface for a set of parameters that can be used to describe the geometrical properties of...
The parent class for everything in the Document Object Model.
std::string getXMLAttribute(const TiXmlNode *node, const std::string &name)
Helper method used for parsing XML.
The element is a container class.
virtual TiXmlElement toXML(const GearParameters ¶meters) const =0
Creates an XML node for the given parameters.
Abstract interface for a manager class that returns the Gear classes for the relevant subdetectors...
std::string getChildElementValue(const TiXmlNode *node, const std::string &name)
Helper method used for parsing XML - returns the attribute 'value' of the named child element as doub...