Say the executable that you are going to be writting is called myTool. Then
I usually create a static class called myTool, add a method called main()
and show that it creates an instance of InputReader and calls whatever the
first method that needs to be called.

Since all of our classes start with UpperCase letters, it is visually
recognizable that myTool is not a "normal" class. Of course, we've done it
that since before UML. So, now you could stereotype it to be a <<main>> type
class or whatever.

        James.

> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of
> [EMAIL PROTECTED]
> Sent: Monday, December 04, 2000 11:15 PM
> To: [EMAIL PROTECTED]
> Subject: (ROSE) Inclusion of main() in Sequence Diagrams(newbee)
>
>
>
>      Hello all,
>
>      i am doing Sequence diagrams for a module to be
> developed in C++. In
>      case of C++, the first function to be called is main().
> In my Sequence
>      Diagram, do i show main()?? if yes, then which class
> does it belong??
>
>      say i have a class InputReader which reads the input
> from the user.It
>      is an boundry class and the first class to be called.
>
>      in this case, where do i include main() in the seq.
> diagram and how do
>      i call a function in InputReader ??
>
>      Hope the problem is clear.
>
>      Regards,
>      Vivek
>
>
> **************************************************************
> **********
> * 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