IORegistry

Technology area
Installer

Overview

The IORegistry object provides access to the IOKit registry. This object is accessed using the system.ioregistry property.

See I/O Kit Fundamentals for details about the IOKit registry.

Tasks

Accessing the IOKit Registry

Methods

childrenOf

Provides the children of the given IOKit object.

childrenOf( objectName)
Parameters
objectName

String with the path of the desired IOKit object or an item of an IOKit object array.

Return Value

Array of IOKit object dictionaries.

fromPath

Provides a dictionary of the properties of a given IOKit object.

fromPath( filePath)
Parameters
filePath

String with the path of the desired IOKit object.

Return Value

Dictionary of the properties of the IOKit object.

matchingClass

Provides the IOKit objects of a given class.

matchingClass( className, [ servicePlane])
Parameters
className

String with an IOKit class name.

servicePlane

Optional. String with the service plane to search. When unspecified, 'IOServicePlane' is used.

Return Value

Array of IOKit object dictionaries.

matchingName

Provides the IOKit objects of the specified name.

matchingName( objectName, [ servicePlane])
Parameters
objectName

String with an IOKit object name.

servicePlane

Optional. String with the service plane to search. When unspecified, 'IOServicePlane' is used.

Return Value

Array of IOKit object dictionaries.

parentsOf

Provides the parents of the given IOKit object.

childrenOf(objectName)
Parameters
objectName

String with the path of the desired IOKit object or an item of an IOKit object array.

Return Value

Array of IOKit object dictionaries.