|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jniwrapper.Parameter
com.jniwrapper.DelegatingParameter
com.jniwrapper.Const
public class Const
Represents a read-only parameter. It is a wrapper for an instance of a real
Parameter
object.
Field Summary |
---|
Fields inherited from class com.jniwrapper.Parameter |
---|
LICENSE_TYPE, V |
Constructor Summary | |
---|---|
Const(Const t)
Constructs a copy of the Const instance. |
|
Const(Parameter param)
Constructs the Const object by wrapping a specified
Parameter object. |
Method Summary | |
---|---|
java.lang.Object |
clone()
|
java.lang.String |
getDebugInfo()
Return debug info for JNIWrapper parameter. |
void |
pop(DataBuffer stackBuffer,
int offset,
boolean invokedByCallback)
Default implementation that does nothing because most primitive types do nothing on pop. |
void |
push(DataBuffer stackBuffer,
int offset,
boolean invokedByCallback)
Writes a parameter to a function stacks. |
void |
read(DataBuffer stackBuffer,
int offset,
boolean invokedByCallback)
Reads this parameter from a specified data source. |
void |
write(DataBuffer stackBuffer,
int offset,
boolean invokedByCallback)
Writes this parameter to a specified data source. |
Methods inherited from class com.jniwrapper.DelegatingParameter |
---|
acceptIOPerformer, getDataBuffer, getDataBufferOffset, getLength, getValueObject, setDataBuffer, setValueObject, toString |
Methods inherited from class com.jniwrapper.Parameter |
---|
asReturnValue, dataBufferAssigned, equals, getAlignedLength, getAlignmentRequirement, hashCode, indent, read, read, toByteArray, write |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Const(Parameter param)
Const
object by wrapping a specified
Parameter
object.
public Const(Const t)
Const
instance.
Method Detail |
---|
public void write(DataBuffer stackBuffer, int offset, boolean invokedByCallback) throws MemoryAccessViolationException
Parameter
write
in class DelegatingParameter
MemoryAccessViolationException
public void read(DataBuffer stackBuffer, int offset, boolean invokedByCallback) throws MemoryAccessViolationException
Parameter
read
in class DelegatingParameter
MemoryAccessViolationException
public void push(DataBuffer stackBuffer, int offset, boolean invokedByCallback) throws MemoryAccessViolationException
Parameter
push
in class DelegatingParameter
MemoryAccessViolationException
public void pop(DataBuffer stackBuffer, int offset, boolean invokedByCallback) throws MemoryAccessViolationException
Parameter
pop
in class DelegatingParameter
MemoryAccessViolationException
public java.lang.Object clone()
clone
in class Parameter
public java.lang.String getDebugInfo()
Parameter
getDebugInfo
in class DelegatingParameter
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |