getSubclassesUpToSchema

getSubclassesUpToSchema(topSchema: Schema;
                        subs:      ClassColl input);

The getSubclassesUpToSchema method of the Class class adds all immediate subclasses of the receiver up to those in the schema specified in the topSchema parameter to the collection specified in the subs parameter. (Note that the collection is not cleared before instances are added.)