VTK-m  2.2
ArrayCopyUnknown.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_internal_ArrayCopyUnknown_h
11 #define vtk_m_cont_internal_ArrayCopyUnknown_h
12 
14 
15 namespace vtkm
16 {
17 namespace cont
18 {
19 
20 // Rather than include UnknownArrayHandle.h, we just forward declare the class so
21 // we can declare our functions and prevent any circular header dependencies from
22 // core classes.
23 class UnknownArrayHandle;
24 
25 namespace internal
26 {
27 
31 VTKM_CONT_EXPORT void ArrayCopyUnknown(const vtkm::cont::UnknownArrayHandle& source,
32  vtkm::cont::UnknownArrayHandle& destination);
33 
34 VTKM_CONT_EXPORT void ArrayCopyUnknown(const vtkm::cont::UnknownArrayHandle& source,
35  const vtkm::cont::UnknownArrayHandle& destination);
36 
37 
38 } // namespace vtkm::cont::internal
39 } // namespace vtkm::cont
40 } // namespace vtkm
41 
42 #endif //vtk_m_cont_internal_ArrayCopyUnknown_h
vtkm
Groups connected points that have the same field value.
Definition: Atomic.h:19
vtkm::cont::UnknownArrayHandle
An ArrayHandle of an unknown value type and storage.
Definition: UnknownArrayHandle.h:430
VTKM_CONT_EXPORT
#define VTKM_CONT_EXPORT
Definition: vtkm_cont_export.h:44
vtkm_cont_export.h