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 writtenoffset
- 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 writtenoffset
- offset in stack
Copyright © 2004-2006 Smardec. All Rights Reserved.