Frédéric,
I think this depends on the implementation in doxygen of the language and
can differ depending on the language.
In Fortran I see that in case of similar constructs:
module line
!> List of no_break
!>
character(len=*), parameter :: items(2) = (/ 'item_1 ', 'item_2 ' /)
!> List of break
!>
character(len=*), parameter :: breaks(2) = (/ &
'break_1 ', &
'break_2 ' &
/)
end module
the initial values are "glued" together to one line. One can discuss about
what is the right way. In code cases I have I think the Fortran way is the
preferred way. In case of a number of initial values (or complex forms,
e.g. a matrix) I set \hideinitializer in the comment block for the variable
followed by a \snippet command. The \snippet command will show the initial
values.
I don't know what the opinions are about joining the initial values for
other languages as well and showing them with \snippet.
Albert
On Fri, Apr 3, 2015 at 10:42 AM, Frédéric Darboux <
frederic.darb...@orleans.inra.fr> wrote:
> Thank you Albert for your email.
>
> Please, find attached 2 files: one with the line break, one without it.
>
> Using
> doxygen NoLineBreak.java
> and
> doxygen WithLineBreak.java
> I get different outputs.
>
> I could reproduce this on two computers (mac with doxygen 1.8.9.1 and
> linux with doxygen 1.8.7).
>
> Is this the intended behavior of doxygen?
> Is there a way to get the same output (without altering the code)?
>
>
> Cheers.
>
> Frédéric
>
>
> Le 02/04/2015 18:51, Albert a écrit :
>
>> Frédéric,
>>
>> Would be useful to have a small project (can be just one Java class with
>> some initializations as indicated by you) and a Doxyfile to reproduce
>> your problem.
>>
>> Albert
>>
>> On Thu, Apr 2, 2015 at 9:04 AM, Frédéric Darboux
>> <frederic.darb...@orleans.inra.fr
>> <mailto:frederic.darb...@orleans.inra.fr>> wrote:
>>
>> Hello,
>>
>> We noticed two different behaviors of doxygen 1.8.9.1 for java:
>>
>> - if the initialization in the java code only needs one line such as
>> public static final BitSet FOLLOW_11_in_expr80 = new BitSet(new
>> long[] { 0x000007FFFFFF4960L });
>> we get in the documentation:
>>
>> final BitSet parser.FormulaParser.FOLLOW_11_in_expr80 = new
>> BitSet(new long[] { 0x000007FFFFFF4960L }) [static]
>>
>> - if the initialization in the java code is defined with two lines
>> such as
>> public static final BitSet FOLLOW_11_in_expr80 = new BitSet(
>> new long[] { 0x000007FFFFFF4960L });
>> we get in the documentation:
>>
>> final BitSet parser.FormulaParser.FOLLOW_11_in_expr80 [static]
>>
>> Initial value:
>> = new BitSet(
>>
>> newlong[] { 0x000007FFFFFF4960L })
>>
>> The only difference is one line break.
>> We are wondering if it is the intended behavior.
>>
>> Is there a way to get the same output format in the documentation?
>>
>>
>> Cheers.
>>
>> Frédéric
>>
>> --
>> .......................................................
>> UR Science du Sol
>> INRA
>> 2163 Avenue de la Pomme de Pin
>> CS 40001 - Ardon
>> F-45075 Orléans Cedex 2
>> France
>> Ph:+33 2 38 41 48 23 <tel:%2B33%202%2038%2041%2048%2023>
>> Fax:+33 2 38 41 78 69 <tel:%2B33%202%2038%2041%2078%2069>
>> Email:<frederic.darb...@orleans.inra.fr> <mailto:Frederic.Darboux@
>> orleans.inra.fr>
>> WebPage:<http://tinyurl.com/DarbouxInraFr> <http://tinyurl.com/
>> DarbouxInraFr>
>> Lab.:<http://www.val-de-loire.inra.fr/ur-sols/> <
>> http://www.val-de-loire.inra.fr/ur-sols/>
>>
>>
>> ------------------------------------------------------------
>> ------------------
>> Dive into the World of Parallel Programming The Go Parallel Website,
>> sponsored
>> by Intel and developed in partnership with Slashdot Media, is your
>> hub for all
>> things parallel software development, from weekly thought leadership
>> blogs to
>> news, videos, case studies, tutorials and more. Take a look and join
>> the
>> conversation now. http://goparallel.sourceforge.net/
>> _______________________________________________
>> Doxygen-users mailing list
>> Doxygen-users@lists.sourceforge.net
>> <mailto:Doxygen-users@lists.sourceforge.net>
>> https://lists.sourceforge.net/lists/listinfo/doxygen-users
>>
>>
>>
> --
> .......................................................
> UR Science du Sol
> INRA
> 2163 Avenue de la Pomme de Pin
> CS 40001 - Ardon
> F-45075 Orléans Cedex 2
> France
> Ph: +33 2 38 41 48 23
> Fax: +33 2 38 41 78 69
> Email: <frederic.darb...@orleans.inra.fr>
> WebPage: <http://tinyurl.com/DarbouxInraFr>
> Lab.: <http://www.val-de-loire.inra.fr/ur-sols/>
>
------------------------------------------------------------------------------
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
_______________________________________________
Doxygen-users mailing list
Doxygen-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/doxygen-users