otsdaq
v2_00_00
Main Page
Namespaces
Classes
Files
File List
ConvertToXML.h
1
#ifndef ots_ConvertToXML_h
2
#define ots_ConvertToXML_h
3
4
#include <xercesc/util/XMLChar.hpp>
5
#include <string>
6
7
namespace
ots
8
{
9
10
class
ConvertToXML
11
{
12
public
:
13
ConvertToXML
(
const
char
*
const
toTranscode);
14
ConvertToXML
(
const
std::string& toTranscode);
15
ConvertToXML
(
const
int
toTranscode);
16
~
ConvertToXML
(
void
);
17
18
const
XMLCh* unicodeForm()
const
;
19
20
private
:
21
XMLCh* fUnicodeForm_;
22
};
23
24
#define CONVERT_TO_XML(str) ConvertToXML(str).unicodeForm()
25
26
}
27
28
#endif
ots::ConvertToXML
Definition:
ConvertToXML.h:10
src
otsdaq-core
XmlUtilities
ConvertToXML.h
Generated on Wed Apr 18 2018 11:08:37 for otsdaq by
1.8.5