C++Talk.NET Forum Index C++Talk.NET
C++ language newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

How to generate UML for C++ code in windows system?

 
Post new topic   Reply to topic    C++Talk.NET Forum Index -> C++ language (comp.lang.c++)
View previous topic :: View next topic  
Author Message
jin zhang
Guest





PostPosted: Thu Oct 07, 2004 1:03 am    Post subject: How to generate UML for C++ code in windows system? Reply with quote



I am debugging somebody else's code, it is too hard to read it without any
doc.
Are there any UML generater which can work on windows that I can use?
Please help.

Thank you .
Back to top
Peter van Merkerk
Guest





PostPosted: Thu Oct 07, 2004 8:37 am    Post subject: Re: How to generate UML for C++ code in windows system? Reply with quote



jin zhang wrote:
Quote:
I am debugging somebody else's code, it is too hard to read it without any
doc.
Are there any UML generater which can work on windows that I can use?

Doxygen (www.doxygen.org) in combination with graphviz
(www.graphviz.org) can generate nice documentation with class and
collaboration graphs from C++ source code.

Also many UML tools have a reverse engineering feature, though
personally I prefer Doxygen for this kind of thing.
--
Peter van Merkerk
peter.van.merkerk(at)dse.nl

Back to top
Robby De Smedt
Guest





PostPosted: Fri Oct 08, 2004 6:23 am    Post subject: Re: How to generate UML for C++ code in windows system? Reply with quote



Peter van Merkerk wrote:

Quote:
jin zhang wrote:
I am debugging somebody else's code, it is too hard to read it without
any
doc.
Are there any UML generater which can work on windows that I can use?

Doxygen (www.doxygen.org) in combination with graphviz
(www.graphviz.org) can generate nice documentation with class and
collaboration graphs from C++ source code.

Thanks it is a great tool for generating documentation from my c++ source

files.

Back to top
Matt
Guest





PostPosted: Sun Nov 28, 2004 8:03 pm    Post subject: Re: How to generate UML for C++ code in windows system? Reply with quote

On Thu, 07 Oct 2004 10:37:08 +0200, Peter van Merkerk
Quote:
Doxygen (www.doxygen.org) in combination with graphviz
(www.graphviz.org) can generate nice documentation with class and
collaboration graphs from C++ source code.

I will be looking to set this up in the near future. I do not yet
seen any references for setup instructions for such a combination
"doxygen + graphviz". Does anyone have any pointers for such a thing?
If not, I'm hoping it will be easy for me to pick up.

I am hoping to generate overall UML-based class diagrams that describe
my various C++ code bases.

Thanks for any help,
-Matt



On Thu, 07 Oct 2004 10:37:08 +0200, Peter van Merkerk
<merkerk (AT) deadspam (DOT) com> wrote:
Quote:
jin zhang wrote:
I am debugging somebody else's code, it is too hard to read it without any
doc.
Are there any UML generater which can work on windows that I can use?

Doxygen (www.doxygen.org) in combination with graphviz
(www.graphviz.org) can generate nice documentation with class and
collaboration graphs from C++ source code.

Also many UML tools have a reverse engineering feature, though
personally I prefer Doxygen for this kind of thing.


Back to top
Matt
Guest





PostPosted: Mon Nov 29, 2004 1:33 am    Post subject: Re: How to generate UML for C++ code in windows system? Reply with quote

On Sun, 28 Nov 2004 14:03:20 -0600, Matt
<matt (AT) downwithspammers-mengland (DOT) net> wrote:

Quote:
On Thu, 07 Oct 2004 10:37:08 +0200, Peter van Merkerk
Doxygen (www.doxygen.org) in combination with graphviz
(www.graphviz.org) can generate nice documentation with class and
collaboration graphs from C++ source code.

I will be looking to set this up in the near future. I do not yet
seen any references for setup instructions for such a combination
"doxygen + graphviz". Does anyone have any pointers for such a thing?


To answer my own question:

One must install graphviz per their install instructions (I did so on
a WinXP system using the Windows binaries...I wasn't sure whether or
not to put the "thirdparty" stuff in, but I did so right on top of the
graphviz install dirs).

Then one must set the appropriate DOT* variables in the Doxyfile
config file, namely the HAVE_DOT variable. 'dot' or 'dot.exe' is
found in the graphviz distribution. Put dot.exe's path in the system
PATH variable on Windows (alternative, point DOT_PATH to the to this
same path...but I could not get this to work).

After doing all this I was able to make some nice graphs. There are
other Doxyfile config settings/variables that can produce more or less
graphical stuff.

-Matt



Back to top
Display posts from previous:   
Post new topic   Reply to topic    C++Talk.NET Forum Index -> C++ language (comp.lang.c++) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.