hi Stefan,
thank you for your answer.
Can you send me some code example that work for removing code in inline
sources with the \cond and \endcond command, and the doxygen configuration
file (version 1.8.3.1) ?
Thank you very much,
Kind regards,
Maxime
2013/4/17 Maxime Thiébaut <maxime.thieb...@gmail.com>
> Hi,
>
> here some other informations :
> - my configuration is windows XP 32 bits (i also tried with Windows 7 64
> bits).
> - the \cond \endcond work fine to remove doxygen commands from the
> documentation
> - the \cond \endcond can't remove line of code from the inline sources
> (see my last post)
>
> Thank you for your help, and thank you for that great tool !!
>
> Maxime
>
>
>
> 2013/4/16 Maxime Thiébaut <maxime.thieb...@gmail.com>
>
>> In fact, i want to exclude some part of the code, but not the whole code
>> of a specific function.
>>
>> Remembering my example, i want the documentation give this "inline code" :
>>
>> /* code */
>>
>> int x = a+b;
>>
>>
>> return(x);
>>
>> Is doxygen able to do that ? Does somebody have some configuration file
>> that can deal with that ?
>>
>> Thank you !!!
>>
>>
>>
>>
>> 2013/4/16 Maxime Thiébaut <maxime.thieb...@gmail.com>
>>
>>> Hi,
>>>
>>> thank you Allen for you quick answer.
>>>
>>> I already tried to use the \cond and \endcode but it doesn't remove the
>>> "dummy" code from the documentation (in the inline sources).
>>>
>>> Is there any special configuration ? (INTERNAL_DOC is already set to NO).
>>>
>>> Thank you for your answer
>>>
>>> Maxime
>>>
>>>
>>> 2013/4/15 Allen Winter <win...@kde.org>
>>>
>>>> You might consider the @cond command.
>>>>
>>>> For example
>>>> //@cond DUMMY
>>>> <code goes here>
>>>> //@endcond
>>>>
>>>> so unless you define DUMMY to Doxygen, that code block will be ignored.
>>>>
>>>> On Monday 15 April 2013 10:35:00 PM Maxime Thiébaut wrote:
>>>> > hi,
>>>> >
>>>> > i would like to ignore some code fragment in inline sources (option
>>>> > INLINE_SOURCE = TRUE), but i don't know how to do that.
>>>> >
>>>> > here is some example, where i don't want to include the "dummy" code
>>>> in the
>>>> > documentation :
>>>> >
>>>> > int func1(int a, int b)
>>>> > {
>>>> >
>>>> > /** brief description
>>>> >
>>>> > * detailed description
>>>> >
>>>> > * parameters description (in / out)
>>>> >
>>>> > */
>>>> >
>>>> >
>>>> > /* code */
>>>> >
>>>> > int x = a+b;
>>>> >
>>>> >
>>>> > /* dummy code not to to include in inline sources */
>>>> >
>>>> > printf("debug: %d", x);
>>>> >
>>>> >
>>>> > return(x);
>>>> >
>>>> > }
>>>> >
>>>> >
>>>> > Thank you in advance for your help !!
>>>> >
>>>> > Maxime
>>>>
>>>
>>>
>>
>
------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
_______________________________________________
Doxygen-users mailing list
Doxygen-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/doxygen-users