You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

53 lines
1.4 KiB
C

/*=========================================================================
Program: Visualization Toolkit
Module: vtkDataArrayTemplate.h
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
All rights reserved.
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
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.
=========================================================================*/
/**
* @class vtkDataArrayTemplate
*
* vtkDataArrayTemplate is deprecated, use vtkAOSDataArrayTemplate instead.
*/
#ifndef vtkDataArrayTemplate_h
#define vtkDataArrayTemplate_h
#include "vtkAOSDataArrayTemplate.h"
#ifndef VTK_LEGACY_REMOVE
template <typename ValueType>
class vtkDataArrayTemplate : public vtkAOSDataArrayTemplate<ValueType>
{
public:
vtkTemplateTypeMacro(vtkDataArrayTemplate<ValueType>, vtkAOSDataArrayTemplate<ValueType>);
static vtkDataArrayTemplate<ValueType>* New()
{
VTK_STANDARD_NEW_BODY(vtkDataArrayTemplate<ValueType>);
}
protected:
vtkDataArrayTemplate() {}
~vtkDataArrayTemplate() override {}
private:
vtkDataArrayTemplate(const vtkDataArrayTemplate&) = delete;
void operator=(const vtkDataArrayTemplate&) = delete;
};
#endif // VTK_LEGACY_REMOVE
#endif // vtkDataArrayTemplate_h
// VTK-HeaderTest-Exclude: vtkDataArrayTemplate.h