be.cardon.nativecall
Class NativeObjectArray

java.lang.Object
  extended by be.cardon.nativecall.NativeObject
      extended by be.cardon.nativecall.NativeObjectArray

public class NativeObjectArray
extends NativeObject

Wrapper for an array of native object. This class should be herited.


Field Summary
 
Fields inherited from class be.cardon.nativecall.NativeObject
BYTE_SIZE, INT_SIZE, LLC
 
Constructor Summary
NativeObjectArray(int nativeObjectLength, int nbOfElements, int address)
          Creates a new instance of NativeObjectArray
 
Method Summary
 NativeObject getElement(int index)
           
 int getElementAddress(int index)
           
 int getNativeObjectLength()
           
 int getNbOfElements()
           
 
Methods inherited from class be.cardon.nativecall.NativeObject
finalize, getAddress, getLength, isReadOnly, setReadOnly
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NativeObjectArray

public NativeObjectArray(int nativeObjectLength,
                         int nbOfElements,
                         int address)
                  throws NativeCallException
Creates a new instance of NativeObjectArray

Throws:
NativeCallException
Method Detail

getElement

public NativeObject getElement(int index)
                        throws NativeCallException
Throws:
NativeCallException

getElementAddress

public int getElementAddress(int index)
                      throws NativeCallException
Throws:
NativeCallException

getNbOfElements

public int getNbOfElements()

getNativeObjectLength

public int getNativeObjectLength()