getPathComponent
Create a path component for a registry entry.
Declaration
virtual bool getPathComponent(
char *path,
int *length,
const IORegistryPlane *plane ) const;Parameters
- path:
A char buffer allocated by the caller.
- length:
An in/out parameter - the caller sets the length of the buffer available, and getPathComponent returns the total length of the path component copied to the buffer.
- plane:
The plane object.
Return Value
true if the path fits into the supplied buffer or false on a overflow.
Overview
Each component of a path created with getPath is created with getPathComponent. The default implementation concatenates the entry's name in the the plane, with the "at" symbol and the location string of the entry in the plane if it has been set.
See Also
Miscellaneous
attachToChildattachToParentchildFromPathcompareNamecompareNamescopyChildEntrycopyLocationcopyNamecopyParentEntrycopyProperty(const char *)copyProperty(const char *, const IORegistryPlane *, IOOptionBits)copyProperty(const OSString *)copyProperty(const OSString *, const IORegistryPlane *, IOOptionBits)copyProperty(const OSSymbol *)copyProperty(const OSSymbol *, const IORegistryPlane *, IOOptionBits)dealiasPathdetachAbovedetachAlldetachFromChilddetachFromParentdictionaryWithPropertiesfreefromPath(const char *, const IORegistryPlane *, char *, int *)fromPath(const char *, const IORegistryPlane *, char *, int *, IORegistryEntry *)getChildEntrygetChildIteratorgetDepthgetGenerationCountgetLocationgetNamegetParentEntrygetParentIteratorgetPathgetPlanegetProperty(const char *)getProperty(const char *, const IORegistryPlane *, IOOptionBits)getProperty(const OSString *)getProperty(const OSString *, const IORegistryPlane *, IOOptionBits)getProperty(const OSSymbol *)getProperty(const OSSymbol *, const IORegistryPlane *, IOOptionBits)getPropertyTablegetRegistryEntryIDgetRegistryRootinitinPlaneisChildisParentmakePlaneremovePropertyremoveProperty(const OSString *)removeProperty(const OSSymbol *)runPropertyActionserializePropertiessetLocationsetName(const char *, const IORegistryPlane *)setName(const OSSymbol *, const IORegistryPlane *)setPropertiessetPropertysetProperty(const char *, bool)setProperty(const char *, const char *)setProperty(const char *, OSObject *)setProperty(const char *, unsigned long long, unsigned int)setProperty(const OSString *, OSObject *)setProperty(const OSSymbol *, OSObject *)setPropertyTable