Contents

metaCast(const OSSymbol *)

Casts this object is to the class managed by the named OSMetaClass.

Declaration

OSMetaClassBase * metaCast(
 const OSSymbol *toMeta) const;

Parameters

  • toMeta:

    An OSSymbol naming the desired target type.

Return Value

this if the object is derived from the class named by toMeta, otherwise NULL.

Overview

It is far more convenient to use OSDynamicCast.

See Also

Miscellaneous