29#ifndef vtkArrayIteratorTemplate_h
30#define vtkArrayIteratorTemplate_h
32#include "vtkCommonCoreModule.h"
45 void PrintSelf(ostream& os,
vtkIndent indent) VTK_OVERRIDE;
71 {
return this->Pointer[id]; }
80 this->Pointer[id] =
value;
106 int GetDataTypeSize();
126#ifdef VTK_USE_EXTERN_TEMPLATE
127#ifndef vtkArrayIteratorTemplateInstantiate_cxx
129#pragma warning (push)
132#pragma warning (disable: 4910)
136extern template class VTKCOMMONCORE_EXPORT
138extern template class VTKCOMMONCORE_EXPORT
140extern template class VTKCOMMONCORE_EXPORT
Abstract superclass for all arrays.
Implementation template for a array iterator.
T ValueType
This is the data type for the value.
static vtkArrayIteratorTemplate< T > * New()
vtkIdType GetNumberOfValues()
Must be called only after Initialize.
int GetDataType() override
Get the data type from the underlying array.
vtkTemplateTypeMacro(vtkArrayIteratorTemplate< T >, vtkArrayIterator) void PrintSelf(ostream &os
void SetValue(vtkIdType id, T value)
Sets the value at the index.
T & GetValue(vtkIdType id)
Must be called only after Initialize.
T * GetTuple(vtkIdType id)
Must be called only after Initialize.
int GetNumberOfComponents()
Must be called only after Initialize.
vtkIdType GetNumberOfTuples()
Must be called only after Initialize.
Abstract superclass to iterate over elements in an vtkAbstractArray.
a simple class to control print indentation
#define vtkInstantiateTemplateMacro(decl)
A macro to instantiate a template over all numerical types.