Skip to content

Commit

Permalink
Merge pull request #11 from jhlegarreta/MoveDISALLOWCOPYANDASSIGNToPu…
Browse files Browse the repository at this point in the history
…blicSection

COMP: Move ITK_DISALLOW_COPY_AND_ASSIGN calls to public section.
  • Loading branch information
hjmjohnson committed Apr 14, 2018
2 parents 64d3dc0 + 99e50e9 commit 4897297
Show file tree
Hide file tree
Showing 17 changed files with 34 additions and 34 deletions.
4 changes: 2 additions & 2 deletions include/itkBinaryCloseParaImageFilter.h
Expand Up @@ -72,6 +72,8 @@ class ITK_EXPORT BinaryCloseParaImageFilter:

{
public:
ITK_DISALLOW_COPY_AND_ASSIGN(BinaryCloseParaImageFilter);

/** Standard class type alias. */
using Self = BinaryCloseParaImageFilter;
using Superclass = ImageToImageFilter< TInputImage, TOutputImage >;
Expand Down Expand Up @@ -156,8 +158,6 @@ class ITK_EXPORT BinaryCloseParaImageFilter:
using RCastTypeA = typename itk::GreaterEqualValImageFilter< InternalIntImageType, OutputImageType >;
using RCastTypeB = typename itk::BinaryThresholdImageFilter< InternalRealImageType, OutputImageType >;
private:
ITK_DISALLOW_COPY_AND_ASSIGN(BinaryCloseParaImageFilter);

RadiusType m_Radius;
bool m_Circular;
bool m_SafeBorder;
Expand Down
4 changes: 2 additions & 2 deletions include/itkBinaryDilateParaImageFilter.h
Expand Up @@ -70,6 +70,8 @@ class ITK_EXPORT BinaryDilateParaImageFilter:

{
public:
ITK_DISALLOW_COPY_AND_ASSIGN(BinaryDilateParaImageFilter);

/** Standard class type alias. */
using Self = BinaryDilateParaImageFilter;
using Superclass = ImageToImageFilter< TInputImage, TOutputImage >;
Expand Down Expand Up @@ -141,8 +143,6 @@ class ITK_EXPORT BinaryDilateParaImageFilter:
using CCastType = typename itk::BinaryThresholdImageFilter< InternalRealImageType, OutputImageType >;
using RCastType = typename itk::BinaryThresholdImageFilter< InternalRealImageType, OutputImageType >;
private:
ITK_DISALLOW_COPY_AND_ASSIGN(BinaryDilateParaImageFilter);

RadiusType m_Radius;
bool m_Circular;

Expand Down
4 changes: 2 additions & 2 deletions include/itkBinaryErodeParaImageFilter.h
Expand Up @@ -71,6 +71,8 @@ class ITK_EXPORT BinaryErodeParaImageFilter:

{
public:
ITK_DISALLOW_COPY_AND_ASSIGN(BinaryErodeParaImageFilter);

/** Standard class type alias. */
using Self = BinaryErodeParaImageFilter;
using Superclass = ImageToImageFilter< TInputImage, TOutputImage >;
Expand Down Expand Up @@ -142,8 +144,6 @@ class ITK_EXPORT BinaryErodeParaImageFilter:
using CCastType = typename itk::GreaterEqualValImageFilter< InternalRealImageType, OutputImageType >;
using RCastType = typename itk::GreaterEqualValImageFilter< InternalIntImageType, OutputImageType >;
private:
ITK_DISALLOW_COPY_AND_ASSIGN(BinaryErodeParaImageFilter);

RadiusType m_Radius;
bool m_Circular;

Expand Down
4 changes: 2 additions & 2 deletions include/itkBinaryOpenParaImageFilter.h
Expand Up @@ -72,6 +72,8 @@ class ITK_EXPORT BinaryOpenParaImageFilter:

{
public:
ITK_DISALLOW_COPY_AND_ASSIGN(BinaryOpenParaImageFilter);

/** Standard class type alias. */
using Self = BinaryOpenParaImageFilter;
using Superclass = ImageToImageFilter< TInputImage, TOutputImage >;
Expand Down Expand Up @@ -156,8 +158,6 @@ class ITK_EXPORT BinaryOpenParaImageFilter:
using RCastTypeA = typename itk::GreaterEqualValImageFilter< InternalIntImageType, OutputImageType >;
using RCastTypeB = typename itk::BinaryThresholdImageFilter< InternalRealImageType, OutputImageType >;
private:
ITK_DISALLOW_COPY_AND_ASSIGN(BinaryOpenParaImageFilter);

RadiusType m_Radius;
bool m_Circular;
bool m_SafeBorder;
Expand Down
4 changes: 2 additions & 2 deletions include/itkGreaterEqualValImageFilter.h
Expand Up @@ -67,6 +67,8 @@ class ITK_EXPORT GreaterEqualValImageFilter:
typename TOutputImage::PixelType > >
{
public:
ITK_DISALLOW_COPY_AND_ASSIGN(GreaterEqualValImageFilter);

/** Standard class type alias. */
using Self = GreaterEqualValImageFilter;
using Superclass = UnaryFunctorImageFilter< TInputImage, TOutputImage,
Expand Down Expand Up @@ -95,8 +97,6 @@ class ITK_EXPORT GreaterEqualValImageFilter:
protected:
GreaterEqualValImageFilter() {}
~GreaterEqualValImageFilter() override {}
private:
ITK_DISALLOW_COPY_AND_ASSIGN(GreaterEqualValImageFilter);
};
} // end namespace itk

Expand Down
4 changes: 2 additions & 2 deletions include/itkMorphSDTHelperImageFilter.h
Expand Up @@ -83,6 +83,8 @@ class ITK_EXPORT MorphSDTHelperImageFilter:
typename TOutputImage::PixelType > >
{
public:
ITK_DISALLOW_COPY_AND_ASSIGN(MorphSDTHelperImageFilter);

/** Standard class type alias. */
using Self = MorphSDTHelperImageFilter;
using Superclass = TernaryFunctorImageFilter< TInputImage1, TInputImage2, TInputImage3, TOutputImage,
Expand Down Expand Up @@ -125,8 +127,6 @@ class ITK_EXPORT MorphSDTHelperImageFilter:
protected:
MorphSDTHelperImageFilter() {}
virtual ~MorphSDTHelperImageFilter() {}
private:
ITK_DISALLOW_COPY_AND_ASSIGN(MorphSDTHelperImageFilter);
};
} // end namespace itk

Expand Down
4 changes: 2 additions & 2 deletions include/itkMorphologicalDistanceTransformImageFilter.h
Expand Up @@ -61,6 +61,8 @@ class ITK_EXPORT MorphologicalDistanceTransformImageFilter:
TOutputImage >
{
public:
ITK_DISALLOW_COPY_AND_ASSIGN(MorphologicalDistanceTransformImageFilter);

/** Standard class type alias. */
using Self = MorphologicalDistanceTransformImageFilter;
using Superclass = ImageToImageFilter< TInputImage, TOutputImage >;
Expand Down Expand Up @@ -139,8 +141,6 @@ class ITK_EXPORT MorphologicalDistanceTransformImageFilter:
using ErodeType = typename itk::ParabolicErodeImageFilter< OutputImageType, OutputImageType >;
using SqrtType = typename itk::SqrtImageFilter< OutputImageType, OutputImageType >;
private:
ITK_DISALLOW_COPY_AND_ASSIGN(MorphologicalDistanceTransformImageFilter);

InputPixelType m_OutsideValue;
typename ErodeType::Pointer m_Erode;
typename ThreshType::Pointer m_Thresh;
Expand Down
4 changes: 2 additions & 2 deletions include/itkMorphologicalSharpeningImageFilter.h
Expand Up @@ -69,6 +69,8 @@ class ITK_EXPORT MorphologicalSharpeningImageFilter:
TOutputImage >
{
public:
ITK_DISALLOW_COPY_AND_ASSIGN(MorphologicalSharpeningImageFilter);

/** Standard class type alias. */
using Self = MorphologicalSharpeningImageFilter;
using Superclass = ImageToImageFilter< TInputImage, TOutputImage >;
Expand Down Expand Up @@ -160,8 +162,6 @@ class ITK_EXPORT MorphologicalSharpeningImageFilter:
using SharpenOpType = typename itk::SharpenOpImageFilter< OutputImageType, OutputImageType, OutputImageType,
OutputImageType >;
private:
ITK_DISALLOW_COPY_AND_ASSIGN(MorphologicalSharpeningImageFilter);

int m_Iterations;

typename ErodeType::Pointer m_Erode;
Expand Down
4 changes: 2 additions & 2 deletions include/itkMorphologicalSignedDistanceTransformImageFilter.h
Expand Up @@ -73,6 +73,8 @@ class ITK_EXPORT MorphologicalSignedDistanceTransformImageFilter:
TOutputImage >
{
public:
ITK_DISALLOW_COPY_AND_ASSIGN(MorphologicalSignedDistanceTransformImageFilter);

/** Standard class type alias. */
using Self = MorphologicalSignedDistanceTransformImageFilter;
using Superclass = ImageToImageFilter< TInputImage, TOutputImage >;
Expand Down Expand Up @@ -184,8 +186,6 @@ class ITK_EXPORT MorphologicalSignedDistanceTransformImageFilter:
using DilateType = typename itk::ParabolicDilateImageFilter< OutputImageType, OutputImageType >;
using HelperType = typename itk::MorphSDTHelperImageFilter< OutputImageType, OutputImageType >;
private:
ITK_DISALLOW_COPY_AND_ASSIGN(MorphologicalSignedDistanceTransformImageFilter);

InputPixelType m_OutsideValue;
bool m_InsideIsPositive;
typename ErodeType::Pointer m_Erode;
Expand Down
4 changes: 2 additions & 2 deletions include/itkParabolicCloseImageFilter.h
Expand Up @@ -53,6 +53,8 @@ class ITK_EXPORT ParabolicCloseImageFilter:
TOutputImage >
{
public:
ITK_DISALLOW_COPY_AND_ASSIGN(ParabolicCloseImageFilter);

/** Standard class type alias. */
using Self = ParabolicCloseImageFilter;
using Superclass = ParabolicOpenCloseSafeBorderImageFilter< TInputImage, false, TOutputImage >;
Expand Down Expand Up @@ -89,8 +91,6 @@ class ITK_EXPORT ParabolicCloseImageFilter:
ParabolicCloseImageFilter(){}
virtual ~ParabolicCloseImageFilter() {}
// void PrintSelf(std::ostream& os, Indent indent) const;
private:
ITK_DISALLOW_COPY_AND_ASSIGN(ParabolicCloseImageFilter);
};
} // end namespace itk

Expand Down
4 changes: 2 additions & 2 deletions include/itkParabolicDilateImageFilter.h
Expand Up @@ -51,6 +51,8 @@ class ITK_EXPORT ParabolicDilateImageFilter:
public ParabolicErodeDilateImageFilter< TInputImage, true, TOutputImage >
{
public:
ITK_DISALLOW_COPY_AND_ASSIGN(ParabolicDilateImageFilter);

/** Standard class type alias. */
using Self = ParabolicDilateImageFilter;
using Superclass = ParabolicErodeDilateImageFilter< TInputImage, true, TOutputImage >;
Expand Down Expand Up @@ -84,8 +86,6 @@ class ITK_EXPORT ParabolicDilateImageFilter:
ParabolicDilateImageFilter(){}
~ParabolicDilateImageFilter() override {}
// void PrintSelf(std::ostream& os, Indent indent) const;
private:
ITK_DISALLOW_COPY_AND_ASSIGN(ParabolicDilateImageFilter);
};
} // end namespace itk

Expand Down
4 changes: 2 additions & 2 deletions include/itkParabolicErodeDilateImageFilter.h
Expand Up @@ -86,6 +86,8 @@ class ITK_EXPORT ParabolicErodeDilateImageFilter:
public ImageToImageFilter< TInputImage, TOutputImage >
{
public:
ITK_DISALLOW_COPY_AND_ASSIGN(ParabolicErodeDilateImageFilter);

/** Standard class type alias. */
using Self = ParabolicErodeDilateImageFilter;
using Superclass = ImageToImageFilter< TInputImage, TOutputImage >;
Expand Down Expand Up @@ -192,8 +194,6 @@ class ITK_EXPORT ParabolicErodeDilateImageFilter:
bool m_UseImageSpacing;
int m_ParabolicAlgorithm;
private:
ITK_DISALLOW_COPY_AND_ASSIGN(ParabolicErodeDilateImageFilter);

RadiusType m_Scale;

typename TInputImage::PixelType m_Extreme;
Expand Down
4 changes: 2 additions & 2 deletions include/itkParabolicErodeImageFilter.h
Expand Up @@ -52,6 +52,8 @@ class ITK_EXPORT ParabolicErodeImageFilter:
TOutputImage >
{
public:
ITK_DISALLOW_COPY_AND_ASSIGN(ParabolicErodeImageFilter);

/** Standard class type alias. */
using Self = ParabolicErodeImageFilter;
using Superclass = ParabolicErodeDilateImageFilter< TInputImage, false, TOutputImage >;
Expand Down Expand Up @@ -88,8 +90,6 @@ class ITK_EXPORT ParabolicErodeImageFilter:
ParabolicErodeImageFilter(){}
~ParabolicErodeImageFilter() override {}
// void PrintSelf(std::ostream& os, Indent indent) const;
private:
ITK_DISALLOW_COPY_AND_ASSIGN(ParabolicErodeImageFilter);
};
} // end namespace itk

Expand Down
4 changes: 2 additions & 2 deletions include/itkParabolicOpenCloseImageFilter.h
Expand Up @@ -56,6 +56,8 @@ class ITK_EXPORT ParabolicOpenCloseImageFilter:
public ImageToImageFilter< TInputImage, TOutputImage >
{
public:
ITK_DISALLOW_COPY_AND_ASSIGN(ParabolicOpenCloseImageFilter);

/** Standard class type alias. */
using Self = ParabolicOpenCloseImageFilter;
using Superclass = ImageToImageFilter< TInputImage, TOutputImage >;
Expand Down Expand Up @@ -159,8 +161,6 @@ class ITK_EXPORT ParabolicOpenCloseImageFilter:

int m_ParabolicAlgorithm;
private:
ITK_DISALLOW_COPY_AND_ASSIGN(ParabolicOpenCloseImageFilter);

RadiusType m_Scale;

typename TInputImage::PixelType m_Extreme;
Expand Down
4 changes: 2 additions & 2 deletions include/itkParabolicOpenCloseSafeBorderImageFilter.h
Expand Up @@ -37,6 +37,8 @@ class ITK_EXPORT ParabolicOpenCloseSafeBorderImageFilter:
TOutputImage >
{
public:
ITK_DISALLOW_COPY_AND_ASSIGN(ParabolicOpenCloseSafeBorderImageFilter);

/** Standard class type alias. */
using Self = ParabolicOpenCloseSafeBorderImageFilter;
using Superclass = ImageToImageFilter< TInputImage, TOutputImage >;
Expand Down Expand Up @@ -160,8 +162,6 @@ class ITK_EXPORT ParabolicOpenCloseSafeBorderImageFilter:
~ParabolicOpenCloseSafeBorderImageFilter() override {}
int m_ParabolicAlgorithm;
private:
ITK_DISALLOW_COPY_AND_ASSIGN(ParabolicOpenCloseSafeBorderImageFilter);

typename MorphFilterType::Pointer m_MorphFilt;
typename PadFilterType::Pointer m_PadFilt;
typename CropFilterType::Pointer m_CropFilt;
Expand Down
4 changes: 2 additions & 2 deletions include/itkParabolicOpenImageFilter.h
Expand Up @@ -52,6 +52,8 @@ class ITK_EXPORT ParabolicOpenImageFilter:
TOutputImage >
{
public:
ITK_DISALLOW_COPY_AND_ASSIGN(ParabolicOpenImageFilter);

/** Standard class type alias. */
using Self = ParabolicOpenImageFilter;
using Superclass = ParabolicOpenCloseSafeBorderImageFilter< TInputImage, true, TOutputImage >;
Expand Down Expand Up @@ -85,8 +87,6 @@ class ITK_EXPORT ParabolicOpenImageFilter:
ParabolicOpenImageFilter(){}
~ParabolicOpenImageFilter() override {}
// void PrintSelf(std::ostream& os, Indent indent) const;
private:
ITK_DISALLOW_COPY_AND_ASSIGN(ParabolicOpenImageFilter);
};
} // end namespace itk

Expand Down
4 changes: 2 additions & 2 deletions include/itkSharpenOpImageFilter.h
Expand Up @@ -89,6 +89,8 @@ class ITK_EXPORT SharpenOpImageFilter:
typename TOutputImage::PixelType > >
{
public:
ITK_DISALLOW_COPY_AND_ASSIGN(SharpenOpImageFilter);

/** Standard class type alias. */
using Self = SharpenOpImageFilter;
using Superclass = TernaryFunctorImageFilter< TInputImage1, TInputImage2,
Expand All @@ -109,8 +111,6 @@ class ITK_EXPORT SharpenOpImageFilter:
protected:
SharpenOpImageFilter() {}
~SharpenOpImageFilter() override {}
private:
ITK_DISALLOW_COPY_AND_ASSIGN(SharpenOpImageFilter);
};
} // end namespace itk

Expand Down

0 comments on commit 4897297

Please sign in to comment.