Yes ! I hadn't thought of that ! Thanks ! Joe
> -----Original Message----- > From: Netherwood Paul [mailto:[EMAIL PROTECTED]] > Sent: Thursday, February 07, 2002 11:49 AM > To: Simon, Jb > Subject: RE: (ROSE) Parameterized Class : Inherit from a parameter > > > I haven't found a cleaner way but one thing you can do is > assign your dummy > classes to the same component as the template to prevent the includes. > > > -----Original Message----- > > From: Simon, Jb [mailto:[EMAIL PROTECTED]] > > Sent: 07 February 2002 16:26 > > To: '[EMAIL PROTECTED]' > > Subject: (ROSE) Parameterized Class : Inherit from a parameter > > > > > > > > > > Hi. > > > > I need to create a parameterized class that looks like : > > > > > > template <class myClass, > > void (*created_handler)(void* object), > > void (*changed_handler)(void* object), > > void (*removed_handler)(void* object) > > > > > class SOHCallback : public myClass::Callback > > { > > ... > > }; > > > > How do I get it to generate the "public myClass::Callback" > > inheritance ? > > > > I made it do it by generating a dummy set of classes, myClass > > and Callback, > > The code generation works correctly, the only drawback is > > that It inserts > > the include for "myclass.h". > > > > I created a dummy myclass.h file which is empty. > > > > Is there a way to make Rose do this cleaner ? > > > > Thanks > > Joe Simon > > Lockheed Martin, Systems Integration, Owego > > > > > > ************************************************************** > > ********** > > * 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 *************************************************************************
