Model by using files

With IBM® Rational® Rhapsody® Developer for C you can create model elements that represent files. A file is a graphical representation of a specification (.h) or implementation (.c) source file.

This model element enables you to use functional modeling and take advantage of the capabilities of the product (modeling, execution, code generation, and reverse engineering), without radically changing the existing files.

Note: Files are not the same as the file functionality in components that existed in previous versions of the product. To differentiate between the two, the new file is called File in Package and the old file element is called File in Component. A File in Component includes only references to primary model elements (package, class, and object) and shows their mapping to physical files during code generation.

A file element can include variables, functions, dependencies, types, parts, aggregate classes, and other model elements. However, nested files are not allowed.

The product supports the following modeling behavior for files:


Feedback