Contents

metaCast(const OSString *)

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

Declaration

OSMetaClassBase * metaCast(
 const OSString *toMeta) const;

Parameters

  • toMeta:

    An OSString 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