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
The 
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.- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionConvenience 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 Details- 
CFTypeRefpublic CFTypeRef()
- 
CFTypeRef
 
- 
- 
Method Details- 
getTypeIDConvenience method forCoreFoundation.CFGetTypeID(com.sun.jna.platform.mac.CoreFoundation.CFTypeRef)on this object.- Returns:
- The CoreFoundation.CFTypeID
 
- 
isTypeIDTest 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.
 
-