• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Ron McLeod
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

Code generation from UML to C++

 
author
Posts: 469
20
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I need a tool (preferably FREELY available) which can generate C++ code from a UML model which uses OCL. Can anyone please suggest me some tool to accomplish this requirement ?
regards
ashish sarin
 
(instanceof Sidekick)
Posts: 8791
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Well, this is a Java forum so I don't have any C++ answers. For Java, we use a Rational Rose script from Unisys that exports a Rose model to XMI. From there we use a vendor written XSL script to translate XMI to Java.
If you can find a free UML tool that exports XMI you could probably write your own XSL to do the transform to C++. I hate XSL so I won't offer to help
 
Ashish Sarin
author
Posts: 469
20
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks.
Can u suggest me some specific website where I can get answer to my questions ??
regards
ashish sarin
 
author
Posts: 14112
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Take a look at http://www.objectsbydesign.com/tools/umltools_byCompany.html - it has a comprehensive list of tools for Java, C++ and a bunch of other languages.
BTW, found this by a simple Google search: http://www.google.com/search?q=uml+c%2B%2B+generate
[ March 26, 2004: Message edited by: Ilja Preuss ]
 
If you're gonna buy things, buy this thing and I get a fat kickback:
Clean our rivers and oceans from home
https://www.kickstarter.com/projects/paulwheaton/willow-feeders
reply
    Bookmark Topic Watch Topic
  • New Topic