Home about services products contact login
   com.smardec

J2Native

  j2native
com.smardec.j2native
Class Pointer.Const

java.lang.Object
|
+--com.smardec.j2native.Argument
|
+--com.smardec.j2native.PointerArgument
|
+--com.smardec.j2native.TypedPointer
|
+--com.smardec.j2native.Pointer.Const
All Implemented Interfaces:
java.lang.Cloneable, PointerType
Enclosing class:
Pointer

public static final class Pointer.Const
extends TypedPointer

Class Pointer.Const represents a pointer to constant object


Field Summary
Fields inherited from class com.smardec.j2native.Argument
JAVA_SIDE, NATIVE_SIDE
Constructor Summary
Pointer.Const(Argument refArgument)
Constructs a new pointer to the given constant object.
Method Summary
protected void read(long handle, int offset)
do nothing
protected void readFromStack(byte[] stack, int offset)
do nothing
Methods inherited from class com.smardec.j2native.TypedPointer
getAt, getAt, getReferencedArgument, getValue, isNull, setReferencedArgument, setValue, update, write, writeToStack
Methods inherited from class com.smardec.j2native.PointerArgument
fromBytesValue, getLength, isFixedLength, toBytesValue, toBytesValue
Methods inherited from class com.smardec.j2native.Argument
clone, finalize, free, getAlignedLength, getResultFlags, readFromRAM, restoreFromRAM, storeToRAM, writeToRAM
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail
Pointer.Const
public Pointer.Const(Argument refArgument)

Constructs a new pointer to the given constant object. The constructed pointer is a non-null pointer parameter that points to the given object

Parameters:
refArgument - referenced constant object
Method Detail
readFromStack
protected void readFromStack(byte[] stack, int offset)
do nothing

Overrides:
readFromStack in class TypedPointer
Parameters:
stack - it's byte array, from which Argument will be restored
offset - offset in stack

read
protected void read(long handle, int offset)
do nothing

Overrides:
read in class TypedPointer
Parameters:
handle - identifies location in memory from which Argument will be read
offset - memory address offset
Home about services products contact login