1 #ifndef DDL_SAX2FileHandler_H
2 #define DDL_SAX2FileHandler_H
16 #include <xercesc/sax2/Attributes.hpp>
60 void startElement(
const XMLCh*
const uri,
const XMLCh*
const localname
62 void endElement(
const XMLCh*
const uri,
const XMLCh*
const localname
63 ,
const XMLCh*
const qname);
64 void characters (
const XMLCh *
const chars,
const unsigned int length);
65 void comment (
const XMLCh *
const chars,
const unsigned int length );
DDLSAX2FileHandler(DDCompactView &cpv)
virtual const std::string & parent() const
type of data representation of DDCompactView
DDLSAX2FileHandler is the SAX2 Handler for XML files found in the configuration file.
void dumpElementTypeCounter()
This dumps some statistics on elements encountered in the file.
void characters(const XMLCh *const chars, const unsigned int length)
DDLElementRegistry xmlelems_
void comment(const XMLCh *const chars, const unsigned int length)
std::vector< std::string > namesMap_
void endElement(const XMLCh *const uri, const XMLCh *const localname, const XMLCh *const qname)
std::vector< size_t > names_
std::map< std::string, int > elementTypeCounter_
DDLSAX2Handler inherits from Xerces C++ DefaultHandler.
The main class for processing parsed elements.
XERCES_CPP_NAMESPACE::Attributes Attributes
void createDDConstants() const
creates all DDConstant from the evaluator which has been already 'filled' in the first scan of the do...
void startElement(const XMLCh *const uri, const XMLCh *const localname, const XMLCh *const qname, const Attributes &attrs)