Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

COMP: Move ITK_DISALLOW_COPY_AND_ASSIGN calls to public section. #26

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions include/itkRLEImage.h
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@ class RLEImage:
public itk::ImageBase< VImageDimension >
{
public:
ITK_DISALLOW_COPY_AND_ASSIGN(RLEImage);

/** Standard class type alias */
using Self = RLEImage;
using Superclass = itk::ImageBase< VImageDimension >;
Expand Down Expand Up @@ -306,10 +308,6 @@ class RLEImage:
private:
bool m_OnTheFlyCleanup; // should same-valued segments be merged on the fly

RLEImage( const Self & ); // purposely not implemented
void
operator=( const Self & ); // purposely not implemented

/** Memory for the current buffer. */
mutable typename BufferType::Pointer m_Buffer;
};
Expand Down
18 changes: 6 additions & 12 deletions include/itkRLERegionOfInterestImageFilter.h
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@ class RegionOfInterestImageFilter< RLEImage< TPixel, VImageDimension, CounterTyp
RLEImage< TPixel, VImageDimension, CounterType > >
{
public:
ITK_DISALLOW_COPY_AND_ASSIGN(RegionOfInterestImageFilter);

/** Standard class type alias. */
using Self = RegionOfInterestImageFilter;
using RLEImageType = RLEImage< TPixel, VImageDimension, CounterType >;
Expand Down Expand Up @@ -127,10 +129,6 @@ class RegionOfInterestImageFilter< RLEImage< TPixel, VImageDimension, CounterTyp
ThreadedGenerateData( const RegionType& outputRegionForThread, ThreadIdType threadId ) override;

private:
RegionOfInterestImageFilter( const Self & ); // purposely not implemented
void
operator=( const Self & ); // purposely not implemented

RegionType m_RegionOfInterest;
};

Expand Down Expand Up @@ -247,6 +245,8 @@ class RegionOfInterestImageFilter< Image< TPixel, VImageDimension >,
RLEImage< TPixel, VImageDimension, CounterType > >
{
public:
ITK_DISALLOW_COPY_AND_ASSIGN(RegionOfInterestImageFilter);

/** Standard class type alias. */
using RLEImageType = RLEImage< TPixel, VImageDimension, CounterType >;

Expand Down Expand Up @@ -324,10 +324,6 @@ class RegionOfInterestImageFilter< Image< TPixel, VImageDimension >,
ThreadedGenerateData( const RegionType& outputRegionForThread, ThreadIdType threadId ) override;

private:
RegionOfInterestImageFilter( const Self & ); // purposely not implemented
void
operator=( const Self & ); // purposely not implemented

RegionType m_RegionOfInterest;
};

Expand All @@ -338,6 +334,8 @@ class RegionOfInterestImageFilter< RLEImage< TPixel, VImageDimension, CounterTyp
Image< TPixel, VImageDimension > >
{
public:
ITK_DISALLOW_COPY_AND_ASSIGN(RegionOfInterestImageFilter);

/** Standard class type alias. */
using RLEImageType = RLEImage< TPixel, VImageDimension, CounterType >;

Expand Down Expand Up @@ -415,10 +413,6 @@ class RegionOfInterestImageFilter< RLEImage< TPixel, VImageDimension, CounterTyp
ThreadedGenerateData( const RegionType& outputRegionForThread, ThreadIdType threadId ) override;

private:
RegionOfInterestImageFilter( const Self & ); // purposely not implemented
void
operator=( const Self & ); // purposely not implemented

RegionType m_RegionOfInterest;
};
} // end namespace itk
Expand Down