Tutorial :Is there a way to exclude package-level functions and members from Doxygen output?



Question:

I'm working with Doxygen at the workplace and am having a problem with the Java code. With the EXTRACT_ALL=NO, EXTRACT_PRIVATE=NO, EXTRACT_STATIC=NO, EXTRACT_LOCAL_CLASSES=NO, and EXTRACT_LOCAL_METHODS=NO, the output still includes static members that are not defined as public or private.

EX. Let's say I have the following code:

class EXAMPLE{    public static func1()    private static func2()    static func3()    }  

func3 is defined only as static because it is a package-level function.

func1 and func3 show up in the output, and I only want func1 to appear.

Does anyone know a way to show only those functions explicitly defined as public?

Thanks in advance.


Solution:1

You can put stuff that you don't want to see in doxygen output inside a \cond ... \endcond block:

class EXAMPLE{    public static func1()    /// \cond    private static func2()  static func3()    /// \endcond    }  

Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Previous
Next Post »