public enum VariableType extends java.lang.Enum<VariableType>
Modifier and Type | Method and Description |
---|---|
static boolean |
isInputSignal(java.lang.Enum<?> typeId)
Checks rather the specified identifier is of input or input-output signal type.
|
static boolean |
isOutputSignal(java.lang.Enum<?> typeId)
Check rather the specified identifier is of input-output or output type.
|
static boolean |
isRegister(java.lang.Enum<?> typeId)
Check rather the specified identifier is of register type.
|
static boolean |
isSignal(java.lang.Enum<?> typeId)
Checks rather identifier is of signal type.
|
static VariableType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static VariableType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final VariableType IN
public static final VariableType OUT
public static final VariableType INOUT
public static final VariableType REG
public static VariableType[] values()
for (VariableType c : VariableType.values()) System.out.println(c);
public static VariableType 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 boolean isSignal(java.lang.Enum<?> typeId)
typeId
- type identifiertrue
if identifier is of input/output/input-output signal type,
false
otherwise.public static boolean isInputSignal(java.lang.Enum<?> typeId)
typeId
- type identifiertrue
if identifier is of input/input-output signal type,
false
otherwise.public static boolean isOutputSignal(java.lang.Enum<?> typeId)
typeId
- type identifiertrue
if identifier is of input-output/output signal type,
false
otherwise.public static boolean isRegister(java.lang.Enum<?> typeId)
typeId
- type identifiertrue
if identifier is of register type, false
otherwise.