public static enum CoreFoundation.CFNumberType extends java.lang.Enum<CoreFoundation.CFNumberType>
CoreFoundation.CFNumberType
in CoreFoundation.CFNumberGetValue(com.sun.jna.platform.mac.CoreFoundation.CFNumberRef, com.sun.jna.platform.mac.CoreFoundation.CFIndex, com.sun.jna.ptr.ByReference)
and
CoreFoundation.CFNumberGetType(com.sun.jna.platform.mac.CoreFoundation.CFNumberRef)
. Use typeIndex()
for the expected
integer value corresponding to the C-style enum.Modifier and Type | Method and Description |
---|---|
CoreFoundation.CFIndex |
typeIndex()
Index for the type of
CoreFoundation.CFNumberRef stored. |
static CoreFoundation.CFNumberType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CoreFoundation.CFNumberType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CoreFoundation.CFNumberType unusedZero
public static final CoreFoundation.CFNumberType kCFNumberSInt8Type
public static final CoreFoundation.CFNumberType kCFNumberSInt16Type
public static final CoreFoundation.CFNumberType kCFNumberSInt32Type
public static final CoreFoundation.CFNumberType kCFNumberSInt64Type
public static final CoreFoundation.CFNumberType kCFNumberFloat32Type
public static final CoreFoundation.CFNumberType kCFNumberFloat64Type
public static final CoreFoundation.CFNumberType kCFNumberCharType
public static final CoreFoundation.CFNumberType kCFNumberShortType
public static final CoreFoundation.CFNumberType kCFNumberIntType
public static final CoreFoundation.CFNumberType kCFNumberLongType
public static final CoreFoundation.CFNumberType kCFNumberLongLongType
public static final CoreFoundation.CFNumberType kCFNumberFloatType
public static final CoreFoundation.CFNumberType kCFNumberDoubleType
public static final CoreFoundation.CFNumberType kCFNumberCFIndexType
public static final CoreFoundation.CFNumberType kCFNumberNSIntegerType
public static final CoreFoundation.CFNumberType kCFNumberCGFloatType
public static final CoreFoundation.CFNumberType kCFNumberMaxType
public static CoreFoundation.CFNumberType[] values()
for (CoreFoundation.CFNumberType c : CoreFoundation.CFNumberType.values()) System.out.println(c);
public static CoreFoundation.CFNumberType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic CoreFoundation.CFIndex typeIndex()
CoreFoundation.CFNumberRef
stored.CoreFoundation.CFIndex
representing the enum ordinal.