Commit 29e423b8 authored by Sean McBride's avatar Sean McBride

Applied VTK_DELETE_FUNCTION to last few places

Find/replace of:

;[ ]*//\s*Not implemented[\.]*
to
 VTK_DELETE_FUNCTION;

To catch a few remaining ones missed by previous greps.

Manually reverted changed files in VPIC and KWSys folders, and a couple other of places.
parent 1853e030
Pipeline #18817 passed with stage
......@@ -156,7 +156,7 @@ public:
}
private:
ArrayContainerControl(const ArrayContainerControl<ValueType, vtkToDax::vtkPointsContainerTag> &src); // Not implemented.
ArrayContainerControl(const ArrayContainerControl<ValueType, vtkToDax::vtkPointsContainerTag> &src) VTK_DELETE_FUNCTION;
void operator=(const ArrayContainerControl<ValueType, vtkToDax::vtkPointsContainerTag> &src) VTK_DELETE_FUNCTION;
PointerType Array;
......@@ -259,7 +259,7 @@ public:
}
private:
ArrayContainerControl(const ArrayContainerControl<ValueType, vtkToDax::vtkPointsContainerTag> &src); // Not implemented.
ArrayContainerControl(const ArrayContainerControl<ValueType, vtkToDax::vtkPointsContainerTag> &src) VTK_DELETE_FUNCTION;
void operator=(const ArrayContainerControl<ValueType, vtkToDax::vtkPointsContainerTag> &src) VTK_DELETE_FUNCTION;
PointerType Array;
......@@ -361,7 +361,7 @@ public:
}
private:
ArrayContainerControl(const ArrayContainerControl<ValueType, vtkToDax::vtkPointsContainerTag> &src); // Not implemented.
ArrayContainerControl(const ArrayContainerControl<ValueType, vtkToDax::vtkPointsContainerTag> &src) VTK_DELETE_FUNCTION;
void operator=(const ArrayContainerControl<ValueType, vtkToDax::vtkPointsContainerTag> &src) VTK_DELETE_FUNCTION;
PointerType Array;
......
......@@ -35,7 +35,7 @@ protected:
@vtk-module@ObjectFactory();
private:
@vtk-module@ObjectFactory(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;
};
......
......@@ -38,7 +38,7 @@ public:
static void Disable();
private:
vtkFloatingPointExceptions(); // Not implemented.
vtkFloatingPointExceptions() VTK_DELETE_FUNCTION;
vtkFloatingPointExceptions(const vtkFloatingPointExceptions&) VTK_DELETE_FUNCTION;
void operator=(const vtkFloatingPointExceptions&) VTK_DELETE_FUNCTION;
};
......
......@@ -103,7 +103,7 @@ public:
}
private:
vtkNew(vtkNew<T> const&); // Not implemented.
vtkNew(vtkNew<T> const&) VTK_DELETE_FUNCTION;
void operator=(vtkNew<T> const&) VTK_DELETE_FUNCTION;
T* Object;
};
......
......@@ -62,7 +62,7 @@ protected:
// Whether the caller of str() owns the memory.
int Frozen;
private:
vtkOStrStreamWrapper(const vtkOStrStreamWrapper& r); // Not Implemented.
vtkOStrStreamWrapper(const vtkOStrStreamWrapper& r) VTK_DELETE_FUNCTION;
vtkOStrStreamWrapper& operator=(const vtkOStrStreamWrapper&) VTK_DELETE_FUNCTION;
};
......
......@@ -168,8 +168,8 @@ protected:
private:
// These are purposely not implemented to prevent callers from
// trying to take references from other smart pointers.
void TakeReference(const vtkSmartPointerBase&); // Not implemented.
static void Take(const vtkSmartPointerBase&); // Not implemented.
void TakeReference(const vtkSmartPointerBase&) VTK_DELETE_FUNCTION;
static void Take(const vtkSmartPointerBase&) VTK_DELETE_FUNCTION;
};
#define VTK_SMART_POINTER_DEFINE_OPERATOR(op) \
......
......@@ -92,7 +92,7 @@ protected:
}
private:
vtkTypeTemplate(const vtkTypeTemplate<ThisT, BaseT>&); // Not implemented.
vtkTypeTemplate(const vtkTypeTemplate<ThisT, BaseT>&) VTK_DELETE_FUNCTION;
void operator=(const vtkTypeTemplate<ThisT, BaseT>&) VTK_DELETE_FUNCTION;
static const char* GetClassNameInternalCachedName()
......
......@@ -134,8 +134,8 @@ protected:
private:
// These are purposely not implemented to prevent callers from
// trying to take references from other smart pointers.
void TakeReference(const vtkWeakPointerBase&); // Not implemented.
static void Take(const vtkWeakPointerBase&); // Not implemented.
void TakeReference(const vtkWeakPointerBase&) VTK_DELETE_FUNCTION;
static void Take(const vtkWeakPointerBase&) VTK_DELETE_FUNCTION;
};
#define VTK_WEAK_POINTER_DEFINE_OPERATOR(op) \
......
......@@ -516,7 +516,7 @@ protected:
int Index[D]; // index in each dimension of the current node, as if the
// tree at the current level was a uniform grid.
private:
vtkCompactHyperOctreeCursor(const vtkCompactHyperOctreeCursor<D> &); // Not implemented.
vtkCompactHyperOctreeCursor(const vtkCompactHyperOctreeCursor<D> &) VTK_DELETE_FUNCTION;
void operator=(const vtkCompactHyperOctreeCursor<D> &) VTK_DELETE_FUNCTION;
};
......@@ -961,7 +961,7 @@ protected:
std::vector<int> LeafParent; // record the parent of each leaf
vtkDataSetAttributes *Attributes; // cell data or point data.
private:
vtkCompactHyperOctree(const vtkCompactHyperOctree<D> &); // Not implemented.
vtkCompactHyperOctree(const vtkCompactHyperOctree<D> &) VTK_DELETE_FUNCTION;
void operator=(const vtkCompactHyperOctree<D> &) VTK_DELETE_FUNCTION;
};
......
......@@ -413,7 +413,7 @@ protected:
int Indices[3];
private:
vtkCompactHyperTreeCursor(const vtkCompactHyperTreeCursor<N> &); // Not implemented.
vtkCompactHyperTreeCursor(const vtkCompactHyperTreeCursor<N> &) VTK_DELETE_FUNCTION;
void operator=(const vtkCompactHyperTreeCursor<N> &) VTK_DELETE_FUNCTION;
};
......@@ -903,7 +903,7 @@ protected:
std::vector<vtkIdType> GlobalIndexTable;
private:
vtkCompactHyperTree(const vtkCompactHyperTree<N> &); // Not implemented.
vtkCompactHyperTree(const vtkCompactHyperTree<N> &) VTK_DELETE_FUNCTION;
void operator=(const vtkCompactHyperTree<N> &) VTK_DELETE_FUNCTION;
};
......
......@@ -431,7 +431,7 @@ private:
( vtkIncrementalOctreeNode * leafNode, const double point[3] );
vtkIncrementalOctreePointLocator
( const vtkIncrementalOctreePointLocator & ); // Not implemented
( const vtkIncrementalOctreePointLocator & ) VTK_DELETE_FUNCTION;
void operator = ( const vtkIncrementalOctreePointLocator & ) VTK_DELETE_FUNCTION;
};
......
......@@ -99,7 +99,7 @@ protected:
const vtkAMRDataInternals::BlockList* DataBlocks;
int InternalIdx;
private:
AMRLoadedDataIndexIterator(const AMRLoadedDataIndexIterator&); //Not implemented
AMRLoadedDataIndexIterator(const AMRLoadedDataIndexIterator&) VTK_DELETE_FUNCTION;
void operator=(const AMRLoadedDataIndexIterator&) VTK_DELETE_FUNCTION;
};
vtkStandardNewMacro(AMRLoadedDataIndexIterator);
......
......@@ -147,7 +147,7 @@ public:
private:
vector<double> TimeSteps;
bool HasTimeDependentData;
TestTimeSource(const TestTimeSource&); // Not implemented.
TestTimeSource(const TestTimeSource&) VTK_DELETE_FUNCTION;
void operator=(const TestTimeSource&) VTK_DELETE_FUNCTION;
};
vtkStandardNewMacro(TestTimeSource);
......@@ -213,7 +213,7 @@ private:
double StartTime;
int TimeIndex;
int TimeIterations;
TestTimeFilter(const TestTimeFilter&); // Not implemented.
TestTimeFilter(const TestTimeFilter&) VTK_DELETE_FUNCTION;
void operator=(const TestTimeFilter&) VTK_DELETE_FUNCTION;
};
vtkStandardNewMacro(TestTimeFilter);
......
......@@ -57,7 +57,7 @@ class VTKCOMMONEXECUTIONMODEL_EXPORT vtkImageToStructuredGrid:
private:
vtkImageToStructuredGrid(
const vtkImageToStructuredGrid& ); //Not implemented
const vtkImageToStructuredGrid& ) VTK_DELETE_FUNCTION;
void operator=(const vtkImageToStructuredGrid&) VTK_DELETE_FUNCTION;
......
......@@ -68,7 +68,7 @@ protected:
float MetaPadding;
private:
OQEDImageData(const OQEDImageData&); // Not implemented
OQEDImageData(const OQEDImageData&) VTK_DELETE_FUNCTION;
void operator=(const OQEDImageData&) VTK_DELETE_FUNCTION;
};
vtkStandardNewMacro(OQEDImageData);
......
......@@ -170,7 +170,7 @@ protected:
std::vector<int> BlocksToLoad;
private:
vtkAMRCutPlane(const vtkAMRCutPlane& ); // Not implemented
vtkAMRCutPlane(const vtkAMRCutPlane& ) VTK_DELETE_FUNCTION;
void operator=(const vtkAMRCutPlane& ) VTK_DELETE_FUNCTION;
};
......
......@@ -66,7 +66,7 @@ protected:
vtkMultiProcessController *Controller;
private:
vtkAMRToMultiBlockFilter(const vtkAMRToMultiBlockFilter& ); // Not implemented
vtkAMRToMultiBlockFilter(const vtkAMRToMultiBlockFilter& ) VTK_DELETE_FUNCTION;
void operator=(const vtkAMRToMultiBlockFilter& ) VTK_DELETE_FUNCTION;
};
......
......@@ -111,7 +111,7 @@ protected:
int AppendFieldData;
private:
vtkAppendCompositeDataLeaves ( const vtkAppendCompositeDataLeaves& ); // Not implemented.
vtkAppendCompositeDataLeaves ( const vtkAppendCompositeDataLeaves& ) VTK_DELETE_FUNCTION;
void operator = ( const vtkAppendCompositeDataLeaves& ) VTK_DELETE_FUNCTION;
};
......
......@@ -227,7 +227,7 @@ protected:
private:
TestTimeSource(const TestTimeSource&); // Not implemented.
TestTimeSource(const TestTimeSource&) VTK_DELETE_FUNCTION;
void operator=(const TestTimeSource&) VTK_DELETE_FUNCTION;
vector<double> TimeSteps;
......
......@@ -238,7 +238,7 @@ protected:
private:
vtkAbstractInterpolatedVelocityField
( const vtkAbstractInterpolatedVelocityField & ); // Not implemented.
( const vtkAbstractInterpolatedVelocityField & ) VTK_DELETE_FUNCTION;
void operator = ( const vtkAbstractInterpolatedVelocityField & ) VTK_DELETE_FUNCTION;
};
......
......@@ -127,7 +127,7 @@ private:
vtkCellLocatorInterpolatedVelocityFieldCellLocatorsType * CellLocators;
vtkCellLocatorInterpolatedVelocityField
( const vtkCellLocatorInterpolatedVelocityField & ); // Not implemented.
( const vtkCellLocatorInterpolatedVelocityField & ) VTK_DELETE_FUNCTION;
void operator = ( const vtkCellLocatorInterpolatedVelocityField & ) VTK_DELETE_FUNCTION;
};
......
......@@ -113,7 +113,7 @@ protected:
private:
vtkCompositeInterpolatedVelocityField
( const vtkCompositeInterpolatedVelocityField & ); // Not implemented.
( const vtkCompositeInterpolatedVelocityField & ) VTK_DELETE_FUNCTION;
void operator = ( const vtkCompositeInterpolatedVelocityField & ) VTK_DELETE_FUNCTION;
};
......
......@@ -106,9 +106,9 @@ protected:
private:
vtkInterpolatedVelocityField
( const vtkInterpolatedVelocityField & ); // Not implemented.
( const vtkInterpolatedVelocityField & ) VTK_DELETE_FUNCTION;
void operator =
( const vtkInterpolatedVelocityField & ); // Not implemented.
( const vtkInterpolatedVelocityField & ) VTK_DELETE_FUNCTION;
};
#endif
......@@ -190,7 +190,7 @@ public:
vtkIntersectionPolyDataFilter *ParentFilter;
protected:
Impl(const Impl&); // Not implemented
Impl(const Impl&) VTK_DELETE_FUNCTION;
void operator=(const Impl&) VTK_DELETE_FUNCTION;
};
......
......@@ -182,7 +182,7 @@ protected:
private:
vtkTableBasedClipperEdgeHashTable
( const vtkTableBasedClipperEdgeHashTable & ); // Not implemented.
( const vtkTableBasedClipperEdgeHashTable & ) VTK_DELETE_FUNCTION;
void operator = ( const vtkTableBasedClipperEdgeHashTable & ) VTK_DELETE_FUNCTION;
};
// ---- vtkTableBasedClipperEdgeHashTable (end)
......@@ -205,9 +205,9 @@ class vtkTableBasedClipperDataSetFromVolume
private:
vtkTableBasedClipperDataSetFromVolume
( const vtkTableBasedClipperDataSetFromVolume & ); // Not implemented.
( const vtkTableBasedClipperDataSetFromVolume & ) VTK_DELETE_FUNCTION;
void operator =
( const vtkTableBasedClipperDataSetFromVolume & ); // Not implemented.
( const vtkTableBasedClipperDataSetFromVolume & ) VTK_DELETE_FUNCTION;
};
vtkTableBasedClipperPointList::vtkTableBasedClipperPointList()
......
......@@ -272,7 +272,7 @@ protected:
int OutputPointsPrecision;
private:
vtkTableBasedClipDataSet( const vtkTableBasedClipDataSet &); // Not implemented.
vtkTableBasedClipDataSet( const vtkTableBasedClipDataSet &) VTK_DELETE_FUNCTION;
void operator= ( const vtkTableBasedClipDataSet & ) VTK_DELETE_FUNCTION;
};
......
......@@ -273,7 +273,7 @@ protected:
return 1;
}
private:
TestTimeSource(const TestTimeSource&); // Not implemented.
TestTimeSource(const TestTimeSource&) VTK_DELETE_FUNCTION;
void operator=(const TestTimeSource&) VTK_DELETE_FUNCTION;
vector<double> TimeSteps;
......
......@@ -342,7 +342,7 @@ protected:
int *rcvbuffer, vtkIdType &N, const int processId );
private:
vtkPStructuredGridConnectivity(const vtkPStructuredGridConnectivity& ); // Not implemented
vtkPStructuredGridConnectivity(const vtkPStructuredGridConnectivity& ) VTK_DELETE_FUNCTION;
void operator=(const vtkPStructuredGridConnectivity& ) VTK_DELETE_FUNCTION;
};
......
......@@ -50,7 +50,7 @@ public:
private:
qObserver(const qObserver&); // Not implemented.
qObserver(const qObserver&) VTK_DELETE_FUNCTION;
void operator=(const qObserver&) VTK_DELETE_FUNCTION;
};
......
......@@ -72,7 +72,7 @@ protected:
~vtkASCIITextCodec() ;
private:
vtkASCIITextCodec(const vtkASCIITextCodec &) ; // Not implemented.
vtkASCIITextCodec(const vtkASCIITextCodec &) VTK_DELETE_FUNCTION;
void operator=(const vtkASCIITextCodec &) VTK_DELETE_FUNCTION;
};
......
......@@ -70,7 +70,7 @@ public:
OutputIterator() {} virtual ~OutputIterator() {}
private:
OutputIterator(const OutputIterator&); // Not implemented
OutputIterator(const OutputIterator&) VTK_DELETE_FUNCTION;
const OutputIterator& operator=(const OutputIterator&) VTK_DELETE_FUNCTION;
};
......
......@@ -108,7 +108,7 @@ namespace
virtual ~testIterator() {}
private:
testIterator(const testIterator&); // Not implemented
testIterator(const testIterator&) VTK_DELETE_FUNCTION;
const testIterator& operator=(const testIterator&) VTK_DELETE_FUNCTION;
};
......
......@@ -81,7 +81,7 @@ protected:
bool _bigEndian ;
private:
vtkUTF16TextCodec(const vtkUTF16TextCodec &) ; // Not implemented.
vtkUTF16TextCodec(const vtkUTF16TextCodec &) VTK_DELETE_FUNCTION;
void operator=(const vtkUTF16TextCodec &) VTK_DELETE_FUNCTION;
};
......
......@@ -55,7 +55,7 @@ namespace
virtual ~testIterator() {}
private:
testIterator(const testIterator&); // Not implemented
testIterator(const testIterator&) VTK_DELETE_FUNCTION;
const testIterator& operator=(const testIterator&) VTK_DELETE_FUNCTION;
};
......
......@@ -71,7 +71,7 @@ protected:
~vtkUTF8TextCodec() ;
private:
vtkUTF8TextCodec(const vtkUTF8TextCodec &) ; // Not implemented.
vtkUTF8TextCodec(const vtkUTF8TextCodec &) VTK_DELETE_FUNCTION;
void operator=(const vtkUTF8TextCodec &) VTK_DELETE_FUNCTION;
};
......
......@@ -113,9 +113,9 @@ protected:
private:
vtkCPExodusIINodalCoordinatesTemplate(
const vtkCPExodusIINodalCoordinatesTemplate &); // Not implemented.
const vtkCPExodusIINodalCoordinatesTemplate &) VTK_DELETE_FUNCTION;
void operator=(
const vtkCPExodusIINodalCoordinatesTemplate &); // Not implemented.
const vtkCPExodusIINodalCoordinatesTemplate &) VTK_DELETE_FUNCTION;
vtkIdType Lookup(const Scalar &val, vtkIdType startIndex);
double *TempDoubleArray;
......
......@@ -150,7 +150,7 @@ public:
protected:
int fd;
private:
vtkSLACParticleReaderAutoCloseNetCDF(); // Not implemented
vtkSLACParticleReaderAutoCloseNetCDF() VTK_DELETE_FUNCTION;
vtkSLACParticleReaderAutoCloseNetCDF(const vtkSLACParticleReaderAutoCloseNetCDF &) VTK_DELETE_FUNCTION;
void operator=(const vtkSLACParticleReaderAutoCloseNetCDF &) VTK_DELETE_FUNCTION;
};
......
......@@ -173,7 +173,7 @@ private:
double TubeSize;
vtkCenteredSliderRepresentation
(const vtkCenteredSliderRepresentation&); // Not implemented
(const vtkCenteredSliderRepresentation&) VTK_DELETE_FUNCTION;
void operator=(const vtkCenteredSliderRepresentation&) VTK_DELETE_FUNCTION;
};
......
......@@ -71,7 +71,7 @@ protected:
private:
vtkContinuousValueWidgetRepresentation
(const vtkContinuousValueWidgetRepresentation&); //Not implemented
(const vtkContinuousValueWidgetRepresentation&) VTK_DELETE_FUNCTION;
void operator=(const vtkContinuousValueWidgetRepresentation&) VTK_DELETE_FUNCTION;
};
......
......@@ -82,9 +82,9 @@ protected:
private:
vtkDijkstraImageContourLineInterpolator(
const vtkDijkstraImageContourLineInterpolator&); //Not implemented
const vtkDijkstraImageContourLineInterpolator&) VTK_DELETE_FUNCTION;
void operator=(const
vtkDijkstraImageContourLineInterpolator&); //Not implemented
vtkDijkstraImageContourLineInterpolator&) VTK_DELETE_FUNCTION;
};
#endif
......@@ -75,9 +75,9 @@ protected:
private:
vtkEllipsoidTensorProbeRepresentation(const
vtkEllipsoidTensorProbeRepresentation&); //Not implemented
vtkEllipsoidTensorProbeRepresentation&) VTK_DELETE_FUNCTION;
void operator=(const
vtkEllipsoidTensorProbeRepresentation&); //Not implemented
vtkEllipsoidTensorProbeRepresentation&) VTK_DELETE_FUNCTION;
};
......
......@@ -70,7 +70,7 @@ protected:
private:
vtkPolyDataContourLineInterpolator(
const vtkPolyDataContourLineInterpolator&); //Not implemented
const vtkPolyDataContourLineInterpolator&) VTK_DELETE_FUNCTION;
void operator=(const vtkPolyDataContourLineInterpolator&) VTK_DELETE_FUNCTION;
};
......
......@@ -94,7 +94,7 @@ protected:
private:
vtkTensorProbeRepresentation(
const vtkTensorProbeRepresentation&); //Not implemented
const vtkTensorProbeRepresentation&) VTK_DELETE_FUNCTION;
void operator=(const vtkTensorProbeRepresentation&) VTK_DELETE_FUNCTION;
};
......
......@@ -81,7 +81,7 @@ protected:
private:
vtkTensorProbeWidget(
const vtkTensorProbeWidget&); //Not implemented
const vtkTensorProbeWidget&) VTK_DELETE_FUNCTION;
void operator=(const vtkTensorProbeWidget&) VTK_DELETE_FUNCTION;
};
......
......@@ -109,7 +109,7 @@ class PickingManagerClient : public vtkObject
vtkPickingManager *PickingManager;
vtkPicker *Picker;
PickingManagerClient(const PickingManagerClient&); //Not implemented
PickingManagerClient(const PickingManagerClient&) VTK_DELETE_FUNCTION;
void operator=(const PickingManagerClient&) VTK_DELETE_FUNCTION;
};
......
......@@ -54,7 +54,7 @@ protected:
vtkExternalOpenGLRenderWindow* RenderWindow;
private:
ExternalVTKWidget(const ExternalVTKWidget&); // Not implemented
ExternalVTKWidget(const ExternalVTKWidget&) VTK_DELETE_FUNCTION;
void operator=(const ExternalVTKWidget&) VTK_DELETE_FUNCTION;
};
......
......@@ -275,7 +275,7 @@ public:
private:
void operator=(const RandomNumberGeneratorInterface &) VTK_DELETE_FUNCTION;
RandomNumberGeneratorInterface(const RandomNumberGeneratorInterface &); // not implemented
RandomNumberGeneratorInterface(const RandomNumberGeneratorInterface &) VTK_DELETE_FUNCTION;
private:
vtkMinimalStandardRandomSequence *RNG;
......
......@@ -155,7 +155,7 @@ private:
bool LastOpaqueCheckValue;
double ColorResult[3];
vtkCompositeSurfaceLICMapper(
const vtkCompositeSurfaceLICMapper&); // Not implemented.
const vtkCompositeSurfaceLICMapper&) VTK_DELETE_FUNCTION;
void operator=(const vtkCompositeSurfaceLICMapper&) VTK_DELETE_FUNCTION;
};
......
......@@ -51,7 +51,7 @@ protected:
private:
vtkOpenGLCoincidentTopologyResolutionPainter(
const vtkOpenGLCoincidentTopologyResolutionPainter&); // Not implemented.
const vtkOpenGLCoincidentTopologyResolutionPainter&) VTK_DELETE_FUNCTION;
void operator=(const vtkOpenGLCoincidentTopologyResolutionPainter&) VTK_DELETE_FUNCTION;
};
......
......@@ -118,7 +118,7 @@ protected:
private:
vtkCompositePolyDataMapper2(
const vtkCompositePolyDataMapper2&); // Not implemented.
const vtkCompositePolyDataMapper2&) VTK_DELETE_FUNCTION;
void operator=(const vtkCompositePolyDataMapper2&) VTK_DELETE_FUNCTION;
};
......
......@@ -81,7 +81,7 @@ protected:
private:
vtkOpenGLVertexArrayObject(
const vtkOpenGLVertexArrayObject&); // Not implemented
const vtkOpenGLVertexArrayObject&) VTK_DELETE_FUNCTION;
void operator=(const vtkOpenGLVertexArrayObject&) VTK_DELETE_FUNCTION;
class Private;
Private *Internal;
......
......@@ -2098,8 +2098,8 @@ protected:
// 1: value for negative orientation.
private:
vtkFace(); // not implemented
vtkFace(const vtkFace &other); // not implemented
vtkFace() VTK_DELETE_FUNCTION;
vtkFace(const vtkFace &other) VTK_DELETE_FUNCTION;
vtkFace &operator=(const vtkFace &other) VTK_DELETE_FUNCTION;
};
......
......@@ -157,7 +157,7 @@ private:
vtkInternal* Impl;
vtkOpenGLGPUVolumeRayCastMapper(
const vtkOpenGLGPUVolumeRayCastMapper&); // Not implemented.
const vtkOpenGLGPUVolumeRayCastMapper&) VTK_DELETE_FUNCTION;
void operator=(const vtkOpenGLGPUVolumeRayCastMapper&) VTK_DELETE_FUNCTION;
};
......
......@@ -211,9 +211,9 @@ private:
unsigned int NumberOfTables;
vtkOpenGLVolumeGradientOpacityTable* Tables;
vtkOpenGLVolumeGradientOpacityTables(); // Not implemented
vtkOpenGLVolumeGradientOpacityTables() VTK_DELETE_FUNCTION;
vtkOpenGLVolumeGradientOpacityTables(const vtkOpenGLVolumeGradientOpacityTables &other); // Not implemented
vtkOpenGLVolumeGradientOpacityTables(const vtkOpenGLVolumeGradientOpacityTables &other) VTK_DELETE_FUNCTION;
vtkOpenGLVolumeGradientOpacityTables &operator=(const vtkOpenGLVolumeGradientOpacityTables &other) VTK_DELETE_FUNCTION;
};
......
......@@ -256,9 +256,9 @@ private:
unsigned int NumberOfTables;
vtkOpenGLVolumeOpacityTable *Tables;
vtkOpenGLVolumeOpacityTables(); // Not implemented
vtkOpenGLVolumeOpacityTables() VTK_DELETE_FUNCTION;
vtkOpenGLVolumeOpacityTables(const vtkOpenGLVolumeOpacityTables &other); // Not implemented
vtkOpenGLVolumeOpacityTables(const vtkOpenGLVolumeOpacityTables &other) VTK_DELETE_FUNCTION;
vtkOpenGLVolumeOpacityTables &operator=(const vtkOpenGLVolumeOpacityTables &other) VTK_DELETE_FUNCTION;
};
......
......@@ -206,9 +206,9 @@ private:
unsigned int NumberOfTables;
vtkOpenGLVolumeRGBTable* Tables;
vtkOpenGLVolumeRGBTables(); // Not implemented
vtkOpenGLVolumeRGBTables() VTK_DELETE_FUNCTION;
vtkOpenGLVolumeRGBTables(const vtkOpenGLVolumeRGBTables &other); // Not implemented
vtkOpenGLVolumeRGBTables(const vtkOpenGLVolumeRGBTables &other) VTK_DELETE_FUNCTION;
vtkOpenGLVolumeRGBTables &operator=(const vtkOpenGLVolumeRGBTables &other) VTK_DELETE_FUNCTION;
};
......
......@@ -363,7 +363,7 @@ class TestVTKFiles:
if foundcopy < 1:
self.Print( "File: %s does not define copy constructor" %
self.FileName )
self.Print( "Should be:\n%s(const %s&); // Not implemented" %
self.Print( "Should be:\n%s(const %s&) VTK_DELETE_FUNCTION;" %
(self.ClassName, self.ClassName) )
self.Error("No private copy constructor")
if foundcopy > 1:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment