|
|
Go to the documentation of this file. 1 #ifndef HCALConfigDBTools_XMLTools_XMLProcessor_h
2 #define HCALConfigDBTools_XMLTools_XMLProcessor_h
25 #include <xercesc/dom/DOM.hpp>
26 #include <xercesc/util/XMLString.hpp>
28 #include <xercesc/dom/DOMNode.hpp>
29 #include <xercesc/framework/MemBufInputSource.hpp>
32 #if defined(XERCES_NEW_IOSTREAMS)
173 XMLCh* buff = XERCES_CPP_NAMESPACE::XMLString::transcode(
temp.c_str());
181 std::cout <<
"XMLProcessor::_toXMLCh(int temp): buffer overflow, the std::string will be truncated!" << std::endl;
183 std::cout <<
"XMLProcessor::_toXMLCh(int temp): output error" << std::endl;
185 XMLCh* buff = XERCES_CPP_NAMESPACE::XMLString::transcode(
buf);
193 std::cout <<
"XMLProcessor::_toXMLCh(int temp): buffer overflow, the std::string will be truncated!" << std::endl;
195 std::cout <<
"XMLProcessor::_toXMLCh(int temp): output error" << std::endl;
197 XMLCh* buff = XERCES_CPP_NAMESPACE::XMLString::transcode(
buf);
205 std::cout <<
"XML Processor::_toXMLCh(int temp): buffer overflow, the std::string is indeterminate!" << std::endl;
207 XMLCh* buff = XERCES_CPP_NAMESPACE::XMLString::transcode(
buf);
static XMLCh * _toXMLCh(std::string temp)
static XMLProcessor * instance
static XMLProcessor * getInstance()
XMLDOMBlock * createLMapHBEFXMLBase(std::string templateFileName)
struct XMLProcessor::_LMapRowHBEF LMapRowHBEF
XMLProcessor::_lutDBConfig lutDBConfig
std::string comment_description
std::string extention_table_name
int addLMapHODataset(XMLDOMBlock *doc, LMapRowHO *row, std::string templateFileName)
XMLProcessor::_checksumsDBConfig checksumsDBConfig
struct XMLProcessor::_loaderBaseConfig loaderBaseConfig
XMLCh * serializeDOM(XERCES_CPP_NAMESPACE::DOMNode *node, std::string target="stdout")
struct XMLProcessor::_DBConfig DBConfig
XMLDOMBlock * createLMapHOXMLBase(std::string templateFileName)
struct XMLProcessor::_LMapRowHO LMapRowHO
std::string created_by_user
int write(XMLDOMBlock *doc, std::string target="stdout")
int addLMapHBEFDataset(XMLDOMBlock *doc, LMapRowHBEF *row, std::string templateFileName)
std::string detector_name