vtkDynamicProperties.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Kitware Inc.
2 // SPDX-License-Identifier: BSD-3-Clause
17 #ifndef vtkDynamicProperties_h
18 #define vtkDynamicProperties_h
19 
20 #include "vtkRemotingServerManagerModule.h" // For export macro
21 
22 #define VTK_DYNAMIC_PROPERTIES_MAJOR_VERSION 1
23 #define VTK_DYNAMIC_PROPERTIES_MINOR_VERSION 0
24 #define VTK_DYNAMIC_PROPERTIES_VERSION_CHECK(major, minor) (100000000 * major + minor)
25 #define VTK_DYNAMIC_PROPERTIES_VERSION_NUMBER_QUICK \
26  (VTK_DYNAMIC_PROPERTIES_VERSION_CHECK( \
27  VTK_DYNAMIC_PROPERTIES_MAJOR_VERSION, VTK_DYNAMIC_PROPERTIES_MINOR_VERSION))
28 
30 {
31  static constexpr const char* VERSION_KEY = "version";
32  static constexpr const char* PROPERTIES_KEY = "properties";
33  static constexpr const char* NAME_KEY = "name";
34  static constexpr const char* TYPE_KEY = "type";
35  static constexpr const char* DESCRIPTION_KEY = "description";
36  static constexpr const char* DEFAULT_KEY = "default";
37  static constexpr const char* VALUE_KEY = "value";
38  static constexpr const char* MIN_KEY = "min";
39  static constexpr const char* MAX_KEY = "max";
40 
41  enum Type
42  {
44  INT,
47  };
48 };
49 
50 #endif // vtkDynamicProperties_h
Key names and types for dynamic properties.
#define VTKREMOTINGSERVERMANAGER_EXPORT