|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.kenai.jffi.ObjectParameterInfo
public final class ObjectParameterInfo
Nested Class Summary | |
---|---|
static class |
ObjectParameterInfo.ComponentType
|
static class |
ObjectParameterInfo.ObjectType
|
Field Summary | |
---|---|
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 function |
static ObjectParameterInfo.ComponentType |
DOUBLE
|
static ObjectParameterInfo.ComponentType |
FLOAT
|
static int |
IN
Copy the array contents to native memory before calling the function |
static ObjectParameterInfo.ComponentType |
INT
|
static ObjectParameterInfo.ComponentType |
LONG
|
static int |
NULTERMINATE
Append a NUL byte to the array contents after copying to native memory |
static int |
OUT
After calling the function, reload the array contents from native memory |
static int |
PINNED
Pin the array memory and pass the JVM memory pointer directly to the function |
static ObjectParameterInfo.ComponentType |
SHORT
|
Method Summary | |
---|---|
static ObjectParameterInfo |
create(int parameterIndex,
ObjectParameterInfo.ObjectType objectType,
ObjectParameterInfo.ComponentType componentType,
int ioflags)
|
int |
getParameterIndex()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int IN
public static final int OUT
public static final int PINNED
public static final int NULTERMINATE
public static final int CLEAR
public static final ObjectParameterInfo.ObjectType ARRAY
public static final ObjectParameterInfo.ObjectType BUFFER
public static final ObjectParameterInfo.ComponentType BYTE
public static final ObjectParameterInfo.ComponentType SHORT
public static final ObjectParameterInfo.ComponentType INT
public static final ObjectParameterInfo.ComponentType LONG
public static final ObjectParameterInfo.ComponentType FLOAT
public static final ObjectParameterInfo.ComponentType DOUBLE
public static final ObjectParameterInfo.ComponentType BOOLEAN
public static final ObjectParameterInfo.ComponentType CHAR
Method Detail |
---|
public static ObjectParameterInfo create(int parameterIndex, ObjectParameterInfo.ObjectType objectType, ObjectParameterInfo.ComponentType componentType, int ioflags)
public final int getParameterIndex()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |