Version: 1.1

Posted: 2005-08-17

Build Requirements: Xcode 2.1

Runtime Requirements: Mac OS X 10.2 or later

View Source Code:

Download Sample (“IOPrintSuperClasses.zip”, 31.7K)
Download Sample (“IOPrintSuperClasses.dmg”, 90.7K)



Description

The sample is a trivial example of using the I/O Kit registry, but it also represents a useful tool for exploring the I/O Kit class hierarchy. Given the name of a class, this tool will print all of the super-classes of that class. For example, if you ask it for the super-classes of IOUSBInterface, the tool will print IOUSBNub, IORegistryEntry, IOService, and OSObject.

Document Revision History

Date Notes
2005-08-17Updated to produce a universal binary. No code changes were required. Separately, updated to use IOObjectCopySuperclassForClass, which was introduced in Mac OS X 10.4.
2003-01-14Given the name of a class, this tool will print all of the super-classes of that class.

Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.