Title: AW: (ROSE) reverse engineering
Following are the things that we developers need, while coding for big projects.
1. Generation of Trace Macros
    MyClass::foo()
    {
        TRACE("MyClass","foo",LEVEL_1);
 
        //    file processing
        //    .................
    }
 
    The Trace Macro is used for the debugging purpose, where in I need three arguments. Now Question is how to generate this code from the Rose while doing the forward engineering.
 
2. Generation of Comments
//------------------------------------------------------------     
// Name:        CHPFMSvrWorkFiles::SetServerFileNames
// Func:         Set server file names
// Param:       THPFM_FileNameVector &f_rFileVector
// Return:       None
// Exception:  None 
// Note:         None
//------------------------------------------------------------     
void CHPFMSvrWorkFiles::SetServerFileNames(THPFM_FileNameVector &f_rFileVector)
{  
    m_ServerFileNameVector = f_rFileVector;
}
    I think if we set the comments properly in the rose diagram, then while doing the forward engineering can these comments be generated, In the fashion shown here ? Also will it be possible for Rose to understand these comments while doing the reverse engineering.
 
 
Thanks and Regards
Harvinder Singh
 
----- Original Message -----
Sent: Thursday, October 10, 2002 1:17 AM
Subject: AW: (ROSE) reverse engineering

Harvinder,

the general design of Rose's language addins is that
the generation process is a black box. You can
influence/control the code generation by setting
the properties and settings specific to the addin.

For VC++, you can set properties for various UML elements,
like class, members, components (aka the VC++ project), etc
and some general settings (menu tools::VC++::preferences).

Also, you can trigger the code generation using the REI
(that would be more to explain, check out scrptref.hlp
in the Rose/help directory about using events).

If you might shed some light on what you plan to achieve,
we may be able to help you with more detailed answers.

Kind regards,
Volker
**************************************************************************
                              Volker Kopetzky
 Senior Systems Engineer/Expert             Phone: +49 / 89 - 62838 - 293
 Rational Software                          eFax:  +49 / 89 - 62838 - 593
 Keltenring 15                              Fax:   +49 / 89 - 62838 - 269
 D-82041 Oberhaching                         MailTo:[EMAIL PROTECTED]
 Germany                          URL: http://rational.volker-kopetzky.de
**************************************************************************

-----Urspr�ngliche Nachricht-----
Von: harvinder singh [mailto:[EMAIL PROTECTED]]
Gesendet: Donnerstag, 8. August 2002 10:04
An: [EMAIL PROTECTED]
Betreff: (ROSE) reverse engineering


I am sure many would have asked the same question that I am going to ask.

1. Is there a way in which we can control the reverse engineering process? probably using a script. I am specifically looking for VC++.

I am sure someone is there who might have done something on this front.

Thanks
Harvinder

Reply via email to