Book a Demo

Author Topic: Reverse Engineering C++  (Read 2388 times)

Tekker

  • EA Novice
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
Reverse Engineering C++
« on: March 04, 2009, 06:57:24 am »
Hi,

I'm new to a lot of this, so sorry if this is a stupid question or obviously & easily answered.  I'm swallowing my pride because I value productivity & knowledge over ego  :-)


I've used EA to create (reverse engineer) class diagrams from .h files (C++ code), no problem, this is pretty straightforward.

What I need/want to is to show "use" relationships on the class diagrams, i.e. let's say I have an object named "foo" (of type class Foo) that calls bar.reset() (bar is of type class Bar) -- I'd like to show that "use" relationship on the class diagram.  Obviously this is not in the header file, it's in the implementation (.cpp) file.

But unless I screwed something up, even reverse-engineering the .cpp files (along with the .h files) doesn't show/include this relationship.  It seems like it should be pretty easy to detect/recognize in the source file, and represent in the class diagram.

Am I missing something?

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Reverse Engineering C++
« Reply #1 on: March 04, 2009, 08:37:32 am »
EA won't import any relationship for that.