37 explicit Writer(
const std::string &file_name);
45 explicit Writer(std::ostream &output_stream);
61 void startArray(
const std::size_t size,
const bool =
false);
65 void endRoot(
const std::string &name);
68 #define ARILES2_BASIC_TYPE(type) void writeElement(const type &element, const Parameters ¶m);
72 #undef ARILES2_BASIC_TYPE
Configuration writer class.
bool startIteratedMap(const std::size_t, const Parameters &)
void startMapEntry(const std::string &map_name)
Starts a nested map in the configuration file.
void startArray(const std::size_t size, const bool=false)
void startMap(const Parameters &, const std::size_t num_entries)
Starts a nested map in the configuration file.
void startRoot(const std::string &name, const Parameters &)
void flush()
Flush the configuration to the output.
Writer(const std::string &file_name)
Constructor.
void endRoot(const std::string &name)
#define ARILES2_BASIC_TYPES_LIST
#define CPPUT_MACRO_SUBSTITUTE(macro)
GenericWriter< NameValuePair > Writer