Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Free UML tool with c++ code generation and doxygen support

Tags:

c++

uml

doxygen

I know features such as code generation and doxygen support are usually considered commercial, but I was wondering if there are any free UML tools that support c++ code generation which supports doxygen documentation?

It would be very useful to produce a model with documentation and not have to repeat/edit this to enable the doxygen support.

EDIT: Forgot to mention I am developing under Linux (Ubuntu)

like image 860
rozzy Avatar asked Nov 08 '12 10:11

rozzy


People also ask

Can Doxygen generate UML?

When you are facing an not well-documented code, you can use generated diagrams to help the understanding. set folder path of your project, the red highlight is where is different from the default setting. run.

What is Doxygen tool used for?

Doxygen (/ˈdɒksidʒən/ DOK-see-jən) is a documentation generator and static analysis tool for software source trees. When used as a documentation generator, Doxygen extracts information from specially-formatted comments within the code.

How do I comment out a code in doxygen C++?

Once specified, you can generate the comment stub by typing the respective “///” or “/**” above a function, or by using the (Ctrl+/) shortcut.

What is Doxygen in Java?

Doxygen is the de facto standard tool for generating documentation from annotated C++ sources, but it also supports other popular programming languages such as C, Objective-C, C#, PHP, Java, Python, IDL (Corba, Microsoft, and UNO/OpenOffice flavors), Fortran, and to some extent D.


1 Answers

For free and very simple to use there is dia (vectorial diagram editor) with UML + dia2code works for "ada|c|cpp|csharp|idl|java|php|php5|python|ruby|shp|sql"

First you draw your UML Class diagram, save it, and than use dia2code on the .dia file.

Since I also tried umbrello (userbase.kde.org/Umbrello) which has more features such as importing code, package/namespace...

like image 89
trax Avatar answered Sep 21 '22 18:09

trax