EnumerateClasses() Intrinsic methods EnumerateClassNames()

You can use the EnumerateClasses() method to enlist all subclasses of a single object class or all classes of the same object type in the target namespace.

Parameters

Table 215 shows the parameters you can specify for the EnumerateClasses() method:

Table 215. EnumerateClasses() parameters
Parameter Type Description
ClassName String Defines the name of the class for which subclasses are to be returned. If this parameter is NULL, all base classes within the target namespace are returned.
DeepInheritance Boolean TRUE returns all subclasses of the specified class. FALSE returns only immediate child subclasses.
LocalOnly Boolean TRUE returns all properties, methods, and qualifiers, that are overridden within the definition of the class.
IncludeQualifiers Boolean If set to TRUE, returns all qualifiers for the class, its properties, methods, or method parameters; if set to FALSE, returns no qualifiers
IncludeClassOrigin Boolean If set to TRUE, returns the CLASSORIGIN attribute of the class
Return values

The EnumerateClasses() method enumerates the specified one or more classes or returns one of the following error codes:

(C) Copyright International Business Machines Corporation 2003, 2004