VTK
Public Member Functions | List of all members
vtkDenseArray< T >::MemoryBlock Class Referenceabstract

Strategy object that contains a block of memory to be used by vtkDenseArray for value storage. More...

#include <vtkDenseArray.h>

Inheritance diagram for vtkDenseArray< T >::MemoryBlock:
[legend]

Public Member Functions

virtual ~MemoryBlock ()
 
virtual T * GetAddress ()=0
 Returns a pointer to the block of memory to be used for storage. More...
 

Detailed Description

template<typename T>
class vtkDenseArray< T >::MemoryBlock

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 91 of file vtkDenseArray.h.

Constructor & Destructor Documentation

◆ ~MemoryBlock()

template<typename T>
virtual vtkDenseArray< T >::MemoryBlock::~MemoryBlock ( )
virtual

Member Function Documentation

◆ GetAddress()

template<typename T>
virtual T* vtkDenseArray< T >::MemoryBlock::GetAddress ( )
pure virtual

Returns a pointer to the block of memory to be used for storage.

Implemented in vtkDenseArray< T >::StaticMemoryBlock, and vtkDenseArray< T >::HeapMemoryBlock.


The documentation for this class was generated from the following file: