Crazy Eddie's GUI System  0.8.7
CEGUI::RawDataContainer Class Reference

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

+ 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. More...
 
uint8 * getDataPtr (void)
 Return a pointer to the external data. More...
 
const uint8 * getDataPtr (void) const
 
void setSize (size_t size)
 Set the size of the external data. More...
 
size_t getSize (void) const
 Get the size of the external data. More...
 
void release (void)
 Release supplied data.
 

Detailed Description

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

Member Function Documentation

uint8* CEGUI::RawDataContainer::getDataPtr ( void  )
inline

Return a pointer to the external data.

Returns
Pointer to an the uint8 data buffer.
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
void CEGUI::RawDataContainer::setData ( uint8 *  data)
inline

Set a pointer to the external data.

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