20 #ifndef _ANCH_RESOURCE_RESOURCE_H_ 21 #define _ANCH_RESOURCE_RESOURCE_H_ 27 #include "resource/section.hpp" 41 static std::map<std::string,Resource> RESOURCES;
44 static std::mutex MUTEX;
47 std::map<std::string,anch::resource::Section> _resources;
86 const std::string& param,
87 const std::string& section =
"")
const;
103 #endif // _ANCH_RESOURCE_RESOURCE_H_ virtual ~Resource()
Definition: resource.cpp:48
bool getParameter(std::string &value, const std::string ¶m, const std::string §ion="") const
Definition: resource.cpp:80
const std::map< std::string, anch::resource::Section > & getConfiguration() const
Definition: resource.hpp:94
AnCH framework base namespace.
Definition: base64.hpp:28
static const Resource & getResource(const std::string &filePath)
Definition: resource.cpp:58
Definition: resource.hpp:37