tags:

views:

4408

answers:

6

Is there a tool that can parse C++ files within a project and generate UML from it?

+1  A: 

Whoever wants UML deserves Rational Rose :)

obecalp
good program but very expensive !
zaladane
+7  A: 

I believe Enterprise Architect can do that.

cschol
Indeed it does, and does well. I've been using it for years, and to me it's by far the best price/performance tool for it (among those I used). I've tried StarUML and Together also - the first has potential, but is still incomplete. The second is painfully slow.
Fabio Ceconello
I didn't try Rational Rose, though, since it's well above my acceptable price range.
Fabio Ceconello
+5  A: 

Here are a few options:

Step-by-Step Guide to Reverse Engineering Code into UML Diagrams with Microsoft Visio 2000 - http://msdn.microsoft.com/en-us/library/aa140255(office.10).aspx

BoUML - http://bouml.free.fr/features.html

StarUML - http://staruml.sourceforge.net/en/

Reverse engineering of the UML class diagram from C++ code in presence of weakly typed containers (2001) - http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.27.9064

Umbrello UML Modeller - http://uml.sourceforge.net/

A list of other tools to look at - http://plg.uwaterloo.ca/~migod/uml.html

duncan
+1  A: 

StarUML does just that and it is free. Unfortunately it hasn't been updated for a while. There were a couple of offshoot projects (as the project admins wouldn't allow it to be taken over) but they too have died a death.

graham.reeds
+1  A: 

UML Studio does this quite well in my experience, and will run in "freeware mode" for small projects.

Patrick Johnmeyer
A: 

It its just diagrams that you want, doxygen does a pretty good job.