Solution ID #112165512.
http://eservice.rational.com/eservice/start.swe?SWEMethod=Drilldown&SWEApple t=FAQ+List+Applet+Find+(eService)&SWEView=FAQ+List+View+(eService)&SWEApcnt= 2&SWEField=l_FAQ&SWECmd=InvokeMethod&SWECount=2&SWERowIds=SWERowId0%3d1-78QY W If this above link does not work then, please go to http://eservice.rational.com and look for the Solution ID #112165512. > -----Original Message----- > From: Rasmus Debitsch [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, May 22, 2002 11:25 PM > To: rose_forum > Subject: (ROSE) Generation of C++ constants > > > > 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 > ************************************************************** > *********** > ************************************************************************ * 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 *************************************************************************
