public enum IMCFieldType extends java.lang.Enum<IMCFieldType>
Enum Constant and Description |
---|
TYPE_FP32 |
TYPE_FP64 |
TYPE_INT16 |
TYPE_INT32 |
TYPE_INT64 |
TYPE_INT8 |
TYPE_MESSAGE |
TYPE_MESSAGELIST |
TYPE_PLAINTEXT |
TYPE_RAWDATA |
TYPE_UINT16 |
TYPE_UINT32 |
TYPE_UINT8 |
Modifier and Type | Method and Description |
---|---|
java.lang.Class<?> |
getJavaType() |
int |
getSizeInBytes() |
static IMCFieldType |
getType(java.lang.String typeName) |
java.lang.String |
getTypeName() |
boolean |
isSizeKnown() |
java.lang.String |
toString() |
static IMCFieldType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static IMCFieldType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IMCFieldType TYPE_UINT8
public static final IMCFieldType TYPE_UINT16
public static final IMCFieldType TYPE_UINT32
public static final IMCFieldType TYPE_INT8
public static final IMCFieldType TYPE_INT16
public static final IMCFieldType TYPE_INT32
public static final IMCFieldType TYPE_INT64
public static final IMCFieldType TYPE_FP32
public static final IMCFieldType TYPE_FP64
public static final IMCFieldType TYPE_RAWDATA
public static final IMCFieldType TYPE_PLAINTEXT
public static final IMCFieldType TYPE_MESSAGE
public static final IMCFieldType TYPE_MESSAGELIST
public static IMCFieldType[] values()
for (IMCFieldType c : IMCFieldType.values()) System.out.println(c);
public static IMCFieldType 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 java.lang.String getTypeName()
public int getSizeInBytes()
public boolean isSizeKnown()
public java.lang.String toString()
toString
in class java.lang.Enum<IMCFieldType>
public java.lang.Class<?> getJavaType()
public static IMCFieldType getType(java.lang.String typeName)