#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 |
|
|||||||||
|
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::Imageset::load(), CEGUI::DirectX81Texture::loadFromFile(), CEGUI::OpenGLTexture::loadFromFile(), CEGUI::DirectX9Texture::loadFromFile(), and CEGUI::WindowManager::loadWindowLayout(). |
|
||||||||||
|
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::Imageset::load(), CEGUI::DirectX81Texture::loadFromFile(), CEGUI::OpenGLTexture::loadFromFile(), CEGUI::DirectX9Texture::loadFromFile(), and CEGUI::WindowManager::loadWindowLayout(). |
|
||||||||||
|
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(), and CEGUI::DefaultResourceProvider::loadRawDataContainer(). |
|
||||||||||
|
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(), and CEGUI::DefaultResourceProvider::loadRawDataContainer(). |
|
|||||
|
Definition at line 120 of file CEGUIDataContainer.h. |
|
|||||
|
Definition at line 121 of file CEGUIDataContainer.h. |
1.3.9.1