RE: "stupid" question

GWRepNate@aol.com
Fri, 26 Jul 1996 13:43:30 -0400

GWRepNate wrote:
<<<<<
<<<<<
c) What does it take to translate a fully-object-oriented c++-program o
work under geos? The one I would like to transfer consists of many classes
(with multiple inheritance,...) and a few basic i/o-routines.
>>>>>

I would think it's not TOO hard, but could take a while and will be tedious
work. You'd have to change all the class definitions to use the GOC syntax,
not a big deal. You'd also have to send messages to objects, as opposed to
calling methods of a class. Mostly it's different paradigms.
>>>>>

Ryan just pointed out to me that GEOS and GOC do not support multiple
inheritance. There is such a thing as master and variant classes, but you
can't have one class that is a subclass of more than one other class. In
other words, your class hierarchy cannot have a loop in it, it must be a
simple tree.

nathan