VTK
Public Member Functions | List of all members
vtkDenseArray< T >::HeapMemoryBlock Class Reference

MemoryBlock implementation that manages internally-allocated memory using new[] and delete[]. More...

#include <vtkDenseArray.h>

Inheritance diagram for vtkDenseArray< T >::HeapMemoryBlock:
[legend]
Collaboration diagram for vtkDenseArray< T >::HeapMemoryBlock:
[legend]

Public Member Functions

 HeapMemoryBlock (const vtkArrayExtents &extents)
 
 ~HeapMemoryBlock () override
 
T * GetAddress () override
 Returns a pointer to the block of memory to be used for storage. More...
 
- Public Member Functions inherited from vtkDenseArray< T >::MemoryBlock
virtual ~MemoryBlock ()
 

Detailed Description

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

MemoryBlock implementation that manages internally-allocated memory using new[] and delete[].

Note: HeapMemoryBlock is the default used by vtkDenseArray for its "normal" internal memory allocation.

Definition at line 115 of file vtkDenseArray.h.

Constructor & Destructor Documentation

◆ HeapMemoryBlock()

template<typename T>
vtkDenseArray< T >::HeapMemoryBlock::HeapMemoryBlock ( const vtkArrayExtents extents)

◆ ~HeapMemoryBlock()

template<typename T>
vtkDenseArray< T >::HeapMemoryBlock::~HeapMemoryBlock ( )
override

Member Function Documentation

◆ GetAddress()

template<typename T>
T* vtkDenseArray< T >::HeapMemoryBlock::GetAddress ( )
overridevirtual

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

Implements vtkDenseArray< T >::MemoryBlock.


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