@@ -2616,6 +2616,8 @@ \subsection{Empty Lines}
26162616 public ImageToImageFilter< TInputImage, TOutputImage >
26172617{
26182618public:
2619+ ITK_DISALLOW_COPY_AND_ASSIGN(BoxImageFilter);
2620+
26192621 /** Standard class type alias. */
26202622 using Self = BoxImageFilter;
26212623 using Superclass = ImageToImageFilter< TInputImage, TOutputImage >;
@@ -2632,8 +2634,6 @@ \subsection{Empty Lines}
26322634 void PrintSelf(std::ostream & os, Indent indent) const override;
26332635
26342636private:
2635- ITK_DISALLOW_COPY_AND_ASSIGN(BoxImageFilter);
2636-
26372637 RadiusType m_Radius;
26382638};
26392639
@@ -3038,6 +3038,8 @@ \section{Using Standard Macros}
30383038\item Object modified time is properly managed.
30393039\item Debug information is printed.
30403040\item Reference counting is handled properly.
3041+ \item Disallow copy semantics by deleting copy constructor and assignment
3042+ operator.
30413043\end {itemize }
30423044
30433045Some of the more important object macros are:
@@ -3048,6 +3050,9 @@ \section{Using Standard Macros}
30483050\item \code {itkTypeMacro(thisClass, superclass)}: Adds standard methods a
30493051class, mainly type information. Adds the \code {GetNameOfClass()} method to the
30503052class.
3053+ \item \code {ITK\_ DISALLOW\_ COPY\_ AND\_ ASSIGN(TypeName)}: Disallow copying by
3054+ declaring copy constructor and assignment operator deleted. This must be
3055+ declared in the \textbf {public } section.
30513056\item \code {itkDebugMacro(x)}: If debug is set on a subclass of
30523057\doxygen {Object}, prints debug information to the appropriate output
30533058stream.
0 commit comments