setLocation
Sets a location string for the registry entry, in a particular plane, or globally.
Declaration
virtual void setLocation(
const OSSymbol *location,
const IORegistryPlane *plane = 0 );Parameters
- location:
A C-string location string which will be copied, or an OSSymbol which will be retained.
- plane:
The plane object, or zero to set the global location string.
Overview
Entries can be given a location string in a particular plane, or globally. If the plane is specified the location applies only to that plane, otherwise the global location is set. The location string may be used during path lookups of registry entries, to distinguish between sibling entries with the same name. The default IORegistryEntry parsing of location strings expects a list of hex numbers separated by commas, though subclasses of IORegistryEntry might do their own parsing.
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 *)getChildEntrygetChildIteratorgetDepthgetGenerationCountgetLocationgetNamegetParentEntrygetParentIteratorgetPathgetPathComponentgetPlanegetProperty(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 *)runPropertyActionserializePropertiessetName(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