Hello,

I want to generate class constants with the C++ code generator. The constants should 
be defined in the header file of the class. It should look like this :

myclass.h:
        static const unsigned long DefaultTimeoutTicks = 50;

When using the C++ code generator I always get code like this:

myclass.h:
        static const unsigned long DefaultTimeoutTicks;

myclass.cpp:
        const unsigned long MyClass::DefaultTimeoutTicks = 50;

Is it possible to get the "header file only" version with the C++ code generator. Is 
there any hidden switch to get the desired version ?

Using the ANSI C++ or Visual C++ code generators is no option for me. This has 
historic reasons.        

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

Reply via email to