Dear Unknown,

Rose-UML, as an object oriented notation does not really define that 
as a concrete code mapping.

Question for me is, if you use a non-class function with file scope,
and if you only have one class statement in that file:
where yould this function be used outside of your class?
If it is only used 'within' the class, you can add this function
to the class....

Generally spoken:
Non-OO code is not generated by Rose 
(well, there are unions and structs...;-)

For more information about the code-to-UML mapping for any language
addin in Rose, please refer to online Help:
<tool name>/reference

Best regards,
Volker

-----Ursprungliche Nachricht-----
Von: qazmlp qazmlp [mailto:[EMAIL PROTECTED]]
Gesendet: Mittwoch, 29. August 2001 12:13
An: [EMAIL PROTECTED]
Betreff: (ROSE) file scope function from rose




My doubt is regarding the code generation from Rose: -

i have a class
class temp
{
  int x;
 void func()
 {
 }
};

When i generate code(.h file) for this class from ROSE diagram, it is fine.

But, inside that source code, i want to have a non-class function which has
file scope. How do i generate that function from Rose ?





 



************************************************************************
* 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
*
*************************************************************************
************************************************************************
* 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
*
*************************************************************************

Reply via email to