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 |
java.lang.Object |
clone()
Creates and returns a copy of this object. |
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, toString, writeToRAM |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
OutOnly
public OutOnly(Argument refArgument)
- Constructs the
OutOnly
object by wrapping a specified
Argument
object.
- Parameters:
refArgument
- argument to wrap
clone
public java.lang.Object clone()
- Description copied from class:
Argument
- Creates and returns a copy of this object.
- Specified by:
clone
in class Argument
- Returns:
- a clone of this instance.
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-2005 Smardec. All Rights Reserved.