views:

1439

answers:

6

Is there a tool which will take a set of c++ headers and output UML class diagrams?

A: 

Rational Rose used to do that.
Not sure this product still exists.

shoosh
+1  A: 

Looks like a dupe of this one.

Rational Rose is a paid one. StarUML and ArgoUML are Open Source flavors.

dirkgently
StarUML is slow and fails on medium projects.
+2  A: 

Enterprise Architect at http://www.sparxsystems.com.au/ does this and lots more.

anon
I tested StarUML, ArgoUML, Enterprise Architect and Borland Together. The first two didn't work well (crashes, didn't recognize some language constructs, etc.). Borland Together is painfully slow, and also is hard to learn. The only that really worked well was Enterprise Architect. It's commercial, but has an affordable price. Worth it.
Fabio Ceconello
Didn't test Rational Rose, but its price tag is outrageous.
Fabio Ceconello
+1  A: 

Umbrello (a KDE based app) is another.

Void
A: 

I tried ArgoUML but it could not generate UML, keeps failing when I import source. Did anyone tried any other open source suggestion?

Arvind
Because ArgoUML is buggy. Everybody mentions it because it's old, not because it's good tool.
+1  A: 

I strongly recommend BOUML. It's a free UML modelling application, which:

  • is extremely fast (fastest UML tool ever created, check out benchmarks),
  • what you are looking for: has rock solid C++, Java, PHP and others import support,
  • is multiplatform (Linux, Windows, other OSes),
  • has a great SVG export support, which is important, because viewing large graphs in vector format, which scales fast in e.g. Firefox, is very convenient (you can quickly switch between "birds eye" view and class detail view),
  • is full featured, impressively intensively developed (look at development history, it's hard to believe that such fast progress is possible).
  • supports plugins, has modular architecture (this allows user contributions, looks like BOUML community is forming up)

Believe me, there is no better tool. StarUML is a retarded turtle compared to BOUML. ArgoUML simply doesn't work. Dia is a ergonomy^-1 software.