public static class CoreFoundation.CFDictionaryRef extends CoreFoundation.CFTypeRef
CFDictionary
object.Modifier and Type | Class and Description |
---|---|
static class |
CoreFoundation.CFDictionaryRef.ByReference
Placeholder for a reference to a
CFDictionary object. |
Constructor and Description |
---|
CFDictionaryRef() |
CFDictionaryRef(Pointer p) |
Modifier and Type | Method and Description |
---|---|
long |
getCount()
Convenience method for
CoreFoundation.CFDictionaryGetCount(CFDictionaryRef)
on this object. |
Pointer |
getValue(PointerType key)
Convenience method for
CoreFoundation.CFDictionaryGetValue(com.sun.jna.platform.mac.CoreFoundation.CFDictionaryRef, com.sun.jna.PointerType) on this
object. |
boolean |
getValueIfPresent(PointerType key,
PointerByReference value)
|
getTypeID, isTypeID, release, retain
equals, fromNative, getPointer, hashCode, nativeType, setPointer, toNative, toString
public CFDictionaryRef()
public CFDictionaryRef(Pointer p)
public Pointer getValue(PointerType key)
CoreFoundation.CFDictionaryGetValue(com.sun.jna.platform.mac.CoreFoundation.CFDictionaryRef, com.sun.jna.PointerType)
on this
object.key
- The key for which to find a match.null
if no key-value pair
matching key exists.public long getCount()
CoreFoundation.CFDictionaryGetCount(CFDictionaryRef)
on this object.public boolean getValueIfPresent(PointerType key, PointerByReference value)
CoreFoundation.CFDictionaryGetValueIfPresent(com.sun.jna.platform.mac.CoreFoundation.CFDictionaryRef, com.sun.jna.PointerType, com.sun.jna.ptr.PointerByReference)
on this object.key
- The key for which to find a match.value
- A pointer to memory which, on return, is filled with the
pointer-sized value if a matching key is found.true
if a matching key was found, otherwise
false