2015-02-04 20:02:59 +00:00
|
|
|
//============================================================================
|
|
|
|
// Copyright (c) Kitware, Inc.
|
|
|
|
// All rights reserved.
|
|
|
|
// See LICENSE.txt for details.
|
2019-04-15 23:24:21 +00:00
|
|
|
//
|
2015-02-04 20:02:59 +00:00
|
|
|
// This software is distributed WITHOUT ANY WARRANTY; without even
|
|
|
|
// the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
|
|
|
|
// PURPOSE. See the above copyright notice for more information.
|
|
|
|
//============================================================================
|
2016-05-17 17:36:23 +00:00
|
|
|
#ifndef vtk_m_cont_arg_TypeCheckTagCellSet_h
|
|
|
|
#define vtk_m_cont_arg_TypeCheckTagCellSet_h
|
2015-02-04 20:02:59 +00:00
|
|
|
|
|
|
|
#include <vtkm/cont/arg/TypeCheck.h>
|
|
|
|
|
2015-07-28 23:33:52 +00:00
|
|
|
#include <vtkm/cont/CellSet.h>
|
2015-02-04 20:02:59 +00:00
|
|
|
|
2017-05-18 14:29:41 +00:00
|
|
|
namespace vtkm
|
|
|
|
{
|
|
|
|
namespace cont
|
|
|
|
{
|
|
|
|
namespace arg
|
|
|
|
{
|
2015-02-04 20:02:59 +00:00
|
|
|
|
2016-05-17 17:36:23 +00:00
|
|
|
/// Check for a CellSet-like object.
|
2015-02-04 20:02:59 +00:00
|
|
|
///
|
2016-05-17 17:36:23 +00:00
|
|
|
struct TypeCheckTagCellSet
|
2015-02-04 20:02:59 +00:00
|
|
|
{
|
|
|
|
};
|
|
|
|
|
2017-05-18 14:29:41 +00:00
|
|
|
template <typename CellSetType>
|
2016-05-17 17:36:23 +00:00
|
|
|
struct TypeCheck<TypeCheckTagCellSet, CellSetType>
|
2015-02-04 20:02:59 +00:00
|
|
|
{
|
2018-02-27 14:25:25 +00:00
|
|
|
static constexpr bool value = vtkm::cont::internal::CellSetCheck<CellSetType>::type::value;
|
2015-02-04 20:02:59 +00:00
|
|
|
};
|
|
|
|
}
|
|
|
|
}
|
|
|
|
} // namespace vtkm::cont::arg
|
|
|
|
|
2016-05-17 17:36:23 +00:00
|
|
|
#endif //vtk_m_cont_arg_TypeCheckTagCellSet_h
|