Contents

isChild

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

Declaration

virtual bool isChild(
 IORegistryEntry *child, 
 const IORegistryPlane *plane, 
 bool onlyChild = false ) const;

Parameters

  • child:

    The possible child registry entry.

  • plane:

    The plane object.

  • onlyChild:

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

Return Value

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

Overview

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

See Also

Miscellaneous