26#include "resource/section.hpp"
39 static std::map<std::string,Resource> RESOURCES;
42 static std::mutex MUTEX;
45 std::map<std::string,anch::resource::Section> _resources;
72 static const Resource&
getResource(
const std::string& filePath);
84 const std::string& param,
85 const std::string&
section =
"")
const;
94 std::optional<anch::resource::Section>
section(
const std::string&
section)
const;
103 std::optional<std::string>
parameter(
const std::string& param)
const;
116#include "resource/impl/resource.hpp"
bool getParameter(std::string &value, const std::string ¶m, const std::string §ion="") const
std::optional< anch::resource::Section > section(const std::string §ion) const
static const Resource & getResource(const std::string &filePath)
const std::map< std::string, anch::resource::Section > & getConfiguration() const
std::optional< std::string > parameter(const std::string ¶m) const
Resources namespace.
Definition configurationFileParser.hpp:28