JNative v1.3 project : see http://jnative.sf.net


org.xvolks.jnative.misc.basicStructures
Class DOUBLE

java.lang.Object
  extended by org.xvolks.jnative.misc.basicStructures.AbstractBasicData<java.lang.Double>
      extended by org.xvolks.jnative.misc.basicStructures.DOUBLE
All Implemented Interfaces:
BasicData<java.lang.Double>

public class DOUBLE
extends AbstractBasicData<java.lang.Double>


Field Summary
 
Fields inherited from class org.xvolks.jnative.misc.basicStructures.AbstractBasicData
mValue, offset, pointer
 
Constructor Summary
DOUBLE(double value)
           
 
Method Summary
 Pointer createPointer()
          Method createPointer
 int getSizeOf()
          Method getSizeOf
 java.lang.Double getValue()
          Method getValue
 java.lang.Double getValueFromPointer()
          Method getValueFromPointer
 void setValue(double lValue)
           
static int sizeOf()
          Method sizeOf
 
Methods inherited from class org.xvolks.jnative.misc.basicStructures.AbstractBasicData
getNextByte, getNextInt, getNextLong, getNextShort, getPointer, getValueAsString, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DOUBLE

public DOUBLE(double value)
Method Detail

getSizeOf

public int getSizeOf()
Method getSizeOf

Returns:
the size of this data

createPointer

public Pointer createPointer()
                      throws NativeException
Method createPointer

Returns:
a MemoryBlock
Throws:
NativeException

getValueFromPointer

public java.lang.Double getValueFromPointer()
                                     throws NativeException
Method getValueFromPointer

Returns:
a T
Throws:
NativeException

setValue

public void setValue(double lValue)
              throws NativeException
Throws:
NativeException

getValue

public java.lang.Double getValue()
Description copied from class: AbstractBasicData
Method getValue

Specified by:
getValue in interface BasicData<java.lang.Double>
Overrides:
getValue in class AbstractBasicData<java.lang.Double>
Returns:
a T

sizeOf

public static int sizeOf()
Method sizeOf

Returns:
the size of this structure

JNative v1.3 project : see http://jnative.sf.net