- All Implemented Interfaces:
Serializable,Comparable<LibraryOption>,Constable
Options that apply to a library
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe type of calling convention.A function mapper which maps from java function names to native function names.Function calls should NOT save the errno/last error after the call.Load the library into memory immediately, instead of lazily loading itFunction calls should save the errno/last error after the call.A type mapper which maps java types to native types is present. -
Method Summary
Modifier and TypeMethodDescriptionstatic LibraryOptionReturns the enum constant of this class with the specified name.static LibraryOption[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SaveError
Function calls should save the errno/last error after the call. This option can be overridden on individual methods by use of theIgnoreErrorannotation. -
IgnoreError
Function calls should NOT save the errno/last error after the call. This option can be overridden on individual methods by use of theSaveErrorannotation. -
TypeMapper
A type mapper which maps java types to native types is present. -
FunctionMapper
A function mapper which maps from java function names to native function names. -
CallingConvention
The type of calling convention.- See Also:
-
LoadNow
Load the library into memory immediately, instead of lazily loading it
-
-
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
-