26 #define ARILES2_VISITOR_INCLUDED_octave
48 explicit Writer(
const std::string &file_name);
49 explicit Writer(std::ostream &output_stream);
65 void startArray(
const std::size_t size,
const bool compact =
false);
78 const std::size_t cols,
79 const std::size_t rows,
88 #define ARILES2_BASIC_TYPE(type) void writeElement(const type &element, const Parameters ¶m);
93 #undef ARILES2_BASIC_TYPE
Configuration writer class.
void startMatrix(const bool dynamic, const std::size_t cols, const std::size_t rows, const Parameters ¶m)
void startMatrixElement()
void startMatrixRow(const std::size_t, const Parameters &)
void flush()
Flush the configuration to the output.
void startArray(const std::size_t size, const bool compact=false)
void startVector(const std::size_t size)
void startMapEntry(const std::string &map_name)
Starts a nested map in the configuration file.
void startVectorElement()
void endMatrixRow(const Parameters &)
bool startIteratedMap(const std::size_t, const Parameters &)
Writer(const std::string &file_name)
void endMatrix(const bool dynamic, const Parameters &)
#define ARILES2_COMPLEX_NUMBER_TYPES_LIST
#define ARILES2_BASIC_TYPES_LIST
CPPUT_MACRO_SUBSTITUTE(ARILES2_BASIC_NUMERIC_TYPES_LIST) void Writer