Contents

isParent

Determines whether a registry entry is the parent of another in a plane.

Declaration

virtual bool isParent(
 IORegistryEntry *parent, 
 const IORegistryPlane *plane, 
 bool onlyParent = false ) const;

Parameters

  • parent:

    The possible parent registry entry.

  • plane:

    The plane object.

  • onlyParent:

    If true, check also if the parent is the only parent.

Return Value

If the parent argument is not a parent of the registry entry, false is returned. If onlyParent is true and the parent is not the only parent of the entry, false is returned, otherwise true is returned.

Overview

This method called in the child entry determines if the specified entry is a parent, in a plane. Additionally, it can check if the parent is the only parent of the child entry.

See Also

Miscellaneous