In the stereotype field for the operation you can write "const".
If your'e using VC++ then you can use the Model Assistant where there is a const check box for each operation (the Model Assistant just inserts const into the stereotype for the operation). Best regards Martin -----Original Message----- From: ext Mike Johnston [mailto:[EMAIL PROTECTED]] Sent: Thursday, 13 June, 2002 10:54 To: [EMAIL PROTECTED] Subject: (ROSE) Const methods in Rose Hi, How can I have const methods in Rose? I am trying to have something like "int display () const;". best regards Mike ************************************************************************ * 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 *************************************************************************
