Crazy Eddie's GUI System 0.8.7
Loading...
Searching...
No Matches
CEGUI::RawDataContainer Class Reference

Class used as the databuffer for loading files throughout the library. More...

#include <DataContainer.h>

+ Inheritance diagram for CEGUI::RawDataContainer:
+ Collaboration diagram for CEGUI::RawDataContainer:

Public Member Functions

 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.
 
- Public Member Functions inherited from CEGUI::AllocatedObject< RawDataContainer >

Detailed Description

Class used as the databuffer for loading files throughout the library.

Member Function Documentation

◆ 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
dataPointer to the uint8 data buffer.

◆ setSize()

void CEGUI::RawDataContainer::setSize ( size_t size)
inline

Set the size of the external data.

Parameters
sizesize_t containing the size of the external data