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


org.xvolks.jnative.misc.basicStructures
Class FLOAT

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

public class FLOAT
extends AbstractBasicData<java.lang.Float>


Field Summary
 
Fields inherited from class org.xvolks.jnative.misc.basicStructures.AbstractBasicData
mValue, offset, pointer
 
Constructor Summary
FLOAT(float value)
           
 
Method Summary
 Pointer createPointer()
          Method createPointer
 int getSizeOf()
          Method getSizeOf
 java.lang.Float getValue()
          Method getValue
 java.lang.Float getValueFromPointer()
          Method getValueFromPointer
 void setValue(float 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

FLOAT

public FLOAT(float 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.Float getValueFromPointer()
                                    throws NativeException
Method getValueFromPointer

Returns:
a T
Throws:
NativeException

setValue

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

getValue

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

Specified by:
getValue in interface BasicData<java.lang.Float>
Overrides:
getValue in class AbstractBasicData<java.lang.Float>
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