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

MemoryBlock implementation that manages a static (will not be freed) memory block. More...

#include <vtkDenseArray.h>

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

Public Member Functions

 StaticMemoryBlock (T *const storage)
 
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 >::StaticMemoryBlock

MemoryBlock implementation that manages a static (will not be freed) memory block.

Definition at line 204 of file vtkDenseArray.h.

Constructor & Destructor Documentation

◆ StaticMemoryBlock()

template<typename T >
vtkDenseArray< T >::StaticMemoryBlock::StaticMemoryBlock ( T *const  storage)

Member Function Documentation

◆ GetAddress()

template<typename T >
T * vtkDenseArray< T >::StaticMemoryBlock::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: