|
JNative v1.3 project : see http://jnative.sf.net |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface BasicData<T>
$Id: BasicData.java,v 1.5 2006/06/09 20:44:05 mdenty Exp $
Instances of BasicData are specialized blocks of memory
They are values, memory, pointers to the memory
This software is released under the LGPL.
| Method Summary | |
|---|---|
Pointer |
createPointer()
Method createPointer reserves a native MemoryBlock and copy its value in it |
Pointer |
getPointer()
Method getPointer gets the Pointer created by createPointer() |
int |
getSizeOf()
Method getSizeOf |
T |
getValue()
Method getValue gets the value of this BasicData (often this) |
T |
getValueFromPointer()
Method getValueFromPointer gets the value of this data from the native memory block |
| Method Detail |
|---|
T getValue()
T getValueFromPointer()
throws NativeException
NativeExceptionPointer getPointer()
int getSizeOf()
Pointer createPointer()
throws NativeException
NativeException
|
JNative v1.3 project : see http://jnative.sf.net |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||