On Fri, Aug 17, 2012 at 3:22 AM, Jakob van Bethlehem
<j.s.van.bethle...@astro.rug.nl> wrote:
> On 08/17/2012 04:47 AM, Peng Yu wrote:
>> Hi,
>>
>> In doxygen source code, I see the following.
>>
>> In filedef.h
>>   95     /*! Returns the name of the verbatim copy of this file (if any). */
>>   96     QCString includeName() const;
>>
>> In filedef.cpp
>>
>> 1555 /*! Returns the name of the verbatim copy of this file (if any). */
>> 1556 QCString FileDef::includeName() const
>>
>> The document are the same. I'm wondering which one is redundant.
>>
>> I try to keep only the document in the cpp file (in my package). But
>> it does not appear in the generated document. Is there a way to keep
>> the document of member function in the cpp file and still have the
>> generated document?
>>
>
> Hej Peng,
>
> I don't think you should be looking at the source code if you want to control 
> output. First you really should be having a good look at all the possible 
> configuration options that Doxygen provides. For
> you particular problem, I personally don't really understand what you're 
> trying to do. Maybe you can give a short example, and explain what you would 
> like Doxygen to generate for that. When you are at
> it, please also mention the version you're using and what of output you're 
> trying to create.

Hi Jakob,

I merely want to look for some examples on how to put the document in
*.cpp file but not in *.h file as I am not able to let doxygen to show
comment from *.cpp files. I have tried many options, but I still don't
find which option should be used in Doxyfile.

To look for possible solutions to the above question, I went ahead to
check the comments in doxygen source code. I surprisingly find the
same comment appear in both *.cpp and *.h files which seems weird to
me. So my second question is why duplicated comments need to put in
both *.cpp and *.h files.

Are my questions clear to you now?

-- 
Regards,
Peng

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Doxygen-users mailing list
Doxygen-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/doxygen-users

Reply via email to