#include <MyGUI_ResourceManager.h>
Public Member Functions |
| ResourceManager () |
| ~ResourceManager () |
void | initialise () |
void | shutdown () |
bool | load (const std::string &_file) |
bool | _loadImplement (const std::string &_file, bool _match, const std::string &_type, const std::string &_instance) |
void | _load (xml::ElementPtr _node, const std::string &_file, Version _version) |
void | _loadList (xml::ElementPtr _node, const std::string &_file, Version _version) |
IResourcePtr | getByID (const Guid &_id, bool _throw=true) |
std::string | getFileNameByID (const Guid &_id) |
void | addResource (IResourcePtr _item) |
void | removeResource (IResourcePtr _item) |
LoadXmlDelegate & | registerLoadXmlDelegate (const std::string &_key) |
void | unregisterLoadXmlDelegate (const std::string &_key) |
size_t | getResourceCount () |
IResourcePtr | getResource (const std::string &_name, bool _throw=true) |
IResourcePtr | getResource (const Guid &_id, bool _throw=true) |
virtual | ~ResourceHolder () |
bool | isExist (const std::string &_name) const |
IResource * | findByName (const std::string &_name) const |
IResource * | getByName (const std::string &_name, bool _throw=true) const |
bool | remove (const std::string &_name) |
void | clear () |
EnumeratorPtr | getEnumerator () |
size_t | getCount () const |
Detailed Description
Definition at line 38 of file MyGUI_ResourceManager.h.
Member Typedef Documentation
Constructor & Destructor Documentation
MyGUI::ResourceManager::ResourceManager |
( |
| ) |
|
MyGUI::ResourceManager::~ResourceManager |
( |
| ) |
|
Member Function Documentation
bool MyGUI::ResourceManager::_loadImplement |
( |
const std::string & |
_file, |
|
|
bool |
_match, |
|
|
const std::string & |
_type, |
|
|
const std::string & |
_instance |
|
) |
| |
void MyGUI::ResourceManager::addResource |
( |
IResourcePtr |
_item | ) |
|
IResourcePtr MyGUI::ResourceManager::getByID |
( |
const Guid & |
_id, |
|
|
bool |
_throw = true |
|
) |
| |
std::string MyGUI::ResourceManager::getFileNameByID |
( |
const Guid & |
_id | ) |
|
IResourcePtr MyGUI::ResourceManager::getResource |
( |
const std::string & |
_name, |
|
|
bool |
_throw = true |
|
) |
| |
|
inline |
IResourcePtr MyGUI::ResourceManager::getResource |
( |
const Guid & |
_id, |
|
|
bool |
_throw = true |
|
) |
| |
|
inline |
size_t MyGUI::ResourceManager::getResourceCount |
( |
| ) |
|
|
inline |
void MyGUI::ResourceManager::initialise |
( |
| ) |
|
bool MyGUI::ResourceManager::load |
( |
const std::string & |
_file | ) |
|
void MyGUI::ResourceManager::removeResource |
( |
IResourcePtr |
_item | ) |
|
void MyGUI::ResourceManager::shutdown |
( |
| ) |
|
void MyGUI::ResourceManager::unregisterLoadXmlDelegate |
( |
const std::string & |
_key | ) |
|
The documentation for this class was generated from the following files: