#include <resource.hpp>
Resource manager
- Author
- Vincent Lachenal
Get resource configuration
- Returns
- The configuration
bool Resource::getParameter |
( |
std::string & |
value, |
|
|
const std::string & |
param, |
|
|
const std::string & |
section = "" |
|
) |
| const |
Get parameter value from its name and section
- Parameters
-
value | The value to set |
param | The parameter to find |
section | The parameter section (optional) |
- Returns
true
if value has been found, false
otherwise.
const Resource & Resource::getResource |
( |
const std::string & |
filePath | ) |
|
|
static |
Get Resource instance from file
- Parameters
-
filePath | The resource file path |
- Returns
- The Resource unique instance
Get Resource unique instance
- Returns
- The Resource unique instance
The documentation for this class was generated from the following files:
- anch-resource/inc/resource/resource.hpp
- anch-resource/src/resource/resource.cpp