VTK
9.4.20241221
|
A class to help modify and restore the global UsingMemkind state, like SetUsingMemkind(newValue), but safer. More...
#include <vtkObjectBase.h>
Public Member Functions | |
vtkMemkindRAII (bool newValue) | |
~vtkMemkindRAII () | |
vtkMemkindRAII (vtkMemkindRAII const &)=default | |
A class to help modify and restore the global UsingMemkind state, like SetUsingMemkind(newValue), but safer.
Declare it on the stack in a function where you want to make a temporary change. When the function returns it will restore the original value.
Definition at line 271 of file vtkObjectBase.h.
vtkObjectBase::vtkMemkindRAII::vtkMemkindRAII | ( | bool | newValue | ) |
vtkObjectBase::vtkMemkindRAII::~vtkMemkindRAII | ( | ) |
|
default |