#include <ResourceHandler.hpp>
|
template<typename T , typename... Args> |
T & | add (const std::string &name, Args &&...args) |
|
bool | has (const std::string &name) |
|
template<typename T > |
T & | get (const std::string &name) |
|
|
std::map< std::string, std::shared_ptr< void > > | m_resources |
|
Definition at line 26 of file ResourceHandler.hpp.
§ add()
template<typename T , typename... Args>
T& gk::ResourceHandler::add |
( |
const std::string & |
name, |
|
|
Args &&... |
args |
|
) |
| |
|
inline |
§ get()
template<typename T >
T& gk::ResourceHandler::get |
( |
const std::string & |
name | ) |
|
|
inline |
§ getInstance()
§ has()
bool gk::ResourceHandler::has |
( |
const std::string & |
name | ) |
|
|
inline |
§ loadConfigFile()
template<typename ResourceLoader >
static auto gk::ResourceHandler::loadConfigFile |
( |
const char * |
xmlFilename | ) |
-> typename std::enable_if<std::is_base_of<IResourceLoader, ResourceLoader>::value>::type |
|
inlinestatic |
§ setInstance()
§ instance
§ m_resources
std::map<std::string, std::shared_ptr<void> > gk::ResourceHandler::m_resources |
|
private |
The documentation for this class was generated from the following files: