Is this the configuration option you're looking for? <http://www.stack.nl/~dimitri/doxygen/manual/config.html#cfg_extract_anon_nspaces>
> -----Original Message----- > From: Brad Bell [mailto:bradb...@seanet.com] > Sent: 27 February 2014 14:33 > To: doxygen-users@lists.sourceforge.net > Subject: [Doxygen-users] Documenting entities in empty namspace > > How does one include doxygen documentation for entities in the empty > namespace ? > > For example, if you execute the bash script below, the documentation for > function_in_empty_namespace > is missing: > ---------------- > #! /bin/bash -e > cat << EOF > This script creates a C++ source file called > build/empty_namespace.cpp > and corresponding html documentation in > build/html/files.html > If you view the source file and the html documentation, you will see that > the html documentation for the function in the empty namespace is missing. > EOF > cat << EOF > build/empty_namespace.cpp > /// @file empty_namespace.cpp > /// @brief Doxygen example showing that empty namespace functions are > missing > namespace { > /// A documented function in the empty namespace > int function_in_empty_namespace(void) > { return 1; } > } > > /// A documented function not in empty namespace > void function_outside_empty_namespace(void) > { std::cout << function_in_empty_namespace(void) << std::endl; > } > EOF > echo > if [ ! -e build ] > then > mkdir build > fi > echo 'cd build' > cd build > echo "doxygen -g doxyfile > doxyfile.log" > doxygen -g doxyfile > doxyfile.log > # > echo "sed -e 's|\(^INPUT *\)=.*|\1= empty_namespace.cpp|' -i doxyfile" > sed -e 's|\(^INPUT *\)=.*|\1= empty_namespace.cpp|' -i doxyfile > # > echo "sed -e 's|\(^SOURCE_BROWSER *\)=.*|\1= YES|' -i doxyfile" > sed -e 's|\(^SOURCE_BROWSER *\)=.*|\1= YES|' -i doxyfile > sed -e 's|\(^STRIP_CODE_COMMENTS *\)=.*|\1= NO|' -i doxyfile > # > echo "doxygen doxyfile > doxygen.log" > doxygen doxyfile > doxygen.log > > > ---------------------------------------------------------------------------- > -- > Flow-based real-time traffic analytics software. Cisco certified tool. > Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer > Customize your own dashboards, set traffic alerts and generate reports. > Network behavioral analysis & security monitoring. All-in-one tool. > http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk > _______________________________________________ > Doxygen-users mailing list > Doxygen-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/doxygen-users This Email and any files transmitted with it are intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any reading, redistribution, disclosure or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you are not the intended recipient please contact the sender immediately and delete the material from your computer. E-mail may be susceptible to data corruption, interception, viruses and unauthorised amendment and Domino UK Limited<http://www.domino-printing.com/Channels/UK/eng/Home.aspx> does not accept liability for any such corruption, interception, viruses or amendment or their consequences. Domino UK Limited<http://www.domino-printing.com/Channels/UK/eng/Home.aspx> Registered in England. Registered Number:1750201. Registered Office Address: Trafalgar Way, Bar Hill, Cambridge, CB23 8TU. ------------------------------------------------------------------------------ Flow-based real-time traffic analytics software. Cisco certified tool. Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer Customize your own dashboards, set traffic alerts and generate reports. Network behavioral analysis & security monitoring. All-in-one tool. http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk _______________________________________________ Doxygen-users mailing list Doxygen-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/doxygen-users