JADE v6.1

com.dautelle.util
Class Struct.Reference64

java.lang.Object
  extended bycom.dautelle.util.Struct.Member
      extended bycom.dautelle.util.Struct.Reference64
Enclosing class:
Struct

public class Struct.Reference64
extends Struct.Member

This class represents a 64 bits reference (C/C++ pointer) to a Struct object (other types may require a Struct wrapper).

Note: For references which can be externally modified, an application may want to check the up-to-date status of the reference. For out-of-date references, a new Struct can be created at the address specified by value() (using JNI) and then set to the reference.


Constructor Summary
Struct.Reference64(java.lang.Class structClass)
           
 
Method Summary
 Struct get()
           
 boolean isUpToDate()
           
 void set(Struct struct)
           
 long value()
           
 
Methods inherited from class com.dautelle.util.Struct.Member
offset
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Struct.Reference64

public Struct.Reference64(java.lang.Class structClass)
Method Detail

set

public void set(Struct struct)

get

public Struct get()

value

public long value()

isUpToDate

public boolean isUpToDate()

JADE v6.1

Copyright © 2004 Jean-Marie Dautelle.