1 #ifndef L1Trigger_L1TCommon_l1t_XmlConfigParser_h 2 #define L1Trigger_L1TCommon_l1t_XmlConfigParser_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);
62 void readHwDescription(
const xercesc::DOMElement* element,
TriggerSystem& aTriggerSystem,
const std::string& sysId =
"");
71 xercesc::DOMDocument*
doc_;
73 void appendNodesFromSubDoc(xercesc::DOMNode* parentNode, xercesc::DOMDocument* subDoc);
75 char* pruneString(
char* &
str);
const std::string kTypeTable
const XMLCh * kTagExclBoards
const XMLCh * kTagProcessor
const XMLCh * kTagContext
const XMLCh * kTagColumns
xercesc::DOMDocument * doc_
const XMLCh * kTagExclude
const XMLCh * kTagDisable
const XMLCh * kAttrModule
xercesc::XercesDOMParser * parser_
const XMLCh * kTagRunSettings