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


org.xvolks.jnative.misc.basicStructures
Class UINT

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

public class UINT
extends AbstractBasicData<java.lang.Short>


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

UINT

public UINT(int value)

UINT

public UINT(short 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 Pointer
Throws:
NativeException

getValueFromPointer

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

Returns:
a T
Throws:
NativeException

setValue

public void setValue(java.lang.Short lValue)
              throws NativeException
Throws:
NativeException

getValue

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

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

sizeOf

public static int sizeOf()

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