Crazy Eddies GUI System: CEGUI::RawDataContainer Class Reference

Crazy Eddies GUI System 0.7.6

- Main Page
- Related Pages
- Namespaces
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Member Functions
CEGUI::RawDataContainer Class Reference

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

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:

  data | Pointer to the uint8 data buffer.

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