Title: warm regards
hi,
 
   I am using Rational Rose for code generation from UML models. When i generate code using rose, it generates the CPP and Header files.
 
   Now i want to add function headers to each function in the source file, and class header to each class in the header file. Is there a way in Rose to get the header templates done? I tried my best to find some option, but it was not there.
 
   Any help on this would be appreciated.

 
Example of function header required:
 
 

/********************************************************************
* Function :  Suspend                                               *
* Returns  :  TRUE or FALSE                                         *
* Parameters: None                                                  *
* Purpose  :  This function is used to suspend the operation        *
*             of the USB peripheral                                 *
********************************************************************/

int device::Suspend()
{
 
 int nData = 0;
 return TRUE;
 
}

 
 
is there a way to generate automatically the part in green colour (above) for every function in the file?
 
 
 
regards
srikanth eswaran




Srikanth Eswaran
Senior Software Engineer,
Wipro Technologies,
Sri Chamundi Complex,
#26, Hosur Main Road,
Bommanahalli,
Bangalore 560068
Ph: 57
32296/3 Extn 3040
Mobile: 98450 56490
E-Mail: [EMAIL PROTECTED]
**************************Disclaimer************************************

Information contained in this E-MAIL being proprietary to Wipro Limited
is 'privileged' and 'confidential' and intended for use only by the
individual or entity to which it is addressed. You are notified that any
use, copying or dissemination of the information contained in the E-MAIL
in any manner whatsoever is strictly prohibited.


 ********************************************************************

Reply via email to