Package com.kenai.jffi
Class ObjectParameterInfo
- java.lang.Object
-
- com.kenai.jffi.ObjectParameterInfo
-
public final class ObjectParameterInfo extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ObjectParameterInfo.ComponentType
static class
ObjectParameterInfo.ObjectType
-
Field Summary
Fields Modifier and Type Field Description static ObjectParameterInfo.ObjectType
ARRAY
static ObjectParameterInfo.ComponentType
BOOLEAN
static ObjectParameterInfo.ObjectType
BUFFER
static ObjectParameterInfo.ComponentType
BYTE
static ObjectParameterInfo.ComponentType
CHAR
static int
CLEAR
For OUT arrays, clear the native memory area before passing to the native functionstatic ObjectParameterInfo.ComponentType
DOUBLE
static ObjectParameterInfo.ComponentType
FLOAT
static int
IN
Copy the array contents to native memory before calling the functionstatic ObjectParameterInfo.ComponentType
INT
static ObjectParameterInfo.ComponentType
LONG
static int
NULTERMINATE
Append a NUL byte to the array contents after copying to native memorystatic int
OUT
After calling the function, reload the array contents from native memorystatic int
PINNED
Pin the array memory and pass the JVM memory pointer directly to the functionstatic ObjectParameterInfo.ComponentType
SHORT
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ObjectParameterInfo
create(int parameterIndex, int ioflags)
static ObjectParameterInfo
create(int parameterIndex, ObjectParameterInfo.ObjectType objectType, ObjectParameterInfo.ComponentType componentType, int ioflags)
boolean
equals(Object o)
int
getParameterIndex()
int
hashCode()
-
-
-
Field Detail
-
IN
public static final int IN
Copy the array contents to native memory before calling the function- See Also:
- Constant Field Values
-
OUT
public static final int OUT
After calling the function, reload the array contents from native memory- See Also:
- Constant Field Values
-
PINNED
public static final int PINNED
Pin the array memory and pass the JVM memory pointer directly to the function- See Also:
- Constant Field Values
-
NULTERMINATE
public static final int NULTERMINATE
Append a NUL byte to the array contents after copying to native memory- See Also:
- Constant Field Values
-
CLEAR
public static final int CLEAR
For OUT arrays, clear the native memory area before passing to the native function- See Also:
- Constant Field Values
-
ARRAY
public static final ObjectParameterInfo.ObjectType ARRAY
-
BUFFER
public static final ObjectParameterInfo.ObjectType BUFFER
-
BYTE
public static final ObjectParameterInfo.ComponentType BYTE
-
SHORT
public static final ObjectParameterInfo.ComponentType SHORT
-
INT
public static final ObjectParameterInfo.ComponentType INT
-
LONG
public static final ObjectParameterInfo.ComponentType LONG
-
FLOAT
public static final ObjectParameterInfo.ComponentType FLOAT
-
DOUBLE
public static final ObjectParameterInfo.ComponentType DOUBLE
-
BOOLEAN
public static final ObjectParameterInfo.ComponentType BOOLEAN
-
CHAR
public static final ObjectParameterInfo.ComponentType CHAR
-
-
Method Detail
-
create
public static ObjectParameterInfo create(int parameterIndex, ObjectParameterInfo.ObjectType objectType, ObjectParameterInfo.ComponentType componentType, int ioflags)
-
create
public static ObjectParameterInfo create(int parameterIndex, int ioflags)
-
getParameterIndex
public final int getParameterIndex()
-
-