Library - Inheritance Hieracy

Matthew Tuck matty@box.net.au
Mon, 02 Nov 1998 22:29:07 +1030


I've drawn on a quick & dirty library outline that I'd like some comments on.  There really is a lot missing, but it's a start.  It uses multiple inheritance.

If anyone could look at any libraries they can think of it'd be handy.  Try to factor out classes by their behaviour, not implementation (for example, an array is a function from an index onto an element).

Object
 Ordered
  Time
   TimeDate
  Date
   TimeDate
  Boolean
  Character
  Number
   Percentage
   IEEEFloat
   Fixed
   Currrency
   UnlimitedReal
   Integer
   UnlimitedInteger
   ModuloInteger
   Fraction
   Complex
 Binary
  Boolean
 Relation
 Collection
 Stream
 Throwable
  Exception
  Error
 Class
 Observer
 Colour

-- 
     Matthew Tuck - Software Developer & All-Round Nice Guy
                              ***
       Check out the Ultra programming language project!
              http://www.box.net.au/~matty/ultra/