Hello doxygen-users.

Do any of you know of a technique to extract a list of classes and their
respective members (or language equivalent) from source code that will work
for any language using doxygen?  Ultimately I want to extract a list of
classes, member variables, and member functions (or language equivalents)
for my source code in an easy-to-parse format.  An example of this in Java
would be as follows:

*Sample Java Source Code*:
----------------------------------------------
<http://doxygen.10944.n7.nabble.com/file/n7398/hello_world_java.jpg> 
----------------------------------------------
*Desired Parsed Output*:
----------------------------------------------
Package name: com.helloworld
Class name: public class MainClass
Variables:
private int myPrivateInt
private NestedClass myNestedObj
Methods:
public MainClass()
protected void printVars()
public static void main(String[] args)

Package name: com.helloworld
Class name: public class MainClass$NestedClass
Variables:
private float a
Methods:
public NestedClass()
public float getA()

----------------------------------------------

I am aware that doxygen can produce an XML output of the source code, but it
merely tokenizes the code allowing for easier parsing.  To produce the HTML
output on the other hand, doxygen has already parsed the code into all
classes and members, but has also organized them into the HTML documentation
format.  I am looking for an output in the middle of both of these.  I would
like just the raw classes with their accompanying data members.

If anyone knows of a configuration or technique to do this across several
languages using doxygen, please share!

Thanks in advance!



--
View this message in context: 
http://doxygen.10944.n7.nabble.com/Raw-class-and-member-extraction-for-multiple-languges-tp7398.html
Sent from the Doxygen - Users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Monitor Your Dynamic Infrastructure at Any Scale With Datadog!
Get real-time metrics from all of your servers, apps and tools
in one place.
SourceForge users - Click here to start your Free Trial of Datadog now!
http://pubads.g.doubleclick.net/gampad/clk?id=241902991&iu=/4140
_______________________________________________
Doxygen-users mailing list
Doxygen-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/doxygen-users

Reply via email to