ParameterInfoFileWriter.hh
630 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
/*
* ParameterInfoFileWriter.hh
*
* Created on: 18 mar. 2016
* Author: AKKA
*/
#ifndef PARAMETERINFOFILEWRITER_HH_
#define PARAMETERINFOFILEWRITER_HH_
#include <libxml/xmlwriter.h>
namespace AMDA {
namespace ParameterInfo {
class ParameterInfoFileWriter {
public:
ParameterInfoFileWriter();
virtual ~ParameterInfoFileWriter();
bool initWriter(const char* filePath);
bool closeWriter();
bool startElement(const char* name);
bool endElement();
bool addAttribute(const char* name, const char* value);
private:
xmlTextWriterPtr _writer;
};
} /* namespace ParameterInfo */
} /* namespace AMDA */
#endif