Objects by Design Forums Here you can view your subscribed threads, work with private messages and edit your profile and preferences Registration is free! Calendar Find other members Frequently Asked Questions Search Home  
Objects by Design Forums : Powered by vBulletin version 2.3.5 Objects by Design Forums > Main Forums > UML Tools > Does UML go to real code?
  Last Thread   Next Thread
Author
Thread Post New Thread    Post A Reply
pedz
Junior Member

Registered: May 2006
Location:
Posts: 2

Does UML go to real code?

I'm trying to use MagicDraw but my question is more general than this particular tool. Do the C++ statements... the actual code that is actually going to do something, ever get put into the UML diagrams? If not, then what is all the fuss about? If so, then how do you do it?

I'm trying to write a class with a member called i and a method called inc_i and I want to have a C++ statement of "i++;" somewhere. Am I completely off course in thinking this is pretty fundamental?

Thanks
Perry

Report this post to a moderator | IP: Logged

Old Post 05-05-2006 04:05 AM
pedz is offline Click Here to See the Profile for pedz Click here to Send pedz a Private Message Visit pedz's homepage! Find more posts by pedz Add pedz to your buddy list Edit/Delete Message Reply w/Quote
bruno_pages
Junior Member

Registered: May 2005
Location: France
Posts: 19

What is exactly your question ?
If it is "is it possible to modelise then generate a C++ application", my respons is of course yes, at least for some modelers whose goal is not only to draw pictures

A class diagram for instance allows at least to show classes with their members, but not to show a statement like "i++", even you may specify the operations's body in you modeler.

__________________
Bruno Pages

author of BOUML (http://bouml.free.fr)

joint author of XCORAL (http://xcoral.free.fr)

Report this post to a moderator | IP: Logged

Old Post 05-07-2006 01:18 PM
bruno_pages is offline Click Here to See the Profile for bruno_pages Click here to Send bruno_pages a Private Message Visit bruno_pages's homepage! Find more posts by bruno_pages Add bruno_pages to your buddy list Edit/Delete Message Reply w/Quote
pedz
Junior Member

Registered: May 2006
Location:
Posts: 2

I have found Poseidon will allow me to include source code in an object's methods. But, so far, I have not found an application that will allow me to include source code in an action.

My fundamental quest is a tool where I can not only represent and diagram the model but have the tool generate code -- the tool... not a hand process of translating the pretty pictures into code.

Report this post to a moderator | IP: Logged

Old Post 05-07-2006 02:14 PM
pedz is offline Click Here to See the Profile for pedz Click here to Send pedz a Private Message Visit pedz's homepage! Find more posts by pedz Add pedz to your buddy list Edit/Delete Message Reply w/Quote
bruno_pages
Junior Member

Registered: May 2005
Location: France
Posts: 19

It is not always possible to generate code from a diagram, for instance from a sequence because too many information are missing.

I will not encourage you to use Poseidon, but perhaps you may look at my tool (http:://bouml.free.fr) to see if this one respons to your requests. If your 'action' is part of a state diagram this may be ok even I don't yet finish the management of the state machines

__________________
Bruno Pages

author of BOUML (http://bouml.free.fr)

joint author of XCORAL (http://xcoral.free.fr)

Report this post to a moderator | IP: Logged

Old Post 05-07-2006 05:29 PM
bruno_pages is offline Click Here to See the Profile for bruno_pages Click here to Send bruno_pages a Private Message Visit bruno_pages's homepage! Find more posts by bruno_pages Add bruno_pages to your buddy list Edit/Delete Message Reply w/Quote
All times are GMT. The time now is 09:57 PM. Post New Thread    Post A Reply
  Last Thread   Next Thread
Show Printable Version | Email this Page | Subscribe to this Thread

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 

< Contact Us - Objects by Design >

Powered by: vBulletin Version 2.3.5
Copyright ©2000 - 2017, Jelsoft Enterprises Limited.
Copyright 1999-2005, Objects by Design, Inc.