Class used as the databuffer for loading files throughout the library.
More...
#include <DataContainer.h>
|
| RawDataContainer () |
| Constructor for RawDataContainer class.
|
|
| ~RawDataContainer (void) |
| Destructor for RawDataContainer class.
|
|
void | setData (uint8 *data) |
| Set a pointer to the external data.
|
|
uint8 * | getDataPtr (void) |
| Return a pointer to the external data.
|
|
const uint8 * | getDataPtr (void) const |
|
void | setSize (size_t size) |
| Set the size of the external data.
|
|
size_t | getSize (void) const |
| Get the size of the external data.
|
|
void | release (void) |
| Release supplied data.
|
|
Class used as the databuffer for loading files throughout the library.
◆ getDataPtr()
uint8 * CEGUI::RawDataContainer::getDataPtr |
( |
void | | ) |
|
|
inline |
Return a pointer to the external data.
- Returns
- Pointer to an the uint8 data buffer.
◆ getSize()
size_t CEGUI::RawDataContainer::getSize |
( |
void | | ) |
const |
|
inline |
Get the size of the external data.
- Returns
- size_t containing the size of the external data
◆ setData()
void CEGUI::RawDataContainer::setData |
( |
uint8 * | data | ) |
|
|
inline |
Set a pointer to the external data.
- Parameters
-
data | Pointer to the uint8 data buffer. |
◆ setSize()
void CEGUI::RawDataContainer::setSize |
( |
size_t | size | ) |
|
|
inline |
Set the size of the external data.
- Parameters
-
size | size_t containing the size of the external data |