I have a question about the best way to represent the following in a Rose
diagram:
class Vector() {...};
class Bar() {...};
class Foo {
private:
Vector* _bars;
public:
int insert(Bar* someBar) {_bars->insert(someBar));
}
The class foo has as a private member a vector. When reverse engineering
this code, one would get a class Foo with an association to the class Vector
with the role _bar. However, from looking at the code, it is clear that
what is really happening is that the class Foo uses Vector to maintain a
list of Bars. How can this been shown in a Rose Diagram. I tried creating
an association between Foo and Bar with the role _bars, and then using
Vector as an association class. The problem with this is that I can not do
this more than once per class.
Rich
**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.
This footnote also confirms that this email message has been swept by
the latest virus scan software available for the presence of computer
viruses.
**********************************************************************
************************************************************************
* Rose Forum is a public venue for ideas and discussions.
* For technical support, visit http://www.rational.com/support
*
* Post or Reply to: [EMAIL PROTECTED]
* 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
*************************************************************************