Skip to content
New issue

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

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

Already on GitHub? # to your account

Move empty member function definitions from "itk*.hxx" to "itk*.h" #5198

Conversation

N-Dekker
Copy link
Contributor

Moved the member function definitions of member functions that have an empty
parameter list and an empty member function definition from their "itk*.hxx"
file to the corresponding "itk*.h" file, and into their class definition.

Defaulted the default-constructor of PyImageFilter.

Found by regular expression ::.+\(\)\r\n{} in "itk*.hxx" files.

Suggested by Denis Shamonin (@dpshamonin).

@github-actions github-actions bot added area:Core Issues affecting the Core module area:Filtering Issues affecting the Filtering module area:Segmentation Issues affecting the Segmentation module area:Numerics Issues affecting the Numerics module labels Jan 29, 2025
Found by regular expression `::.+\(\)\r\n{}` in "itk*.hxx" files

Suggested by Denis Shamonin.
Moved the member function definitions of member functions that have an empty
parameter list and an empty member function definition from their "itk*.hxx"
file to the corresponding "itk*.h" file, and into their class definition.

Found by regular expression `::.+\(\)\r\n{}` in "itk*.hxx" files.

Suggested by Denis Shamonin.
@N-Dekker N-Dekker force-pushed the Move-empty-member-function-definitions-to-h branch from 53eb106 to b94770d Compare January 29, 2025 15:37
@N-Dekker
Copy link
Contributor Author

The test failure of itkConvolutionImageFilterStreamingValidTest at https://open.cdash.org/viewTest.php?onlyfailed&buildid=10177192 looks unrelated to me. It says:

Exception detected while reading D:/a/1/s-build/ExternalData/Modules/Filtering/Convolution/test/Baseline/itkConvolutionImageFilterStreamingTestOutput.mha : ITK ERROR: MetaImageIO(0000022064FE9E70): File cannot be read: D:/a/1/s-build/Testing/Temporary/ITKConvolution/itkConvolutionImageFilterStreamingTestOutput.mha for reading.
Reason: No such file or directory

@N-Dekker
Copy link
Contributor Author

/azp run ITK.Windows

@N-Dekker N-Dekker marked this pull request as ready for review January 29, 2025 17:37
@jhlegarreta jhlegarreta merged commit b87a8b0 into InsightSoftwareConsortium:master Jan 30, 2025
15 checks passed
N-Dekker added a commit to N-Dekker/ITK that referenced this pull request Feb 1, 2025
Moved the member function definitions of member functions that have an empty
member function definition from their "itk*.hxx" file to the corresponding
"itk*.h" file, and into their class definition.

Found by regular expression `^..[^:,].+\)\r\n{}` in "itk*.hxx" files.

- Follow-up to pull request InsightSoftwareConsortium#5198
commit b94770d
"STYLE: Move empty member functions with empty param list from .hxx to .h"
N-Dekker added a commit to N-Dekker/ITK that referenced this pull request Feb 3, 2025
Moved the member function definitions of member functions that have an empty
member function definition from their "itk*.hxx" file to the corresponding
"itk*.h" file, and into their class definition.

Found by regular expression `^..[^:,].+\)\r\n{}` in "itk*.hxx" files.

- Follow-up to pull request InsightSoftwareConsortium#5198
commit b94770d
"STYLE: Move empty member functions with empty param list from .hxx to .h"
N-Dekker added a commit to N-Dekker/ITK that referenced this pull request Feb 3, 2025
Moved the member function definitions of member functions that have an empty
member function definition from their "itk*.hxx" file to the corresponding
"itk*.h" file, and into their class definition.

Found by regular expression `^..[^:,].+\)\r\n{}` in "itk*.hxx" files.

- Follow-up to pull request InsightSoftwareConsortium#5198
commit b94770d
"STYLE: Move empty member functions with empty param list from .hxx to .h"
N-Dekker added a commit to N-Dekker/ITK that referenced this pull request Feb 3, 2025
Moved the member function definitions of member functions that have an empty
member function definition from their "itk*.hxx" file to the corresponding
"itk*.h" file, and into their class definition.

Found by regular expression `^..[^:,].+\)\r\n{}` in "itk*.hxx" files.

- Follow-up to pull request InsightSoftwareConsortium#5198
commit b94770d
"STYLE: Move empty member functions with empty param list from .hxx to .h"
dzenanz pushed a commit that referenced this pull request Feb 4, 2025
Moved the member function definitions of member functions that have an empty
member function definition from their "itk*.hxx" file to the corresponding
"itk*.h" file, and into their class definition.

Found by regular expression `^..[^:,].+\)\r\n{}` in "itk*.hxx" files.

- Follow-up to pull request #5198
commit b94770d
"STYLE: Move empty member functions with empty param list from .hxx to .h"
N-Dekker added a commit to N-Dekker/ITK that referenced this pull request Feb 6, 2025
Moved the member function definitions of `const`member functions that have an empty
member function definition from their "itk*.hxx" file to the corresponding
"itk*.h" file, and into their class definition.

Found by regular expression `^..[^:,].+\) const\r\n{}` in "itk*.hxx" files.

- Follow-up to pull request InsightSoftwareConsortium#5198
commit b94770d
"STYLE: Move empty member functions with empty param list from .hxx to .h"
dzenanz pushed a commit that referenced this pull request Feb 7, 2025
Moved the member function definitions of `const`member functions that have an empty
member function definition from their "itk*.hxx" file to the corresponding
"itk*.h" file, and into their class definition.

Found by regular expression `^..[^:,].+\) const\r\n{}` in "itk*.hxx" files.

- Follow-up to pull request #5198
commit b94770d
"STYLE: Move empty member functions with empty param list from .hxx to .h"
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
area:Core Issues affecting the Core module area:Filtering Issues affecting the Filtering module area:Numerics Issues affecting the Numerics module area:Segmentation Issues affecting the Segmentation module
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants