1 #include <xercesc/util/XMLString.hpp>
2 #include <xercesc/framework/LocalFileFormatTarget.hpp>
3 #include <xercesc/dom/DOM.hpp>
4 #include <xercesc/dom/DOMImplementationLS.hpp>
5 #include <xercesc/dom/DOMWriter.hpp>
19 #if defined(XERCES_NEW_IOSTREAMS)
25 #define XML(str) XMLString::transcode(str)
36 XERCES_CPP_NAMESPACE::DOMElement*
createElement(XERCES_CPP_NAMESPACE::DOMDocument* doc, XERCES_CPP_NAMESPACE::DOMElement*
parent,
const char*
name);
37 XERCES_CPP_NAMESPACE::DOMElement*
createElement(XERCES_CPP_NAMESPACE::DOMDocument* doc, XERCES_CPP_NAMESPACE::DOMElement*
parent,
const char*
name,
const char*
value);
38 XERCES_CPP_NAMESPACE::DOMElement*
createIOV(XERCES_CPP_NAMESPACE::DOMDocument* doc, XERCES_CPP_NAMESPACE::DOMElement*
parent,
39 unsigned long long fIovBegin,
unsigned long long fIovEnd);
40 XERCES_CPP_NAMESPACE::DOMElement*
createTag(XERCES_CPP_NAMESPACE::DOMDocument* doc, XERCES_CPP_NAMESPACE::DOMElement*
parent,
41 const char* fTagName,
const char* fDetectorName,
const char* fComment);
42 XERCES_CPP_NAMESPACE::DOMElement*
makeMapTag(XERCES_CPP_NAMESPACE::DOMDocument* doc, XERCES_CPP_NAMESPACE::DOMElement* fMap);
43 XERCES_CPP_NAMESPACE::DOMElement*
makeMapIOV(XERCES_CPP_NAMESPACE::DOMDocument* doc, XERCES_CPP_NAMESPACE::DOMElement* fTag);
44 XERCES_CPP_NAMESPACE::DOMElement*
makeMapDataset(XERCES_CPP_NAMESPACE::DOMDocument* doc, XERCES_CPP_NAMESPACE::DOMElement* fIov);
45 XERCES_CPP_NAMESPACE::DOMElement*
createFooter(XERCES_CPP_NAMESPACE::DOMDocument* doc,
46 unsigned long long fIovBegin,
unsigned long long fIovEnd,
47 const char* fTagName,
const char* fDetectorName,
const char* fComment);
48 XERCES_CPP_NAMESPACE::DOMElement*
createChannel(XERCES_CPP_NAMESPACE::DOMDocument* doc,XERCES_CPP_NAMESPACE::DOMElement*
parent,
HcalDetId id);
54 return outVal.c_str();
66 void createHeader(XERCES_CPP_NAMESPACE::DOMDocument* doc,
unsigned int runno,
const char* startTime);
76 XERCES_CPP_NAMESPACE::DOMElement*
createDataset(XERCES_CPP_NAMESPACE::DOMDocument* doc,
const HcalHLXMask& mask,
const char* gmtime,
const char*
version,
const char* subversion);
77 void createHeader(XERCES_CPP_NAMESPACE::DOMDocument* doc);
XERCES_CPP_NAMESPACE::DOMElement * createIOV(XERCES_CPP_NAMESPACE::DOMDocument *doc, XERCES_CPP_NAMESPACE::DOMElement *parent, unsigned long long fIovBegin, unsigned long long fIovEnd)
XERCES_CPP_NAMESPACE::DOMElement * makeMapDataset(XERCES_CPP_NAMESPACE::DOMDocument *doc, XERCES_CPP_NAMESPACE::DOMElement *fIov)
XERCES_CPP_NAMESPACE::DOMElement * createData(XERCES_CPP_NAMESPACE::DOMDocument *doc, XERCES_CPP_NAMESPACE::DOMElement *parent, const HcalDQMChannelQuality::Item &item)
void createData(XERCES_CPP_NAMESPACE::DOMDocument *doc, XERCES_CPP_NAMESPACE::DOMElement *parent, const HcalHLXMask &mask)
XERCES_CPP_NAMESPACE::DOMElement * createElement(XERCES_CPP_NAMESPACE::DOMDocument *doc, XERCES_CPP_NAMESPACE::DOMElement *parent, const char *name)
XERCES_CPP_NAMESPACE::DOMDocument * createDocument()
XERCES_CPP_NAMESPACE::DOMElement * createTag(XERCES_CPP_NAMESPACE::DOMDocument *doc, XERCES_CPP_NAMESPACE::DOMElement *parent, const char *fTagName, const char *fDetectorName, const char *fComment)
XERCES_CPP_NAMESPACE::DOMElement * createChannel(XERCES_CPP_NAMESPACE::DOMDocument *doc, XERCES_CPP_NAMESPACE::DOMElement *parent, HcalDetId id)
void writeDocument(XERCES_CPP_NAMESPACE::DOMDocument *doc, const char *xmlFile)
void createHeader(XERCES_CPP_NAMESPACE::DOMDocument *doc)
void createDataset(XERCES_CPP_NAMESPACE::DOMDocument *doc, const HcalDQMChannelQuality::Item &item, const char *gmtime, const char *version)
XERCES_CPP_NAMESPACE::DOMElement * makeMapIOV(XERCES_CPP_NAMESPACE::DOMDocument *doc, XERCES_CPP_NAMESPACE::DOMElement *fTag)
void createHeader(XERCES_CPP_NAMESPACE::DOMDocument *doc, unsigned int runno, const char *startTime)
bool xmlFile(const std::string fParam)
XERCES_CPP_NAMESPACE::DOMElement * createDataset(XERCES_CPP_NAMESPACE::DOMDocument *doc, const HcalHLXMask &mask, const char *gmtime, const char *version, const char *subversion)
XERCES_CPP_NAMESPACE::DOMElement * createFooter(XERCES_CPP_NAMESPACE::DOMDocument *doc, unsigned long long fIovBegin, unsigned long long fIovEnd, const char *fTagName, const char *fDetectorName, const char *fComment)
XERCES_CPP_NAMESPACE::DOMElement * makeMapTag(XERCES_CPP_NAMESPACE::DOMDocument *doc, XERCES_CPP_NAMESPACE::DOMElement *fMap)