Crazy Eddie's GUI System  0.8.4
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:

List of all members.

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.

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
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends