28#include "conf/section.hpp"
29#include "conf/confError.hpp"
54 std::vector<std::string> _profiles;
57 std::vector<std::string> _includes;
60 std::vector<std::string> _folders;
63 anch::conf::Section _root;
94 virtual ~Configuration();
106 static const Configuration&
inst();
122 Configuration&
folders(const std::vector<std::filesystem::path>&
folders) noexcept;
131 Configuration&
name(const std::
string&
name) noexcept;
165 const
anch::conf::Section*
section(const std::
string& path) const noexcept;
174 std::optional<std::
string>
value(const std::
string& path) const noexcept;
184 void loadProfile(const std::
string& profile);
191#include "conf/impl/configuration.hpp"
Configuration & folders(const std::vector< std::filesystem::path > &folders) noexcept
std::optional< std::string > value(const std::string &path) const noexcept
const anch::conf::Section * section(const std::string &path) const noexcept
Configuration & profiles(const std::vector< std::string > &profiles) noexcept
Configuration & name(const std::string &name) noexcept
static const Configuration & inst()
Configuration(Configuration &&conf)=delete
static Configuration & loader() noexcept
Configuration(const Configuration &conf)=delete
AnCH framework base namespace.
Definition app.hpp:28