Hi all,
I have two classes,say class1 and class2,and there's an association with 1..*
multiplicity from class2 to class1.I implement them using C++ and STL as following:
#include <list>
using namespace std;
class class1{
};
typedef list<class1*> class1_list;
class class2{
protected:
class1_list lots_of_class1;
};
That's absolutely OK.Now I use Rose to do reverse-engineering on the code(for
example,create a new VC++ model project in Rose,and then use Tool->Visual C++->update
model from code).Of course,in the model Rose created,there's class1,class2,and an
association named "lots_of_class1",it seems that everything is OK.
Then here comes my problem:let's check the class diagram ... there's no association
displayed as expected between the two classes,and when I try to drag the association
"lots_of_class1" from browser window to class diagram window,Rose refuses it.
Now if I show this class diagram to others,they may think there's no relationship
between class1 and class2 at all,for they cannot see any associations.
Is there something wrong on my approach?Or can there be a way to resolve it?
Thank you very much!
Murphy Lu
************************************************************************
* Rose Forum is a public venue for ideas and discussions.
* For technical support, visit http://www.rational.com/support
*
* Admin.Subscription Requests: [EMAIL PROTECTED]
* Archive of messages: http://www.rational.com/support/usergroups/rose/rose_forum.jsp
* Other Requests: [EMAIL PROTECTED]
*
* To unsubscribe from the list, please send email
*
* To: [EMAIL PROTECTED]
* Subject:<BLANK>
* Body: unsubscribe rose_forum
*
*************************************************************************