31 #ifndef __vtkDebugLeaks_h
32 #define __vtkDebugLeaks_h
34 #include "vtkCommonCoreModule.h"
37 #include "vtkToolkits.h"
40 class vtkDebugLeaksHashTable;
51 static void ConstructClass(
const char* classname);
54 static void DestructClass(
const char* classname);
58 static int PrintCurrentLeaks();
63 static int GetExitError();
64 static void SetExitError(
int);
75 static int DisplayMessageBox(
const char*);
77 static void ClassInitialize();
78 static void ClassFinalize();
89 static vtkDebugLeaksHashTable* MemoryTable;
110 #endif // __vtkDebugLeaks_h
abstract base class for most VTK objects
virtual ~vtkDebugLeaksObserver()
abstract base class for most VTK objects
identify memory leaks at program termination
void operator=(const vtkObjectBase &)
Manages the vtkDebugLeaks singleton.