VTK-m  2.0
Classes | Namespaces | Macros
ControlSignatureTagBase.h File Reference
#include <vtkm/StaticAssert.h>
#include <vtkm/internal/ExportMacros.h>
#include <type_traits>

Go to the source code of this file.

Classes

struct  vtkm::cont::arg::ControlSignatureTagBase
 The base class for all tags used in a ControlSignature. More...
 

Namespaces

 vtkm
 Groups connected points that have the same field value.
 
 vtkm::cont
 VTK-m Control Environment.
 
 vtkm::cont::arg
 Transportation controls for Control Environment Objects.
 

Macros

#define VTKM_IS_CONTROL_SIGNATURE_TAG(tag)
 Checks that the argument is a proper tag for an ControlSignature. More...
 

Macro Definition Documentation

◆ VTKM_IS_CONTROL_SIGNATURE_TAG

#define VTKM_IS_CONTROL_SIGNATURE_TAG (   tag)
Value:
VTKM_STATIC_ASSERT_MSG(::vtkm::cont::arg::internal::ControlSignatureTagCheck<tag>::Valid, \
"Provided a type that is not a valid ControlSignature tag.")

Checks that the argument is a proper tag for an ControlSignature.

This is a handy concept check when modifying tags or dispatching to make sure that a template argument is actually an ControlSignature tag. (You can get weird errors elsewhere in the code when a mistake is made.)

VTKM_STATIC_ASSERT_MSG
#define VTKM_STATIC_ASSERT_MSG(condition, message)
Definition: StaticAssert.h:18