ParameterInfoFileWriter.hh 630 Bytes
/*
 * 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