Astah supports 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 in the “Select” Dialog, the target Model and click [OK].
|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)