OpenEnroth 73e68f7
|
#include <Config.h>
Public Member Functions | |
Config ()=default | |
Config (const Config &other)=delete | |
Config (Config &&other)=delete | |
void | load (std::string_view path) |
void | save (std::string_view path) const |
void | load (InputStream *stream) |
void | save (OutputStream *stream) const |
void | reset () |
void | registerSection (ConfigSection *section) |
ConfigSection * | section (std::string_view name) const |
std::vector< ConfigSection * > | sections () const |
Private Attributes | |
std::map< std::string, ConfigSection *, TransparentStringLess > | _sectionByName |
|
default |
|
delete |
|
delete |
void Config::load | ( | InputStream * | stream | ) |
void Config::load | ( | std::string_view | path | ) |
void Config::registerSection | ( | ConfigSection * | section | ) |
void Config::reset | ( | ) |
void Config::save | ( | OutputStream * | stream | ) | const |
void Config::save | ( | std::string_view | path | ) | const |
ConfigSection * Config::section | ( | std::string_view | name | ) | const |
std::vector< ConfigSection * > Config::sections | ( | ) | const |
|
private |