Go to the documentation of this file.
28 #ifndef vtkArrayIteratorTemplate_h
29 #define vtkArrayIteratorTemplate_h
43 virtual const char* GetClassNameInternal()
const
44 {
return "vtkArrayIteratorTemplate"; }
65 {
return this->Pointer[
id]; }
110 #if !defined(VTK_NO_EXPLICIT_TEMPLATE_INSTANTIATION)
111 # define VTK_ARRAY_ITERATOR_TEMPLATE_INSTANTIATE(T) \
112 template class VTKCOMMONCORE_EXPORT vtkArrayIteratorTemplate< T >
114 # include "vtkArrayIteratorTemplateImplicit.txx"
115 # define VTK_ARRAY_ITERATOR_TEMPLATE_INSTANTIATE(T)
116 #endif // !defined(VTK_NO_EXPLICIT_TEMPLATE_INSTANTIATION)
118 #endif // !defined(vtkArrayIteratorTemplate_h)
123 #if defined(VTK_ARRAY_ITERATOR_TEMPLATE_TYPE)
124 # if defined(VTK_BUILD_SHARED_LIBS) && defined(_MSC_VER)
125 # pragma warning (push)
126 # pragma warning (disable: 4091) // warning C4091: 'extern ' :
128 # pragma warning (disable: 4231) // Compiler-specific extension warning.
132 # pragma warning (pop)
134 # undef VTK_ARRAY_ITERATOR_TEMPLATE_TYPE
vtkIdType GetNumberOfValues()
vtkIdType GetNumberOfTuples()
T * GetTuple(vtkIdType id)
#define VTKCOMMONCORE_EXPORT
vtkArrayIteratorTemplate()
static vtkArrayIteratorTemplate< T > * New()
virtual void Initialize(vtkAbstractArray *array)
Implementation template for a array iterator.
#define VTK_ARRAY_ITERATOR_TEMPLATE_INSTANTIATE(T)
vtkAbstractArray * GetArray()
void PrintSelf(ostream &os, vtkIndent indent)
vtkArrayIterator Superclass
~vtkArrayIteratorTemplate()
GLsizei const GLfloat * value
a simple class to control print indentation
void SetValue(vtkIdType id, T value)
Abstract superclass for all arrays.
T & GetValue(vtkIdType id)
Abstract superclass to iterate over elements in an vtkAbstractArray.
int GetNumberOfComponents()
Provides the equivalent of vtkTypeMacro for use with template classes.