comp.lang.ada
 help / color / mirror / Atom feed
From: Pascal Obry <p.obry@wanadoo.fr>
Subject: Re: Free Ada UML tools Available /
Date: 24 May 2002 20:54:01 +0200
Date: 2002-05-24T18:54:02+00:00	[thread overview]
Message-ID: <ulma99y2e.fsf@wanadoo.fr> (raw)
In-Reply-To: slrnaeqpf1.bd7.randhol+abuse@kiuk0152.chembio.ntnu.no


Preben Randhol <randhol+abuse@pvv.org> writes:

> On 23 May 2002 22:16:22 +0200, Pascal Obry wrote:
> > I don't think one exists. One nice free UML tool is ArgoUML, it support

> Yes, Dia + dia2code.

I had a look at the Ada generated code on the Dia website:

<<
with shape_types;
use shape_types
package window_types is

type Window is tagged record 
  -- Attributes
  -- private:
    visualrep: Shape;
end record;

-- Operations
  -- public:
    virtual function redraw return void = 0;
end window_types;
>>

"virtual" and "void = 0" ???

<<
package point_types is

type Point is tagged record 
  -- Attributes
  -- private:
    x: float;
    y: float;
end record;

-- Operations
  -- public:
    function Point ( x: float,  ) y: float ) return ;
    function getX return float;
    function getY return float;
end point_types;
>>

"float, ) y: float" ???

The private attributes should be generated:

<<
   type Private_Attributes is private;

   type Window is tagges record
      x, y : Integer;
      Priv : Private_Attributes;
   end record;

private

   type Private_Attribute is record
        ...
>>

As somebody said there is room for improvement ! But it is certainly a good
starting point...

Pascal.

-- 

--|------------------------------------------------------
--| Pascal Obry                           Team-Ada Member
--| 45, rue Gabriel Peri - 78114 Magny Les Hameaux FRANCE
--|------------------------------------------------------
--|         http://perso.wanadoo.fr/pascal.obry
--| "The best way to travel is by means of imagination"
--|
--| gpg --keyserver wwwkeys.pgp.net --recv-key C1082595



  reply	other threads:[~2002-05-24 18:54 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-05-23 18:42 Free Ada UML tools Available / Joe Simon
2002-05-23 18:54 ` martin.m.dowie
2002-05-23 20:14   ` Pascal Obry
2002-05-24  7:15     ` martin.m.dowie
2002-05-25  5:29   ` Adrian Hoe
2002-05-23 20:16 ` Pascal Obry
2002-05-23 21:57   ` Preben Randhol
2002-05-24 18:54     ` Pascal Obry [this message]
2002-05-24 19:11       ` Preben Randhol
2002-05-24 19:43         ` Pat Rogers
2002-05-24 21:41           ` Preben Randhol
2002-05-24 21:45             ` Pat Rogers
2002-05-24 21:46             ` Pat Rogers
2002-05-24 22:03               ` Preben Randhol
2002-05-23 21:56 ` Preben Randhol
2002-05-24  6:02   ` Adrian Hoe
2002-05-24  9:21     ` Preben Randhol
2002-05-24 19:16       ` Simon Wright
2002-05-25  2:31       ` Adrian Hoe
2002-05-25  7:13         ` Pascal Obry
2002-05-25  7:14         ` Pascal Obry
2002-05-25 15:15           ` Adrian Hoe
2002-05-31  4:12             ` Adrian Hoe
2002-05-31 14:07               ` Pat Rogers
2002-05-31 18:49                 ` Pascal Obry
2002-06-01  3:03                   ` Adrian Hoe
2002-06-01 17:16                     ` Free Ada UML tools Available (long) Pat Rogers
2002-05-25  8:13         ` Free Ada UML tools Available / Preben Randhol
2002-05-24  5:37 ` Simon Wright
2002-05-24  9:28   ` Preben Randhol
2002-05-24 18:49     ` Simon Wright
2002-05-29 16:34   ` Frode Tenneboe
2002-05-29 19:16     ` Simon Wright
  -- strict thread matches above, loose matches on Subject: below --
2002-12-10  0:11 Oliver Kellogg
replies disabled

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