i3d::Buffer Struct Reference
#include <basic.h>
Public Member Functions | |
Buffer (const unsigned long sz=0) | |
explicit constructor | |
bool | allocate (const unsigned long sz) |
function allocating memory block | |
~Buffer () | |
destructor | |
Public Attributes | |
char * | start |
allocated memory | |
unsigned long | size |
allocated size |
Detailed Description
A memory buffer (the main reason for defining this class is its destructor, which automatically deallocates the buffer memory when leaving function/block) :
The documentation for this struct was generated from the following file:
- basic.h