 |
VTK
9.5.20250802
|
Go to the documentation of this file.
5#ifndef vtkDeprecation_h
6#define vtkDeprecation_h
8#include "vtkVersionQuick.h"
46#ifndef VTK_DEPRECATION_LEVEL
48#ifdef VTK_VERSION_NUMBER
49#define VTK_DEPRECATION_LEVEL VTK_VERSION_NUMBER
51#define VTK_DEPRECATION_LEVEL VTK_VERSION_NUMBER_QUICK
56#define VTK_MINIMUM_DEPRECATION_LEVEL VTK_VERSION_CHECK(9, 4, 0)
60#if VTK_DEPRECATION_LEVEL < VTK_MINIMUM_DEPRECATION_LEVEL
61#undef VTK_DEPRECATION_LEVEL
62#define VTK_DEPRECATION_LEVEL VTK_MINIMUM_DEPRECATION_LEVEL
66#if defined(VTK_WRAPPING_CXX)
68#define VTK_DEPRECATION(reason)
69#elif defined(__VTK_WRAP__)
70#define VTK_DEPRECATION(reason) [[vtk::deprecated(reason)]]
72#define VTK_DEPRECATION(reason) [[deprecated(reason)]]
76#if defined(__VTK_WRAP__)
77#define VTK_DEPRECATED_IN_9_6_0(reason) [[vtk::deprecated(reason, "9.6.0")]]
78#elif VTK_DEPRECATION_LEVEL >= VTK_VERSION_CHECK(9, 5, 20250513)
79#define VTK_DEPRECATED_IN_9_6_0(reason) VTK_DEPRECATION(reason)
81#define VTK_DEPRECATED_IN_9_6_0(reason)
85#if defined(__VTK_WRAP__)
86#define VTK_DEPRECATED_IN_9_5_0(reason) [[vtk::deprecated(reason, "9.5.0")]]
87#elif VTK_DEPRECATION_LEVEL >= VTK_VERSION_CHECK(9, 4, 20241008)
88#define VTK_DEPRECATED_IN_9_5_0(reason) VTK_DEPRECATION(reason)
90#define VTK_DEPRECATED_IN_9_5_0(reason)
94#if defined(__VTK_WRAP__)
95#define VTK_DEPRECATED_IN_9_4_0(reason) [[vtk::deprecated(reason, "9.4.0")]]
97#define VTK_DEPRECATED_IN_9_4_0(reason) VTK_DEPRECATION(reason)
100#if defined(__VTK_WRAP__)
101#define VTK_DEPRECATED_IN_9_3_0(reason) [[vtk::deprecated(reason, "9.3.0")]]
103#define VTK_DEPRECATED_IN_9_3_0(reason) VTK_DEPRECATION(reason)
106#if defined(__VTK_WRAP__)
107#define VTK_DEPRECATED_IN_9_2_0(reason) [[vtk::deprecated(reason, "9.2.0")]]
109#define VTK_DEPRECATED_IN_9_2_0(reason) VTK_DEPRECATION(reason)
112#if defined(__VTK_WRAP__)
113#define VTK_DEPRECATED_IN_9_1_0(reason) [[vtk::deprecated(reason, "9.1.0")]]
115#define VTK_DEPRECATED_IN_9_1_0(reason) VTK_DEPRECATION(reason)
118#if defined(__VTK_WRAP__)
119#define VTK_DEPRECATED_IN_9_0_0(reason) [[vtk::deprecated(reason, "9.0.0")]]
121#define VTK_DEPRECATED_IN_9_0_0(reason) VTK_DEPRECATION(reason)
124#if defined(__VTK_WRAP__)
125#define VTK_DEPRECATED_IN_8_2_0(reason) [[vtk::deprecated(reason, "8.2.0")]]
127#define VTK_DEPRECATED_IN_8_2_0(reason) VTK_DEPRECATION(reason)