Commit 6d24a38a authored by Victor Poughon's avatar Victor Poughon

ENH: Replace comments by '= delete'

parent 64983845
......@@ -144,8 +144,8 @@ protected:
~MyChangeDetectorImageFilter() ITK_OVERRIDE {}
private:
MyChangeDetectorImageFilter(const Self &); //purposely not implemented
void operator =(const Self&); //purposely not implemented
MyChangeDetectorImageFilter(const Self &) = delete;
void operator =(const Self&) = delete;
};
// Software Guide : EndCodeSnippet
......
......@@ -145,8 +145,8 @@ protected:
}
private:
ImageUniqueValuesCalculator(const Self&); //purposely not implemented
void operator=(const Self&); //purposely not implemented
ImageUniqueValuesCalculator(const Self&) = delete;
void operator=(const Self&) = delete;
ImageConstPointer m_Image;
......@@ -460,8 +460,8 @@ protected:
this->GetOutput()->SetNumberOfComponentsPerPixel( m_NumberOfOutputBands );
}
private:
TernaryFunctorImageFilterWithNBands(const Self &); //purposely not implemented
void operator =(const Self&); //purposely not implemented
TernaryFunctorImageFilterWithNBands(const Self &) = delete;
void operator =(const Self&) = delete;
unsigned int m_NumberOfOutputBands;
......
......@@ -74,8 +74,8 @@ protected:
~CurlHelper() override {}
private:
CurlHelper(const Self &); //purposely not implemented
void operator =(const Self&); //purposely not implemented
CurlHelper(const Self &) = delete;
void operator =(const Self&) = delete;
// Need to use our writing function to handle windows segfaults
// Need to be static cause the CURL_OPT is expecting a pure C
......
......@@ -69,8 +69,8 @@ protected:
~CurlHelperInterface() override {}
private:
CurlHelperInterface(const Self &); //purposely not implemented
void operator =(const Self&); //purposely not implemented
CurlHelperInterface(const Self &) = delete;
void operator =(const Self&) = delete;
};
}
......
......@@ -63,8 +63,8 @@ protected:
~CurlHelperStub() override {}
private:
CurlHelperStub(const Self &); //purposely not implemented
void operator =(const Self&); //purposely not implemented
CurlHelperStub(const Self &) = delete;
void operator =(const Self&) = delete;
};
......
......@@ -52,8 +52,8 @@ protected:
~DEMConvertAdapter() override;
private:
DEMConvertAdapter(const Self &); //purposely not implemented
void operator =(const Self&); //purposely not implemented
DEMConvertAdapter(const Self &) = delete;
void operator =(const Self&) = delete;
};
} // namespace otb
......
......@@ -88,8 +88,8 @@ protected:
~DateTimeAdapter() override;
private:
DateTimeAdapter(const Self &); //purposely not implemented
void operator =(const Self&); //purposely not implemented
DateTimeAdapter(const Self &) = delete;
void operator =(const Self&) = delete;
ossimLocalTm *m_LocalTm;
......
......@@ -70,8 +70,8 @@ protected:
~EllipsoidAdapter() override;
private:
EllipsoidAdapter(const Self &); //purposely not implemented
void operator =(const Self&); //purposely not implemented
EllipsoidAdapter(const Self &) = delete;
void operator =(const Self&) = delete;
ossimEllipsoid* m_Ellipsoid;
};
......
......@@ -109,8 +109,8 @@ protected:
void PrintSelf(std::ostream& os, itk::Indent indent) const override;
private:
FilterFunctionValues(const Self &); //purposely not implemented
void operator =(const Self&); //purposely not implemented
FilterFunctionValues(const Self &) = delete;
void operator =(const Self&) = delete;
/** Vector that contains the filter function value. */
ValuesVectorType m_FilterFunctionValues;
......
......@@ -81,8 +81,8 @@ protected:
~GeometricSarSensorModelAdapter() override;
private:
GeometricSarSensorModelAdapter(const Self &); //purposely not implemented
void operator =(const Self&); //purposely not implemented
GeometricSarSensorModelAdapter(const Self &) = delete;
void operator =(const Self&) = delete;
ossimplugins::ossimGeometricSarSensorModel* m_SensorModel;
......
......@@ -152,7 +152,7 @@ private:
// char m_Delimiter;
// void operator=(const Self&); //purposely not implemented
// void operator=(const Self&) = delete;
};
......
......@@ -92,8 +92,8 @@ protected:
~MapProjectionAdapter() override;
private:
MapProjectionAdapter(const Self &); //purposely not implemented
void operator =(const Self&); //purposely not implemented
MapProjectionAdapter(const Self &) = delete;
void operator =(const Self&) = delete;
void ApplyParametersToProjection();
......
......@@ -81,8 +81,8 @@ protected:
~PlatformPositionAdapter() override;
private:
PlatformPositionAdapter(const Self &); //purposely not implemented
void operator =(const Self&); //purposely not implemented
PlatformPositionAdapter(const Self &) = delete;
void operator =(const Self&) = delete;
ossimplugins::ossimGeometricSarSensorModel* m_SensorModel;
......
......@@ -79,11 +79,11 @@ public:
private:
RPCSolverAdapter(const Self &); //purposely not implemented
void operator =(const Self&); //purposely not implemented
RPCSolverAdapter(); // purposely not implemented, this class defines
RPCSolverAdapter(const Self &) = delete;
void operator =(const Self&) = delete;
RPCSolverAdapter() = delete;, this class defines
// typedefs and exposes static methods
virtual ~RPCSolverAdapter(); // purposely not implemented, this class defines
virtual ~RPCSolverAdapter() = delete;, this class defines
// typedefs and exposes static methods
};
......
......@@ -109,8 +109,8 @@ protected:
virtual ~SarSensorModelAdapter() override;
private:
SarSensorModelAdapter(const Self &); //purposely not implemented
void operator =(const Self&); //purposely not implemented
SarSensorModelAdapter(const Self &) = delete;
void operator =(const Self&) = delete;
InternalModelPointer m_SensorModel;
};
......
......@@ -114,8 +114,8 @@ protected:
~SensorModelAdapter() override;
private:
SensorModelAdapter(const Self &); //purposely not implemented
void operator =(const Self&); //purposely not implemented
SensorModelAdapter(const Self &) = delete;
void operator =(const Self&) = delete;
InternalMapProjectionPointer m_SensorModel;
......
......@@ -102,8 +102,8 @@ protected:
~ComplexToIntensityImageFilter() override {}
private:
ComplexToIntensityImageFilter(const Self&); //purposely not implemented
void operator=(const Self&); //purposely not implemented
ComplexToIntensityImageFilter(const Self&) = delete;
void operator=(const Self&) = delete;
};
......
......@@ -165,8 +165,8 @@ protected:
}
private:
ComplexToVectorImageCastFilter(const Self&); //purposely not implemented
void operator=(const Self&); //purposely not implemented
ComplexToVectorImageCastFilter(const Self&) = delete;
void operator=(const Self&) = delete;
};
......
......@@ -106,10 +106,10 @@ public:
private:
ConfigurationManager(); //purposely not implemented
~ConfigurationManager(); //purposely not implemented
ConfigurationManager(const ConfigurationManager&); //purposely not implemented
void operator =(const ConfigurationManager&); //purposely not implemented
ConfigurationManager() = delete;
~ConfigurationManager() = delete;
ConfigurationManager(const ConfigurationManager&) = delete;
void operator =(const ConfigurationManager&) = delete;
};
......
......@@ -101,8 +101,8 @@ protected:
virtual void PrintSelf(std::ostream& os, itk::Indent indent) const;
private:
DecimateImageFilter (const Self &); // purposely not implemented
void operator =(const Self&); // purposely not implemented
DecimateImageFilter (const Self &) = delete;
void operator =(const Self&) = delete;
unsigned int m_DecimationFactor;
}; // end of class
......
......@@ -145,8 +145,8 @@ protected:
void PrintSelf(std::ostream& os, itk::Indent indent) const override;
private:
DotProductImageFilter(const Self &); //purposely not implemented
void operator =(const Self&); //purposely not implemented
DotProductImageFilter(const Self &) = delete;
void operator =(const Self&) = delete;
};
} // end namespace otb
......
......@@ -86,8 +86,8 @@ protected:
~ExtendedFilenameHelper() override {}
private:
ExtendedFilenameHelper(const Self &); //purposely not implemented
void operator =(const Self&); //purposely not implemented
ExtendedFilenameHelper(const Self &) = delete;
void operator =(const Self&) = delete;
itkSetStringMacro(SimpleFileName);
std::string m_ExtendedFileName;
......
......@@ -128,8 +128,8 @@ protected:
itk::ThreadIdType threadId) override;
private:
FunctionToImageFilter(const Self &); //purposely not implemented
void operator =(const Self&); //purposely not implemented
FunctionToImageFilter(const Self &) = delete;
void operator =(const Self&) = delete;
/** The function that will be evaluated over the image */
FunctionPointer m_PixelFunction;
......
......@@ -223,8 +223,8 @@ protected:
void GenerateOutputInformation() override;
private:
ImageAndVectorImageOperationFilter(const ImageAndVectorImageOperationFilter &); //purposely not implemented
void operator =(const ImageAndVectorImageOperationFilter&); //purposely not implemented
ImageAndVectorImageOperationFilter(const ImageAndVectorImageOperationFilter &) = delete;
void operator =(const ImageAndVectorImageOperationFilter&) = delete;
bool m_UseAddition;
bool m_UseMultiplication;
......
......@@ -157,8 +157,8 @@ private:
vector */
void EstimateSplitMap();
ImageRegionAdaptativeSplitter(const ImageRegionAdaptativeSplitter &); //purposely not implemented
void operator =(const ImageRegionAdaptativeSplitter&); //purposely not implemented
ImageRegionAdaptativeSplitter(const ImageRegionAdaptativeSplitter &) = delete;
void operator =(const ImageRegionAdaptativeSplitter&) = delete;
// This reflects the input image tiling
SizeType m_TileHint;
......
......@@ -111,8 +111,8 @@ protected:
void PrintSelf(std::ostream& os, itk::Indent indent) const override;
private:
ImageRegionNonUniformMultidimensionalSplitter(const Self &); //purposely not implemented
void operator =(const Self&); //purposely not implemented
ImageRegionNonUniformMultidimensionalSplitter(const Self &) = delete;