Package com.sun.jna.platform.mac
Enum CoreFoundation.CFNumberType
- java.lang.Object
- 
- java.lang.Enum<CoreFoundation.CFNumberType>
- 
- com.sun.jna.platform.mac.CoreFoundation.CFNumberType
 
 
- 
- All Implemented Interfaces:
- java.io.Serializable,- java.lang.Comparable<CoreFoundation.CFNumberType>
 - Enclosing interface:
- CoreFoundation
 
 public static enum CoreFoundation.CFNumberType extends java.lang.Enum<CoreFoundation.CFNumberType> Enum of values used forCoreFoundation.CFNumberTypeinCoreFoundation.CFNumberGetValue(com.sun.jna.platform.mac.CoreFoundation.CFNumberRef, com.sun.jna.platform.mac.CoreFoundation.CFIndex, com.sun.jna.ptr.ByReference)andCoreFoundation.CFNumberGetType(com.sun.jna.platform.mac.CoreFoundation.CFNumberRef). UsetypeIndex()for the expected integer value corresponding to the C-style enum.
- 
- 
Enum Constant Summary
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description CoreFoundation.CFIndextypeIndex()Index for the type ofCoreFoundation.CFNumberRefstored.static CoreFoundation.CFNumberTypevalueOf(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.
 
- 
- 
- 
Enum Constant Detail- 
unusedZeropublic static final CoreFoundation.CFNumberType unusedZero 
 - 
kCFNumberSInt8Typepublic static final CoreFoundation.CFNumberType kCFNumberSInt8Type 
 - 
kCFNumberSInt16Typepublic static final CoreFoundation.CFNumberType kCFNumberSInt16Type 
 - 
kCFNumberSInt32Typepublic static final CoreFoundation.CFNumberType kCFNumberSInt32Type 
 - 
kCFNumberSInt64Typepublic static final CoreFoundation.CFNumberType kCFNumberSInt64Type 
 - 
kCFNumberFloat32Typepublic static final CoreFoundation.CFNumberType kCFNumberFloat32Type 
 - 
kCFNumberFloat64Typepublic static final CoreFoundation.CFNumberType kCFNumberFloat64Type 
 - 
kCFNumberCharTypepublic static final CoreFoundation.CFNumberType kCFNumberCharType 
 - 
kCFNumberShortTypepublic static final CoreFoundation.CFNumberType kCFNumberShortType 
 - 
kCFNumberIntTypepublic static final CoreFoundation.CFNumberType kCFNumberIntType 
 - 
kCFNumberLongTypepublic static final CoreFoundation.CFNumberType kCFNumberLongType 
 - 
kCFNumberLongLongTypepublic static final CoreFoundation.CFNumberType kCFNumberLongLongType 
 - 
kCFNumberFloatTypepublic static final CoreFoundation.CFNumberType kCFNumberFloatType 
 - 
kCFNumberDoubleTypepublic static final CoreFoundation.CFNumberType kCFNumberDoubleType 
 - 
kCFNumberCFIndexTypepublic static final CoreFoundation.CFNumberType kCFNumberCFIndexType 
 - 
kCFNumberNSIntegerTypepublic static final CoreFoundation.CFNumberType kCFNumberNSIntegerType 
 - 
kCFNumberCGFloatTypepublic static final CoreFoundation.CFNumberType kCFNumberCGFloatType 
 - 
kCFNumberMaxTypepublic static final CoreFoundation.CFNumberType kCFNumberMaxType 
 
- 
 - 
Method Detail- 
valuespublic static CoreFoundation.CFNumberType[] values() Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (CoreFoundation.CFNumberType c : CoreFoundation.CFNumberType.values()) System.out.println(c); - Returns:
- an array containing the constants of this enum type, in the order they are declared
 
 - 
valueOfpublic static CoreFoundation.CFNumberType valueOf(java.lang.String name) Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
- java.lang.IllegalArgumentException- if this enum type has no constant with the specified name
- java.lang.NullPointerException- if the argument is null
 
 - 
typeIndexpublic CoreFoundation.CFIndex typeIndex() Index for the type ofCoreFoundation.CFNumberRefstored.- Returns:
- a CoreFoundation.CFIndexrepresenting the enum ordinal.
 
 
- 
 
-