Multi-line "after the member" ///< comment works incorrectly (Origin: bugzilla #706084)
Author: doxygenCreated Jul 2, 2018Updated Sep 16, 2026
Labelsneedinfo
status NEEDINFO severity normal in component general for --- Reported in version 1.8.4 on platform Other Assigned to: Dimitri van Heesch
On 2013-08-15 19:23:17 +0000, Aleksey Vaneev wrote:
We are writing a lot of code and find it convenient to comment it the
following way. Unfortunately, Doxygen does not parse such comments in a
desired way, it does not want to concatenate the detailed description
spanning several lines. What is the reason for such behavior? Is it a bug?
(note that we use tab character before the ///< markup).
double Len2; ///< Required half kernel length in samples (can be a
///< fractional value). Final physical kernel length will be provided
///< in the KernelLen variable. Len2 should be >= 2.
double Freq1; ///< Required corner circular frequency 1 [0; pi]. Used only
///< in the generateBand() function.
double Freq2; ///< Required corner circular frequency 2 [0; pi]. Used only
///< in the generateBand() function. The range [Freq1; Freq2] defines
///< a pass band for the generateBand() function.On 2013-08-15 19:38:01 +0000, Aleksey Vaneev wrote:
The commenting in such way seems to be working IF an additional EMPTY
comment line is added. Unfortunately, this is quite counter-intuitive and
takes valuable screen space.
static const int FuncLen = N; ///< Fractional delay function length in
///< samples (taps).
///<On 2013-08-15 20:13:26 +0000, Aleksey Vaneev wrote:
Strangely enough, mixing two ways of commenting does not work:
static const int FuncLenD2Minus1 = FuncLenD2 - 1; ///< = FuncLenD2 - 1.
///< This value also equals to filter's latency in samples (taps).
///<
static const int FuncLenD2Plus1 = FuncLenD2 + 1; ///< = FuncLenD2 + 1.
static const int FuncFrac = Fracs; ///< The number of fractional sample
///< positions to use.
///<
This will leave the FuncLenD2Plus1 member without comments.On 2015-06-21 16:20:13 +0000, Dimitri van Heesch wrote:
Hi Aleksey,
Since you set BRIEF_MEMBER_DESC to NO, and any one line description is
considered a brief description, the documentation will not appear. You can
promote the brief description to become a "detailed" description by setting
REPEAT_BRIEF and ALWAYS_DETAILED_SEC to YES (the latter was disabled in your
configuration file).
Can you please check if this solves your problem?On 2015-06-22 08:25:53 +0000, Aleksey Vaneev wrote:
Thank you for investigating this issue. But setting REPEAT_BRIEF and
ALWAYS_DETAILED_SEC to YES does not seem to solve the issue: the brief
descriptions are still attributed to variables in somewhat "reversed" order.
It looks like these switched did make some difference as I see now all
variables have description, but some descriptions are reversed, e.g.:
---
int r8b::CDSPBlockConvolver::DownSkip
range 0 to DownFactor - 1). Not used if DownShift > 0.
The current downsampling sample skip (value in the
---
While the description is defined in this way:
int DownSkip; ///< The current downsampling sample skip (value in the
///< range 0 to DownFactor - 1). Not used if DownShift > 0.Source: doxygen/doxygen