Package com.sun.jna.platform.mac
Class CoreFoundation.CFTypeRef
- java.lang.Object
- 
- com.sun.jna.PointerType
- 
- com.sun.jna.platform.mac.CoreFoundation.CFTypeRef
 
 
- 
- All Implemented Interfaces:
- NativeMapped
 - Direct Known Subclasses:
- CoreFoundation.CFAllocatorRef,- CoreFoundation.CFArrayRef,- CoreFoundation.CFBooleanRef,- CoreFoundation.CFDataRef,- CoreFoundation.CFDictionaryRef,- CoreFoundation.CFNumberRef,- CoreFoundation.CFStringRef,- DiskArbitration.DADiskRef,- DiskArbitration.DASessionRef
 - Enclosing interface:
- CoreFoundation
 
 public static class CoreFoundation.CFTypeRef extends PointerType TheCFTypeReftype 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.
- 
- 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description CoreFoundation.CFTypeIDgetTypeID()Convenience method forCoreFoundation.CFGetTypeID(com.sun.jna.platform.mac.CoreFoundation.CFTypeRef)on this object.booleanisTypeID(CoreFoundation.CFTypeID typeID)Test whether this object has the specified IDvoidrelease()Convenience method forCoreFoundation.CFRelease(com.sun.jna.platform.mac.CoreFoundation.CFTypeRef)on this object.voidretain()Convenience method forCoreFoundation.CFRetain(com.sun.jna.platform.mac.CoreFoundation.CFTypeRef)on this object.- 
Methods inherited from class com.sun.jna.PointerTypeequals, fromNative, getPointer, hashCode, nativeType, setPointer, toNative, toString
 
- 
 
- 
- 
- 
Constructor Detail- 
CFTypeRefpublic CFTypeRef() 
 - 
CFTypeRefpublic CFTypeRef(Pointer p) 
 
- 
 - 
Method Detail- 
getTypeIDpublic CoreFoundation.CFTypeID getTypeID() Convenience method forCoreFoundation.CFGetTypeID(com.sun.jna.platform.mac.CoreFoundation.CFTypeRef)on this object.- Returns:
- The CoreFoundation.CFTypeID
 
 - 
isTypeIDpublic boolean isTypeID(CoreFoundation.CFTypeID typeID) Test whether this object has the specified ID- Parameters:
- typeID- The- CoreFoundation.CFTypeIDfor the class to test
- Returns:
- true if this object has the same ID as typeID
 
 - 
retainpublic void retain() Convenience method forCoreFoundation.CFRetain(com.sun.jna.platform.mac.CoreFoundation.CFTypeRef)on this object.
 - 
releasepublic void release() Convenience method forCoreFoundation.CFRelease(com.sun.jna.platform.mac.CoreFoundation.CFTypeRef)on this object.
 
- 
 
-