hello, 
please move me from the group 
thanks 
Melina

-----Mensagem original-----
De: David Olsen [mailto:[EMAIL PROTECTED]]
Enviada em: quinta-feira, 26 de julho de 2001 14:17
Para: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Assunto: Re: (ROSE) file name convention



[EMAIL PROTECTED] wrote:
> 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)

The answer depends on which of the three C++ add-ins you are using to
generate code.  I can only speak for the ANSI C++ add-in.

Currently, the only way to override the default (where the file name is
the same as the class name) is to use the HeaderSourceFile and
BodySourceFile properties on the ANSI C++ tab of the class specification
to specify the desired file names.  But this has to be done for each
class individually.  There is no way to set flags globally that will
affect all classes.

But the feature you want is coming.  In the next release of Rose, the
ANSI C++ add-in will give the user much more control over the generated
file names, including stripping of a given prefix from all class names.

-- 
David Olsen              [EMAIL PROTECTED]          Rational Software
************************************************************************
* 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