On 08 Apr 2014, at 15:33 , Robert Dailey <rcdailey.li...@gmail.com> wrote:

> In my code I have a couple of forward declarations of classes in other
> distant, unrelated namespaces:
> 
> namespace foo
> {
>    class bar;
> }
> 
> These get parsed out by Doxygen (v1.8.6) and appear empty in the HTML
> output. Is there a way that Doxygen can be "smart" enough to ignore a
> namespace if there isn't anything tangible inside of it? It would have
> to know to ignore them if they are empty or only contain forward
> declarations.

You can:
- not document the namespace and set EXTRACT_ALL to NO
- use EXCLUDE_SYMBOLS = foo
- surround the namespace with /// @cond ... /// @endcond
- surround the namespace with #ifndef DOXYGEN_SKIP ... #endif and set 
PREDEFINED = DOXYGEN_SKIP

Regards,
  Dimitri
------------------------------------------------------------------------------
Put Bad Developers to Shame
Dominate Development with Jenkins Continuous Integration
Continuously Automate Build, Test & Deployment 
Start a new project now. Try Jenkins in the cloud.
http://p.sf.net/sfu/13600_Cloudbees
_______________________________________________
Doxygen-users mailing list
Doxygen-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/doxygen-users

Reply via email to