vtk-m/vtkm/cont/StorageListTag.h

66 lines
1.8 KiB
C
Raw Normal View History

//============================================================================
// Copyright (c) Kitware, Inc.
// All rights reserved.
// See LICENSE.txt for details.
2019-04-15 23:24:21 +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.
//============================================================================
#ifndef vtk_m_cont_StorageListTag_h
#define vtk_m_cont_StorageListTag_h
2019-12-05 21:38:41 +00:00
// Everything in this header file is deprecated and movded to StorageList.h.
#ifndef VTKM_DEFAULT_STORAGE_LIST_TAG
2019-12-05 21:38:41 +00:00
#define VTKM_DEFAULT_STORAGE_LIST_TAG ::vtkm::cont::detail::StorageListTagDefault
#endif
#include <vtkm/ListTag.h>
2019-12-05 21:38:41 +00:00
#include <vtkm/cont/StorageList.h>
2017-05-18 14:29:41 +00:00
namespace vtkm
{
namespace cont
{
2019-12-05 21:38:41 +00:00
struct VTKM_ALWAYS_EXPORT VTKM_DEPRECATED(
1.6,
"StorageListTagBasic replaced by StorageListBasic. "
"Note that the new StorageListBasic cannot be subclassed.") StorageListTagBasic
: vtkm::internal::ListAsListTag<StorageListBasic>
2017-05-18 14:29:41 +00:00
{
/// @cond NONE
2017-05-18 14:29:41 +00:00
};
/// @endcond
2019-07-15 04:51:28 +00:00
2019-12-05 21:38:41 +00:00
struct VTKM_ALWAYS_EXPORT VTKM_DEPRECATED(
1.6,
"StorageListTagSupported replaced by StorageListBasic. "
2019-12-05 21:38:41 +00:00
"Note that the new StorageListSupported cannot be subclassed.") StorageListTagSupported
: vtkm::internal::ListAsListTag<StorageListBasic>
2019-07-15 04:51:28 +00:00
{
/// @cond NONE
2019-07-15 04:51:28 +00:00
};
/// @endcond
2019-12-05 21:38:41 +00:00
namespace detail
{
struct VTKM_ALWAYS_EXPORT VTKM_DEPRECATED(
1.6,
"VTKM_DEFAULT_STORAGE_LIST_TAG replaced by VTKM_DEFAULT_STORAGE_LIST. "
"Note that the new VTKM_DEFAULT_STORAGE_LIST cannot be subclassed.") StorageListTagDefault
: vtkm::internal::ListAsListTag<vtkm::cont::StorageListBasic>
2019-12-05 21:38:41 +00:00
{
/// @cond NONE
2019-12-05 21:38:41 +00:00
};
/// @endcond
2019-12-05 21:38:41 +00:00
} // namespace detail
}
} // namespace vtkm::cont
#endif //vtk_m_cont_StorageListTag_h