60 void* AllocateMemory(
size_t n);
65 virtual void SetBlockSize(
size_t);
71 vtkGetMacro(NumberOfBlocks,
int);
72 vtkGetMacro(NumberOfAllocations,
int);
81 char* StringDup(
const char* str);
87 void Add(
size_t blockSize);
89 vtkHeapBlock* DeleteAndNext();
105 void operator=(
const vtkHeap&);
abstract base class for most VTK objects
#define VTKCOMMONMISC_EXPORT
virtual void PrintSelf(ostream &os, vtkIndent indent)
a simple class to control print indentation
virtual size_t GetBlockSize()
replacement for malloc/free and new/delete