Go to the documentation of this file. 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>
46 void startElement(
const XMLCh* uri,
const XMLCh* localname,
const XMLCh* qname,
const Attributes& attrs)
override;
47 void endElement(
const XMLCh* uri,
const XMLCh* localname,
const XMLCh* qname)
override;
48 void characters(
const XMLCh* chars, XMLSize_t length)
override;
49 void comment(
const XMLCh* chars, XMLSize_t length)
override;
void endElement(const XMLCh *uri, const XMLCh *localname, const XMLCh *qname) override
The main class for processing parsed elements.
DDLElementRegistry & registry()
DDLSAX2FileHandler is the SAX2 Handler for XML files found in the configuration file.
~DDLSAX2FileHandler() override
DDLSAX2Handler inherits from Xerces C++ DefaultHandler.
void characters(const XMLCh *chars, XMLSize_t length) override
Compact representation of the geometrical detector hierarchy.
DDLSAX2FileHandler(DDCompactView &cpv, DDLElementRegistry &)
void comment(const XMLCh *chars, XMLSize_t length) override
virtual const std::string & parent() const
std::vector< std::string > namesMap_
XERCES_CPP_NAMESPACE::Attributes Attributes
void startElement(const XMLCh *uri, const XMLCh *localname, const XMLCh *qname, const Attributes &attrs) override
std::vector< size_t > names_
DDLElementRegistry & registry_
void createDDConstants() const
creates all DDConstant from the evaluator which has been already 'filled' in the first scan of the do...