Newsgroups: comp.lang.smalltalk
Path: cantaloupe.srv.cs.cmu.edu!rochester!cornellcs!newsstand.cit.cornell.edu!news.kei.com!newsfeed.internetmci.com!howland.reston.ans.net!torn!nott!cunews!dbuck
From: dbuck@superior.carleton.ca (Dave Buck)
Subject: Re: How do I get SubClasses
X-Nntp-Posting-Host: superior.carleton.ca
Message-ID: <DIv1Ax.Iq2@cunews.carleton.ca>
Keywords: smalltalk superclass subclass
Sender: news@cunews.carleton.ca (News Administrator)
Organization: Carleton University, Ottawa, Canada
References: <49ijcv$nvn@newdelph.rtsg.mot.com>
Date: Thu, 30 Nov 1995 14:23:21 GMT
Lines: 21

In article <49ijcv$nvn@newdelph.rtsg.mot.com>,
Paul R. Best <best@rtsg.mot.com> wrote:
>Does anyone know of a message that returns a list of all subclasses
>of a given class? I can use the superclass message to get the name of
>the superclass but I need to find out all of the subclasses.
>
>Any ideas?

Normally, "subclasses" and "withAllSubclasses" will return you the
list of all immediate subclasses or all subclasses recursively.  Which
Smalltalk are you using?

David Buck
dbuck@ccs.carleton.ca

_________________________________
| David K. Buck                 |
| dbuck@ccs.carleton.ca         |
| The Object People             |
|_______________________________|

