summaryrefslogtreecommitdiffstats
path: root/core/io/config_map.hh
diff options
context:
space:
mode:
Diffstat (limited to 'core/io/config_map.hh')
-rw-r--r--core/io/config_map.hh29
1 files changed, 0 insertions, 29 deletions
diff --git a/core/io/config_map.hh b/core/io/config_map.hh
deleted file mode 100644
index 6b99564..0000000
--- a/core/io/config_map.hh
+++ /dev/null
@@ -1,29 +0,0 @@
-#pragma once
-
-namespace config
-{
-class IValue;
-} // namespace config
-
-namespace io
-{
-class ConfigMap final {
-public:
- ConfigMap(void) = default;
- virtual ~ConfigMap(void) = default;
-
- void load_cmdline(void);
- bool load_file(std::string_view path);
- bool save_file(std::string_view path) const;
-
- bool set_value(std::string_view name, std::string_view value);
- std::string_view get_value(std::string_view name) const;
-
- void add_value(std::string_view name, config::IValue& vref);
-
- const config::IValue* find(std::string_view name) const;
-
-private:
- std::unordered_map<std::string, config::IValue*> m_values;
-};
-} // namespace io