| 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 Const
java.lang.Object
|
+--com.smardec.j2native.Argument
|
+--com.smardec.j2native.DelegatedArgument
|
+--com.smardec.j2native.Const
- All Implemented Interfaces:
- java.lang.Cloneable
- public class Const
- extends DelegatedArgument
Const class represents a read-only argument. It is a wrapper
for an instance of a real Argument object.
|
Constructor Summary |
Const(Argument refArgument)
Constructs the Const object by wrapping a specified
Argument 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.DelegatedArgument |
| finalize, free, fromBytesValue, getAlignedLength, getInternalValue, getLength, isFixedLength, readFromRAM, restoreFromRAM, setInternalValue, storeToRAM, toBytesValue, toBytesValue, write, writeToRAM, writeToStack |
| Methods inherited from class java.lang.Object |
| equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Const
public Const(Argument refArgument)
- Constructs the
Const object by wrapping a specified
Argument object.
- Parameters:
- refArgument - argument to wrap
read
protected void read(long handle,
int offset)
- do nothing
- Overrides:
- read in class DelegatedArgument
- Parameters:
- handle - identifies location in memory from which
Argument
will be read- offset - memory address offset
readFromStack
protected void readFromStack(byte[] stack,
int offset)
- do nothing
- Overrides:
- readFromStack in class DelegatedArgument
- Parameters:
- stack - it's byte array, from which
Argument will be restored- offset - offset in stack
|
|
|