• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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 ]
 
Surfs up space ponies, I'm making gravy without this lumpy, tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic