Package com.jogamp.common.os
Enum MachineDataInfo.StaticConfig
- java.lang.Object
-
- java.lang.Enum<MachineDataInfo.StaticConfig>
-
- com.jogamp.common.os.MachineDataInfo.StaticConfig
-
- All Implemented Interfaces:
Serializable,Comparable<MachineDataInfo.StaticConfig>
- Enclosing class:
- MachineDataInfo
public static enum MachineDataInfo.StaticConfig extends Enum<MachineDataInfo.StaticConfig>
Static enumeration ofMachineDataInfoinstances used for high performance data size and alignment lookups, e.g. for generated structures using theMachineDataInfo.StaticConfigindex.The value
MachineDataInfo.pageSizeInBytesshall be ignored for static instances!If changing this table, you need to:
- Rebuild GlueGen.
- Run ant
build.xmltargetgenerate.os.sources. - Rebuild everything.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ARM_MIPS_32ARM64_IOSLP64_UNIXLP64 Unix, e.g.:Platform.CPUType.X86_64Unix,Platform.CPUType.ARM64EABI,Platform.CPUType.PPC64Unix, ..PPC_32_UNIXPlatform.CPUType.PPCUnixSPARC_32_SUNOSPlatform.CPUType.SPARC_32SolarisX86_32_ANDROIDPlatform.CPUType.X86_32Android/BionicX86_32_MACOSPlatform.CPUType.X86_32MacOS (Special case gcc4/OSX)X86_32_UNIXX86_32_WINDOWSPlatform.CPUType.X86_32WindowsX86_64_WINDOWSPlatform.CPUType.X86_64Windows
-
Field Summary
Fields Modifier and Type Field Description MachineDataInfomd
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MachineDataInfo.StaticConfigfindCompatible(MachineDataInfo md)StringtoShortString()StringtoString()StringBuildertoString(StringBuilder sb)static voidvalidateUniqueMachineDataInfo()Static'sMachineDataInfoshall be unique by thecompatiblecriteria.static MachineDataInfo.StaticConfigvalueOf(String name)Returns the enum constant of this type with the specified name.static MachineDataInfo.StaticConfig[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ARM_MIPS_32
public static final MachineDataInfo.StaticConfig ARM_MIPS_32
-
X86_32_UNIX
public static final MachineDataInfo.StaticConfig X86_32_UNIX
-
X86_32_ANDROID
public static final MachineDataInfo.StaticConfig X86_32_ANDROID
Platform.CPUType.X86_32Android/Bionic
-
X86_32_MACOS
public static final MachineDataInfo.StaticConfig X86_32_MACOS
Platform.CPUType.X86_32MacOS (Special case gcc4/OSX)
-
PPC_32_UNIX
public static final MachineDataInfo.StaticConfig PPC_32_UNIX
Platform.CPUType.PPCUnix
-
SPARC_32_SUNOS
public static final MachineDataInfo.StaticConfig SPARC_32_SUNOS
Platform.CPUType.SPARC_32Solaris
-
X86_32_WINDOWS
public static final MachineDataInfo.StaticConfig X86_32_WINDOWS
Platform.CPUType.X86_32Windows
-
LP64_UNIX
public static final MachineDataInfo.StaticConfig LP64_UNIX
LP64 Unix, e.g.:Platform.CPUType.X86_64Unix,Platform.CPUType.ARM64EABI,Platform.CPUType.PPC64Unix, ..
-
X86_64_WINDOWS
public static final MachineDataInfo.StaticConfig X86_64_WINDOWS
Platform.CPUType.X86_64Windows
-
ARM64_IOS
public static final MachineDataInfo.StaticConfig ARM64_IOS
-
-
Field Detail
-
md
public final MachineDataInfo md
-
-
Method Detail
-
values
public static MachineDataInfo.StaticConfig[] 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 (MachineDataInfo.StaticConfig c : MachineDataInfo.StaticConfig.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MachineDataInfo.StaticConfig valueOf(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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
toString
public final StringBuilder toString(StringBuilder sb)
-
toShortString
public final String toShortString()
-
toString
public String toString()
- Overrides:
toStringin classEnum<MachineDataInfo.StaticConfig>
-
validateUniqueMachineDataInfo
public static final void validateUniqueMachineDataInfo()
Static'sMachineDataInfoshall be unique by thecompatiblecriteria.
-
findCompatible
public static final MachineDataInfo.StaticConfig findCompatible(MachineDataInfo md)
-
-