473,802 Members | 2,468 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 5474
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.merke rk(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
collaboratio n 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*****@deadsp am.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
collaboratio n 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**@downwiths pammers-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
collaborati on 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
2082
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 than creating a file. I assume I should be using System.IO.MemoryStream but can't get this to work. ' XML will be serialized to file.xml, in UTF-8, with BOM. Dim tw As New System.Xml.XmlTextWriter( _ New System.IO.FileStream("file.xml",...
29
3758
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 Firefox/1.0 I only ask because I believe I could use the same info as part of a scheme to generate a unique (or at least less common) serialized id code for the user's computer as part of a software locking and activation system. If I had a DLL...
1
1285
by: | last post by:
please help me!
12
1677
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 Data Objects Framework -- Map objects to relational databases -- Embed SQL, stored procedure calls, and business rules -- Generate .NET components in C# and VB.NET -- Use components in your own high-traffic custom applications
4
2563
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 can use comma separated values in design-time. The TypeConverter works great in design-time. It converts to and from just fine... However, when I try to load any page in the site now I get the following error (Following the error is code for the...
1
2328
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 Page." After a lot of googling, all i can find that this applies to is when trying to use enum-type datatypes as bit-vector flags, or when use designers to make an expandable property in the property tool-window. However, NEITHer of these...
0
949
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 the code behind but not on the surface of Designer. Moreover, they DO exist in container.Components collection. May be someone knows (at least) how to make a control to generate it's own html design time code (this <of type <asp:...>, not HTML...
7
2641
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 and I also do not want the Windows Form Designer to generate code automatically on the user Form for them. To block the properties from being shown on the designer properties window I use: public int MyProp
111
4692
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; i++){
0
9699
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9562
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
10282
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9111
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7598
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6838
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5494
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4270
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3792
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.