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 ofMachineDataInfo
instances used for high performance data size and alignment lookups, e.g. for generated structures using theMachineDataInfo.StaticConfig
index.The value
MachineDataInfo.pageSizeInBytes
shall be ignored for static instances!If changing this table, you need to:
- Rebuild GlueGen.
- Run ant
build.xml
targetgenerate.os.sources
. - Rebuild everything.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ARM_MIPS_32
ARM64_IOS
LP64_UNIX
LP64 Unix, e.g.:Platform.CPUType.X86_64
Unix,Platform.CPUType.ARM64
EABI,Platform.CPUType.PPC64
Unix, ..PPC_32_UNIX
Platform.CPUType.PPC
UnixSPARC_32_SUNOS
Platform.CPUType.SPARC_32
SolarisX86_32_ANDROID
Platform.CPUType.X86_32
Android/BionicX86_32_MACOS
Platform.CPUType.X86_32
MacOS (Special case gcc4/OSX)X86_32_UNIX
X86_32_WINDOWS
Platform.CPUType.X86_32
WindowsX86_64_WINDOWS
Platform.CPUType.X86_64
Windows
-
Field Summary
Fields Modifier and Type Field Description MachineDataInfo
md
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MachineDataInfo.StaticConfig
findCompatible(MachineDataInfo md)
String
toShortString()
String
toString()
StringBuilder
toString(StringBuilder sb)
static void
validateUniqueMachineDataInfo()
Static'sMachineDataInfo
shall be unique by thecompatible
criteria.static MachineDataInfo.StaticConfig
valueOf(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_32
Android/Bionic
-
X86_32_MACOS
public static final MachineDataInfo.StaticConfig X86_32_MACOS
Platform.CPUType.X86_32
MacOS (Special case gcc4/OSX)
-
PPC_32_UNIX
public static final MachineDataInfo.StaticConfig PPC_32_UNIX
Platform.CPUType.PPC
Unix
-
SPARC_32_SUNOS
public static final MachineDataInfo.StaticConfig SPARC_32_SUNOS
Platform.CPUType.SPARC_32
Solaris
-
X86_32_WINDOWS
public static final MachineDataInfo.StaticConfig X86_32_WINDOWS
Platform.CPUType.X86_32
Windows
-
LP64_UNIX
public static final MachineDataInfo.StaticConfig LP64_UNIX
LP64 Unix, e.g.:Platform.CPUType.X86_64
Unix,Platform.CPUType.ARM64
EABI,Platform.CPUType.PPC64
Unix, ..
-
X86_64_WINDOWS
public static final MachineDataInfo.StaticConfig X86_64_WINDOWS
Platform.CPUType.X86_64
Windows
-
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:
toString
in classEnum<MachineDataInfo.StaticConfig>
-
validateUniqueMachineDataInfo
public static final void validateUniqueMachineDataInfo()
Static'sMachineDataInfo
shall be unique by thecompatible
criteria.
-
findCompatible
public static final MachineDataInfo.StaticConfig findCompatible(MachineDataInfo md)
-
-