Inheritance diagram for CEGUI::ResourceProvider:


Public Member Functions | |
| ResourceProvider () | |
| Constructor for the ResourceProvider class. | |
| virtual | ~ResourceProvider (void) |
| Destructor for the ResourceProvider class. | |
| virtual void | loadRawDataContainer (const String &filename, RawDataContainer &output, const String &resourceGroup)=0 |
| Load XML data using InputSource objects. Load raw binary data. | |
| virtual void | unloadRawDataContainer (RawDataContainer &data) |
| Unload raw binary data. This gives the resource provider a change to unload the data in its own way before the data container object is destroyed. If it does nothing, then the object will release its memory. | |
| const String & | getDefaultResourceGroup (void) const |
| Return the current default resource group identifier. | |
| void | setDefaultResourceGroup (const String &resourceGroup) |
| Set the default resource group identifier. | |
Protected Attributes | |
| String | d_defaultResourceGroup |
| Default resource group identifier. | |
A ResourceProvider is used to load both XML and binary data from an external source. This could be from a filesystem or the resource manager of a specific renderer.
|
|
Return the current default resource group identifier.
|
|
||||||||||||||||
|
Load XML data using InputSource objects. Load raw binary data.
|
|
|
Set the default resource group identifier.
|
|
|
Unload raw binary data. This gives the resource provider a change to unload the data in its own way before the data container object is destroyed. If it does nothing, then the object will release its memory.
|
1.4.5