From b0e7231f0146851d6238de03bd6cec05c61183b5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jon=20Haitz=20Legarreta=20Gorro=C3=B1o?= Date: Tue, 31 Dec 2024 18:13:09 -0500 Subject: [PATCH] DOC: Fix multiple group Doxygen warnings Fix multiple group Doxygen warnings: enum classes cannot be members of multiple groups: remove the additional grouping command, and leave the one corresponding to the most specific group. From the Doxygen documentation: "Note that compound entities (like classes, files and namespaces) can be put into multiple groups, but members (like variable, functions, typedefs and enums) can only be a member of one group (...)." https://www.doxygen.nl/manual/grouping.html#topics Fixes: ``` Warning Modules/IO/ImageBase/include/itkIOCommon.h:42: warning: Member AtomicPixel found in multiple @ingroup groups! The member will be put in group ITKIOImageBase, and not in group IOFilters ``` and ``` Warning Modules/Filtering/FFT/include/itkComplexToComplexFFTImageFilter.h:41: warning: Member TransformDirection found in multiple @ingroup groups! The member will be put in group FourierTransform, and not in group ITKFFT ``` raised for example in: https://open.cdash.org/viewBuildError.php?type=1&buildid=10117138 --- .../Filtering/FFT/include/itkComplexToComplexFFTImageFilter.h | 1 - Modules/IO/ImageBase/include/itkIOCommon.h | 1 - 2 files changed, 2 deletions(-) diff --git a/Modules/Filtering/FFT/include/itkComplexToComplexFFTImageFilter.h b/Modules/Filtering/FFT/include/itkComplexToComplexFFTImageFilter.h index 88ed54c0c89..bafb24046f9 100644 --- a/Modules/Filtering/FFT/include/itkComplexToComplexFFTImageFilter.h +++ b/Modules/Filtering/FFT/include/itkComplexToComplexFFTImageFilter.h @@ -35,7 +35,6 @@ class ComplexToComplexFFTImageFilterEnums public: /** * \ingroup ITKFFT - * \ingroup FourierTransform * */ enum class TransformDirection : uint8_t { diff --git a/Modules/IO/ImageBase/include/itkIOCommon.h b/Modules/IO/ImageBase/include/itkIOCommon.h index e06aadd734c..a016772cdfc 100644 --- a/Modules/IO/ImageBase/include/itkIOCommon.h +++ b/Modules/IO/ImageBase/include/itkIOCommon.h @@ -34,7 +34,6 @@ class IOCommonEnums { public: /** - * \ingroup IOFilters * \ingroup ITKIOImageBase * enumerated constants for the different data types */