14 #ifndef vtkArrayIteratorTemplate_h
15 #define vtkArrayIteratorTemplate_h
18 #include "vtkCommonCoreModule.h"
25 VTK_ABI_NAMESPACE_BEGIN
79 int GetNumberOfComponents()
const;
89 int GetDataTypeSize()
const;
110 #ifdef VTK_USE_EXTERN_TEMPLATE
111 #ifndef vtkArrayIteratorTemplateInstantiate_cxx
113 #pragma warning(push)
116 #pragma warning(disable : 4910) // extern and dllexport incompatible
125 #endif // VTK_USE_EXTERN_TEMPLATE
127 VTK_ABI_NAMESPACE_END
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
T ValueType
This is the data type for the value.
Abstract superclass for all arrays.
vtkAbstractArray * GetArray()
Get the array.
virtual int GetDataType() const =0
Get the data type from the underlying array.
Implementation template for a array iterator.
vtkInstantiateTemplateMacro(extern template class VTKCOMMONCORE_EXPORT vtkArrayIteratorTemplate)
virtual void Initialize(vtkAbstractArray *array)=0
Set the array this iterator will iterate over.
a simple class to control print indentation
void SetValue(vtkIdType id, T value)
Sets the value at the index.
T & GetValue(vtkIdType id)
Must be called only after Initialize.
Abstract superclass to iterate over elements in an vtkAbstractArray.
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...
#define VTK_DEPRECATED_IN_9_7_0(reason)