1 #ifndef L1Trigger_L1TCommon_l1t_XmlConfigReader_h 2 #define L1Trigger_L1TCommon_l1t_XmlConfigReader_h 7 #include "xercesc/util/XercesDefs.hpp" 8 #include "xercesc/parsers/XercesDOMParser.hpp" 9 #include "xercesc/dom/DOM.hpp" 10 #include "xercesc/framework/MemBufInputSource.hpp" 15 class XercesDOMParser;
56 void readDOMFromString(
const std::string&
str, xercesc::DOMDocument*& doc);
58 void readDOMFromFile(
const std::string& fName, xercesc::DOMDocument*& doc);
61 void readElement(
const xercesc::DOMElement* element,
TrigSystem& aTrigSystem,
const std::string& sysId =
"");
62 void readHwDescription(
const xercesc::DOMElement* element,
TrigSystem& aTrigSystem,
const std::string& sysId =
"");
63 void readContext(
const xercesc::DOMElement* element,
const std::string& sysId,
TrigSystem& aTrigSystem);
71 xercesc::DOMDocument*
doc_;
73 void appendNodesFromSubDoc(xercesc::DOMNode* parentNode, xercesc::DOMDocument* subDoc);
75 char* pruneString(
char* &
str);
const std::string kTypeTable
const XMLCh * kTagExclude
const XMLCh * kTagExclBoards
const XMLCh * kTagContext
xercesc::XercesDOMParser * parser_
const XMLCh * kTagDisable
xercesc::DOMDocument * doc_
const XMLCh * kAttrModule
const XMLCh * kTagRunSettings
const XMLCh * kTagProcessor
const XMLCh * kTagColumns