Hi,
We are 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 headers 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 CUSBPeripheral::Suspend()
{ int nData = 0;
FireEvent(USB_SUSPEND ,&nData); if (m_nUSBSuspend == FALSE)
{
m_nUSBSuspend = TRUE;
}
//set the resume bit in USBSTA register
m_ucCtrlStatRegs[USBSTA] = m_ucCtrlStatRegs[USBSTA] |
SETSUSPENDBIT;
return TRUE; }
Regards
Sudha.
begin:vcard
n:Paidipati;Sudha Rani
tel;cell:9845234298
tel;home:8382596
tel;work:5588422
x-mozilla-html:FALSE
url:www.wipro.com
org:Wipro Technologies;Interops
version:2.1
email;internet:[EMAIL PROTECTED]
title:Sr.Software Engineer
adr;quoted-printable:;;#88 S.B Towers=0D=0AM.G Road =0D=0A;Bangalore;Karnataka;560027;India
fn:Sudha Paidipati
end:vcard
**************************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.
********************************************************************