com.jogamp.opencl
Enum CLProgram.Status

java.lang.Object
  extended by java.lang.Enum<CLProgram.Status>
      extended by 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
BUILD_ERROR
           
BUILD_IN_PROGRESS
           
BUILD_NONE
           
BUILD_SUCCESS
           
 
Field Summary
 int STATUS
          Value of wrapped OpenCL device type.
 
Method Summary
static CLProgram.Status valueOf(int clBuildStatus)
           
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.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

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
Field Detail

STATUS

public final int STATUS
Value of wrapped OpenCL device type.

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 name
NullPointerException - if the argument is null

valueOf

public static CLProgram.Status valueOf(int clBuildStatus)