Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

CEGUI::IrrlichtResourceProvider Class Reference

#include <IrrlichtResourceProvider.h>

Inheritance diagram for CEGUI::IrrlichtResourceProvider:

Inheritance graph
[legend]
Collaboration diagram for CEGUI::IrrlichtResourceProvider:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 IrrlichtResourceProvider (irr::io::IFileSystem *fsys_)
 ~IrrlichtResourceProvider (void)
void loadRawDataContainer (const String &filename, RawDataContainer &output, const String &resourceGroup)
 Load XML data using InputSource objects. Load raw binary data.
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 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 * fsys
String d_defaultResourceGroup
 Default resource group identifier.

Detailed Description

Definition at line 35 of file IrrlichtResourceProvider.h.


Constructor & Destructor Documentation

CEGUI::IrrlichtResourceProvider::IrrlichtResourceProvider irr::io::IFileSystem *  fsys_  ) 
 

Definition at line 38 of file IrrlichtResourceProvider.cpp.

References fsys.

CEGUI::IrrlichtResourceProvider::~IrrlichtResourceProvider void   ) 
 

Definition at line 44 of file IrrlichtResourceProvider.cpp.

References fsys.


Member Function Documentation

const String& CEGUI::ResourceProvider::getDefaultResourceGroup void   )  const [inline, inherited]
 

Return the current default resource group identifier.

Returns:
String object containing the currently set default resource group identifier.

Definition at line 112 of file CEGUIResourceProvider.h.

void CEGUI::IrrlichtResourceProvider::loadRawDataContainer const String filename,
RawDataContainer output,
const String resourceGroup
[virtual]
 

Load XML data using InputSource objects. Load raw binary data.

Parameters:
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.

Definition at line 49 of file IrrlichtResourceProvider.cpp.

References CEGUI::String::c_str(), fsys, CEGUI::DataContainer< T >::setData(), and CEGUI::DataContainer< T >::setSize().

void CEGUI::ResourceProvider::setDefaultResourceGroup const String resourceGroup  )  [inline, inherited]
 

Set the default resource group identifier.

Parameters:
resourceGroup String object containing the default resource group identifier to be used.
Returns:
Nothing.

Definition at line 124 of file CEGUIResourceProvider.h.

void CEGUI::IrrlichtResourceProvider::unloadRawDataContainer RawDataContainer data  )  [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:
data Reference to a RawDataContainer object that is about to be destroyed.

Reimplemented from CEGUI::ResourceProvider.

Definition at line 71 of file IrrlichtResourceProvider.cpp.

References CEGUI::DataContainer< T >::getDataPtr(), CEGUI::DataContainer< T >::setData(), and CEGUI::DataContainer< T >::setSize().


Member Data Documentation

String CEGUI::ResourceProvider::d_defaultResourceGroup [protected, inherited]
 

Default resource group identifier.

Definition at line 127 of file CEGUIResourceProvider.h.

irr::io::IFileSystem* CEGUI::IrrlichtResourceProvider::fsys [protected]
 

Definition at line 38 of file IrrlichtResourceProvider.h.

Referenced by IrrlichtResourceProvider(), loadRawDataContainer(), and ~IrrlichtResourceProvider().


The documentation for this class was generated from the following files:
Generated on Wed Sep 7 10:10:23 2005 for Crazy Eddies GUI System by  doxygen 1.4.3