|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<INCHI_RET> net.sf.jniinchi.INCHI_RET
public enum INCHI_RET
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.
Enum Constant Summary | |
---|---|
BUSY
Previuos call to InChI has not returned yet. |
|
EOF
No structural data has been provided. |
|
ERROR
Error: no InChI has been created. |
|
FATAL
Severe error: no InChI has been created (typically, memory allocation failure). |
|
OKAY
Success; no errors or warnings. |
|
SKIP
Not used in InChI library. |
|
UNKNOWN
Unknown program error. |
|
WARNING
Success; warning(s) issued. |
Method Summary | |
---|---|
int |
getIndx()
|
static INCHI_RET |
getValue(int ret)
|
static INCHI_RET |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static INCHI_RET[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final INCHI_RET SKIP
public static final INCHI_RET EOF
public static final INCHI_RET OKAY
public static final INCHI_RET WARNING
public static final INCHI_RET ERROR
public static final INCHI_RET FATAL
public static final INCHI_RET UNKNOWN
public static final INCHI_RET BUSY
Method Detail |
---|
public static INCHI_RET[] values()
for (INCHI_RET c : INCHI_RET.values()) System.out.println(c);
public static INCHI_RET valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic int getIndx()
public static INCHI_RET getValue(int ret)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |