VTK
|
Strategy object that contains a block of memory to be used by vtkDenseArray for value storage. More...
#include <vtkDenseArray.h>
Public Member Functions | |
virtual | ~MemoryBlock () |
virtual T * | GetAddress ()=0 |
Returns a pointer to the block of memory to be used for storage. More... | |
Strategy object that contains a block of memory to be used by vtkDenseArray for value storage.
The MemoryBlock object is responsible for freeing memory when destroyed.
Definition at line 97 of file vtkDenseArray.h.
|
virtual |
|
pure virtual |
Returns a pointer to the block of memory to be used for storage.
Implemented in vtkDenseArray< T >::StaticMemoryBlock, and vtkDenseArray< T >::HeapMemoryBlock.