VTK-m  2.0
TypeCheckTagBitField.h
Go to the documentation of this file.
1 //============================================================================
2 // Copyright (c) Kitware, Inc.
3 // All rights reserved.
4 // See LICENSE.txt for details.
5 //
6 // This software is distributed WITHOUT ANY WARRANTY; without even
7 // the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
8 // PURPOSE. See the above copyright notice for more information.
9 //============================================================================
10 #ifndef vtk_m_cont_arg_TypeCheckTagBitField_h
11 #define vtk_m_cont_arg_TypeCheckTagBitField_h
12 
14 
15 #include <vtkm/cont/BitField.h>
16 
17 #include <type_traits>
18 
19 namespace vtkm
20 {
21 namespace cont
22 {
23 namespace arg
24 {
25 
27 {
28 };
29 
30 template <typename T>
31 struct TypeCheck<TypeCheckTagBitField, T> : public std::is_base_of<vtkm::cont::BitField, T>
32 {
33 };
34 }
35 }
36 } // namespace vtkm::cont::arg
37 
38 #endif //vtk_m_cont_arg_TypeCheckTagBitField_h
vtkm
Groups connected points that have the same field value.
Definition: Atomic.h:19
BitField.h
vtkm::cont::arg::TypeCheckTagBitField
Definition: TypeCheckTagBitField.h:26
vtkm::cont::arg::TypeCheck
Class for checking that a type matches the semantics for an argument.
Definition: TypeCheck.h:34
TypeCheck.h