Thread: [Doxygen-users] Call Graphs - excluding functions
Brought to you by:
dimitri
From: Leif J. <le...@cr...> - 2010-10-15 11:35:44
|
Hi, We have been using doxygen for quite a while now and like it very much. One thing I would like though and haven't been able to figure out how to do (if possible), is to exclude certain functions from the call graphs. I know that I could use the \callgraph option to include only those I want to generate call graphs for, but I actually have say 100 functions total and only 5 of those not to be output. The situation is also slightly different, because what I really want is to exclude certain functions from all call graphs. Consider the following example: void a() { b(); c(); u(); } void b() { c(); u(); } void c() { u(); } void u() { } Here u() is a 'utility' function that I don't want to clubber my diagrams for functions a(), b(), and c(). Is there a way to do this without having to restructure my program ? Greetings, Leif |
From: Albert <alb...@gm...> - 2010-10-15 13:58:33
|
Hi Leif, To the best of my knowledge this is not possible. For similar problems I have submitted a Bug in Bugzilla (Bug 630660). Maybe you can add your request to this bug. Best Regards, Albert On Fri, Oct 15, 2010 at 13:01, Leif Jensen <le...@cr...> wrote: > Hi, > > We have been using doxygen for quite a while now and like it very much. One thing I would like though and haven't been able to figure out how to do (if possible), is to exclude certain functions from the call graphs. I know that I could use the \callgraph option to include only those I want to generate call graphs for, but I actually have say 100 functions total and only 5 of those not to be output. > > The situation is also slightly different, because what I really want is to exclude certain functions from all call graphs. Consider the following example: > > void a() > { > b(); > c(); > u(); > } > > void b() > { > c(); > u(); > } > > void c() > { > u(); > } > > void u() > { > } > > Here u() is a 'utility' function that I don't want to clubber my diagrams for functions a(), b(), and c(). Is there a way to do this without having to restructure my program ? > > Greetings, > > Leif > > ------------------------------------------------------------------------------ > Download new Adobe(R) Flash(R) Builder(TM) 4 > The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly > Flex(R) Builder(TM)) enable the development of rich applications that run > across multiple browsers and platforms. Download your free trials today! > http://p.sf.net/sfu/adobe-dev2dev > _______________________________________________ > Doxygen-users mailing list > Dox...@li... > https://lists.sourceforge.net/lists/listinfo/doxygen-users > |
From: Leif J. <le...@cr...> - 2010-10-22 12:47:18
|
Hi Albert, Thank you for your response. I will add a comment to "your" bug as you suggests. Leif ----- "Albert" <alb...@gm...> wrote: > Hi Leif, > > To the best of my knowledge this is not possible. For similar > problems > I have submitted a Bug in Bugzilla (Bug 630660). Maybe you can add > your request to this bug. > > Best Regards, > > Albert > > On Fri, Oct 15, 2010 at 13:01, Leif Jensen <le...@cr...> wrote: > > Hi, > > > > We have been using doxygen for quite a while now and like it very > much. One thing I would like though and haven't been able to figure > out how to do (if possible), is to exclude certain functions from the > call graphs. I know that I could use the \callgraph option to include > only those I want to generate call graphs for, but I actually have say > 100 functions total and only 5 of those not to be output. > > > > The situation is also slightly different, because what I really > want is to exclude certain functions from all call graphs. Consider > the following example: > > > > void a() > > { > > b(); > > c(); > > u(); > > } > > > > void b() > > { > > c(); > > u(); > > } > > > > void c() > > { > > u(); > > } > > > > void u() > > { > > } > > > > Here u() is a 'utility' function that I don't want to clubber my > diagrams for functions a(), b(), and c(). Is there a way to do this > without having to restructure my program ? > > > > Greetings, > > > > Leif > > > > > ------------------------------------------------------------------------------ > > Download new Adobe(R) Flash(R) Builder(TM) 4 > > The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly > > Flex(R) Builder(TM)) enable the development of rich applications > that run > > across multiple browsers and platforms. Download your free trials > today! > > http://p.sf.net/sfu/adobe-dev2dev > > _______________________________________________ > > Doxygen-users mailing list > > Dox...@li... > > https://lists.sourceforge.net/lists/listinfo/doxygen-users > > |
From: Pascal B. <pa...@ma...> - 2010-10-15 20:33:03
|
Hi, Maybe the "@internal" tag can be of help. http://www.stack.nl/~dimitri/doxygen/commands.html#cmdinternal I never tried it with function call graphs. But I assume if the function is not present in the doc, it will not be present in the call graph. Pascal -----Original Message----- From: Leif Jensen [mailto:le...@cr...] Sent: October 15, 2010 7:01 AM To: dox...@li... Subject: [Doxygen-users] Call Graphs - excluding functions Hi, We have been using doxygen for quite a while now and like it very much. One thing I would like though and haven't been able to figure out how to do (if possible), is to exclude certain functions from the call graphs. I know that I could use the \callgraph option to include only those I want to generate call graphs for, but I actually have say 100 functions total and only 5 of those not to be output. The situation is also slightly different, because what I really want is to exclude certain functions from all call graphs. Consider the following example: void a() { b(); c(); u(); } void b() { c(); u(); } void c() { u(); } void u() { } Here u() is a 'utility' function that I don't want to clubber my diagrams for functions a(), b(), and c(). Is there a way to do this without having to restructure my program ? Greetings, Leif ---------------------------------------------------------------------------- -- Download new Adobe(R) Flash(R) Builder(TM) 4 The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly Flex(R) Builder(TM)) enable the development of rich applications that run across multiple browsers and platforms. Download your free trials today! http://p.sf.net/sfu/adobe-dev2dev _______________________________________________ Doxygen-users mailing list Dox...@li... https://lists.sourceforge.net/lists/listinfo/doxygen-users |