29 explicit Writer(
const std::string &file_name);
30 explicit Writer(std::ostream &output_stream);
48 const std::size_t cols,
49 const std::size_t rows,
56 void startArray(
const std::size_t size,
const bool =
false);
61#define ARILES2_BASIC_TYPE(type) void writeElement(const type &element, const Parameters ¶m);
65#undef ARILES2_BASIC_TYPE
Configuration writer class.
void flush()
Flush the configuration to the output.
void startMatrix(const bool dynamic, const std::size_t cols, const std::size_t rows, const Parameters ¶m)
void endMatrix(const bool dynamic, const Parameters ¶m)
void endMap()
Ends a nested map in the configuration file.
void startArray(const std::size_t size, const bool=false)
void startMapEntry(const std::string &map_name)
Starts a nested map in the configuration file.
void startRoot(const std::string &name, const Parameters &)
void endMatrixRow(const Parameters ¶m)
void startMatrixRow(const std::size_t cols, const Parameters ¶m)
void startVector(const std::size_t size)
void startMap(const Parameters &, const std::size_t)
Starts a nested map in the configuration file.
#define ARILES2_BASIC_TYPES_LIST
#define CPPUT_MACRO_SUBSTITUTE(macro)