VTK-m  2.2
Macros
ExportMacros.h File Reference
#include <vtkm/internal/Configure.h>

Go to the source code of this file.

Macros

#define VTKM_EXEC
 
#define VTKM_EXEC_CONT
 
#define VTKM_SUPPRESS_EXEC_WARNINGS
 
#define VTKM_CONT
 
#define VTKM_ALWAYS_EXPORT
 
#define VTKM_NEVER_EXPORT
 
#define VTKM_STATIC_CONSTEXPR_ARRAY   static constexpr
 
#define VTKM_SILENCE_WEAK_VTABLE_WARNING_START
 
#define VTKM_SILENCE_WEAK_VTABLE_WARNING_END
 
#define vtkmNotUsed(parameter_name)
 Simple macro to identify a parameter as unused. More...
 

Macro Definition Documentation

◆ VTKM_ALWAYS_EXPORT

#define VTKM_ALWAYS_EXPORT

◆ VTKM_CONT

#define VTKM_CONT

◆ VTKM_EXEC

#define VTKM_EXEC

Export macros for various parts of the VTKm library.

◆ VTKM_EXEC_CONT

#define VTKM_EXEC_CONT

◆ VTKM_NEVER_EXPORT

#define VTKM_NEVER_EXPORT

◆ VTKM_SILENCE_WEAK_VTABLE_WARNING_END

#define VTKM_SILENCE_WEAK_VTABLE_WARNING_END

◆ VTKM_SILENCE_WEAK_VTABLE_WARNING_START

#define VTKM_SILENCE_WEAK_VTABLE_WARNING_START

◆ VTKM_STATIC_CONSTEXPR_ARRAY

#define VTKM_STATIC_CONSTEXPR_ARRAY   static constexpr

◆ VTKM_SUPPRESS_EXEC_WARNINGS

#define VTKM_SUPPRESS_EXEC_WARNINGS

◆ vtkmNotUsed

#define vtkmNotUsed (   parameter_name)

Simple macro to identify a parameter as unused.

This allows you to name a parameter that is not used. There are several instances where you might want to do this. For example, when using a parameter to overload or template a function but do not actually use the parameter. Another example is providing a specialization that does not need that parameter.