public static class CoreFoundation.CFTypeRef extends PointerType
CFTypeRef
type is the base type defined in Core Foundation. It is
used as the type and return value in several polymorphic functions. It is a
generic object reference that acts as a placeholder for other true Core
Foundation objects.Modifier and Type | Method and Description |
---|---|
CoreFoundation.CFTypeID |
getTypeID()
Convenience method for
CoreFoundation.CFGetTypeID(com.sun.jna.platform.mac.CoreFoundation.CFTypeRef) on this object. |
boolean |
isTypeID(CoreFoundation.CFTypeID typeID)
Test whether this object has the specified ID
|
void |
release()
Convenience method for
CoreFoundation.CFRelease(com.sun.jna.platform.mac.CoreFoundation.CFTypeRef) on this object. |
void |
retain()
Convenience method for
CoreFoundation.CFRetain(com.sun.jna.platform.mac.CoreFoundation.CFTypeRef) on this object. |
equals, fromNative, getPointer, hashCode, nativeType, setPointer, toNative, toString
public CFTypeRef()
public CFTypeRef(Pointer p)
public CoreFoundation.CFTypeID getTypeID()
CoreFoundation.CFGetTypeID(com.sun.jna.platform.mac.CoreFoundation.CFTypeRef)
on this object.CoreFoundation.CFTypeID
public boolean isTypeID(CoreFoundation.CFTypeID typeID)
typeID
- The CoreFoundation.CFTypeID
for the class to testtypeID
public void retain()
CoreFoundation.CFRetain(com.sun.jna.platform.mac.CoreFoundation.CFTypeRef)
on this object.public void release()
CoreFoundation.CFRelease(com.sun.jna.platform.mac.CoreFoundation.CFTypeRef)
on this object.