Package com.jogamp.opencl
Enum CLProgram.Status
- java.lang.Object
-
- java.lang.Enum<CLProgram.Status>
-
- com.jogamp.opencl.CLProgram.Status
-
- All Implemented Interfaces:
Serializable
,Comparable<CLProgram.Status>
- Enclosing class:
- CLProgram
public static enum CLProgram.Status extends Enum<CLProgram.Status>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BUILD_ERROR
BUILD_IN_PROGRESS
BUILD_NONE
BUILD_SUCCESS
-
Field Summary
Fields Modifier and Type Field Description int
STATUS
Value of wrapped OpenCL device type.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CLProgram.Status
valueOf(int clBuildStatus)
Returns the enum constant of this type with the specified name.static CLProgram.Status
valueOf(String name)
Returns the enum constant of this type with the specified name.static CLProgram.Status[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BUILD_SUCCESS
public static final CLProgram.Status BUILD_SUCCESS
-
BUILD_NONE
public static final CLProgram.Status BUILD_NONE
-
BUILD_IN_PROGRESS
public static final CLProgram.Status BUILD_IN_PROGRESS
-
BUILD_ERROR
public static final CLProgram.Status BUILD_ERROR
-
-
Method Detail
-
values
public static CLProgram.Status[] 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 (CLProgram.Status c : CLProgram.Status.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CLProgram.Status 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
-
valueOf
public static CLProgram.Status valueOf(int clBuildStatus)
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:
clBuildStatus
- 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
-
-