VTK-m  1.4
Macros
ExportMacros.h File Reference
#include <vtkm/internal/Configure.h>
Include dependency graph for ExportMacros.h:
This graph shows which files directly or indirectly include this file:

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   __attribute__((visibility("default")))
 
#define VTKM_NEVER_EXPORT   __attribute__((visibility("hidden")))
 
#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

#define VTKM_ALWAYS_EXPORT   __attribute__((visibility("default")))
#define VTKM_CONT
#define VTKM_EXEC

Export macros for various parts of the VTKm library.

#define VTKM_EXEC_CONT
#define VTKM_NEVER_EXPORT   __attribute__((visibility("hidden")))
#define VTKM_SILENCE_WEAK_VTABLE_WARNING_END
#define VTKM_SILENCE_WEAK_VTABLE_WARNING_START
#define VTKM_STATIC_CONSTEXPR_ARRAY   static constexpr
#define VTKM_SUPPRESS_EXEC_WARNINGS
#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.