VTK  9.3.20240328
vtkArrayIteratorIncludes Class Reference

centralize array iterator type includes required when using the vtkArrayIteratorTemplateMacro. More...

#include <vtkArrayIteratorIncludes.h>

Detailed Description

centralize array iterator type includes required when using the vtkArrayIteratorTemplateMacro.

A CXX file using vtkArrayIteratorTemplateMacro needs to include the header files for all types of iterators supported by the macro. As new arrays and new iterators are added, vtkArrayIteratorTemplateMacro will also need to be updated to switch to the additional cases. However, this would imply any code using the macro will start giving compilation errors unless they include the new iterator headers. The vtkArrayIteratorIncludes.h will streamline this issue. Every file using the vtkArrayIteratorTemplateMacro must include this vtkArrayIteratorIncludes.h. As new iterators are added and the vtkArrayIteratorTemplateMacro updated, one needs to update this header file alone.


The documentation for this class was generated from the following file: