Eclipse plugin for generating UML diagram from c++ code

一笑奈何 提交于 2019-12-04 08:16:54

问题


Is there any eclipse plugin that can generate UML/Class Diagram from C++ source code?


回答1:


From the list of UML tools, I only see commercial UML editors (with C++ as one of the language reverse engineered), like:

  • Enterprise Architect
  • Magic Draw
  • Modelio

In other word, I don't know of a open-source project offering C++ reverse engineered UML diagrams.


nrs mentions in the comments, from the Modelio Wikipedia entry:

The core Modelio software was released under the GPLv3 on October 5, 2011.
Key APIs are licensed under the more permissive Apache License 2.0.

Note: it is a standalone app (based on Eclipse RCP), which cannot be added directly in your IDE Eclipse. Eclipse as a plugin.




回答2:


This is also not a Eclipse plugin, but the Umbrello UML Modeller from KDE is open-source and I've had better results with it than Doxygen or Rhapsody.




回答3:


My Eclipse-Fu is second to... well, everybodies. But I wonder: Could Doxygen be banged in to a shape that would fit? As an automated c++ documentation tool it's pretty slick. Plus, it runs off the command line so I'd imagine it wouldn't be too tough to get eclipse to run it.




回答4:


well, a commercial option is to use rhapsody developer for C++. you do reverse engineering in your source code and there you go.




回答5:


I don't know of any Eclipse Plugins that generates UML class diagram from C++ code. However, BOUML is now commercial, but version 4 was free. You can still find this version in several repos of Linux distributions, it has the best reverse engineering features I've ever seen in a free application. It runs on Windows too, you can still find the installer of BOUML 4 for Windows on the Internet.



来源:https://stackoverflow.com/questions/3155448/eclipse-plugin-for-generating-uml-diagram-from-c-code

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!