Skip to content

Commit 3b20b54

Browse files
N-Dekkerhjmjohnson
authored andcommitted
COMP: Replace itkTypeMacro calls with itkOverrideGetNameOfClassMacro
Follow-up to pull request InsightSoftwareConsortium/ITK#4373 commit InsightSoftwareConsortium/ITK@2c264ea "STYLE: Replace itkTypeMacro calls with `itkOverrideGetNameOfClassMacro`"
1 parent be8dcfc commit 3b20b54

13 files changed

+13
-13
lines changed

src/Developer/ImageFilter.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ class ImageFilter : public ImageToImageFilter<TImage, TImage>
2020
itkNewMacro(Self);
2121

2222
/** Run-time type information (and related methods). */
23-
itkTypeMacro(ImageFilter, ImageToImageFilter);
23+
itkOverrideGetNameOfClassMacro(ImageFilter);
2424

2525
protected:
2626
ImageFilter() = default;

src/Developer/ImageFilterMultipleInputsDifferentType.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ class ImageFilterMultipleInputsDifferentType : public ImageToImageFilter<TImage,
2121
itkNewMacro(Self);
2222

2323
/** Run-time type information (and related methods). */
24-
itkTypeMacro(ImageFilterMultipleInputsDifferentType, ImageToImageFilter);
24+
itkOverrideGetNameOfClassMacro(ImageFilterMultipleInputsDifferentType);
2525

2626
/** The image to be inpainted in regions where the mask is white.*/
2727
void

src/Developer/ImageFilterMultipleOutputs.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ class ImageFilterMultipleOutputs : public ImageToImageFilter<TImage, TImage>
2020
itkNewMacro(Self);
2121

2222
/** Run-time type information (and related methods). */
23-
itkTypeMacro(ImageFilterMultipleOutputs, ImageToImageFilter);
23+
itkOverrideGetNameOfClassMacro(ImageFilterMultipleOutputs);
2424

2525
TImage *
2626
GetOutput1();

src/Developer/ImageFilterMultipleOutputsDifferentType.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ class ImageFilterMultipleOutputsDifferentType
2323
itkNewMacro(Self);
2424

2525
/** Run-time type information (and related methods). */
26-
itkTypeMacro(ImageFilterMultipleOutputsDifferentType, ImageToImageFilter);
26+
itkOverrideGetNameOfClassMacro(ImageFilterMultipleOutputsDifferentType);
2727

2828
TOutputImage1 *
2929
GetOutput1();

src/Developer/ImageFilterX.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ class ImageFilter : public ImageToImageFilter<TImage, TImage>
2121
itkNewMacro(Self);
2222

2323
/** Run-time type information (and related methods). */
24-
itkTypeMacro(ImageFilter, ImageToImageFilter);
24+
itkOverrideGetNameOfClassMacro(ImageFilter);
2525

2626
itkSetMacro(Variable, double);
2727
itkGetMacro(Variable, double);

src/Developer/ImageFilterY.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ class ImageFilter : public ImageToImageFilter<TImage, TImage>
2323
itkNewMacro(Self);
2424

2525
/** Run-time type information (and related methods). */
26-
itkTypeMacro(ImageFilter, ImageToImageFilter);
26+
itkOverrideGetNameOfClassMacro(ImageFilter);
2727

2828

2929
/** Image dimension. */

src/Developer/ImageSource.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ class ImageSource : public ProcessObject
2323
itkNewMacro(Self);
2424

2525
/** Run-time type information (and related methods). */
26-
itkTypeMacro(ImageSource, ProcessObject);
26+
itkOverrideGetNameOfClassMacro(ImageSource);
2727

2828
protected:
2929
ImageSource() = default;

src/Developer/MultiThreadedImageFilter.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ class MultiThreadedImageFilter : public ImageToImageFilter<TImage, TImage>
2323
itkNewMacro(Self);
2424

2525
/** Run-time type information (and related methods). */
26-
itkTypeMacro(ImageFilter, ImageToImageFilter);
26+
itkOverrideGetNameOfClassMacro(ImageFilter);
2727

2828
protected:
2929
MultiThreadedImageFilter() = default;

src/Developer/MyInPlaceImageFilter.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ class MyInPlaceImageFilter : public InPlaceImageFilter<TImage>
2020
itkNewMacro(Self);
2121

2222
/** Run-time type information (and related methods). */
23-
itkTypeMacro(MyInPlaceImageFilter, InPlaceImageFilter);
23+
itkOverrideGetNameOfClassMacro(MyInPlaceImageFilter);
2424

2525
protected:
2626
MyInPlaceImageFilter() = default;

src/Developer/itkImageFilterMultipleInputs.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ class ImageFilterMultipleInputs : public ImageToImageFilter<TImage, TImage>
2020
itkNewMacro(Self);
2121

2222
/** Run-time type information (and related methods). */
23-
itkTypeMacro(ImageFilterMultipleInputs, ImageToImageFilter);
23+
itkOverrideGetNameOfClassMacro(ImageFilterMultipleInputs);
2424

2525
/** The image to be inpainted in regions where the mask is white.*/
2626
void

0 commit comments

Comments
 (0)