Astah Professional and UML support modeling in Java, C++, and C#.
If you are modeling in C++, set so in Astah first.
You can import C# source code by using this C++ Reverse Plug-in (free).
Astah generates C++ Skeleton Code from selected Diagram Elements.
The definitions of classes and operations are exported as Documentation Comments.
1. Go to [Tools] – [C++] – [Export C++] in the Main Menu.
2. Select the target folder, target classes you’d like to export by moving them to the “Selected List” from the “Candidate List”. Click [OK]. And make sure you choose the correct charset.
3. The source code files would be generated.
If there are source code files that have the same name, the source code files would be completely replaced with what you last export.
If you do not want the latest export to overwrite the whole source code and you want to keep any modifications you’ve made to the .java files, check [When overwriting, keep the information of existing code that is not in the model.] option.
|Export #ifndef, #define, #endif in header file.||
Export #ifndef, #define and #endif to a header file.
Export a list divided by , (comma) to a header file and a resource file
i.e.）When exporting string, vector:
|Header file extension||
Specify the header file extension (h, hxx)
|Source file extension||
Specify the source file extension (cpp, cxx)