Google

Main Page   Class Hierarchy   Compound List   File List   Compound Members  

iDataBuffer Struct Reference

The iDataBuffer interface can be used to exchange buffers with abstract data between plugins. More...

#include <databuff.h>

Inheritance diagram for iDataBuffer:

iBase csDataBuffer List of all members.

Public Methods

virtual size_t GetSize () const=0
 Query the buffer size.

virtual csSome 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.


The documentation for this struct was generated from the following file:
Generated for Crystal Space by doxygen 1.2.5 written by Dimitri van Heesch, ©1997-2000