VTK-m  2.0
TypeCheckTagExecObject.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_TypeCheckTagExecObject_h
11 #define vtk_m_cont_arg_TypeCheckTagExecObject_h
12 
14 
16 
18 
19 #include <type_traits>
20 
21 namespace vtkm
22 {
23 namespace cont
24 {
25 namespace arg
26 {
27 
33 {
34 };
35 
36 template <typename Type>
38 {
39  static constexpr bool value = vtkm::cont::internal::IsExecutionObjectBase<Type>::value;
40 };
41 }
42 }
43 } // namespace vtkm::cont::arg
44 
45 #endif //vtk_m_cont_arg_TypeCheckTagExecObject_h
vtkm
Groups connected points that have the same field value.
Definition: Atomic.h:19
ExportMacros.h
vtkm::cont::arg::TypeCheckTagExecObject
The ExecObject type check passes for any object that inherits from ExecutionObjectBase.
Definition: TypeCheckTagExecObject.h:32
vtkm::cont::arg::TypeCheck
Class for checking that a type matches the semantics for an argument.
Definition: TypeCheck.h:34
vtkm::cont::arg::TypeCheck::value
static constexpr bool value
The static constant boolean value is set to true if the type is valid for the given check tag and fal...
Definition: TypeCheck.h:39
TypeCheck.h
ExecutionObjectBase.h