473,394 Members | 1,932 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

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

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 .
Jul 22 '05 #1
4 5457
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.
--
Peter van Merkerk
peter.van.merkerk(at)dse.nl
Jul 22 '05 #2
Peter van Merkerk wrote:
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.
Jul 22 '05 #3
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?
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
<me*****@deadspam.com> wrote: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.


Jul 22 '05 #4
On Sun, 28 Nov 2004 14:03:20 -0600, Matt
<ma**@downwithspammers-mengland.net> wrote:
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
Jul 22 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Stephen | last post by:
I need to generate input XML for another application by serialising classes defined in an XSD document. The code below will generate the XML I require but I need to generate this in memory rather...
29
by: Lauren Wilson | last post by:
Does anyone know how the following info is extracted from the user's computer by a Front Page form? HTTP User Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041107...
1
by: | last post by:
please help me!
12
by: anna | last post by:
Map, generate, and maintain 50% of your .NET application code, namely your business and data objects. Use these objects in ASP.NET, Windows Forms, console or services applications. Business and...
4
by: Chris Bower | last post by:
Reposted from aspnet.buildingcontrols: Ok, I've got a bunch of derived controls that all have a property Rights of type Rights (Rights is an Enumerator). I wrote a custom TypeConverter so that I...
1
by: A Traveler | last post by:
Hello, i am having this problem. The exact error message is: "Unable to generate code for a value of type 'System.Web.UI.Page'. This error occurred while trying to generate the property value for...
0
by: roberto | last post by:
This is basically repost of my previous (unanswered) question. What I try to do is to generate Web controls on the Page surface during design time from withing my own component; they do appear in...
7
by: Sharon | last post by:
I'm writing my own control that derived from the UserControl. In my control I have some public properties (with get and set) that I do not want them to be shown on the designer properties window...
111
by: Nate | last post by:
Hello, I am looking for a method to automatically declare variables in C. I'm not sure if there is a good way to do this, but I had something like this in mind... int i; for(i = 1; i < 4;...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.