Implementation of GEAR using XML. More...
#include <GearXML.h>
Public Member Functions | |
GearXML (const GearXML &)=delete | |
GearXML & | operator= (const GearXML &)=delete |
GearXML (const std::string &fileName) | |
C'tor specifying the file name. | |
GearMgr * | createGearMgr () |
Creates an instance of GearMgr from the data given in the XML file. More... | |
Static Public Member Functions | |
static void | createXMLFile (GearMgr *mgr, const std::string &fileName) |
Write an XML file to disk from the given GearMgr object. | |
Protected Attributes | |
std::string | _fileName {} |
GearMgrImpl * | _gearMgr = nullptr |
GearMgr * gear::GearXML::createGearMgr | ( | ) |
Creates an instance of GearMgr from the data given in the XML file.
ParseException |
Definition at line 473 of file GearXML.cc.
References gear::GearMaterialProperties::config(), gear::GearMaterialPropertiesFactory::create(), gear::TiXmlDocument::ErrorCol(), gear::TiXmlDocument::ErrorDesc(), gear::TiXmlDocument::ErrorRow(), gear::TiXmlNode::FirstChild(), gear::SimpleMaterialXML::fromXML(), gear::XMLHandler::fromXML(), gear::ConstantBFieldXML::fromXML(), gear::GearMaterialProperties::getGearDistanceProperties(), gear::GearMaterialProperties::getGearPointProperties(), gear::getXMLAttribute(), gear::GearMaterialProperties::initialize(), gear::GearMaterialPropertiesFactory::instance(), gear::TiXmlNode::IterateChildren(), gear::TiXmlDocument::LoadFile(), gear::TiXmlDocument::RootElement(), gear::GearMgrImpl::setDetectorName(), gear::GearMgrImpl::setDistanceProperties(), gear::GearMgrImpl::setPointProperties(), and gear::TiXmlNode::ToElement().