Commit f6003f99 authored by Ben Boeckel's avatar Ben Boeckel
Browse files

c++: rename double-underscore prefixed symbols

These are reserved symbols.
parent c0b02d05
#ifndef __ParaViewDocumentationInitializer_h
#define __ParaViewDocumentationInitializer_h
#ifndef ParaViewDocumentationInitializer_h
#define ParaViewDocumentationInitializer_h
void PARAVIEW_DOCUMENTATION_INIT();
......
......@@ -29,8 +29,8 @@ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
========================================================================*/
#ifndef __ParaViewMainWindow_h
#define __ParaViewMainWindow_h
#ifndef ParaViewMainWindow_h
#define ParaViewMainWindow_h
#include <QMainWindow>
......
......@@ -33,8 +33,8 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
=========================================================================*/
#ifndef __pq@BPC_NAME@Initializer
#define __pq@BPC_NAME@Initializer
#ifndef pq@BPC_NAME@Initializer_h
#define pq@BPC_NAME@Initializer_h
class QMainWindow;
class pqPVApplicationCore;
......
......@@ -29,8 +29,8 @@ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
=========================================================================*/
#ifndef __@ARG_CLASS_NAME@Implementation_h
#define __@ARG_CLASS_NAME@Implementation_h
#ifndef @ARG_CLASS_NAME@Implementation_h
#define @ARG_CLASS_NAME@Implementation_h
#include <QObject>
#include "pqAutoStartInterface.h"
......
......@@ -31,8 +31,8 @@ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
========================================================================*/
#ifndef __@name@Implementation_h
#define __@name@Implementation_h
#ifndef @name@Implementation_h
#define @name@Implementation_h
#include <QObject>
#include "pqPropertyWidgetInterface.h"
......
/// Generated file. Do not edit.
#ifndef __@ARG_TYPE@ServerManagerModelImplementation_h
#define __@ARG_TYPE@ServerManagerModelImplementation_h
#ifndef @ARG_TYPE@ServerManagerModelImplementation_h
#define @ARG_TYPE@ServerManagerModelImplementation_h
#include "pqServerManagerModelInterface.h"
......
#ifndef __vtkCTHDataArray_h
#define __vtkCTHDataArray_h
#ifndef vtkCTHDataArray_h
#define vtkCTHDataArray_h
// #include "vtksnlIOWin32Header.h"
......@@ -279,4 +279,4 @@ private:
void operator= (const vtkCTHDataArray&); // Not implemented
};
#endif /* __vtkCTHDataArray_h */
#endif /* vtkCTHDataArray_h */
#ifndef __vtkCTHSource_h
#define __vtkCTHSource_h
#ifndef vtkCTHSource_h
#define vtkCTHSource_h
#include "vtkBoundingBox.h"
#include "vtkSmartPointer.h"
......@@ -108,4 +108,4 @@ private:
void operator = (const vtkCTHSource&); // Not implemented
};
#endif /* __vtkCTHSource_h */
#endif /* vtkCTHSource_h */
......@@ -29,8 +29,8 @@ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
=========================================================================*/
#ifndef __ParticleAdaptor_h
#define __ParticleAdaptor_h
#ifndef ParticleAdaptor_h
#define ParticleAdaptor_h
#ifdef __cplusplus
extern "C" {
......@@ -67,4 +67,4 @@ void coprocessorfinalize ();
} /* extern "C" */
#endif
#endif /* __ParticleAdaptor_h */
#endif /* ParticleAdaptor_h */
......@@ -12,8 +12,8 @@
PURPOSE. See the above copyright notice for more information.
=========================================================================*/
#ifndef __CAdaptorAPI_h
#define __CAdaptorAPI_h
#ifndef CAdaptorAPI_h
#define CAdaptorAPI_h
#include "vtkPVCatalystModule.h"
......
......@@ -12,8 +12,8 @@
PURPOSE. See the above copyright notice for more information.
=========================================================================*/
#ifndef __FortranAdaptorAPI_h
#define __FortranAdaptorAPI_h
#ifndef FortranAdaptorAPI_h
#define FortranAdaptorAPI_h
#include "vtkPVCatalystModule.h"
#include "FortranAdaptorAPIMangling.h"
......
......@@ -18,8 +18,8 @@
// UnstructuredGrid is built directly from a vtkUniformGrid to demonstrate
// how to input a grid into the coprocessor.
#ifndef __vtkCustomUnstructuredGridBuilder_h
#define __vtkCustomUnstructuredGridBuilder_h
#ifndef vtkCustomUnstructuredGridBuilder_h
#define vtkCustomUnstructuredGridBuilder_h
#include "vtkCPUnstructuredGridBuilder.h"
......
......@@ -12,8 +12,8 @@
PURPOSE. See the above copyright notice for more information.
=========================================================================*/
#ifndef __vtkCPAdaptorAPI_h
#define __vtkCPAdaptorAPI_h
#ifndef vtkCPAdaptorAPI_h
#define vtkCPAdaptorAPI_h
#include "vtkPVCatalystModule.h" // For windows import/export of shared libraries
#include "vtkObject.h"
......
......@@ -12,8 +12,8 @@
PURPOSE. See the above copyright notice for more information.
=========================================================================*/
#ifndef __vtkCPPythonScriptPipelineConfig_h
#define __vtkCPPythonScriptPipelineConfig_h
#ifndef vtkCPPythonScriptPipelineConfig_h
#define vtkCPPythonScriptPipelineConfig_h
// These variables are used to locate the python module files since we cannot
// reply on the executable path to locate python module files.
......
......@@ -12,8 +12,8 @@
PURPOSE. See the above copyright notice for more information.
=========================================================================*/
#ifndef __vtkCPInputDataDescription_h
#define __vtkCPInputDataDescription_h
#ifndef vtkCPInputDataDescription_h
#define vtkCPInputDataDescription_h
class vtkDataObject;
class vtkDataSet;
......
......@@ -12,8 +12,8 @@
PURPOSE. See the above copyright notice for more information.
=========================================================================*/
#ifndef __CPythonAdaptorAPI_h
#define __CPythonAdaptorAPI_h
#ifndef CPythonAdaptorAPI_h
#define CPythonAdaptorAPI_h
#include "vtkPVPythonCatalystModule.h"
......
......@@ -12,8 +12,8 @@
PURPOSE. See the above copyright notice for more information.
=========================================================================*/
#ifndef __FortranAdaptorAPI_h
#define __FortranAdaptorAPI_h
#ifndef FortranAdaptorAPI_h
#define FortranAdaptorAPI_h
#include "vtkPVPythonCatalystModule.h"
#include "FortranPythonAdaptorAPIMangling.h"
......
......@@ -18,8 +18,8 @@
// scalar point field named "Pressure". It runs a python script
// using ParaView.
#ifndef __vtkPVCustomTestDriver_h
#define __vtkPVCustomTestDriver_h
#ifndef vtkPVCustomTestDriver_h
#define vtkPVCustomTestDriver_h
#include "vtkCPTestDriver.h"
......
......@@ -12,8 +12,8 @@
PURPOSE. See the above copyright notice for more information.
=========================================================================*/
#ifndef __vtkCPPythonAdaptorAPI_h
#define __vtkCPPythonAdaptorAPI_h
#ifndef vtkCPPythonAdaptorAPI_h
#define vtkCPPythonAdaptorAPI_h
#include "vtkCPAdaptorAPI.h"
#include "vtkPVPythonCatalystModule.h" // For windows import/export of shared libraries
......
......@@ -14,8 +14,8 @@
=========================================================================*/
// Simply provided for backwards compatibility. Use vtkCPProcessor instead.
#ifndef __vtkCPPythonProcessor_h
#define __vtkCPPythonProcessor_h
#ifndef vtkCPPythonProcessor_h
#define vtkCPPythonProcessor_h
#warning Please use vtkCPProcessor directly. vtkCPPythonProcessor is \
no longer available/needed.
......
......@@ -18,8 +18,8 @@
// May want to remove GetHighestFieldOrder as it is just a place holder
// for now.
#ifndef __vtkCPBaseFieldBuilder_h
#define __vtkCPBaseFieldBuilder_h
#ifndef vtkCPBaseFieldBuilder_h
#define vtkCPBaseFieldBuilder_h
#include "vtkObject.h"
#include "vtkPVCatalystTestDriverModule.h" // needed for export macros
......
......@@ -16,8 +16,8 @@
// .SECTION Description
// Abstract class for creating grids for a test driver.
#ifndef __vtkCPBaseGridBuilder_h
#define __vtkCPBaseGridBuilder_h
#ifndef vtkCPBaseGridBuilder_h
#define vtkCPBaseGridBuilder_h
#include "vtkObject.h"
#include "vtkPVCatalystTestDriverModule.h" // needed for export macros
......
......@@ -16,8 +16,8 @@
// .SECTION Description
// Class for specifying cell data fields over grids for a test driver.
#ifndef __vtkCPCellFieldBuilder_h
#define __vtkCPCellFieldBuilder_h
#ifndef vtkCPCellFieldBuilder_h
#define vtkCPCellFieldBuilder_h
#include "vtkCPFieldBuilder.h"
#include "vtkPVCatalystTestDriverModule.h" // needed for export macros
......
......@@ -16,8 +16,8 @@
// .SECTION Description
// Class for specifying a constant scalar field.
#ifndef __vtkCPConstantScalarFieldFunction_h
#define __vtkCPConstantScalarFieldFunction_h
#ifndef vtkCPConstantScalarFieldFunction_h
#define vtkCPConstantScalarFieldFunction_h
#include "vtkCPScalarFieldFunction.h"
#include "vtkPVCatalystTestDriverModule.h" // needed for export macros
......
......@@ -16,8 +16,8 @@
// .SECTION Description
// Abstract class for specifying fields over grids for a test driver.
#ifndef __vtkCPFieldBuilder_h
#define __vtkCPFieldBuilder_h
#ifndef vtkCPFieldBuilder_h
#define vtkCPFieldBuilder_h
#include "vtkCPBaseFieldBuilder.h"
#include "vtkPVCatalystTestDriverModule.h" // needed for export macros
......
......@@ -16,8 +16,8 @@
// .SECTION Description
// Class for creating grids from a VTK file.
#ifndef __vtkCPFileGridBuilder_h
#define __vtkCPFileGridBuilder_h
#ifndef vtkCPFileGridBuilder_h
#define vtkCPFileGridBuilder_h
#include "vtkCPGridBuilder.h"
#include "vtkPVCatalystTestDriverModule.h" // needed for export macros
......
......@@ -16,8 +16,8 @@
// .SECTION Description
// Abstract class for creating grids for a test driver.
#ifndef __vtkCPGridBuilder_h
#define __vtkCPGridBuilder_h
#ifndef vtkCPGridBuilder_h
#define vtkCPGridBuilder_h
#include "vtkCPBaseGridBuilder.h"
#include "vtkPVCatalystTestDriverModule.h" // needed for export macros
......
......@@ -17,8 +17,8 @@
// Class for specifying a scalar field that is linear with respect to the
// coordinate components as well as time.
#ifndef __vtkCPLinearScalarFieldFunction_h
#define __vtkCPLinearScalarFieldFunction_h
#ifndef vtkCPLinearScalarFieldFunction_h
#define vtkCPLinearScalarFieldFunction_h
#include "vtkCPScalarFieldFunction.h"
#include "vtkPVCatalystTestDriverModule.h" // needed for export macros
......
......@@ -16,8 +16,8 @@
// .SECTION Description
// Class for creating vtkMultiBlockDataSet grids for a test driver.
#ifndef __vtkCPMultiBlockGridBuilder_h
#define __vtkCPMultiBlockGridBuilder_h
#ifndef vtkCPMultiBlockGridBuilder_h
#define vtkCPMultiBlockGridBuilder_h
#include "vtkCPBaseGridBuilder.h"
#include "vtkPVCatalystTestDriverModule.h" // needed for export macros
......
......@@ -16,8 +16,8 @@
// .SECTION Description
// Class for specifying nodal fields over grids for a test driver.
#ifndef __vtkCPNodalFieldBuilder_h
#define __vtkCPNodalFieldBuilder_h
#ifndef vtkCPNodalFieldBuilder_h
#define vtkCPNodalFieldBuilder_h
#include "vtkCPFieldBuilder.h"
#include "vtkPVCatalystTestDriverModule.h" // needed for export macros
......
......@@ -16,8 +16,8 @@
// .SECTION Description
// Abstract class for specifying scalars at specified points.
#ifndef __vtkCPScalarFieldFunction_h
#define __vtkCPScalarFieldFunction_h
#ifndef vtkCPScalarFieldFunction_h
#define vtkCPScalarFieldFunction_h
#include "vtkCPTensorFieldFunction.h"
#include "vtkPVCatalystTestDriverModule.h" // needed for export macros
......
......@@ -16,8 +16,8 @@
// .SECTION Description
// Abstract class for specifying tensor fields at specified points.
#ifndef __vtkCPTensorFieldFunction_h
#define __vtkCPTensorFieldFunction_h
#ifndef vtkCPTensorFieldFunction_h
#define vtkCPTensorFieldFunction_h
#include "vtkObject.h"
#include "vtkPVCatalystTestDriverModule.h" // needed for export macros
......
......@@ -18,8 +18,8 @@
// as a framework for creating custom inputs replicating a simulation for
// the co-processing library.
#ifndef __vtkCPTestDriver_h
#define __vtkCPTestDriver_h
#ifndef vtkCPTestDriver_h
#define vtkCPTestDriver_h
#include "vtkObject.h"
#include "vtkPVCatalystTestDriverModule.h" // needed for export macros
......
......@@ -16,8 +16,8 @@
// .SECTION Description
// Class for creating vtkUniformGrids for a test driver.
#ifndef __vtkCPUniformGridBuilder_h
#define __vtkCPUniformGridBuilder_h
#ifndef vtkCPUniformGridBuilder_h
#define vtkCPUniformGridBuilder_h
#include "vtkCPGridBuilder.h"
#include "vtkPVCatalystTestDriverModule.h" // needed for export macros
......
......@@ -17,8 +17,8 @@
// Class for creating vtkUnstructuredGrids for a test driver. Note that
// the user must call SetPoints(), Allocate(), and InsertNextCell().
#ifndef __vtkCPUnstructuredGridBuilder_h
#define __vtkCPUnstructuredGridBuilder_h
#ifndef vtkCPUnstructuredGridBuilder_h
#define vtkCPUnstructuredGridBuilder_h
#include "vtkCPGridBuilder.h"
#include "vtkPVCatalystTestDriverModule.h" // needed for export macros
......
......@@ -16,8 +16,8 @@
// .SECTION Description
// Abstract class for specifying vector values at specified points.
#ifndef __vtkCPVector3FieldFunction_h
#define __vtkCPVector3FieldFunction_h
#ifndef vtkCPVector3FieldFunction_h
#define vtkCPVector3FieldFunction_h
#include "vtkCPTensorFieldFunction.h"
#include "vtkPVCatalystTestDriverModule.h" // needed for export macros
......
......@@ -20,8 +20,8 @@
// Map native simulation code data arrays into the vtkDataArray interface.
// This is based on the vtkCPExodusIIResultsArrayTemplate.h class in VTK.
#ifndef __vtkCPMappedVectorArrayTemplate_h
#define __vtkCPMappedVectorArrayTemplate_h
#ifndef vtkCPMappedVectorArrayTemplate_h
#define vtkCPMappedVectorArrayTemplate_h
#include "vtkMappedDataArray.h"
......@@ -117,4 +117,4 @@ private:
#include "vtkCPMappedVectorArrayTemplate.txx"
#endif //__vtkCPMappedVectorArrayTemplate_h
#endif //vtkCPMappedVectorArrayTemplate_h
......@@ -29,8 +29,8 @@ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
========================================================================*/
#ifndef __myMainWindow_h
#define __myMainWindow_h
#ifndef myMainWindow_h
#define myMainWindow_h
#include <QMainWindow>
......
......@@ -29,8 +29,8 @@ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
========================================================================*/
#ifndef __myMainWindow_h
#define __myMainWindow_h
#ifndef myMainWindow_h
#define myMainWindow_h
#include <QMainWindow>
......
......@@ -29,8 +29,8 @@ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
========================================================================*/
#ifndef __myMainWindow_h
#define __myMainWindow_h
#ifndef myMainWindow_h
#define myMainWindow_h
#include <QMainWindow>
......
......@@ -29,8 +29,8 @@ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
========================================================================*/
#ifndef __MultiServerClientMainWindow_h
#define __MultiServerClientMainWindow_h
#ifndef MultiServerClientMainWindow_h
#define MultiServerClientMainWindow_h
#include <QMainWindow>
......
......@@ -29,8 +29,8 @@ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
========================================================================*/
#ifndef __ParticlesViewerDisplayPolicy_h
#define __ParticlesViewerDisplayPolicy_h
#ifndef ParticlesViewerDisplayPolicy_h
#define ParticlesViewerDisplayPolicy_h
#include "pqDisplayPolicy.h"
......
......@@ -29,8 +29,8 @@ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
========================================================================*/
#ifndef __ParticlesViewerStarter_h
#define __ParticlesViewerStarter_h
#ifndef ParticlesViewerStarter_h
#define ParticlesViewerStarter_h
#include <QObject>
......
......@@ -29,8 +29,8 @@ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
========================================================================*/
#ifndef __SpreadSheetMainWindow_h
#define __SpreadSheetMainWindow_h
#ifndef SpreadSheetMainWindow_h
#define SpreadSheetMainWindow_h
#include <QMainWindow>
class pqPipelineSource;
......
......@@ -29,8 +29,8 @@ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
========================================================================*/
#ifndef __pqMyApplicationStarter_h
#define __pqMyApplicationStarter_h
#ifndef pqMyApplicationStarter_h
#define pqMyApplicationStarter_h
#include <QObject>
......
......@@ -20,8 +20,8 @@
// a line. The line can be oriented arbitrarily. A typical example is
// to generate scalars based on elevation or height above a plane.
#ifndef __vtkMyElevationFilter_h
#define __vtkMyElevationFilter_h
#ifndef vtkMyElevationFilter_h
#define vtkMyElevationFilter_h
#include "vtkElevationFilter.h"
......
......@@ -16,8 +16,8 @@
// .SECTION Description
//
#ifndef __vtkGeometryRepresentationWithHiddenLinesRemoval_h
#define __vtkGeometryRepresentationWithHiddenLinesRemoval_h
#ifndef vtkGeometryRepresentationWithHiddenLinesRemoval_h
#define vtkGeometryRepresentationWithHiddenLinesRemoval_h
#include "vtkGeometryRepresentationWithFaces.h"
......
......@@ -19,8 +19,8 @@
// ColorMaterial behaviour of the default OpenGL pipeline. Look at
// vtkPVColorMaterialHelper_s for available GLSL functions.
#ifndef __vtkPVColorMaterialHelper_h
#define __vtkPVColorMaterialHelper_h
#ifndef vtkPVColorMaterialHelper_h
#define vtkPVColorMaterialHelper_h
#include "vtkObject.h"
......
......@@ -19,8 +19,8 @@
// to default OpenGL pipeline. Look at vtkPVLightingHelper_s for available
// GLSL functions.