Home about services products contact login
   com.smardec

J2Native

  j2native
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.


Field Summary
Fields inherited from class com.smardec.j2native.Argument
JAVA_SIDE, NATIVE_SIDE
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 com.smardec.j2native.Argument
clone, getResultFlags, update
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail
OutOnly
public OutOnly(Argument refArgument)

Constructs the OutOnly object by wrapping a specified Argument object.

Parameters:
refArgument - argument to wrap
Method Detail
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
Home about services products contact login