Page 1 of 1

Populated function generation C++

PostPosted: Thu Nov 09, 2017 5:35 pm
by prakash_jha@nihonkohden.com
Hi,

I am trying to generate C++ code from MagicDraw class diagram; it only generates empty stubs for functions.

Is there any way to generate couple of functions with some common code for all classes? Will macros be helpful? Or is there something like templates as in documentation generation, where I can loop through elements, pickup class member variables, and generate a file with implemented functions. If not directly through MagicDraw, any plugin that can do this or any recommended tool that can do it? Any and all help on this topic will be much appreciated.

Thanks in advance.

Re: Populated function generation C++

PostPosted: Wed Nov 15, 2017 12:45 am
by bhoomchai
Hi,
You can look at the plugin, "Embedded Engineer for MagicDraw".
https://www.nomagic.com/sysmlcodegen/

Best regards,
No Magic Customer Support

Re: Populated function generation C++

PostPosted: Thu Jan 03, 2019 3:29 am
by tomhennry@protonmail.com
The function which will be getting the working part uneasy while having the task that is having for the populated function generation c ++ where it may be going to manage the particular aspects by the help of Epson printer not printing to facilitate the part.