21 using namespace basis;
26 configurator::~configurator() {}
32 if (!get(section, entry, to_return)) {
33 to_return = default_string;
34 if (_behavior == AUTO_STORE) put(section, entry, to_return);
42 {
return put(section, entry, to_store); }
67 if (!get(section, entry, value_string)) {
68 if (_behavior == AUTO_STORE) store(section, entry, def_value);
71 return value_string.
convert(def_value);
74 bool configurator::section_exists(
const astring §ion)
78 return get_section(section, infos);
Provides a dynamically resizable ASCII character string.
int convert(int default_value) const
Converts the string into a corresponding integer.
An array of strings with some additional helpful methods.
A simple object that wraps a templated set of strings.
Provides a symbol_table that holds strings as the content.
The guards collection helps in testing preconditions and reporting errors.
A dynamic container class that holds any kind of object via pointers.
string_array(1, math_list))) const char *addr_list[]