Main Page   Class Hierarchy   Compound List   File List   Compound Members  

csDataBuffer Class Reference

This is a implementation of iDataBuffer interface. More...

#include <databuf.h>

Inheritance diagram for csDataBuffer:

iDataBuffer iBase List of all members.

Public Methods

 csDataBuffer (size_t iSize)
 Construct an preallocated data buffer (filled with garbage initially).

 csDataBuffer (char *iData, size_t iSize)
 Construct an data buffer object given a existing (new char []) pointer.

virtual ~csDataBuffer ()
 Destroy (free) the buffer.

virtual size_t GetSize () const
 Query the buffer size.

virtual csSome GetData () const
 Get the buffer as an abstract pointer.

Public Attributes


Detailed Description

This is a implementation of iDataBuffer interface.

The object is extremely lightweight and is recommended for use in plugins as a mean to transparently exchange abstract data between plugins.

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