com.ochafik.lang.jnaerator.runtime.globals
Class GlobalPrimitive<T extends PointerType>

java.lang.Object
  extended by com.ochafik.lang.jnaerator.runtime.globals.Global
      extended by com.ochafik.lang.jnaerator.runtime.globals.GlobalPrimitive<T>
Direct Known Subclasses:
GlobalByte, GlobalCGFloat, GlobalChar, GlobalDouble, GlobalFloat, GlobalInt, GlobalLong, GlobalNativeLong, GlobalNativeSize, GlobalPointer, GlobalPointerType, GlobalShort

public abstract class GlobalPrimitive<T extends PointerType>
extends Global


Field Summary
protected  boolean indirected
           
protected  Class<T> type
           
protected  T value
           
 
Fields inherited from class com.ochafik.lang.jnaerator.runtime.globals.Global
library, pointer, symbols
 
Constructor Summary
GlobalPrimitive(NativeLibrary library, Class<T> type, String... symbols)
           
 
Method Summary
protected  T getValue()
           
 String toString()
           
 
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, wait, wait, wait
 

Field Detail

type

protected final Class<T extends PointerType> type

indirected

protected boolean indirected

value

protected T extends PointerType value
Constructor Detail

GlobalPrimitive

public GlobalPrimitive(NativeLibrary library,
                       Class<T> type,
                       String... symbols)
Method Detail

getValue

protected T getValue()

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2009. All Rights Reserved.