csParasiticDataBufferBase Class Reference
Base class for pooled and unpooled parasitic data buffer. More...
#include <csutil/parasiticdatabuffer.h>
Inheritance diagram for csParasiticDataBufferBase:

Public Member Functions | |
virtual char * | GetData () const |
Get the buffer as an abstract pointer. | |
int8 * | GetInt8 () |
Get as an int8 *. | |
virtual size_t | GetSize () const |
Query the buffer size. | |
uint8 * | GetUint8 () |
Get as an uint8 *. | |
char * | operator * () const |
Get the buffer as an (char *) pointer. | |
virtual | ~csParasiticDataBufferBase () |
Protected Member Functions | |
csParasiticDataBufferBase () | |
csParasiticDataBufferBase (iDataBuffer *parent, size_t offs, size_t size=(size_t)~0) | |
void | SetContents (iDataBuffer *parent, size_t offs, size_t size) |
Protected Attributes | |
uint8 * | data |
csRef< iDataBuffer > | parentBuffer |
size_t | size |
Detailed Description
Base class for pooled and unpooled parasitic data buffer.
Definition at line 35 of file parasiticdatabuffer.h.
Member Function Documentation
|
Get the buffer as an abstract pointer.
Implements iDataBuffer. Definition at line 69 of file parasiticdatabuffer.h. References data. Referenced by GetInt8(), GetUint8(), and operator *(). |
|
Get as an int8 *.
Reimplemented from iDataBuffer. Definition at line 73 of file parasiticdatabuffer.h. References GetData(). |
|
Query the buffer size.
Implements iDataBuffer. Definition at line 67 of file parasiticdatabuffer.h. References size. |
|
Get as an uint8 *.
Reimplemented from iDataBuffer. Definition at line 75 of file parasiticdatabuffer.h. References GetData(). |
|
Get the buffer as an (char *) pointer.
Reimplemented from iDataBuffer. Definition at line 71 of file parasiticdatabuffer.h. References GetData(). |
The documentation for this class was generated from the following file:
- csutil/parasiticdatabuffer.h
Generated for Crystal Space by doxygen 1.4.6