|
Harvinder,
The best shot would be to use the template mechanism.
For more information about this you need to check out
the
online help. Best way (to reduce the searching
space:-)
would be to open the model assistant on a class and
then
select the help button.
Within the help, select the topic:
Rose Visual C++ :: Concepts :: Code Templates
The trick would be to define standard templates
for the body and the operation.
I'm not too experienced with VC++ (and C++
neither:-),
so if someone else might give us a hint about how to
efficiently manage Macros... Girls&Boys out there!
Kind regards,
Volker
-----Urspr�ngliche Nachricht-----
Von: harvinder singh [mailto:[EMAIL PROTECTED]] Gesendet: Freitag, 18. Oktober 2002 14:42 An: Kopetzky, Volker Cc: [EMAIL PROTECTED] Betreff: Re: (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
//------------------------------------------------------------
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.// 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; } Thanks and Regards
Harvinder Singh
|
Title: AW: (ROSE) reverse engineering
- AW: (ROSE) reverse engineering Kopetzky, Volker
- Re: (ROSE) reverse engineering harvinder singh
- Kopetzky, Volker
