objects/
mg_class_hierarchy.pro
includes main-level programRetrieves or prints a class hierarchy for an object or classname.
Examples
For example, a list object can be inspected like:
IDL> lst = list()
IDL> mg_class_hierarchy, lst
LIST
IDL_CONTAINER
COLLECTION
IDL_OBJECT
top source mg_class_hierarchy
mg_class_hierarchy, object [, hierarchy=hash] [, /no_print]
Retrieves or prints a class hierarchy for an object or classname.
Parameters
- object in required type=objref or string
object or string classname to find superclasses for
Keywords
- hierarchy out optional type=hash
nested hash with keys of superclass names and values of hierarchy for that superclass
- no_print in optional type=boolean
set to not print the hierarchy
File attributes
Modification date: | Thu Oct 6 11:06:56 2011 |
Lines: | 118 |
Docformat: | rst rst |
Contact me if you have enhancement requests or bug fixes.