Package com.sun.jna.platform.mac
Enum Class CoreFoundation.CFNumberType
- All Implemented Interfaces:
Serializable
,Comparable<CoreFoundation.CFNumberType>
,Constable
- Enclosing interface:
CoreFoundation
Enum of values used for
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.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Method Summary
Modifier and TypeMethodDescriptionIndex for the type ofCoreFoundation.CFNumberRef
stored.static CoreFoundation.CFNumberType
Returns the enum constant of this class with the specified name.static CoreFoundation.CFNumberType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
unusedZero
-
kCFNumberSInt8Type
-
kCFNumberSInt16Type
-
kCFNumberSInt32Type
-
kCFNumberSInt64Type
-
kCFNumberFloat32Type
-
kCFNumberFloat64Type
-
kCFNumberCharType
-
kCFNumberShortType
-
kCFNumberIntType
-
kCFNumberLongType
-
kCFNumberLongLongType
-
kCFNumberFloatType
-
kCFNumberDoubleType
-
kCFNumberCFIndexType
-
kCFNumberNSIntegerType
-
kCFNumberCGFloatType
-
kCFNumberMaxType
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
typeIndex
Index for the type ofCoreFoundation.CFNumberRef
stored.- Returns:
- a
CoreFoundation.CFIndex
representing the enum ordinal.
-