tdaq-develop-2025-02-12
Return to top level
ConvertToXML.h
1
#ifndef ots_ConvertToXML_h
2
#define ots_ConvertToXML_h
3
4
#include <string>
5
#include <xercesc/util/XMLChar.hpp>
6
7
namespace
ots
8
{
9
class
ConvertToXML
10
{
11
public
:
12
ConvertToXML
(
const
char
*
const
toTranscode);
13
ConvertToXML
(
const
std::string& toTranscode);
14
ConvertToXML
(
const
int
toTranscode);
15
~
ConvertToXML
(
void
);
16
17
const
XMLCh* unicodeForm()
const
;
18
19
private
:
20
XMLCh* fUnicodeForm_;
21
};
22
23
#define CONVERT_TO_XML(str) ConvertToXML(str).unicodeForm()
24
25
}
// namespace ots
26
27
#endif
ots::ConvertToXML
Definition:
ConvertToXML.h:10
ots
Definition:
ArtdaqOtsBuildInfo_module.cc:10
otsdaq
otsdaq
XmlUtilities
ConvertToXML.h
Generated on Mon Feb 17 2025 17:02:11 for tdaq-develop-2025-02-12 by
1.9.1