Package com.openinventor.ldm.converters
Enum SoConverter.ConverterErrors
- java.lang.Object
-
- java.lang.Enum<SoConverter.ConverterErrors>
-
- com.openinventor.ldm.converters.SoConverter.ConverterErrors
-
- All Implemented Interfaces:
IntegerValuedEnum
,java.io.Serializable
,java.lang.Comparable<SoConverter.ConverterErrors>
- Enclosing class:
- SoConverter
public static enum SoConverter.ConverterErrors extends java.lang.Enum<SoConverter.ConverterErrors> implements IntegerValuedEnum
Converter errors.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CVT_ABORTED
Conversion aborted.CVT_CANT_CREATE_DATA_FILE
Unable to create data file.CVT_CANT_CREATE_HEADER_FILE
Unable to create header file.CVT_CANT_OPEN_INPUT_FILE
Unable to open file.CVT_CANT_READ_INPUT_FILE
Unable to read input file.CVT_FILE_EXT_UNKNOWN
Unknown file extension.CVT_FINISHED_WITH_WARNINGS
Finished with warnings.CVT_INPUT_PARAMS_PROBLEM
Input params problems.CVT_NO_ERROR
No error.CVT_NO_LDM_LICENSE
No LDM license.CVT_NO_NODE
No node.CVT_NOT_ENOUGH_DISK_SPACE
No enough disk space.CVT_NOT_INITIALIZED
Uninitialized converter.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getValue()
Returns the integer value of the enum constant.static SoConverter.ConverterErrors
valueOf(int val)
Returns the enum constant of this type with the specified integer valuestatic SoConverter.ConverterErrors
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static SoConverter.ConverterErrors[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CVT_FINISHED_WITH_WARNINGS
public static final SoConverter.ConverterErrors CVT_FINISHED_WITH_WARNINGS
Finished with warnings.
-
CVT_NO_ERROR
public static final SoConverter.ConverterErrors CVT_NO_ERROR
No error.
-
CVT_INPUT_PARAMS_PROBLEM
public static final SoConverter.ConverterErrors CVT_INPUT_PARAMS_PROBLEM
Input params problems.
-
CVT_FILE_EXT_UNKNOWN
public static final SoConverter.ConverterErrors CVT_FILE_EXT_UNKNOWN
Unknown file extension.
-
CVT_CANT_OPEN_INPUT_FILE
public static final SoConverter.ConverterErrors CVT_CANT_OPEN_INPUT_FILE
Unable to open file.
-
CVT_CANT_CREATE_DATA_FILE
public static final SoConverter.ConverterErrors CVT_CANT_CREATE_DATA_FILE
Unable to create data file.
-
CVT_CANT_CREATE_HEADER_FILE
public static final SoConverter.ConverterErrors CVT_CANT_CREATE_HEADER_FILE
Unable to create header file.
-
CVT_NOT_ENOUGH_DISK_SPACE
public static final SoConverter.ConverterErrors CVT_NOT_ENOUGH_DISK_SPACE
No enough disk space.
-
CVT_CANT_READ_INPUT_FILE
public static final SoConverter.ConverterErrors CVT_CANT_READ_INPUT_FILE
Unable to read input file.
-
CVT_ABORTED
public static final SoConverter.ConverterErrors CVT_ABORTED
Conversion aborted.
-
CVT_NOT_INITIALIZED
public static final SoConverter.ConverterErrors CVT_NOT_INITIALIZED
Uninitialized converter.
-
CVT_NO_NODE
public static final SoConverter.ConverterErrors CVT_NO_NODE
No node.
-
CVT_NO_LDM_LICENSE
public static final SoConverter.ConverterErrors CVT_NO_LDM_LICENSE
No LDM license.
-
-
Method Detail
-
values
public static SoConverter.ConverterErrors[] 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 (SoConverter.ConverterErrors c : SoConverter.ConverterErrors.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SoConverter.ConverterErrors valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
valueOf
public static SoConverter.ConverterErrors valueOf(int val)
Returns the enum constant of this type with the specified integer value- Returns:
- the enum constant of this type with the specified integer value.
-
getValue
public int getValue()
Description copied from interface:IntegerValuedEnum
Returns the integer value of the enum constant.- Specified by:
getValue
in interfaceIntegerValuedEnum
- Returns:
- the integer value of the enum constant.
-
-