/* * ParserResultFileWriter.hh * * Created on: 29 apr. 2019 * Author: AKKA */ #ifndef PARSERRESULTFILEWRITER_HH_ #define PARSERRESULTFILEWRITER_HH_ #include <libxml/xmlwriter.h> #include <string> #include <vector> namespace AMDA { namespace parser { class ParserResultFileWriter { public: struct ParserResult { ParserResult() : ihmExpression(""), kernelExpression(""), paramsList(), parseSuccess(false) {} std::string ihmExpression; std::string kernelExpression; std::vector<std::string> paramsList; bool parseSuccess; }; static bool write(const char* filePath, std::vector<ParserResult>& parserResults); }; } /* namespace parser */ } /* namespace AMDA */ #endif