CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_5_3_14/src/DetectorDescription/Parser/interface/DDLSAX2ExpressionHandler.h

Go to the documentation of this file.
00001 #ifndef DDL_SAX2ExpressionHandler_H
00002 #define DDL_SAX2ExpressionHandler_H
00003 
00004 // ---------------------------------------------------------------------------
00005 //  Includes
00006 // ---------------------------------------------------------------------------
00007 // Parser parts.
00008 #include "DetectorDescription/Parser/interface/DDLSAX2FileHandler.h"
00009 
00010 // Xerces dependencies
00011 #include <xercesc/sax2/Attributes.hpp>
00012 
00014 
00026 class DDLSAX2ExpressionHandler : public DDLSAX2FileHandler 
00027 {
00028 
00029  public:
00030 
00031     // -----------------------------------------------------------------------
00032     //  Constructor and Destructor
00033     // -----------------------------------------------------------------------
00034 
00035     DDLSAX2ExpressionHandler(DDCompactView& cpv);
00036     ~DDLSAX2ExpressionHandler();
00037 
00038     // -----------------------------------------------------------------------
00039     //  Handlers for the SAX ContentHandler interface
00040     // -----------------------------------------------------------------------
00041 
00042     void startElement(const XMLCh* const uri, const XMLCh* const localname
00043                       , const XMLCh* const qname, const Attributes& attrs);
00044     void endElement(const XMLCh* const uri, const XMLCh* const localname
00045                     , const XMLCh* const qname);
00046 
00047    private: 
00048     std::string pElementName;
00049 
00050 };
00051 
00052 #endif