This capability is enabled for C and C++ code by applying the "codecCentric" settings to the model, and it occurs automatically when reverse engineering code.
通过对模型应用“”设置,该功能对于 C 和 C++ 也是适用的,当操作的是逆向工程代码时,它会自动发生。
Now create a UML-to-C++ transformation configuration with this model as the source and the C++ project as the target.
现在创建一个从 UML 到 C++ 的转换,并将该模型配置成源,C++ 项目配置成目标。
This makes the migrated code model compatible with the C# transformation components, which enables the model to participate in UML-to-C# (forward) and C#-to-UML (reverse) transformations.
这使得迁移的代码模型与 C# 转换组件保持一致,这样模型就能够参与到 UML-to-C# (向前进) 和 C#-to-UML (向后退)的转换中。
应用推荐