44 std::map<std::string, Section> _sections;
47 std::map<std::string, std::string> _values;
95 const std::map<std::string, std::string>&
getValues()
const;
118 std::optional<T>
getValue(
const std::string& key)
const;
131 T
getValue(
const std::string& key,
const T& defaultValue)
const;
181#include "ini/impl/section.hpp"
Section & operator=(const Section &other)
std::string debug() const
Section & section(const std::string &key)
static std::optional< std::string > getValue(const std::string &path, const Section §ion)
std::optional< T > getValue(const std::string &key) const
T getValue(const std::string &key, const T &defaultValue) const
Section & putValue(const std::string &key, const std::string &value)
const std::map< std::string, std::string > & getValues() const
Section(const Section §ion)
Section(Section &§ion)
const std::map< std::string, Section > & getSections() const