Package net.sf.jniinchi
Enum Class INCHI_RET
- All Implemented Interfaces:
Serializable
,Comparable<INCHI_RET>
,Constable
Type-safe enumeration of InChI return codes.
InChI library return values:
SKIP (-2) Not used in InChI library
EOF (-1) No structural data has been provided
OKAY (0) Success, no errors or warnings
WARNING (1) Success, warning(s) issued
ERROR (2) Error: no InChI has been created
FATAL (3) Severe error: no InChI has been created (typically,
memory allocation failure)
UNKNOWN (4) Unknown program error
BUSY (5) Previous call to InChI has not returned yet
See inchi_api.h.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionPreviuos call to InChI has not returned yet.No structural data has been provided.Error: no InChI has been created.Severe error: no InChI has been created (typically, memory allocation failure).Success; no errors or warnings.Not used in InChI library.Unknown program error.Success; warning(s) issued. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Enum Constant Details
-
BREAK
-
SKIP
Not used in InChI library. -
EOF
No structural data has been provided. -
OKAY
Success; no errors or warnings. -
WARNING
Success; warning(s) issued. -
ERROR
Error: no InChI has been created. -
FATAL
Severe error: no InChI has been created (typically, memory allocation failure). -
UNKNOWN
Unknown program error. -
BUSY
Previuos call to InChI has not returned yet.
-
-
Field Details
-
indx
private final int indxInternal InChI index (from inchi_api.h).
-
-
Constructor Details
-
INCHI_RET
private INCHI_RET(int indx) Constructor.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-
getIndx
public int getIndx() -
getValue
-