JADE v6.1

com.dautelle.util
Class Struct.Reference32

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

public class Struct.Reference32
extends Struct.Member

This class represents a 32 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.Reference32(java.lang.Class structClass)
           
 
Method Summary
 Struct get()
           
 boolean isUpToDate()
           
 void set(Struct struct)
           
 int 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.Reference32

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

set

public void set(Struct struct)

get

public Struct get()

value

public int value()

isUpToDate

public boolean isUpToDate()

JADE v6.1

Copyright © 2004 Jean-Marie Dautelle.