Juergen Dallner <[EMAIL PROTECTED]>@rational.com on 03/15/2001
11:45:14 AM

Please respond to Juergen Dallner <[EMAIL PROTECTED]>

Sent by:  [EMAIL PROTECTED]


To:   Rose Forum <[EMAIL PROTECTED]>
cc:

Subject:  (ROSE) Kind of operation-parameters (in,out,inout)



Hi all,

>>does anyone of you know, how it is possible, to mark parameters from
operations
as in, out or inout parameters?

you mean like in Fortran 90,:-) as far as I know it is not possible to fix
from the design.

>>Is this possible, independent from the generated language? For Ada it
seems to
>>work.

In C++ you can do, but specifing it with the C++ syntax:
int i        // in argument C++ always make a copy of the imput argument
that are defined by value
int& i       // in and out
const int& i // in only

the out argument in C++ is not possible to specify.

I don't know any other way to specify that. I am sorry.



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