Create C ++ code from Visio UML diagram

Visio 2010 Beta can generate a static UML diagram from a Native C ++ project, which is great. How can I solve the opposite problem: given the static UML diagram from Visio, generate header files?

Or maybe there are free tools for architecture development and reverse engineering?

EDIT Generally speaking, I do not need strictly UML diagrams. They just need to be clear enough to look at them and understand the classes during application development, implementation and support. But it must have the function of reverse engineering and code generation.

I will try to use the proposed alternatives in a few days, and then write a small comparison.

  • ArgoUML I tried to import existing code and could not. The reason is that C ++ support is pre-alpha. Many language constructs are not yet supported. From the MessageBox shown on import:

Reverse engineering module C ++ pre-alpha stage. Its famous limits are:

* very few C++ constructs are supported, e.g., enums, unions, templates, etc, aren't;
* no support for non-member variables and functions;
* no integration with the C++ generator => RTE won't work!;
* no operator overload support;
* very immature, certainly this list needs to grow!
+3
source share
4 answers

StarUML is a free (and best) alternative with the ability to generate code.
Most UML platforms also generate code.

+4
source
  • Display Chart in Visio
  • Pick up Visual Studio, open a C ++ project.
  • Start typing code :)

, Viso , . , , .

, , .

+3

ArgoUML - , UML, . ArgoUML , ++.

: http://argouml.tigris.org

+3

Enterprise Architect Sparx Systems .

+1

Source: https://habr.com/ru/post/1727538/


All Articles