com.ochafik.lang.jnaerator.runtime.globals
Class GlobalStruct<S extends Structure<?,?,?>>

java.lang.Object
  extended by com.ochafik.lang.jnaerator.runtime.globals.Global
      extended by com.ochafik.lang.jnaerator.runtime.globals.GlobalStruct<S>

public class GlobalStruct<S extends Structure<?,?,?>>
extends Global


Field Summary
 
Fields inherited from class com.ochafik.lang.jnaerator.runtime.globals.Global
library, pointer, symbols
 
Constructor Summary
GlobalStruct(NativeLibrary library, Class<S> valueClass, String... symbols)
           
 
Method Summary
 S get()
           
protected  boolean isByValue()
           
protected  S newInstance()
           
 void set(S value)
           
 
Methods inherited from class com.ochafik.lang.jnaerator.runtime.globals.Global
getPointer
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GlobalStruct

public GlobalStruct(NativeLibrary library,
                    Class<S> valueClass,
                    String... symbols)
Method Detail

get

public S get()

newInstance

protected S newInstance()

set

public void set(S value)

isByValue

protected boolean isByValue()


Copyright © 2009. All Rights Reserved.