29 explicit Writer(
const std::string &file_name);
30 explicit Writer(std::ostream &output_stream);
41 void startArray(
const std::size_t ,
const bool compact =
false);
45 void endRoot(
const std::string &name);
48 #define ARILES2_BASIC_TYPE(type) void writeElement(const type &element, const Parameters ¶m);
52 #undef ARILES2_BASIC_TYPE
Configuration reader class.
void flush()
Flush the configuration to the output.
void endRoot(const std::string &name)
void startMap(const Parameters &, const std::size_t)
Starts a nested map in the configuration file.
Writer(const std::string &file_name)
void startRoot(const std::string &name, const Parameters &)
void startMapEntry(const std::string &map_name)
Starts a nested map in the configuration file.
void startArray(const std::size_t, const bool compact=false)
void endMap()
Ends a nested map in the configuration file.
#define ARILES2_BASIC_TYPES_LIST
GenericWriter< NameValuePair > Writer
CPPUT_MACRO_SUBSTITUTE(ARILES2_BASIC_INTEGER_TYPES_LIST) CPPUT_MACRO_SUBSTITUTE(ARILES2_BASIC_REAL_TYPES_LIST) void Writer