|
const STK::FilePath & | getAppDir () const |
|
std::vector< std::string > | getResourceCategories () const override |
|
std::shared_ptr< ResourceCategory > | getResourceCategory (const std::string &key) const |
|
std::shared_ptr< ResourceCategory > | getCreateResourceCategory (const std::string &categoryId) override |
|
ResourceContainers | getResources (const std::string &category) const override |
|
std::shared_ptr< ResourceContainer > | getResource (const std::string &category, const std::string &resourceId) const override |
|
void | addResource (const std::string &category, const std::string &resourceId, std::shared_ptr< ResourceContainer > resource) |
|
| ResourceManager (const std::string &appDir) |
|
virtual std::vector< std::string > | getResourceCategories () const =0 |
|
virtual std::shared_ptr< ResourceCategory > | getCreateResourceCategory (const std::string &categoryId)=0 |
|
virtual std::vector< std::shared_ptr< ResourceContainer > > | getResources (const std::string &category) const =0 |
|
virtual std::shared_ptr< ResourceContainer > | getResource (const std::string &category, const std::string &resourceId) const =0 |
|
|
static const std::string | DefaultConfigName = "resources.json" |
|
◆ getCreateResourceCategory()
std::shared_ptr< ResourceCategory > Maria::ResourceManager::getCreateResourceCategory |
( |
const std::string & |
categoryId | ) |
|
|
inlineoverridevirtual |
◆ getResource()
std::shared_ptr< ResourceContainer > Maria::ResourceManager::getResource |
( |
const std::string & |
category, |
|
|
const std::string & |
resourceId |
|
) |
| const |
|
inlineoverridevirtual |
◆ getResourceCategories()
std::vector< std::string > Maria::ResourceManager::getResourceCategories |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ getResources()
ResourceContainers Maria::ResourceManager::getResources |
( |
const std::string & |
category | ) |
const |
|
inlineoverridevirtual |
The documentation for this class was generated from the following files:
- Native/MariaNative/MCommon/MResourceManager.h
- Native/MariaNative/MCommon/MResourceManager.cpp