#include <KeosResourceManager.h>
Inheritance diagram for Keos::CResourceManager:

Public Member Functions | |
| template<class T> | |
| T * | Get (const String &strName) const |
| Get a resource. | |
| void | Add (const String &strName, IResource *pResource) |
| Add a resource. | |
| void | Remove (const String &strName) |
| Remove a resource. | |
Using for loadable resource from a file.
Definition at line 33 of file KeosResourceManager.h.
| T * Keos::CResourceManager::Get | ( | const String & | strName | ) | const [inline] |
Get a resource.
| strName | Name of the resource. |
Definition at line 78 of file KeosResourceManager.h.
Add a resource.
| strName | Name of the resource. | |
| pResource | Resource to add. |
Definition at line 55 of file KeosResourceManager.cpp.
References Assert, Keos::ILogger::Log(), and Keos::IResource::m_strName.
| void Keos::CResourceManager::Remove | ( | const String & | strName | ) |
Remove a resource.
| strName | Name of the resource. |
Definition at line 67 of file KeosResourceManager.cpp.
References Keos::ILogger::Log().
1.5.1-p1