CMS 3D CMS Logo

SiPixelConfigWriter.h
Go to the documentation of this file.
1 #ifndef SiPixelConfigWriter_H
2 #define SiPixelConfigWriter_H
3 
12 #include <xercesc/framework/LocalFileFormatTarget.hpp>
13 #include <xercesc/framework/StdOutFormatTarget.hpp>
14 
15 #include <xercesc/dom/DOM.hpp>
16 #include <xercesc/dom/DOMException.hpp>
17 #include <xercesc/dom/DOMImplementation.hpp>
18 #include <xercesc/util/XMLString.hpp>
19 
20 #include <iostream>
21 #include <map>
22 #include <string>
23 #include <vector>
24 
26 public:
32  bool init();
33  void write(std::string &fname);
35  void createRow();
36  void createColumn(std::string &element, std::string &name);
37 
38 protected:
39 private:
40  xercesc::DOMElement *theTopElement;
41  xercesc::DOMElement *theLastLayout;
42  xercesc::DOMElement *theLastRow;
43  xercesc::DOMDocument *theDoc;
44  xercesc::DOMLSSerializer *theDomWriter;
45  xercesc::DOMLSOutput *theOutput;
46 };
47 
48 #endif
SiPixelConfigWriter::theOutput
xercesc::DOMLSOutput * theOutput
Definition: SiPixelConfigWriter.h:45
SiPixelConfigWriter::theTopElement
xercesc::DOMElement * theTopElement
Definition: SiPixelConfigWriter.h:40
SiPixelConfigWriter::createRow
void createRow()
Definition: SiPixelConfigWriter.cc:28
SiPixelConfigWriter::createLayout
void createLayout(std::string &name)
Definition: SiPixelConfigWriter.cc:24
SiPixelConfigWriter::theDomWriter
xercesc::DOMLSSerializer * theDomWriter
Definition: SiPixelConfigWriter.h:44
SiPixelConfigWriter::~SiPixelConfigWriter
~SiPixelConfigWriter()
Destructor.
Definition: SiPixelConfigWriter.cc:13
SiPixelConfigWriter
Definition: SiPixelConfigWriter.h:25
SiPixelConfigWriter::SiPixelConfigWriter
SiPixelConfigWriter()
Creator.
Definition: SiPixelConfigWriter.cc:9
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
Xerces.h
SiPixelConfigWriter::theDoc
xercesc::DOMDocument * theDoc
Definition: SiPixelConfigWriter.h:43
SiPixelConfigWriter::theLastLayout
xercesc::DOMElement * theLastLayout
Definition: SiPixelConfigWriter.h:41
alignmentValidation.fname
string fname
main script
Definition: alignmentValidation.py:959
SiPixelConfigWriter::init
bool init()
Write XML file.
Definition: SiPixelConfigWriter.cc:17
Skims_PA_cff.name
name
Definition: Skims_PA_cff.py:17
SiPixelConfigWriter::theLastRow
xercesc::DOMElement * theLastRow
Definition: SiPixelConfigWriter.h:42
SiPixelConfigWriter::write
void write(std::string &fname)
Definition: SiPixelConfigWriter.cc:36
SiPixelConfigWriter::createColumn
void createColumn(std::string &element, std::string &name)
Definition: SiPixelConfigWriter.cc:32