#include <CEGUIDataContainer.h>
Collaboration diagram for CEGUI::DataContainer< T >:
Public Member Functions | |
DataContainer () | |
Constructor for DataContainer class. | |
virtual | ~DataContainer (void) |
Destructor for DataContainer class. | |
void | setData (T *data) |
Set a pointer to the external data. | |
T * | getDataPtr (void) |
Return a pointer to the external data. | |
void | setSize (size_t size) |
Set the size of the external data. This maybe zero depending on the type of T. | |
size_t | getSize (void) const |
Get the size of the external data. This maybe zero depending on the type of T. | |
virtual void | release (void) |
Release supplied data. | |
Protected Attributes | |
T * | mData |
size_t | mSize |
Definition at line 39 of file CEGUIDataContainer.h.
|
Constructor for DataContainer class.
Definition at line 49 of file CEGUIDataContainer.h. |
|
Destructor for DataContainer class.
Definition at line 59 of file CEGUIDataContainer.h. |
|
Return a pointer to the external data.
Definition at line 83 of file CEGUIDataContainer.h. Referenced by CEGUI::XercesParser::doParse(), CEGUI::XercesParser::initialiseSchema(), CEGUI::DirectX81Texture::loadFromFile(), CEGUI::OpenGLTexture::loadFromFile(), CEGUI::DirectX9Texture::loadFromFile(), CEGUI::TinyXMLDocument::TinyXMLDocument(), and CEGUI::IrrlichtResourceProvider::unloadRawDataContainer(). |
|
Get the size of the external data. This maybe zero depending on the type of T.
Definition at line 101 of file CEGUIDataContainer.h. Referenced by CEGUI::XercesParser::doParse(), CEGUI::XercesParser::initialiseSchema(), CEGUI::DirectX81Texture::loadFromFile(), CEGUI::OpenGLTexture::loadFromFile(), and CEGUI::DirectX9Texture::loadFromFile(). |
|
Release supplied data.
Reimplemented in CEGUI::RawDataContainer. Definition at line 108 of file CEGUIDataContainer.h. |
|
Set a pointer to the external data.
Definition at line 74 of file CEGUIDataContainer.h. Referenced by CEGUI::IrrlichtResourceProvider::loadRawDataContainer(), CEGUI::DefaultResourceProvider::loadRawDataContainer(), and CEGUI::IrrlichtResourceProvider::unloadRawDataContainer(). |
|
Set the size of the external data. This maybe zero depending on the type of T.
Definition at line 92 of file CEGUIDataContainer.h. Referenced by CEGUI::IrrlichtResourceProvider::loadRawDataContainer(), CEGUI::DefaultResourceProvider::loadRawDataContainer(), and CEGUI::IrrlichtResourceProvider::unloadRawDataContainer(). |
|
Definition at line 120 of file CEGUIDataContainer.h. |
|
Definition at line 121 of file CEGUIDataContainer.h. |