Crazy Eddie's GUI System
0.8.2
|
Public Types | |
typedef ConstMapIterator < Providermap > | ProviderIterator |
Public Member Functions | |
void | add (ResourceProvider *prov, const String &name) |
adds a ResourceProvider More... | |
template<typename T > | |
void | add (const String &name) |
creates and add a ResourceProvider More... | |
void | remove (ResourceProvider *prov) |
removes a ResourceProvider More... | |
void | remove (const String &name) |
removes a ResourceProvider More... | |
ResourceProvider * | get (const String &name) |
get a ResourceProvider More... | |
void | loadRawDataContainer (const String &filename, RawDataContainer &output, const String &resourceGroup) |
Load XML data using InputSource objects. More... | |
size_t | getResourceGroupFileNames (std::vector< String > &out_vec, const String &file_pattern, const String &resource_group) |
ProviderIterator | getIterator () const |
Public Member Functions inherited from CEGUI::ResourceProvider | |
ResourceProvider () | |
Constructor for the ResourceProvider class. | |
virtual | ~ResourceProvider (void) |
Destructor for the ResourceProvider class. | |
virtual void | unloadRawDataContainer (RawDataContainer &) |
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. More... | |
const String & | getDefaultResourceGroup (void) const |
Return the current default resource group identifier. More... | |
void | setDefaultResourceGroup (const String &resourceGroup) |
Set the default resource group identifier. More... | |
Protected Types | |
typedef std::map< String, ResourceProvider *, StringFastLessCompare > | Providermap |
Protected Attributes | |
Providermap | d_providerlist |
Protected Attributes inherited from CEGUI::ResourceProvider | |
String | d_defaultResourceGroup |
Default resource group identifier. | |
void CEGUI::CompositeResourceProvider::add | ( | ResourceProvider * | prov, |
const String & | name | ||
) |
adds a ResourceProvider
prov | A pointer to an ResourceProvider (ownership is taken). |
name | A String thats names the provider inside this holder. |
|
inline |
creates and add a ResourceProvider
name | A String thats names the provider inside this holder. |
ResourceProvider* CEGUI::CompositeResourceProvider::get | ( | const String & | name | ) |
get a ResourceProvider
name | A String thats names the provider inside this holder. |
|
virtual |
enumerate the files in \a resource_group that match \a file_pattern and
append thier names to out_vec
Implements CEGUI::ResourceProvider.
|
virtual |
Load XML data using InputSource objects.
filename | String containing a filename of the resource to be loaded. |
output | Reference to a InputSourceContainer object to load the data into. |
Load raw binary data.
filename | String containing a filename of the resource to be loaded. |
output | Reference to a RawDataContainer object to load the data into. |
resourceGroup | Optional String that may be used by implementations to identify the group from which the resource should be loaded. |
Implements CEGUI::ResourceProvider.
void CEGUI::CompositeResourceProvider::remove | ( | ResourceProvider * | prov | ) |
void CEGUI::CompositeResourceProvider::remove | ( | const String & | name | ) |
removes a ResourceProvider
name | A String thats names the provider inside this holder. |