did you get the answer for this?  There are a couple of ways to do it.  Here
is my favorite.

Use dependency.  You can stereotype it <<bind>> to add clarity if you like.

[waitingQueue<patient>]
        |
        |  <<bind>>
        |
        \/
  [patient]

> -----Original Message-----
> From: Þórir Már Einarsson [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, February 22, 2001 7:22 AM
> To: '[EMAIL PROTECTED]'
> Subject: (ROSE) Parameterized classes + journals
> 
> 
> 
> 
> Hi
> 
> I have two questions for the forum.
> 
> Q1:
> I am interested to see how the following code would be 
> modelled in Rose.
> The issue I am thinking off is the relationship between the 
> parametrized
> class Waiting queue and the parameter Patient.
> 
> template <class Element>
> class WatingQueue {
> ...
> public:
>    void add( <Element>* i );
>    void remove (<Element>* i);
> ...
> }
> 
> class Patient;
> ...
> WatingQueue<Patient> WaitingRoom;
> 
> 
> 
> Q2:
> Can anyone also point out the MUST magazines, journals whithin Visual
> modelling/UML and OO.
> 
> 
> 
> Best regards
> Thor
> Kogun
> Iceland
> **************************************************************
> **********
> * 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
> *
> **************************************************************
> ***********
> 
************************************************************************
* 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