Sure.

In the that classes specification in the ANSI C++ tab you will find a
"SourceFileName" and a "HeaderFileName". Put in the exact name you wish to
have as your filename.

If you are using the Classic C++ add-in then you would do this using a
component. In it's simplest form you would name the component MyClass and
set the component as a package body (.cpp) and/or package specification
(.h).

Within the Classic C++ component you can further specify the filename by
using the "FileName" property in the C++ tab of the component
specifications.

Hope this helps.

JamesO

:> -----Original Message-----
:> From: [EMAIL PROTECTED] 
:> [mailto:[EMAIL PROTECTED]]
:> Sent: Thursday, July 26, 2001 3:58 AM
:> To: [EMAIL PROTECTED]
:> Subject: (ROSE) file name convention
:> 
:> 
:> 
:> Hi,
:> 
:> By default the code files generated for a class in rose have 
:> the same name as the class.
:> E.g. if the class in the rose model is CMyClass then the 
:> files generated for this class will
:> be CMyClass.cpp and CMyClass.h.
:> Is it possible to set some options within rose that will 
:> cause the files generated to be
:> MyClass.cpp and MyClass.h (i.e. without the C prefix)
:> 
:> Thanks
:> 
:> Rajesh
:> 
:> _____________________________________________________________________
:> Rajesh Motamarri                                             
:>                                BC 112
:> FCM software  Pick & Place                                   
:>                       POBox 218
:> Assembl�on Netherlands  B.V.                                 
:>                  5600 MD Eindhoven
:> Development Control Software                                 
:>                  Tel:  (+31) 40 27 22 708
:> Email: [EMAIL PROTECTED]                          
:>          Fax: (+31) 40 27 22 525
:> _____________________________________________________________________
:> 
:> 
:> *************************************************************
:> ***********
:> * 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