I am just evaluating VP-UML. One very important feature is a simple way to reverse engineer existing C++ code. Instant reverse seems to works well for C++ but no inheritance relationships are recognized. Ther are no generalization relationships in the reverse engineered model. Even something as simple as this is not parsed correctly
class A {
public:
int X;
};
class B : public A {
public:
int Y
};
Actually, it also doesn’t recognize the Y member of class B.
The Y member will show up again when there is a semi-colon.
Oops, you are right. Never do an example without asking the compiler
About the missing generalization, please try this:
Right-click on the Super Class
Select Related Model > Show Relationships > All from the popup menu
I tried this, but without success. When I add the generalization relation manually, these steps work and I can also see the relationship in the Class Specification dialog of classes A and B. However, there is no generalization relation after instant reverse. But I cannot believe, that instant reverse is not able to parse inheritance in C++. So I might still be missing something here.
here comes the log file. Lots and lots of warnings about “null” stereotypes. In the last session in this log file I again startet instant reverse on the file containing the two classes.
May I hold an online meeting with you now to take a look at this problem? In the meeting, I can see your screen. If you agree, I will setup the meeting now and send you the information to join the meeting.
After starting of eclipse it will be created the file “vp.log” in the eclipse installation folder. I dont have this file in the VP installation folder.