Re: [Doxygen-users] \cond keword
Brought to you by:
dimitri
From: Albert <alb...@gm...> - 2010-09-23 18:37:11
|
Dear all, This would certainly be my preference too, will make a number of things easier. It will require a kind of parser for these commands. Best Regards, Albert On Thu, Sep 23, 2010 at 20:27, Dimitri Van Heesch <do...@gm...> wrote: > > On Sep 22, 2010, at 20:27 , Albert_1 wrote: > >> >> Dear all, >> >> In Doxygen it is possible to have some documentation depending of the >> setting of ENABLED_SECTIONS by means of the kewords: >> \if, \ifnot, \else, \elseif, \endif these keywords work within one >> documentation block; >> \cond and \endcond work in different comment blocks. >> >> In the current project I need a \condnot (analogous to \ifnot). >> >> I would therefore propose to add the keyword \condend to Doxygen. For >> completeness I would also propose to add \elseifnot >> >> Any other comments ? > > I think a better approach is to allow simple constant C-style expressions, i.e. > > \if !SOME_SECTION_NAME > ... > \endif > > or even: > > \if SOME_SECTION_NAME && (!THIS_ALTERNATIVE || THAT_ALTERNATIVE) > ... > \endif > > The same could be done for \cond. > > Regards, > Dimitri > > |