comp.lang.ada
 help / color / mirror / Atom feed
From: Martin Krischik <krischik@users.sourceforge.net>
Subject: Re: ANN: Ada source code decorator
Date: Sat, 27 May 2006 14:13:26 +0200
Date: 2006-05-27T14:13:26+02:00	[thread overview]
Message-ID: <4460114.6asVHbpM1C@linux1.krischik.com> (raw)
In-Reply-To: 4478370b$0$4512$9b4e6d93@newsread2.arcor-online.net

Georg Bauhaus wrote:

> Martin Krischik wrote:
> 
>> I think that this a full natural way of mapping Ada <-> UML - After all
>> 'First and 'Last are called Attributes on both sides. And if you continue
>> the way of stereotypes then you can map all Ada feature to UML.
> 
> Is there a way to represent an access to a nested function?

You probably need two representations.

1) Often overlooked is UML support for free functions and procedures. The
only place I saw them actually used it the Rational Ada <-> Rational Rose
mapping.

2) You would need a Class of  stereotype <<access>> and the procedure as
target type.

But then I don't know any UML tool that handles functions or procedure
pointer natively.

Having said that: You did reveal the real weakness for UML: UML is mostly
about the interfaces and not internals.

Martin
-- 
mailto://krischik@users.sourceforge.net
Ada programming at: http://ada.krischik.com



  reply	other threads:[~2006-05-27 12:13 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-05-23 10:59 ANN: Ada source code decorator Georg Bauhaus
2006-05-23 21:01 ` Simon Wright
2006-05-25  0:28   ` Stephen Leake
2006-05-25  4:54     ` Jeffrey R. Carter
2006-05-25 12:36       ` Georg Bauhaus
2006-05-25 13:48       ` Stephen Leake
2006-05-25 16:16         ` Manuel Collado
2006-05-26  5:54           ` Martin Krischik
2006-05-26 11:08             ` Georg Bauhaus
2006-05-26 20:35             ` Simon Wright
2006-05-27  8:59               ` Martin Krischik
2006-05-27 11:25                 ` Georg Bauhaus
2006-05-27 12:13                   ` Martin Krischik [this message]
2006-05-27 12:06                 ` Simon Wright
2006-05-30 17:50               ` Martin Dowie
2006-05-25 19:53     ` Simon Wright
2006-05-26 11:24       ` Stephen Leake
2006-05-26 21:01         ` Simon Wright
2006-05-27 11:51           ` Stephen Leake
2006-05-27 17:38             ` Simon Wright
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox