|
|
auto-generate UML diagram from C/C++ source files
Hi,
does anyone know of a nice (and easy to use) program which can
auto-generate a UML diagram from C/C++ source files ?
Thanks
[ See http://www.gotw.ca/resources/clcm.htm for info about ]
[ comp.lang.c++.moderated. First time posters: Do this! ]
|
|
0
|
|
|
|
Reply
|
troels_smit (2)
|
5/18/2005 10:27:21 AM |
|
On Wed, 18 May 2005 06:27:21 -0400, Troels Smit wrote:
> Hi,
>
> does anyone know of a nice (and easy to use) program which can
> auto-generate a UML diagram from C/C++ source files ?
>
> Thanks
>
Doxygen in addition with the DOT tools can make nice source code
documentation including inheritance diagrams, etc. Although configuration
is not that easy.
http://www.stack.nl/~dimitri/doxygen
Then there is autodia in conjunction with DIA.
from my debian box:
autodia generates UML diagrams from perl or C++ code
AutoDia creates UML files for use with dia. It scans your perl or c++
code, and generates class diagrams in dia's native file format (XML).
.
Support for other languages can be provided with plugins
I am confident that ports to other systems exist.
cheers, Marc Cromme
[ See http://www.gotw.ca/resources/clcm.htm for info about ]
[ comp.lang.c++.moderated. First time posters: Do this! ]
|
|
0
|
|
|
|
Reply
|
Marc
|
5/19/2005 9:12:11 AM
|
|
Rational Rose and other CASE products that advertise "round-trip"
engineering will produce UML from C++ source code.
Even Microsoft's Development Studio in combination with Visio will
generate at least the class entities, but you must manually add the
relationships.
There is a paucity of open source tools for UML diagramming C++ code.
Seems everyone concentrates on Java instead of C++.
Glen
[ See http://www.gotw.ca/resources/clcm.htm for info about ]
[ comp.lang.c++.moderated. First time posters: Do this! ]
|
|
0
|
|
|
|
Reply
|
dayton
|
6/15/2005 10:27:00 AM
|
|
http://uml.sourceforge.net/index.php
[ See http://www.gotw.ca/resources/clcm.htm for info about ]
[ comp.lang.c++.moderated. First time posters: Do this! ]
|
|
0
|
|
|
|
Reply
|
elviin
|
6/15/2005 11:04:37 PM
|
|
Besides the previous two solutions presented I've also had luck with:
http://www.sparxsystems.com/
You can evaluate it for free, and it's not too expensive. I'm not a
UML expert but so far it's met all my needs for creating class,
sequence, activity, etc. diagrams better than MSVC + Visio.
I've only tried creating the class diagrams from source though. It was
awhile ago and a few versions back, but if I remember right it seemed
to do the job fairly well for me.
HTH,
-Ryan
[ See http://www.gotw.ca/resources/clcm.htm for info about ]
[ comp.lang.c++.moderated. First time posters: Do this! ]
|
|
0
|
|
|
|
Reply
|
Ryan
|
6/15/2005 11:14:59 PM
|
|
In article <316d5fc0.0505172346.23dd4ec6@posting.google.com>, Troels
Smit <troels_smit@hotmail.com> writes
> Hi,
>
> does anyone know of a nice (and easy to use) program which can
> auto-generate a UML diagram from C/C++ source files ?
>
> Thanks
>
See, e.g. entries in:
http://www.objectsbydesign.com/tools/umltools_byCompany.html
--
Alec Ross
[ See http://www.gotw.ca/resources/clcm.htm for info about ]
[ comp.lang.c++.moderated. First time posters: Do this! ]
|
|
0
|
|
|
|
Reply
|
Alec
|
6/17/2005 1:21:46 PM
|
|
Ryan Gallagher wrote:
> Besides the previous two solutions presented I've also had luck with:
>
> http://www.sparxsystems.com/
>
> You can evaluate it for free, and it's not too expensive. I'm not a
> UML expert but so far it's met all my needs for creating class,
> sequence, activity, etc. diagrams better than MSVC + Visio.
>
> I've only tried creating the class diagrams from source though. It
> was awhile ago and a few versions back, but if I remember right it
> seemed to do the job fairly well for me.
I can second that. The tool has a few quirks and rough edges, but
compared to Rational Rose, it is refreshingly unobtrusive, and the bang
for the buck is enormous.
--
Gerhard Menzl
#dogma int main ()
Humans may reply by replacing the thermal post part of my e-mail address
with "kapsch" and the top level domain part with "net".
[ See http://www.gotw.ca/resources/clcm.htm for info about ]
[ comp.lang.c++.moderated. First time posters: Do this! ]
|
|
0
|
|
|
|
Reply
|
Gerhard
|
6/18/2005 9:20:16 AM
|
|
|
6 Replies
2436 Views
(page loaded in 0.125 seconds)
|
|
|
|
|
|
|
|
|