Package com.jogamp.gluegen.jcpp
Enum PreprocessorCommand
- java.lang.Object
-
- java.lang.Enum<PreprocessorCommand>
-
- com.jogamp.gluegen.jcpp.PreprocessorCommand
-
- All Implemented Interfaces:
Serializable
,Comparable<PreprocessorCommand>
public enum PreprocessorCommand extends Enum<PreprocessorCommand>
- Author:
- shevek
-
-
Enum Constant Summary
Enum Constants Enum Constant Description PP_DEFINE
PP_ELIF
PP_ELSE
PP_ENDIF
PP_ERROR
PP_IF
PP_IFDEF
PP_IFNDEF
PP_IMPORT
PP_INCLUDE
PP_INCLUDE_NEXT
PP_LINE
PP_PRAGMA
PP_UNDEF
PP_WARNING
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PreprocessorCommand
forText(String text)
static PreprocessorCommand
valueOf(String name)
Returns the enum constant of this type with the specified name.static PreprocessorCommand[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PP_DEFINE
public static final PreprocessorCommand PP_DEFINE
-
PP_ELIF
public static final PreprocessorCommand PP_ELIF
-
PP_ELSE
public static final PreprocessorCommand PP_ELSE
-
PP_ENDIF
public static final PreprocessorCommand PP_ENDIF
-
PP_ERROR
public static final PreprocessorCommand PP_ERROR
-
PP_IF
public static final PreprocessorCommand PP_IF
-
PP_IFDEF
public static final PreprocessorCommand PP_IFDEF
-
PP_IFNDEF
public static final PreprocessorCommand PP_IFNDEF
-
PP_INCLUDE
public static final PreprocessorCommand PP_INCLUDE
-
PP_LINE
public static final PreprocessorCommand PP_LINE
-
PP_PRAGMA
public static final PreprocessorCommand PP_PRAGMA
-
PP_UNDEF
public static final PreprocessorCommand PP_UNDEF
-
PP_WARNING
public static final PreprocessorCommand PP_WARNING
-
PP_INCLUDE_NEXT
public static final PreprocessorCommand PP_INCLUDE_NEXT
-
PP_IMPORT
public static final PreprocessorCommand PP_IMPORT
-
-
Method Detail
-
values
public static PreprocessorCommand[] 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 (PreprocessorCommand c : PreprocessorCommand.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PreprocessorCommand 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
-
forText
@CheckForNull public static PreprocessorCommand forText(@Nonnull String text)
-
-