1 #include "otsdaq/XmlUtilities/ConvertFromXML.h"
3 #include <xercesc/util/XMLString.hpp>
10 ConvertFromXML::ConvertFromXML(
const XMLCh*
const toTranscode) { xmlTranscoded_ = xercesc::XMLString::transcode(toTranscode); }
13 ConvertFromXML::~ConvertFromXML() { xercesc::XMLString::release(&xmlTranscoded_); }
16 const char* ConvertFromXML::toConstChar()
const {
return xmlTranscoded_; }
19 char* ConvertFromXML::toChar()
const {
return xmlTranscoded_; }
21 std::string ConvertFromXML::toString()
const {
return xmlTranscoded_; }