Hi,

I got the solution. I forgot to drag & drop the reverse engineered classes
in to the class diagram.
:)

Regards,

Chagla

 -----Original Message-----
From:   Chagla Syed [mailto:[EMAIL PROTECTED]]
Sent:   Monday, May 07, 2001 10:14 AM
To:     '[EMAIL PROTECTED]'
Cc:     '[EMAIL PROTECTED]'; '[EMAIL PROTECTED]'
Subject:        association & multiplicity

Hi,

When we reverse engineer the following code using Rose, I expect Rose to
show the association graphically, But it doesn't. It only shows them as two
separate classes & the model assistant describes the association. There is
no graphical representation of the association & multiplicity.

===============================Code==============================
//One apartment houses 0 to N tenants;
//One tenant lives only in one apartment

class CTenant;
class CApartment
{
        CTenant *m_tenant;
};

class CTenant
{
        CApartment m_apt;
};


===============================Code==============================
I expected this class diagram.


I--------------I                                I-----------------------        I
I          Io..n                        1       I               I
I CTenant I-------------------------------------------- I CApartment    I
I          I                            I               I
I--------------I                                I-----------------------        I

Is there any way Rose can get this diagram from the code?

Thanks & regards,

Chagla

************************************************************************
* 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/products/rose/usergroups/rose_forum.jtmpl
* Other Requests: [EMAIL PROTECTED]
*
* To unsubscribe from the list, please send email
*
* To: [EMAIL PROTECTED]
* Subject:<BLANK>
* Body: unsubscribe rose_forum
*
*************************************************************************

Reply via email to