Commit ca0073bc authored by Sean McBride's avatar Sean McBride Committed by Kitware Robot

Merge topic 'c++11-delete-function'

2d6260bc Fixed HeaderTesting.py to work with VTK_DELETE_FUNCTION
09b85400 Removed extra whitespace before VTK_DELETE_FUNCTION
b8b2f353 Applied VTK_DELETE_FUNCTION after manual search
29e423b8 Applied VTK_DELETE_FUNCTION to last few places
1853e030 Applied VTK_DELETE_FUNCTION to many constructors
2d0e11ef Applied VTK_DELETE_FUNCTION for operator=
37e1de8d include vtkConfigure.h in files that will need it
d5005458 Uniformize some operator= declarations
...
Acked-by: Kitware Robot's avatarKitware Robot <kwrobot@kitware.com>
Merge-request: !1459
parents da651270 2d6260bc
Pipeline #18975 pending with stage

Too many changes to show.

To preserve performance only 1000 of 1000+ files are displayed.

......@@ -36,8 +36,8 @@ protected:
vtkInformationVector *);
private:
vtkDaxContour(const vtkDaxContour&); //Not implemented
void operator=(const vtkDaxContour&); // Not implemented
vtkDaxContour(const vtkDaxContour&) VTK_DELETE_FUNCTION;
void operator=(const vtkDaxContour&) VTK_DELETE_FUNCTION;
};
#endif // vtkDaxContour_H
......@@ -37,8 +37,8 @@ protected:
vtkInformationVector *);
private:
vtkDaxThreshold(const vtkDaxThreshold&); // Not implemented
void operator=(const vtkDaxThreshold&); // Not implemented
vtkDaxThreshold(const vtkDaxThreshold&) VTK_DELETE_FUNCTION;
void operator=(const vtkDaxThreshold&) VTK_DELETE_FUNCTION;
};
#endif // vtkDaxThreshold_h
......@@ -156,9 +156,8 @@ public:
}
private:
// Not implemented.
ArrayContainerControl(const ArrayContainerControl<ValueType, vtkToDax::vtkPointsContainerTag> &src);
void operator=(const ArrayContainerControl<ValueType, vtkToDax::vtkPointsContainerTag> &src);
ArrayContainerControl(const ArrayContainerControl<ValueType, vtkToDax::vtkPointsContainerTag> &src) VTK_DELETE_FUNCTION;
void operator=(const ArrayContainerControl<ValueType, vtkToDax::vtkPointsContainerTag> &src) VTK_DELETE_FUNCTION;
PointerType Array;
dax::Id NumberOfValues;
......@@ -260,9 +259,8 @@ public:
}
private:
// Not implemented.
ArrayContainerControl(const ArrayContainerControl<ValueType, vtkToDax::vtkPointsContainerTag> &src);
void operator=(const ArrayContainerControl<ValueType, vtkToDax::vtkPointsContainerTag> &src);
ArrayContainerControl(const ArrayContainerControl<ValueType, vtkToDax::vtkPointsContainerTag> &src) VTK_DELETE_FUNCTION;
void operator=(const ArrayContainerControl<ValueType, vtkToDax::vtkPointsContainerTag> &src) VTK_DELETE_FUNCTION;
PointerType Array;
dax::Id NumberOfValues;
......@@ -363,9 +361,8 @@ public:
}
private:
// Not implemented.
ArrayContainerControl(const ArrayContainerControl<ValueType, vtkToDax::vtkPointsContainerTag> &src);
void operator=(const ArrayContainerControl<ValueType, vtkToDax::vtkPointsContainerTag> &src);
ArrayContainerControl(const ArrayContainerControl<ValueType, vtkToDax::vtkPointsContainerTag> &src) VTK_DELETE_FUNCTION;
void operator=(const ArrayContainerControl<ValueType, vtkToDax::vtkPointsContainerTag> &src) VTK_DELETE_FUNCTION;
PointerType Array;
dax::Id NumberOfValues;
......
......@@ -50,8 +50,8 @@ protected:
virtual int FillInputPortInformation(int, vtkInformation*);
private:
vtkDataSetToPiston(const vtkDataSetToPiston&); // Not implemented.
void operator=(const vtkDataSetToPiston&); // Not implemented.
vtkDataSetToPiston(const vtkDataSetToPiston&) VTK_DELETE_FUNCTION;
void operator=(const vtkDataSetToPiston&) VTK_DELETE_FUNCTION;
};
#endif
......@@ -105,8 +105,8 @@ protected:
vtkPistonDataObject *od);
private:
vtkPistonAlgorithm(const vtkPistonAlgorithm&); // Not implemented.
void operator=(const vtkPistonAlgorithm&); // Not implemented.
vtkPistonAlgorithm(const vtkPistonAlgorithm&) VTK_DELETE_FUNCTION;
void operator=(const vtkPistonAlgorithm&) VTK_DELETE_FUNCTION;
};
#endif
......@@ -45,8 +45,8 @@ protected:
float IsoValue;
private:
vtkPistonContour(const vtkPistonContour&); // Not implemented.
void operator=(const vtkPistonContour&); // Not implemented.
vtkPistonContour(const vtkPistonContour&) VTK_DELETE_FUNCTION;
void operator=(const vtkPistonContour&) VTK_DELETE_FUNCTION;
};
......
......@@ -120,8 +120,8 @@ protected:
vtkTimeStamp ComputeTime; // Time at which bounds, center, etc. computed
private:
vtkPistonDataObject(const vtkPistonDataObject&); // Not implemented
void operator=(const vtkPistonDataObject&); // Not implemented
vtkPistonDataObject(const vtkPistonDataObject&) VTK_DELETE_FUNCTION;
void operator=(const vtkPistonDataObject&) VTK_DELETE_FUNCTION;
};
#endif
......@@ -123,8 +123,8 @@ protected:
int GhostLevel;
private:
vtkPistonMapper(const vtkPistonMapper&); // Not implemented.
void operator=(const vtkPistonMapper&); // Not implemented.
vtkPistonMapper(const vtkPistonMapper&) VTK_DELETE_FUNCTION;
void operator=(const vtkPistonMapper&) VTK_DELETE_FUNCTION;
// Description:
// Allocates buffers that are shared between CUDA and GL
......
......@@ -97,8 +97,8 @@ protected:
vtkScalarsToColors *LookupTable;
private:
vtkPistonScalarsColors(const vtkPistonScalarsColors&); // Not implemented.
void operator=(const vtkPistonScalarsColors&); // Not implemented.
vtkPistonScalarsColors(const vtkPistonScalarsColors&) VTK_DELETE_FUNCTION;
void operator=(const vtkPistonScalarsColors&) VTK_DELETE_FUNCTION;
};
#endif // vtkPistonScalarsColors_h
......@@ -58,8 +58,8 @@ protected:
vtkPlane* Plane;
private:
vtkPistonSlice(const vtkPistonSlice&); // Not implemented.
void operator=(const vtkPistonSlice&); // Not implemented.
vtkPistonSlice(const vtkPistonSlice&) VTK_DELETE_FUNCTION;
void operator=(const vtkPistonSlice&) VTK_DELETE_FUNCTION;
};
......
......@@ -44,8 +44,8 @@ protected:
private:
vtkPistonSort(const vtkPistonSort&); // Not implemented.
void operator=(const vtkPistonSort&); // Not implemented.
vtkPistonSort(const vtkPistonSort&) VTK_DELETE_FUNCTION;
void operator=(const vtkPistonSort&) VTK_DELETE_FUNCTION;
};
......
......@@ -52,8 +52,8 @@ protected:
float MaxValue;
private:
vtkPistonThreshold(const vtkPistonThreshold&); // Not implemented.
void operator=(const vtkPistonThreshold&); // Not implemented.
vtkPistonThreshold(const vtkPistonThreshold&) VTK_DELETE_FUNCTION;
void operator=(const vtkPistonThreshold&) VTK_DELETE_FUNCTION;
};
......
......@@ -71,8 +71,8 @@ protected:
int OutputDataSetType;
private:
vtkPistonToDataSet(const vtkPistonToDataSet&); // Not implemented.
void operator=(const vtkPistonToDataSet&); // Not implemented.
vtkPistonToDataSet(const vtkPistonToDataSet&) VTK_DELETE_FUNCTION;
void operator=(const vtkPistonToDataSet&) VTK_DELETE_FUNCTION;
};
#endif
......@@ -35,8 +35,8 @@ protected:
@vtk-module@ObjectFactory();
private:
@vtk-module@ObjectFactory(const @vtk-module@ObjectFactory&); // Not implemented
void operator=(const @vtk-module@ObjectFactory&); // Not implemented
@vtk-module@ObjectFactory(const @vtk-module@ObjectFactory&) VTK_DELETE_FUNCTION;
void operator=(const @vtk-module@ObjectFactory&) VTK_DELETE_FUNCTION;
};
#endif // __@vtk-module@ObjectFactory_h
......@@ -594,8 +594,8 @@ protected:
vtkTimeStamp BuildTime;
private:
vtkAxis(const vtkAxis &); // Not implemented.
void operator=(const vtkAxis &); // Not implemented.
vtkAxis(const vtkAxis &) VTK_DELETE_FUNCTION;
void operator=(const vtkAxis &) VTK_DELETE_FUNCTION;
// Description:
// Return true if the value is in range, false otherwise.
......
......@@ -120,6 +120,6 @@ protected:
bool IsAxisVertical;
private:
vtkAxisExtended(const vtkAxisExtended&); // Not implemented.
void operator=(const vtkAxisExtended&); // Not implemented.
vtkAxisExtended(const vtkAxisExtended&) VTK_DELETE_FUNCTION;
void operator=(const vtkAxisExtended&) VTK_DELETE_FUNCTION;
};
......@@ -95,8 +95,8 @@ protected:
vtkVariantArray* Values;
private:
vtkCategoryLegend(const vtkCategoryLegend &); // Not implemented.
void operator=(const vtkCategoryLegend &); // Not implemented.
vtkCategoryLegend(const vtkCategoryLegend &) VTK_DELETE_FUNCTION;
void operator=(const vtkCategoryLegend &) VTK_DELETE_FUNCTION;
};
#endif
......@@ -389,8 +389,8 @@ protected:
MouseClickActions ActionsClick;
private:
vtkChart(const vtkChart &); // Not implemented.
void operator=(const vtkChart &); // Not implemented.
vtkChart(const vtkChart &) VTK_DELETE_FUNCTION;
void operator=(const vtkChart &) VTK_DELETE_FUNCTION;
};
#endif //vtkChart_h
......@@ -182,8 +182,8 @@ protected: