CrystalSpace

Public API Reference

Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

csParasiticDataBuffer Class Reference

A databuffer pointing into another databuffer. More...

#include <csutil/parasiticdatabuffer.h>

Inheritance diagram for csParasiticDataBuffer:

csParasiticDataBufferBase iDataBuffer iBase List of all members.

Public Member Functions

 csParasiticDataBuffer (iDataBuffer *parent, size_t offs, size_t size=(size_t)~0)
 Construct this data buffer.
virtual ~csParasiticDataBuffer ()

Public Attributes

 SCF_DECLARE_IBASE

Detailed Description

A databuffer pointing into another databuffer.

Definition at line 74 of file parasiticdatabuffer.h.


Constructor & Destructor Documentation

csParasiticDataBuffer::csParasiticDataBuffer iDataBuffer parent,
size_t  offs,
size_t  size = (size_t)~0
[inline]
 

Construct this data buffer.

Parameters:
parent The buffer to point into.
offs Offset into the buffer of the data to return.
size Data size to return. Can not be larger than the parent's size minus the offset. This maximum possible size is also taken when size == ~0.

Definition at line 87 of file parasiticdatabuffer.h.

References SCF_CONSTRUCT_IBASE.


The documentation for this class was generated from the following file:
Generated for Crystal Space by doxygen 1.4.4