Populated function generation C++

General discussions about code engineering

Moderator: Moderators

Populated function generation C++

Postby prakash_jha@nihonkohden.com » Thu Nov 09, 2017 5:35 pm

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.
prakash_jha@nihonkohden.com
Forum Newbie
Forum Newbie
 
Posts: 1
Posts Rating:0
Joined: Thu Nov 09, 2017 3:54 pm

Re: Populated function generation C++

Postby bhoomchai » Wed Nov 15, 2017 12:45 am

Hi,
You can look at the plugin, "Embedded Engineer for MagicDraw".
https://www.nomagic.com/sysmlcodegen/

Best regards,
No Magic Customer Support
bhoomchai
Customer Support
Customer Support
 
Posts: 36
Posts Rating:5
Joined: Thu Jan 21, 2010 12:38 am

Re: Populated function generation C++

Postby tomhennry@protonmail.com » Thu Jan 03, 2019 3:29 am

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.
tomhennry@protonmail.com
Forum Newbie
Forum Newbie
 
Posts: 1
Posts Rating:0
Joined: Thu Jan 03, 2019 3:26 am


Return to Code engineering

Who is online

Users browsing this forum: No registered users and 0 guests

cron