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)
136 extern template class VTKCOMMONCORE_EXPORT
138 extern template class VTKCOMMONCORE_EXPORT
140 extern template class VTKCOMMONCORE_EXPORT
143 #pragma warning (pop)
Abstract superclass for all arrays.
Implementation template for a array iterator.
T ValueType
This is the data type for the value.
vtkIdType GetNumberOfValues()
Must be called only after Initialize.
static vtkArrayIteratorTemplate< T > * New()
int GetDataType() override
Get the data type from the underlying array.
vtkTemplateTypeMacro(vtkArrayIteratorTemplate< T >, vtkArrayIterator) void PrintSelf(ostream &os
T & GetValue(vtkIdType id)
Must be called only after Initialize.
void SetValue(vtkIdType id, T value)
Sets the value at the index.
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.