Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!uwm.edu!mrsvr.UUCP!pet16.uucp!hallett From: hallett@pet16.uucp (Jeff Hallett x5163 ) Newsgroups: comp.object Subject: Re: OOP in C Message-ID: <1719@mrsvr.UUCP> Date: 13 Dec 89 16:47:51 GMT References: <3356@hydra.Helsinki.FI> <1691@mrsvr.UUCP> <1031@swbatl.UUCP> Sender: news@mrsvr.UUCP Reply-To: hallett@gemed.ge.com (Jeffrey A. Hallett (414) 548-5163) Organization: GE Medical Systems, Milwaukee, WI Lines: 20 In article wiseb@turing.cs.rpi.edu (G. Bowden Wise) writes: >Have you implemented a 'super' construct so that you can override inherited >methods in the derived class and use the super method instead? Yes. Sorta. :^) Basically, each class we created also generated a template which had default values for the instance variables and the methods defined at that class (or above). Each new class has a class variable that points to the template of its superclass. So, if a class needs to use all or part of its superclass's methods, it executes the ones from the template. -- Jeffrey A. Hallett, PET Software Engineering GE Medical Systems, W641, PO Box 414, Milwaukee, WI 53201 (414) 548-5163 : EMAIL - hallett@gemed.ge.com Est natura hominum novitatis avida