You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

44 lines
1.6 KiB
C

/*=========================================================================
Program: Visualization Toolkit
Module: vtkArrayIteratorIncludes.h
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
All rights reserved.
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
This software is distributed WITHOUT ANY WARRANTY; without even
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE. See the above copyright notice for more information.
=========================================================================*/
/**
* @class vtkArrayIteratorIncludes
* @brief 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.
*/
#ifndef vtkArrayIteratorIncludes_h
#define vtkArrayIteratorIncludes_h
// Iterators.
#include "vtkArrayIteratorTemplate.h"
#include "vtkBitArrayIterator.h"
#endif
// VTK-HeaderTest-Exclude: vtkArrayIteratorIncludes.h