Kim Rachmeler (kim++at++castle.engr.sgi.com)
Wed, 01 Mar 95 17:37:26 -0800
>> We need some good object oriented CASE tool for a graphics project.
>> I would be nice to be able to read C++ code. Get class inheritance
>> graphs, call graphs etc. If we may edit and add new classes and then
>> generate new code it would be even better.
>> Anybody know about soemthing good for this. cvstatic is not so good when
>> it comes to C++ it seems - or am I just doing something wrong ?
I'm an engineer with the CASE group and you're right that
cvstatic isn't great with respect to C++. But there are two
additions to the tool that will get you at least part of what you
need.
(1) We now have the ability to parse code instead of
scanning it. This means that we can get more
information out of the source than we did before
but at the cost of a larger database and the
requirement that the source be compilable.
(2) We've added a special purpose C++ browser to cvstatic.
This tool is accessed from the Admin menu and runs
off of the parsed database.
The new C++ browser gives you fine-grain information about your
classes and their relationships. You get to see the class
definition in concert with all the data and methods it inherited
from its parents in an outline format. You can make queries about
who defines/declares/uses a particular method and see the answer
highlighted in the parent/child companion outline. And for any given
query, you can see the answer in the standard static analyzer and
go directly to the code involved.
In addition to looking at specific classes, the browser can show
you graphs of class inheritance, containment, interaction, and
friends.
The one thing you mentioned that we don't do is allow you to
edit the graph and generate new code.
Feel free to call or send mail with any questions you might have
about WorkShop support for C++.
Kim Rachmeler
This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:51:02 PDT