1 #ifndef DETECTOR_DESCRIPTION_PARSER_DDL_SAX2_FILE_HANDLER_H 2 #define DETECTOR_DESCRIPTION_PARSER_DDL_SAX2_FILE_HANDLER_H 8 #include <xercesc/sax2/Attributes.hpp> 48 void startElement(
const XMLCh* uri,
const XMLCh* localname,
49 const XMLCh* qname,
const Attributes& attrs)
override;
50 void endElement(
const XMLCh* uri,
const XMLCh* localname,
51 const XMLCh* qname)
override;
52 void characters(
const XMLCh* chars, XMLSize_t length)
override;
53 void comment(
const XMLCh* chars, XMLSize_t length )
override;
virtual const std::string & parent() const
void comment(const XMLCh *chars, XMLSize_t length) override
std::vector< std::string > namesMap_
DDLElementRegistry & registry_
Compact representation of the geometrical detector hierarchy.
DDLSAX2FileHandler is the SAX2 Handler for XML files found in the configuration file.
~DDLSAX2FileHandler() override
DDLElementRegistry & registry()
std::vector< size_t > names_
void endElement(const XMLCh *uri, const XMLCh *localname, const XMLCh *qname) override
XERCES_CPP_NAMESPACE::Attributes Attributes
DDLSAX2Handler inherits from Xerces C++ DefaultHandler.
The main class for processing parsed elements.
void startElement(const XMLCh *uri, const XMLCh *localname, const XMLCh *qname, const Attributes &attrs) override
DDLSAX2FileHandler(DDCompactView &cpv, DDLElementRegistry &)
void characters(const XMLCh *chars, XMLSize_t length) override
void createDDConstants() const
creates all DDConstant from the evaluator which has been already 'filled' in the first scan of the do...