/* * ContextFileWriter.hh * * Created on: 12 aug. 2015 * Author: AKKA */ #ifndef CONTEXTFILEWRITER_HH_ #define CONTEXTFILEWRITER_HH_ #include "PlotLogger.hh" #include namespace plot { class ContextFileWriter { public: ContextFileWriter(); virtual ~ContextFileWriter(); 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 plot */ #endif