开发者

Automatically generate a uml diagram of my c++ code

开发者 https://www.devze.com 2023-03-10 04:25 出处:网络
Some time ago I was a TA in a introductory programming course on Java. 开发者_高级运维We used an IDE called BlueJ which had the nice feature that the overview of your development files was a light-wei

Some time ago I was a TA in a introductory programming course on Java. 开发者_高级运维We used an IDE called BlueJ which had the nice feature that the overview of your development files was a light-weight UML diagram with 'usage' pointers and inheritance pointers drawn in, this made it easy to see the structure of the program.

My question is the following, Is there a similar framework for c++? or at least a tool that I can have running next to my editor to keep a clear view of my files and how they are organized.

My development platform is a Mac with emacs as my main editor.


Do you know about Doxygen and its many options?

In fact, Google's number two hit for Doxygen and UML is this previous StackOverflow question.


To process C++ I recommend BoUML, it will not draw the diagrams automatically, but is quite good in parsing C++ code, and you can create new diagrams, if you add classes to the diagram, the relationships will automatically be displayed, or you can add a single class and then ask for dependencies of that class to be added to the diagram.

0

精彩评论

暂无评论...
验证码 换一张
取 消