public enum CompilerDirective extends java.lang.Enum<CompilerDirective>
Modifier and Type | Method and Description |
---|---|
static java.util.List<java.lang.String> |
availableDirectiveLanguage() |
static CompilerDirective |
fromString(java.lang.String value)
Get enum value from a string.
|
java.lang.String |
getCode()
Get the compiler directive code name.
|
java.lang.String |
getPrefix()
Get the compiler directive prefix.
|
java.lang.String |
toString()
Convert current enum to String value.
|
static CompilerDirective |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CompilerDirective[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CompilerDirective NONE
public static final CompilerDirective OPENACC
public static final CompilerDirective OPENMP
public static final CompilerDirective CLAW
public static CompilerDirective[] values()
for (CompilerDirective c : CompilerDirective.values()) System.out.println(c);
public static CompilerDirective valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static java.util.List<java.lang.String> availableDirectiveLanguage()
public static CompilerDirective fromString(java.lang.String value)
value
- Code value for the enumeration.public java.lang.String getCode()
public java.lang.String getPrefix()
public java.lang.String toString()
toString
in class java.lang.Enum<CompilerDirective>