Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   C++ (http://www.velocityreviews.com/forums/f39-c.html)
-   -   UML Tool (http://www.velocityreviews.com/forums/t746369-uml-tool.html)

Philipp Kraus 04-05-2011 01:27 PM

UML Tool
 
Hello,

does anyone know a tool / framework to create UML models (Version 2.0)?
I have tested ArgoUML (http://argouml.tigris.org/) but I have some
problems to import my template classes. I would like to create modells
with the OMG defined strukture (model 2 model transformation). A
opensource tool would be nice

Thanks

Phil


Victor Bazarov 04-05-2011 01:38 PM

Re: UML Tool
 
On 4/5/2011 9:27 AM, Philipp Kraus wrote:
> does anyone know a tool / framework to create UML models (Version 2.0)?
> I have tested ArgoUML (http://argouml.tigris.org/) but I have some
> problems to import my template classes. I would like to create modells
> with the OMG defined strukture (model 2 model transformation). A
> opensource tool would be nice


Since UML is not language specific, I suspect you might find more
information in a non-language specific newsgroup like 'comp.object'.

V
--
I do not respond to top-posted replies, please don't ask

Philipp Kraus 04-05-2011 01:55 PM

Re: UML Tool
 
On 2011-04-05 15:38:22 +0200, Victor Bazarov said:

> On 4/5/2011 9:27 AM, Philipp Kraus wrote:
>> does anyone know a tool / framework to create UML models (Version 2.0)?
>> I have tested ArgoUML (http://argouml.tigris.org/) but I have some
>> problems to import my template classes. I would like to create modells
>> with the OMG defined strukture (model 2 model transformation). A
>> opensource tool would be nice

>
> Since UML is not language specific, I suspect you might find more
> information in a non-language specific newsgroup like 'comp.object'.


Yes, but I would like to transforme the UML modell to C++ code. My
plattform specified code is C++, so I search a tool to create the MDA
process until C++ source code. I have tested primary tools for Java,
some tools can create C++ but hey can't create a modell with reverse
engeneering.

Thx

Phil


Andrea Crotti 04-05-2011 04:44 PM

Re: UML Tool
 
Philipp Kraus <philipp.kraus@flashpixx.de> writes:

>
> Yes, but I would like to transforme the UML modell to C++ code. My
> plattform specified code is C++, so I search a tool to create the MDA
> process until C++ source code. I have tested primary tools for Java,
> some tools can create C++ but hey can't create a modell with reverse
> engeneering.
>
> Thx
>
> Phil


I think is a very bad idea to generate C++ from UML, C++ is way too
complex and you would end up with very crappy code...

Noah Roberts 04-05-2011 04:57 PM

Re: UML Tool
 
On 4/5/2011 9:44 AM, Andrea Crotti wrote:
> Philipp Kraus<philipp.kraus@flashpixx.de> writes:
>
>>
>> Yes, but I would like to transforme the UML modell to C++ code. My
>> plattform specified code is C++, so I search a tool to create the MDA
>> process until C++ source code. I have tested primary tools for Java,
>> some tools can create C++ but hey can't create a modell with reverse
>> engeneering.
>>
>> Thx
>>
>> Phil

>
> I think is a very bad idea to generate C++ from UML, C++ is way too
> complex and you would end up with very crappy code...


I think the OP wants to create UML from C++ code.

I for one don't know of a single UML tool that can effectively do this.
For one thing, coming up with ways to model C++ constructs in UML has
been a constant confusion for me. How do you model a free function, for
example? Concepts? Template meta-functions?

I've come up with funky ways of doing this, usually reinventing it each
time, but I don't see how a program could without a clear idea of how
such things should be modeled...and I've never heard of one.

--
http://crazycpp.wordpress.com

Philipp Kraus 04-05-2011 05:58 PM

Re: UML Tool
 
On 2011-04-05 18:57:51 +0200, Noah Roberts said:

> On 4/5/2011 9:44 AM, Andrea Crotti wrote:
>> Philipp Kraus<philipp.kraus@flashpixx.de> writes:
>>
>>>
>>> Yes, but I would like to transforme the UML modell to C++ code. My
>>> plattform specified code is C++, so I search a tool to create the MDA
>>> process until C++ source code. I have tested primary tools for Java,
>>> some tools can create C++ but hey can't create a modell with reverse
>>> engeneering.
>>>
>>> Thx
>>>
>>> Phil

>>
>> I think is a very bad idea to generate C++ from UML, C++ is way too
>> complex and you would end up with very crappy code...

>
> I think the OP wants to create UML from C++ code.


I would like to create both directions, but at this time C++ to UML would help.

>
> I for one don't know of a single UML tool that can effectively do this.
> For one thing, coming up with ways to model C++ constructs in UML has
> been a constant confusion for me. How do you model a free function,
> for example? Concepts? Template meta-functions?


Exactly, that are some problems. I don't found any good tools.

Phil


softwareEngineer 04-05-2011 06:18 PM

Re: UML Tool
 
Enterprise Architect (sparx systems) it's good and cheap

http://www.sparxsystems.com <http://www.sparxsystems.com.au/>

bye.

Onorato.



Il 05/04/2011 15:27, Philipp Kraus ha scritto:
> Hello,
>
> does anyone know a tool / framework to create UML models (Version 2.0)? I have
> tested ArgoUML (http://argouml.tigris.org/) but I have some problems to import
> my template classes. I would like to create modells with the OMG defined
> strukture (model 2 model transformation). A opensource tool would be nice
>
> Thanks
>
> Phil
>



Öö Tiib 04-05-2011 07:13 PM

Re: UML Tool
 
On Apr 5, 8:58*pm, Philipp Kraus <philipp.kr...@flashpixx.de> wrote:
> On 2011-04-05 18:57:51 +0200, Noah Roberts said:
>
>
>
>
>
> > On 4/5/2011 9:44 AM, Andrea Crotti wrote:
> >> Philipp Kraus<philipp.kr...@flashpixx.de> *writes:

>
> >>> Yes, but I would like to transforme the UML modell to C++ code. My
> >>> plattform specified code is C++, so I search a tool to create the MDA
> >>> process until C++ source code. I have tested primary tools for Java,
> >>> some tools can create C++ but hey can't create a modell with reverse
> >>> engeneering.

>
> >>> Thx

>
> >>> Phil

>
> >> I think is a very bad idea to generate C++ from UML, C++ is way too
> >> complex and you would end up with very crappy code...

>
> > I think the OP wants to create UML from C++ code.

>
> I would like to create both directions, but at this time C++ to UML wouldhelp.
>
>
>
> > I for one don't know of a single UML tool that can effectively do this.
> > * For one thing, coming up with ways to model C++ constructs in UML has
> > been a constant confusion for me. *How do you model a free function,
> > for example? *Concepts? *Template meta-functions?

>
> Exactly, that are some problems. I don't found any good tools.


There can't be so extremely good tools like you are seemingly
expecting. Some tools can indeed keep some simple UML class diagrams
and simple C++ class headers in sync more or less ... but that is it.

UML is semi-formal OOP software design language. C++ is semi-defined
multi-purpose and multi-paradigm programming language. Translating
round-trip will result with usual bablefish-google round-trip Japanese-
Zwahili translation nonsense.


Yannick Tremblay 04-06-2011 02:36 PM

Re: UML Tool
 
On 2011-04-05, Andrea Crotti <andrea.crotti.0@gmail.com> wrote:
> Philipp Kraus <philipp.kraus@flashpixx.de> writes:
>
>>
>> Yes, but I would like to transforme the UML modell to C++ code. My
>> plattform specified code is C++, so I search a tool to create the MDA
>> process until C++ source code. I have tested primary tools for Java,
>> some tools can create C++ but hey can't create a modell with reverse
>> engeneering.
>>

> I think is a very bad idea to generate C++ from UML, C++ is way too
> complex and you would end up with very crappy code...


Certainly for more advanced C++ and for detailled implementation, I
would avoid code generating C++ from UML. However, I can see some use
for top level design to draw UML class diagrams and code generate the
headers from this diagram.

I am not aware of a UML tool that will deal with templates nicely but
for a non-templated class diagram, this should work without
introducing crappy code problems.

Yannick


All times are GMT. The time now is 09:26 PM.

Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57