Contents

getDepth

Counts the maximum number of entries between an entry and the registry root, in a plane.

Declaration

virtual unsigned int getDepth(
 const IORegistryPlane *plane ) const;

Parameters

  • plane:

    The plane object.

Return Value

The maximum number of entries between the entry and the root. Zero is returned if the entry is not attached in the plane.

Overview

This method counts the number of entries between and entry and the registry root, in a plane, for each parent of the entry and returns the maximum value.

See Also

Miscellaneous