Commit 8364dd7e authored by Ben Boeckel's avatar Ben Boeckel Committed by Kitware Robot

Merge topic 'vtk-wrapping-fix'

94a4a9d2 vtkTracksAllInstances: nop out smtkDeclareTracksAllInstances for wrapping
Acked-by: Kitware Robot's avatarKitware Robot <>
Acked-by: David Thompson's avatarDavid Thompson <>
Merge-request: !933
parents 3aa4a697 94a4a9d2
......@@ -10,6 +10,7 @@
#pragma once
/// !file
#ifndef __VTK_WRAP__
/**\brief Declare that a class will track all instances of itself.
* Invoke this macro in a public section of your class declaration.
......@@ -33,6 +34,9 @@ public:
void linkInstance(); \
void unlinkInstance(); \
static void visitInstances(std::function<bool(cls*)>);
#define smtkDeclareTracksAllInstances(cls)
/**\brief Implement methods for tracking all instances of a class.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment