Advanced: Creating Customized OSIs : Customizing API Definitions : Customizing Code Style : File Header/Footer

File Header/Footer
 
Example Definition
Where Used
Generated File Header(profileName, fileName, module_name, genDate, genTime, chartsList, profileOptions, project, workarea, profileVersion)
?<begin>$<chartsList> ?<!=> ?<?>$<chartsList>?<:>
?<end>/* Project: $<project> */
/* Workarea: $<workarea> */
/* Profile Name: $<profileName>, Version: $<profileVersion> */
/* File Name: $<fileName> */
/* Date: $<genDate>, $<genTime> */
?<begin>$<profileOptions> ?<!=> ?<?>$<profileOptions>?<:>?<end>
Determines the format of the various comments added to each generated file, such as profile name, date, file name, information regarding the charts in the module.
Will be affected by the code-generation option: Additional Model Description.
This API definition is used at the head of each one of the generated files.
?<begin>$<chartsList> ?<!=> ?<?>$<chartsList>?<:>
?<end>/* Project: $<project> */
/* Profile Name: $<profileName>, Version: $<profileVersion> */
?<begin>$<profileOptions> ?<!=> ?<?>$<profileOptions>
/* File Name: C:\myWa \prt\prof1\<file-name> */
/* Date: Sunday, January 15, 2006, 10:05:25 */
Generated File Footer(profileName, fileName, module_name, genDate, genTime, chartsList, profileOptions, Project, Workarea, profileVersion)
/* End of generated file */
Determines the format of the various comments added to each generated file, such as profile name, date, file name, information regarding the charts in the module.
Will be affected by the code-generation option: Additional Model Description.
This API definition is used at the footer of each one of the generated files.
API definition:
/* End of generated file */
Generated Profile H File Header(profileName, fileName, genDate, genTime, profileOptions, project, workarea, profileVersion)
?<end>/* Project: $<project> */
/* Workarea: $<workarea> */
/* Profile Name: $<profileName>, Version: $<profileVersion> */
/* File Name: $<fileName> */
/* Date: $<genDate>, $<genTime> */
?<begin>$<profileOptions> ?<!=> ?<?>$<profileOptions>
Determines the format of the various comments added to the generated file <profile-name>.h, such as profile name, date, file name.
Will be affected by the code-generation option: Additional Model Description.
This API definition is used at the head of the file <profile-name>.h.
Generated Profile H File Footer(profileName, fileName, genDate, genTime, profileOptions, Project, Workarea, profileVersion)
"/* End of generated file */
Determines the format of the various comments added to the generated file <profile-name>.h, such as profile name, date, file name.
Will be affected by the code-generation option: Additional Model Description.
This API definition is used at the footer of the file <profile-name>.h.
Profile .c File Header(profileName, fileName, genDate, genTime, profileOptions, Project, Workarea, profileVersion)
""#include ""$<profileName>.h
Determines the header of the file: <profile-name>.c.
This API defines the header of the generated file <profile-name>.c
API Definition:
#include "$<profileName>.h"
#include "$<profileName>.h"