Setting up name conversions - optional (Ada code)
You can customize how Modeler object names are inserted into your Ada code through Ada_mangle.ini. Typically, you do not have to change the Ada_mangle.ini file.
The Ada_mangle.ini file resides in the <<INSTALLEDDIR>>\Modeler\System\Adagen folder.
For each Modeler object type, you can add prefixes and suffixes. Specify the %parent% keyword to include the name of an item's parent item in a prefix or suffix.
The Ada_mangle.ini file specifies a maximum name length is 250 characters and the replacement of the numerous invalid characters, including the following:
• . with _
• - with _
• <space> with _
• & with nothing, that is, the character is deleted.
• * with nothing, that is, the character is deleted.
|
• The SDL scripts use %Custom "Ada Name" to return the mangled scoped name of an item, or %Custom "Unscoped Ada Name" to return the mangled unscoped name of an item.
• The Ada_mangle.ini file refers to a Package as a Category.
• When reverse engineering Ada code, the Reverser uses the Ada_mangle.ini file to match the names of Ada Code elements with the mangled names of model items.
|