10 edm::LogInfo(
"SiStripLayoutParser") <<
" Creating SiStripLayoutParser " 17 edm::LogInfo(
"SiStripActionExecutor") <<
" Deleting SiStripLayoutParser " 25 std::cout <<
" SiStripLayoutParser::Configuration File is not set!!! " << std::endl;
31 xercesc::DOMNodeList* layoutList =
doc()->getElementsByTagName(
qtxml::_toDOMS(
"layout"));
33 unsigned int nlayout = layoutList->getLength();
37 for (
unsigned int k = 0;
k < layoutList->getLength();
k++) {
38 xercesc::DOMNode* layoutNode = layoutList->item(
k);
42 xercesc::DOMElement* layoutElement =
static_cast<xercesc::DOMElement*
>(layoutNode);
47 xercesc::DOMNodeList* meList = layoutElement->getElementsByTagName(
qtxml::_toDOMS(
"monitorable"));
48 std::vector<std::string> me_names;
49 for (
unsigned int l = 0;
l < meList->getLength();
l++) {
50 xercesc::DOMNode* meNode = meList->item(
l);
53 xercesc::DOMElement* meElement =
static_cast<xercesc::DOMElement*
>(meNode);
57 me_names.push_back(meName);
59 if (!me_names.empty())
60 layouts[layoutName] = me_names;
std::string _toString(const XMLCh *toTranscode)
XMLCh * _toDOMS(std::string temp)
bool getAllLayouts(std::map< std::string, std::vector< std::string > > &me_names)
xercesc::DOMDocument * doc()
DOM Document.
~SiStripLayoutParser() override