j2native |
AnsiString |
Argument |
ArrayArgument |
ArrayType |
Bool |
Callback |
Char |
Const |
DelegatedArgument |
DoubleFloat |
FloatArgument |
FloatType |
Function |
FunctionExecutionException |
FunctionNotFoundException |
IllegalMemoryAccessException |
Int |
Int16 |
Int32 |
Int64 |
Int8 |
IntegerArgument |
IntegerType |
J2NativeContext |
Library |
LibraryLoader |
LibraryNotFoundException |
MemoryException |
NumericArgument |
NumericType |
OutOnly |
Pointer |
Pointer.Const |
Pointer.OutOnly |
Pointer.Void |
PointerArgument |
PointerType |
SimpleFloat |
StringType |
StructuralArgument |
Structure |
TypedPointer |
UInt |
UInt16 |
UInt32 |
UInt8 |
Union |
WideChar |
WideString |
ZeroTerminatedString |
| |
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
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 java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
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
|
|
|