Search
Code Directory
 ASP
 ASP.NET
 C/C++
 CFML
 CGI/PERL
 Delphi
 Development
 Flash
 HTML
 Java
 JavaScript
 Pascal
 PHP
 Python
 SQL
 Tools
 Visual Basic & VB.NET
 XML
New Code
.Net VCL for Delphi 1.0.0.0
ASP. NET C# PDF Software 4.5
LinqConnect Professional 4.8
CAD VCL: 2D/3D CAD in Delphi/C++Builder 14
wolfSSL 3.15.7
CAD DLL 14
AnyStock Stock and Financial JS Charts 8.4.2
ODBC Driver for SQLite 2.4
dotConnect for SugarCRM 1.7
dbForge SQL Complete 5.9
dbForge Studio for MySQL 8.0
.Net Runtime Library for Delphi 6.0.4.0
Scimbo 1.64
AnyMap JS Maps 8.4.2
GetOrgChart 2.5.3
Top Code
Issue Manager App 1.0
Skincare Management System 1.4
Ticket Booking System 1.0
Hotel Management - Full Board Version 6.55
Simple Hill-Climbing 1.0
.Net VCL for Delphi 1.0.0.0
MCU 8051 IDE 1.4.7
CPP-2-HTML CSS Source Code Tagger 1.02
Clustering results measurement 1.0
MLM Forced Matrix Plan Software 1.0.2
GNU Common C 2.3.2
College Management System Script 1.0.4
Online Vacation Rental Booking Website Script 4.3.0
Naive Bayes Classifier 1.0
Library Management System 1.0
Top Rated
Deals and Discounts Website Script 1.0.2
ADO.NET Provider for ExactTarget 1.0
Solid File System OS edition 5.1
Classified Ad Lister 1.0
Aglowsoft SQL Query Tools 8.2
ICPennyBid Penny Auction Script 4.0
PHP Review Script 1.0
ATN Resume Finder 2.0
ATN Site Builder 3.0
Availability Booking Calendar PHP 1.0
PHP GZ Blog Script 1.1
ATN Jobs Software 4.0
ATN Mall 2.0
WeBuilder 2015 13.3
PHP Digital Download Script 1.0.4
Find all subclasses of a given class 
File ID: 64949






Find all subclasses of a given class 
Download Find all subclasses of a given class http://code.activestate.com/recipes/577024-yet-another-enum-for-python/?in=lang-pythonReport Error Link
License: Freeware
Downloads: 1
Submit Rating:
Find all subclasses of a given class  Description
Description: itersubclasses(cls) returns a generator over all subclasses of cls, in depth first order. cls must be a new-style class; old-style classes are not supported.

License: Freeware

Related: Class, extending, Inheritance, Plugin, subclass, subclasses, Type

O/S:Windows

Downloads: 1



More Similar Code

This program uses a digital trie search (Knuth 1998) to find the network of a given IPv4 address. It is fast, and can find nested subnets.



A small tool to find all points of a geven data set wihtin the radial or box range around the query point. It fully uses the JIT hence is very fast compare to other implementations.

Version 2 is about 10 times faster. Now it is about...



This recipe shows a way to generate a list of all strings (in this case, string=list of symbols) of a given alphabet having a specified length; by using list comprehensions.

UPDATE: The case for alphabet length = 1 is fixed.



The following function creates a map of all members of a class, navigating ALL of the base classes in the correct order. This can be used for various purposes, like checking whether a certain method is defined anywhere in a class hierarchy.



Simple program to print the full name of all occurrences of the given filename in your PATH. Kind of like the Unix "which" utility, but works for DLLs and other files as well.

Usage: findinpath.py filename



I needed a version of the string.index(sub) function which returns a list of indices of ALL occurances of a substring in the string.

Is there a better/shorter/more efficient way to do this? Please share.



This completely vectorized code helps you find all points within a cut-off radius from given point.
Say, in applications such as Molecular Dynamics, you may be required to find out which atoms lye within a cut-off radius (for example, the...



Find all occurencies of given map in map list, yielding index of first match and
subsequently indexes of all other found.
All maps in list have the same structure, pattern for search can have the same structure or less keys.



This is a recipe for defining class hierarchies outside of class definitions. This way you could at, runtime, decide what class should act as the parent of a given class. A class could sometimes have one parent, sometimes another.



The motivation for this demo is that if you have an instance (say 'a') of a custom class that subclasses 'handle', then the command 'b = a;' will produce another reference 'b' to the same object as initially referenced by 'a', effectively creating...

User Review for Find all subclasses of a given class
- required fields
     

Please enter text on the image