自动生成我的C ++代码的UML图 [英] Automatically generate a uml diagram of my c++ code

查看:134
本文介绍了自动生成我的C ++代码的UML图的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

前一段时间,我是Java入门编程课程的助教.我们使用了一个名为 BlueJ 的IDE,它具有很好的功能,即开发文件的概述是轻量级的UML.绘制了使用"指针和继承指针的图表,这使得查看程序的结构变得很容易.

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.

我的问题是,对于c ++是否有类似的框架?或至少是我可以在编辑器旁边运行的工具,以保持文件及其结构的清晰视图.

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.

我的开发平台是一台以emacs为主要编辑器的Mac.

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

推荐答案

您了解 Doxygen 及其有很多选择吗?

Do you know about Doxygen and its many options?

事实上,Google在Doxygen和UML上排名第二的是

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

这篇关于自动生成我的C ++代码的UML图的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆