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 SummaryNested classes/interfaces inherited from class java.lang.EnumEnum.EnumDesc<E extends Enum<E>>
- 
Enum Constant SummaryEnum ConstantsEnum ConstantDescription
- 
Method SummaryModifier and TypeMethodDescriptionIndex for the type ofCoreFoundation.CFNumberRefstored.static CoreFoundation.CFNumberTypeReturns 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- 
valuesReturns 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
 
- 
valueOfReturns 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 name
- NullPointerException- if the argument is null
 
- 
typeIndexIndex for the type ofCoreFoundation.CFNumberRefstored.- Returns:
- a CoreFoundation.CFIndexrepresenting the enum ordinal.
 
 
-