The specification file ends with a footer whose content
is determined by the C_CG::File::SpecificationFooter property.
The following example is the default content for
the SpecificationFooter property for C:
/***************************************************
File Path: $FullCodeGeneratedFileName
****************************************************/
The variable FullCodeGeneratedFileName is
replaced with the name of the specification file. You can change the
generated footer by modifying the SpecificationFooter property.
Footer format strings can contain any of the following keywords:
- $ProjectName for the project name.
- $ComponentName for the component
name.
- $ConfigurationName for the configuration
name.
- $ModelElementName for the name
of the element mapped to the file. If there is more than one, this
name is for the first element.
- $FullModelElementName for the
name of the element mapped to the file, including the full path. If
there is more than one, this name is for the first element.
- $CodeGeneratedDate for the generation
date.
- $CodeGeneratedTime for the generation
time.
- $Rational RhapsodyVersion for
the version of the product that generated the file.
- $Login for the user who generated
the file.
- $CodeGeneratedFileName for the
name of the generated file.
- $FullCodeGeneratedFileName for
the full file name.
- $Tag for the value of the tag
for specified element.
- $Property for the value of the
element property with the specified name.
To avoid redundant compilation, the product avoids
unnecessary changes to specific lines prefixed with a special string,
defined by the C_CG::File::DiffDelimiter property.
The default DiffDelimiter value is //!.
The keywords are resolved in the following order:
- Predefined keywords (such as $Name)
- Property keywords
- Tag keywords
Note the following:
- Keyword names can be written in parentheses. For
example:
$(Name)
- If the value of a keyword is a MultiLine, each
new line (except the first one) starts with the value of the C_CG::Configuration::DescriptionBeginLine property;
each line ends with the value of the C_CG::Configuration::DescriptionEndLine property.