VTK-m  2.0
TypeCheckTagCellSetStructured.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_TypeCheckTagCellSetStructured_h
11 #define vtk_m_cont_arg_TypeCheckTagCellSetStructured_h
12 
14 
16 
17 namespace vtkm
18 {
19 namespace cont
20 {
21 namespace arg
22 {
23 
27 {
28 };
29 
30 
31 template <typename CellSetType>
33 {
37 
38  static constexpr bool value =
39  is_3d_cellset::value || is_2d_cellset::value || is_1d_cellset::value;
40 };
41 }
42 }
43 } // namespace vtkm::cont::arg
44 
45 #endif //vtk_m_cont_arg_TypeCheckTagCellSetStructured_h
vtkm
Groups connected points that have the same field value.
Definition: Atomic.h:19
vtkm::cont::CellSetStructured< 3 >
template class VTKM_CONT_TEMPLATE_EXPORT CellSetStructured< 3 >
vtkm::cont::CellSetStructured< 2 >
template class VTKM_CONT_TEMPLATE_EXPORT CellSetStructured< 2 >
vtkm::cont::arg::TypeCheckTagCellSetStructured
Check for a Structured CellSet-like object.
Definition: TypeCheckTagCellSetStructured.h:26
vtkm::cont::CellSetStructured< 1 >
template class VTKM_CONT_TEMPLATE_EXPORT CellSetStructured< 1 >
vtkm::cont::arg::TypeCheck< TypeCheckTagCellSetStructured, CellSetType >::is_1d_cellset
std::is_same< CellSetType, vtkm::cont::CellSetStructured< 1 > > is_1d_cellset
Definition: TypeCheckTagCellSetStructured.h:36
vtkm::cont::arg::TypeCheck
Class for checking that a type matches the semantics for an argument.
Definition: TypeCheck.h:34
vtkm::cont::arg::TypeCheck< TypeCheckTagCellSetStructured, CellSetType >::is_2d_cellset
std::is_same< CellSetType, vtkm::cont::CellSetStructured< 2 > > is_2d_cellset
Definition: TypeCheckTagCellSetStructured.h:35
vtkm::cont::arg::TypeCheck< TypeCheckTagCellSetStructured, CellSetType >::is_3d_cellset
std::is_same< CellSetType, vtkm::cont::CellSetStructured< 3 > > is_3d_cellset
Definition: TypeCheckTagCellSetStructured.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
CellSetStructured.h