Crazy Eddies GUI System  0.7.7
Public Member Functions | Protected Attributes
CEGUI::IrrlichtResourceProvider Class Reference
+ Inheritance diagram for CEGUI::IrrlichtResourceProvider:
+ Collaboration diagram for CEGUI::IrrlichtResourceProvider:

List of all members.

Public Member Functions

 IrrlichtResourceProvider (irr::io::IFileSystem &fs)
void loadRawDataContainer (const String &filename, RawDataContainer &output, const String &resourceGroup)
 Load XML data using InputSource objects.
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.
- Public Member Functions inherited from CEGUI::DefaultResourceProvider
void setResourceGroupDirectory (const String &resourceGroup, const String &directory)
 Set the directory associated with a given resource group identifier.
const StringgetResourceGroupDirectory (const String &resourceGroup)
 Return the directory associated with the specified resource group identifier.
void clearResourceGroupDirectory (const String &resourceGroup)
 clears any currently set directory for the specified resource group identifier.
size_t getResourceGroupFileNames (std::vector< String > &out_vec, const String &file_pattern, const String &resource_group)
- Public Member Functions inherited from CEGUI::ResourceProvider
 ResourceProvider ()
 Constructor for the ResourceProvider class.
virtual ~ResourceProvider (void)
 Destructor for the ResourceProvider class.
const StringgetDefaultResourceGroup (void) const
 Return the current default resource group identifier.
void setDefaultResourceGroup (const String &resourceGroup)
 Set the default resource group identifier.

Protected Attributes

irr::io::IFileSystem & d_fsys
- Protected Attributes inherited from CEGUI::DefaultResourceProvider
ResourceGroupMap d_resourceGroups
- Protected Attributes inherited from CEGUI::ResourceProvider
String d_defaultResourceGroup
 Default resource group identifier.

Additional Inherited Members

- Protected Types inherited from CEGUI::DefaultResourceProvider
typedef std::map< String,
String,
String::FastLessCompare
ResourceGroupMap
- Protected Member Functions inherited from CEGUI::DefaultResourceProvider
String getFinalFilename (const String &filename, const String &resourceGroup) const
 Return the final path and filename, taking into account the given resource group identifier that should be used when attempting to load the data.

Member Function Documentation

void CEGUI::IrrlichtResourceProvider::loadRawDataContainer ( const String filename,
RawDataContainer output,
const String resourceGroup 
)
virtual

Load XML data using InputSource objects.

Parameters:
filenameString containing a filename of the resource to be loaded.
outputReference to a InputSourceContainer object to load the data into.
    Load raw binary data.

\param filename
    String containing a filename of the resource to be loaded.

    \param output
    Reference to a RawDataContainer object to load the data into.

\param resourceGroup
    Optional String that may be used by implementations to identify the group from
    which the resource should be loaded.

Reimplemented from CEGUI::DefaultResourceProvider.

void CEGUI::IrrlichtResourceProvider::unloadRawDataContainer ( RawDataContainer )
virtual

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.

Parameters:
dataReference to a RawDataContainer object that is about to be destroyed.

Reimplemented from CEGUI::DefaultResourceProvider.