iDataBuffer Struct Reference
[Utilities]
The iDataBuffer interface can be used to exchange buffers with abstract data between plugins.
More...
#include <iutil/databuff.h>
Inheritance diagram for iDataBuffer:

Public Member Functions | |
virtual size_t | GetSize () const =0 |
Query the buffer size. | |
virtual char * | GetData () const =0 |
Get the buffer as an abstract pointer. | |
char * | operator * () const |
Get the buffer as an (char *) pointer. | |
int8 * | GetInt8 () |
Get as an int8 *. | |
uint8 * | GetUint8 () |
Get as an uint8 *. |
Detailed Description
The iDataBuffer interface can be used to exchange buffers with abstract data between plugins.The object does not care about the contents of the buffer; it just can perform several simple operations on them. The interface is designed to be light-weight, as an alternative to the heavy iString interface.
Definition at line 39 of file databuff.h.
Member Function Documentation
|
Get the buffer as an abstract pointer.
Implemented in csDataBuffer. Referenced by csDataBuffer::csDataBuffer(), GetInt8(), GetUint8(), and operator *(). |
|
Get as an int8 *.
Definition at line 49 of file databuff.h. References GetData(). |
|
Query the buffer size.
Implemented in csDataBuffer. Referenced by csDataBuffer::csDataBuffer(). |
|
Get as an uint8 *.
Definition at line 52 of file databuff.h. References GetData(). |
|
Get the buffer as an (char *) pointer.
Definition at line 46 of file databuff.h. References GetData(). |
The documentation for this struct was generated from the following file:
- iutil/databuff.h
Generated for Crystal Space by doxygen 1.3.9.1