Re: Reverse engineer C++ to static structure
- From: "Bob Altman" <rda@xxxxxxxxxxxxx>
- Date: Thu, 5 Feb 2009 11:51:28 -0800
Barb, thanks for the quick reply!
At your suggestion, I tried dropping a wider variety of reverse engineered
classes onto the Static Structure page. It does auto-magically draw an
"inherits" arrow between two of my classes that have this relationship
(where the base class is abstract), but it doesn't draw any sort of
relationship between other classes that have this relationship (where
neither class is abstract). And it doesn't draw any sort of "contains" or
"uses" relationship between a class C1 that has a member variable of type C2
and a class C2 on the same page.
Bob
"Barb Way" <barbway@xxxxxxxxxxxxxxxxxxxx> wrote in message
news:c7mI9uyhJHA.676@xxxxxxxxxxxxxxxxxxxxxxxxx
I don't really use the UML solution, but here's what I understand...
After you Reverse engineer your app into Visio, it's up to you to place
the
objects on the page into the Static Structure (or other) diagram. Any
class
relationships should be generated as connectors as soon as you drop the
second class on the page. So you should be able to simply drop class1 on
the page, and then drop class2, and the defined relationship should appear
without any manual steps.
If that is not occurring, then it seems likely that the UML model didn't
get all the required information from your project. Make sure that you
rebuild any project before performing the Reverse Engineer action in
Visual
Studio. Also check to see that your expected relationships are present in
the version you are initiating the Reverse Engineer from.
Barb Way
Product Support - Visio
Microsoft Corporation
[This posting is provided "As Is" with no warranties, and confers no
rights.]
--------------------
Hi all,
I have VS 2005 Team Suite and Visio for Enterprise Architects. In VS, I
used the "Project->Visio UML->Reverse engineer" menu option to create a
Visio project from an native C++ app.
Now, I have a Visio project that displays all of my classes in the Model
Explorer. But the Static Structure chart is empty. I can drag classes
from
Model Explorer to the Static Structure diagram, but there doesn't seem to
be
any magic that displays the relationships between the classes.
Am I missing something? "Reverse engineering" my C++ classes to classes
in
the Visio Model Explorer is a good start, but it doesn't get me very far
unless I can see how the classes are related.
TIA - Bob
.
- Follow-Ups:
- Re: Reverse engineer C++ to static structure
- From: Barb Way
- Re: Reverse engineer C++ to static structure
- References:
- Reverse engineer C++ to static structure
- From: Bob Altman
- RE: Reverse engineer C++ to static structure
- From: Barb Way
- Reverse engineer C++ to static structure
- Prev by Date: RE: Reverse engineer C++ to static structure
- Next by Date: Re: Reverse engineer C++ to static structure
- Previous by thread: RE: Reverse engineer C++ to static structure
- Next by thread: Re: Reverse engineer C++ to static structure
- Index(es):
Relevant Pages
|