comp.lang.ada
 help / color / mirror / Atom feed
* What is a class in Ada ?
@ 2000-02-12  0:00 G
  2000-02-11  0:00 ` Matthew Heaney
  0 siblings, 1 reply; 7+ messages in thread
From: G @ 2000-02-12  0:00 UTC (permalink / raw)


What is a class in Ada ?

Does Ada have a "Class" facility in the same sense that C++ or Java have
such ?

Tagged records appeared to me at first to be pretty close to the class
notion.  There are problems though because there are no member functions

in records - they approximate to C/C++ structs (yes ?).  As I understand
it,
these are Abstract Data Types - and not in themselves dynamic objects.
   In C++, the definition
of a class appears fairly transparent and not much more difficult than
creating
an instance of a record in Ada.  I have not found anything in my html
tutes or paper
books to tell me more about "Objects" in Ada.  Yet.

So - are the packages of Ada the class definitions, maybe  ?

I am still learning, excuse my simplicity.

--
G.






^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2000-02-17  0:00 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-02-12  0:00 What is a class in Ada ? G
2000-02-11  0:00 ` Matthew Heaney
2000-02-13  0:00   ` Martin Dowie
2000-02-14  0:00     ` Robert A Duff
2000-02-14  0:00     ` Larry Kilgallen
2000-02-14  0:00     ` Gautier
2000-02-17  0:00   ` Charles Hixson

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