VTK-m
2.0
vtkm
cont
arg
TypeCheckTagCellSet.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_TypeCheckTagCellSet_h
11
#define vtk_m_cont_arg_TypeCheckTagCellSet_h
12
13
#include <
vtkm/cont/arg/TypeCheck.h
>
14
15
#include <
vtkm/cont/CellSet.h
>
16
17
namespace
vtkm
18
{
19
namespace
cont
20
{
21
namespace
arg
22
{
23
26
struct
TypeCheckTagCellSet
27
{
28
};
29
30
template
<
typename
CellSetType>
31
struct
TypeCheck
<
TypeCheckTagCellSet
, CellSetType>
32
{
33
static
constexpr
bool
value
= vtkm::cont::internal::CellSetCheck<CellSetType>::type::value;
34
};
35
}
36
}
37
}
// namespace vtkm::cont::arg
38
39
#endif //vtk_m_cont_arg_TypeCheckTagCellSet_h
vtkm
Groups connected points that have the same field value.
Definition:
Atomic.h:19
vtkm::cont::arg::TypeCheck
Class for checking that a type matches the semantics for an argument.
Definition:
TypeCheck.h:34
CellSet.h
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
vtkm::cont::arg::TypeCheckTagCellSet
Check for a CellSet-like object.
Definition:
TypeCheckTagCellSet.h:26
Generated by
1.8.17