29 explicit Writer(
const std::string &file_name);
30 explicit Writer(std::ostream &output_stream);
40 void startArray(
const std::size_t size,
const bool =
false);
47 void endRoot(
const std::string &name);
50 #define ARILES2_BASIC_TYPE(type) void writeElement(const type &element, const Parameters ¶m);
54 #undef ARILES2_BASIC_TYPE
Configuration writer class.
void startRoot(const std::string &name, const Parameters &)
void startArray(const std::size_t size, const bool=false)
void endRoot(const std::string &name)
void startMapEntry(const std::string &map_name)
Starts a nested map in the configuration file.
Writer(const std::string &file_name)
void flush()
Flush the configuration to the output.
#define ARILES2_BASIC_TYPES_LIST
#define CPPUT_MACRO_SUBSTITUTE(macro)
GenericWriter< NameValuePair > Writer