| 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
java.lang.Object
|
+--com.smardec.j2native.Argument
|
+--com.smardec.j2native.PointerArgument
|
+--com.smardec.j2native.TypedPointer
|
+--com.smardec.j2native.Pointer
- All Implemented Interfaces:
- java.lang.Cloneable, PointerType
- public final class Pointer
- extends TypedPointer
Pointer class represents a pointer to object in
terms of C language. Pointer type is defined by its referenced object.
For example, an int pointer (int *) is a Pointer to Int.
Int value = new Int();
Pointer pValue = new Pointer(value); // this is int*
|
Nested Class Summary |
|
static class |
Pointer.Const
Class Pointer.Const represents a pointer to constant object |
|
static class |
Pointer.OutOnly
Class Pointer.OutOnly represents a pointer to out only object. |
|
static class |
Pointer.Void
Class Pointer.Void represents a void *. |
|
Constructor Summary |
Pointer(Argument refArgument)
Constructs a new pointer to a given object. |
| Methods inherited from class com.smardec.j2native.TypedPointer |
| getAt, getAt, getReferencedArgument, getValue, isNull, read, readFromStack, setReferencedArgument, setValue, update, write, writeToStack |
| Methods inherited from class java.lang.Object |
| equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Pointer
public Pointer(Argument refArgument)
- Constructs a new pointer to a given object. The constructed pointer
is a non-null pointer parameter that points to the given object
- Parameters:
- refArgument - referenced object
|
|
|