|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjnr.ffi.Struct.Member
jnr.ffi.Struct.NumberField
jnr.ffi.Struct.Pointer
public class Struct.Pointer
Represents a native memory address.
| Field Summary |
|---|
| Fields inherited from class jnr.ffi.Struct.NumberField |
|---|
type |
| Constructor Summary | |
|---|---|
Struct.Pointer()
Creates a new Address field. |
|
Struct.Pointer(Struct.Offset offset)
|
|
| Method Summary | |
|---|---|
Pointer |
get()
Gets the Pointer value from the native memory. |
int |
intValue()
Returns an integer representation of this Pointer. |
long |
longValue()
Returns an long representation of this Pointer. |
void |
set(java.lang.Number value)
Sets the field to a new value. |
void |
set(Pointer value)
Puts a Address value into the native memory. |
int |
size()
Gets the size of a Pointer in bits |
java.lang.String |
toString()
Returns a string representation of this Pointer. |
| Methods inherited from class jnr.ffi.Struct.NumberField |
|---|
byteValue, doubleValue, floatValue, getMemory, offset, shortValue, struct |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Struct.Pointer()
public Struct.Pointer(Struct.Offset offset)
| Method Detail |
|---|
public final Pointer get()
Pointer value from the native memory.
Pointer.public final int size()
public final void set(Pointer value)
Address value into the native memory.
public void set(java.lang.Number value)
Struct.NumberField
set in class Struct.NumberFieldvalue - The new value.public final int intValue()
Pointer.
intValue in class Struct.NumberFieldPointer.public final long longValue()
long representation of this Pointer.
longValue in class Struct.NumberFieldlong value for this Pointer.public final java.lang.String toString()
Pointer.
toString in class Struct.NumberFieldPointer.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||