OSCheckTypeInst
Checks whether two objects are type-compatible.
Declaration
#define OSCheckTypeInst(typeinst, inst)Parameters
- typeinst:
The reference object.
- inst:
The object to check for type compatibility.
Return Value
true if both inst and typeinst are non-NULL and inst is derived from the class of typeinst; otherwise false.
See Also
Miscellaneous
OSDynamicCastOSMemberFunctionCastOSSafeReleaseOSSafeReleaseNULLOSTypeAllocOSTypeIDOSTypeIDInstcheckTypeInstgetMetaClassgetRetainCountisEqualTometaCast(const char *)metaCast(const OSMetaClass *)metaCast(const OSString *)metaCast(const OSSymbol *)release()release(int)retainsafeMetaCastserializetaggedRelease(const void *)taggedRelease(const void *, const int)taggedRetain