| j2native |
| AnsiString |
| Argument |
| ArrayArgument |
| ArrayType |
| Bool |
| Callback |
| Char |
| Const |
| DelegatedArgument |
| DoubleFloat |
| FloatArgument |
| FloatType |
| Function |
| FunctionExecutionException |
| FunctionNotFoundException |
| IllegalMemoryAccessException |
| Int |
| Int16 |
| Int32 |
| Int64 |
| Int8 |
| IntegerArgument |
| IntegerType |
| J2NativeContext |
| Library |
| LibraryLoader |
| LibraryNotFoundException |
| MemoryException |
| NumericArgument |
| NumericType |
| OutOnly |
| Pointer |
| Pointer.Const |
| Pointer.OutOnly |
| Pointer.Void |
| PointerArgument |
| PointerType |
| SimpleFloat |
| StringType |
| StructuralArgument |
| Structure |
| TypedPointer |
| UInt |
| UInt16 |
| UInt32 |
| UInt8 |
| Union |
| WideChar |
| WideString |
| ZeroTerminatedString |
|  |
com.smardec.j2native
Class OutOnly
java.lang.Object
|
+--com.smardec.j2native.Argument
|
+--com.smardec.j2native.DelegatedArgument
|
+--com.smardec.j2native.OutOnly
- All Implemented Interfaces:
- java.lang.Cloneable
- public class OutOnly
- extends DelegatedArgument
OutOnly class represents an argument that is only written by
a native function. In documentation, such parameters are usually identified
as [out]. Initial content of the corresponding memory area during the
function call is undefined.
|
Constructor Summary |
OutOnly(Argument refArgument)
Constructs the OutOnly object by wrapping a specified
Argument object. |
|
Method Summary |
|
protected void |
write(long handle,
int offset)
do nothing |
|
protected void |
writeToStack(byte[] stack,
int offset)
do nothing |
| Methods inherited from class com.smardec.j2native.DelegatedArgument |
| finalize, free, fromBytesValue, getAlignedLength, getInternalValue, getLength, isFixedLength, read, readFromRAM, readFromStack, restoreFromRAM, setInternalValue, storeToRAM, toBytesValue, toBytesValue, writeToRAM |
| Methods inherited from class java.lang.Object |
| equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OutOnly
public OutOnly(Argument refArgument)
- Constructs the
OutOnly object by wrapping a specified
Argument object.
- Parameters:
- refArgument - argument to wrap
write
protected void write(long handle,
int offset)
- do nothing
- Overrides:
- write in class DelegatedArgument
- Parameters:
- handle - identifies location in memory where
Argument
will be written- offset - memory address offset
writeToStack
protected void writeToStack(byte[] stack,
int offset)
- do nothing
- Overrides:
- writeToStack in class DelegatedArgument
- Parameters:
- stack - it's byte array, where
Argument will be written- offset - offset in stack
|
|
|