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
Routines
top 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: | Wed May 14 15:07:14 2014 |
Lines: | 35 |
Docformat: | rst rst |
Contact me if you have enhancement requests or bug fixes.