Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 12:55:05

0001 #ifndef DETECTOR_DESCRIPTION_PARSER_DDL_SAX2_EXPRESSION_HANDLER_H
0002 #define DETECTOR_DESCRIPTION_PARSER_DDL_SAX2_EXPRESSION_HANDLER_H
0003 
0004 #include <xercesc/sax2/Attributes.hpp>
0005 #include <string>
0006 
0007 #include "DetectorDescription/Parser/interface/DDLSAX2FileHandler.h"
0008 #include "DetectorDescription/Parser/interface/DDLSAX2Handler.h"
0009 
0010 class DDCompactView;
0011 class DDLElementRegistry;
0012 
0013 /// DDLSAX2ExpressionHandler is the first pass SAX2 Handler for XML files found in the configuration file.
0014 /** @class DDLSAX2ExpressionHandler
0015  * @author Michael Case
0016  *
0017  *  DDLSAX2ExpressionHandler.h  -  description
0018  *  -------------------
0019  *  begin: Mon Feb 25, 2002
0020  * 
0021  *  This processes only ConstantsSection/Parameter elements so there is no need
0022  *  to make it as elaborate as the second pass parser.
0023  *
0024  */
0025 class DDLSAX2ExpressionHandler : public DDLSAX2FileHandler {
0026 public:
0027   DDLSAX2ExpressionHandler(DDCompactView& cpv, DDLElementRegistry&);
0028   ~DDLSAX2ExpressionHandler() override;
0029 
0030   void startElement(const XMLCh* uri, const XMLCh* localname, const XMLCh* qname, const Attributes& attrs) override;
0031 
0032   void endElement(const XMLCh* uri, const XMLCh* localname, const XMLCh* qname) override;
0033 };
0034 
0035 #endif