VTK-m
2.0
|
The TypeTraits class provides helpful compile-time information about the basic types used in VTKm (and a few others for convenience). More...
#include <TypeTraits.h>
Public Types | |
using | NumericTag = vtkm::TypeTraitsUnknownTag |
A tag to determine whether the type is integer or real. More... | |
using | DimensionalityTag = vtkm::TypeTraitsUnknownTag |
A tag to determine whether the type has multiple components. More... | |
Static Public Member Functions | |
static VTKM_EXEC_CONT T | ZeroInitialization () |
The TypeTraits class provides helpful compile-time information about the basic types used in VTKm (and a few others for convenience).
The majority of TypeTraits contents are typedefs to tags that can be used to easily override behavior of called functions.
using vtkm::TypeTraits< T >::DimensionalityTag = vtkm::TypeTraitsUnknownTag |
A tag to determine whether the type has multiple components.
This tag is either TypeTraitsScalarTag or TypeTraitsVectorTag. Scalars can also be treated as vectors.
using vtkm::TypeTraits< T >::NumericTag = vtkm::TypeTraitsUnknownTag |
A tag to determine whether the type is integer or real.
This tag is either TypeTraitsRealTag or TypeTraitsIntegerTag.
|
inlinestatic |