A B C D E F G I L M N O P R S T U W Z

A

AbstractFloat - class com.jniwrapper.AbstractFloat.
Base class for all floating point types.
AbstractFloat(double, int) - Constructor for class com.jniwrapper.AbstractFloat
Constructs floating point object with specified value and a length equal to its native length in bytes.
acceptIOPerformer(IOPerformer, DataBuffer, int) - Method in class com.jniwrapper.Unused
 
acceptIOPerformer(IOPerformer, DataBuffer, int) - Method in class com.jniwrapper.Structure
 
acceptIOPerformer(IOPerformer, DataBuffer, int) - Method in class com.jniwrapper.Pointer
 
acceptIOPerformer(IOPerformer, DataBuffer, int) - Method in class com.jniwrapper.Parameter
Realization of a Visitor pattern for parameter IO.
add(int) - Method in class com.jniwrapper.ArithmeticalPointer
Offsets this pointer by i bytes forward.
addPath(File) - Method in class com.jniwrapper.DefaultLibraryLoader
Adds directory to path for searching libraries.
addPath(List) - Method in class com.jniwrapper.DefaultLibraryLoader
Adds directory list to path for searching libraries.
addPath(String) - Method in class com.jniwrapper.DefaultLibraryLoader
Adds colon-separated path.
AnsiString - class com.jniwrapper.AnsiString.
Represents a zero-terminated string of 8-bit (ANSI) character declared in C as (char *).
AnsiString() - Constructor for class com.jniwrapper.AnsiString
Constructs string with maximum length of 256 characters
AnsiString(AnsiString) - Constructor for class com.jniwrapper.AnsiString
Constructs a copy of specified AnsiString object
AnsiString(int) - Constructor for class com.jniwrapper.AnsiString
Constructs string with specified maximum length
AnsiString(String) - Constructor for class com.jniwrapper.AnsiString
Constructs string with specified value.
AnsiString(String, int) - Constructor for class com.jniwrapper.AnsiString
Constructs string with specified value and maximum length
ArithmeticalPointer - class com.jniwrapper.ArithmeticalPointer.
Pointer to a place within an allocated structure handles reading and writing of offset pointer values.
ArithmeticalPointer(Parameter) - Constructor for class com.jniwrapper.ArithmeticalPointer
Constructs a pointer to a given object.
ArrayParameter - interface com.jniwrapper.ArrayParameter.
Common interface for all types representing arrays
asReturnValue() - Method in class com.jniwrapper.ZeroTerminatedString
 
asReturnValue() - Method in class com.jniwrapper.Parameter
Returns a parameter that represents this one as a return value.

B

Bool - class com.jniwrapper.Bool.
Represents bool (boolean) value and type.
Bool() - Constructor for class com.jniwrapper.Bool
Constructs boolean object with false value
Bool(Bool) - Constructor for class com.jniwrapper.Bool
Constructs a copy of Bool object
Bool(boolean) - Constructor for class com.jniwrapper.Bool
Constructs boolean object with specified value

C

call(String, String, Parameter) - Static method in class com.jniwrapper.Function
Redirects a call to method call taking array of parameters.
call(String, String, Parameter, Parameter) - Static method in class com.jniwrapper.Function
Redirects a call to method call taking array of parameters.
call(String, String, Parameter, Parameter[]) - Static method in class com.jniwrapper.Function
This method provides access to specified function from specified DLL.
call(String, String, Parameter, Parameter, Parameter) - Static method in class com.jniwrapper.Function
Redirects a call to method call taking array of parameters.
call(String, String, Parameter, Parameter, Parameter, Parameter) - Static method in class com.jniwrapper.Function
Redirects a call to method call taking array of parameters.
call(String, String, Parameter, Parameter, Parameter, Parameter, Parameter) - Static method in class com.jniwrapper.Function
Redirects a call to method call taking array of parameters.
Callback - class com.jniwrapper.Callback.
Callback is the superclass for all classes representing callback functions.
callback() - Method in class com.jniwrapper.Callback
This method is called when callback function is called.
Callback() - Constructor for class com.jniwrapper.Callback
Constructs a callback instance.
Callback(Parameter[], Parameter) - Constructor for class com.jniwrapper.Callback
Constructs a callback instance.
CDECL_CALLING_CONVENTION - Static variable in class com.jniwrapper.Function
Constant for cdecl calling convention.
Char - class com.jniwrapper.Char.
Represents char value and type.
Char() - Constructor for class com.jniwrapper.Char
Constructs character with \0 value
Char(char) - Constructor for class com.jniwrapper.Char
Constructs character with specified value
Char(Char) - Constructor for class com.jniwrapper.Char
Constructs a copy of Char object
checkMemHandleLength() - Method in class com.jniwrapper.Pointer
Checks that memory block referred to by this pointer is big enough to hold the referenced object and allocates a new one if required.
clone() - Method in class com.jniwrapper.WideString
 
clone() - Method in class com.jniwrapper.WideChar
 
clone() - Method in class com.jniwrapper.UShortInt
 
clone() - Method in class com.jniwrapper.Unused
 
clone() - Method in class com.jniwrapper.Union
 
clone() - Method in class com.jniwrapper.ULongInt
 
clone() - Method in class com.jniwrapper.UInt8
 
clone() - Method in class com.jniwrapper.UInt32
 
clone() - Method in class com.jniwrapper.UInt16
 
clone() - Method in class com.jniwrapper.UInt
 
clone() - Method in class com.jniwrapper.Structure
 
clone() - Method in class com.jniwrapper.SingleFloat
 
clone() - Method in class com.jniwrapper.ShortInt
 
clone() - Method in class com.jniwrapper.PrimitiveArray
 
clone() - Method in class com.jniwrapper.Pointer
 
clone() - Method in class com.jniwrapper.Pointer.Const
 
clone() - Method in class com.jniwrapper.Pointer.OutOnly
 
clone() - Method in class com.jniwrapper.Pointer.Void
 
clone() - Method in class com.jniwrapper.Parameter
 
clone() - Method in class com.jniwrapper.OutOnly
 
clone() - Method in class com.jniwrapper.LongInt
 
clone() - Method in class com.jniwrapper.LongDouble
 
clone() - Method in class com.jniwrapper.Int8
 
clone() - Method in class com.jniwrapper.Int64
 
clone() - Method in class com.jniwrapper.Int32
 
clone() - Method in class com.jniwrapper.Int16
 
clone() - Method in class com.jniwrapper.Int
 
clone() - Method in class com.jniwrapper.DoubleFloat
 
clone() - Method in class com.jniwrapper.Const
 
clone() - Method in class com.jniwrapper.ComplexArray
 
clone() - Method in class com.jniwrapper.Char
 
clone() - Method in class com.jniwrapper.Callback
Cloning is not supported by callbacks.
clone() - Method in class com.jniwrapper.Bool
 
clone() - Method in class com.jniwrapper.AnsiString
 
com.jniwrapper - package com.jniwrapper
The com.jniwrapper package contains classes that allow calling native functions from Java(TM) code.
ComplexArray - class com.jniwrapper.ComplexArray.
Represents an array of objects.
ComplexArray(Parameter[]) - Constructor for class com.jniwrapper.ComplexArray
Constructs array object taking specified Parameter array
ComplexArray(Parameter, int) - Constructor for class com.jniwrapper.ComplexArray
Constructs array object.
computeLength() - Method in class com.jniwrapper.Structure
Subclasses should call this method if any member changes its length.
Const - class com.jniwrapper.Const.
Represents a read-only parameter.
Const(Const) - Constructor for class com.jniwrapper.Const
Constructs a copy of Const instance
Const(Parameter) - Constructor for class com.jniwrapper.Const
Constructs Const object taking wrapping Parameter object
convertCDoubleToDouble(byte[]) - Static method in class com.jniwrapper.PlatformContext
Converts a native byte representation of a double precision floating point value to a double.
convertCFloatToDouble(byte[]) - Static method in class com.jniwrapper.PlatformContext
Converts a native byte representation of a single precision floating point value to a double.
convertCLongDoubleToDouble(byte[]) - Static method in class com.jniwrapper.PlatformContext
Converts a native byte representation of a long double precision floating point value to a double.
convertDoubleToCDouble(double) - Static method in class com.jniwrapper.PlatformContext
Converts a double precision floating point value to platform native byte representation.
convertDoubleToCFloat(double) - Static method in class com.jniwrapper.PlatformContext
Converts a single precision floating point value to platform native byte representation.
convertDoubleToCLongDouble(double) - Static method in class com.jniwrapper.PlatformContext
Converts a double precision floating point value to platform native byte representation of long double type.
convertToBytes(double) - Method in class com.jniwrapper.SingleFloat
 
convertToBytes(double) - Method in class com.jniwrapper.LongDouble
 
convertToBytes(double) - Method in class com.jniwrapper.DoubleFloat
 
convertToBytes(double) - Method in class com.jniwrapper.AbstractFloat
Converts Java double value to its native representation
convertToDouble(byte[]) - Method in class com.jniwrapper.SingleFloat
 
convertToDouble(byte[]) - Method in class com.jniwrapper.LongDouble
 
convertToDouble(byte[]) - Method in class com.jniwrapper.DoubleFloat
 
convertToDouble(byte[]) - Method in class com.jniwrapper.AbstractFloat
Converts native representation of floating point value to Java double value

D

DataBuffer - interface com.jniwrapper.DataBuffer.
Basic interface to any memory location where JNIWrapper types can store their data.
DEFAULT_CALLING_CONVENTION - Static variable in class com.jniwrapper.Function
Default calling convention for native platform.
DefaultLibraryLoader - class com.jniwrapper.DefaultLibraryLoader.
Default implementation for LibraryLoader, realizes Singleton pattern.
dispose() - Method in class com.jniwrapper.Callback
Release resources associated with this callback.
doIO(Parameter, DataBuffer, int) - Method in interface com.jniwrapper.IOPerformer
Performs generic parameter I/O.
doPointerIO(Pointer, DataBuffer, int) - Method in interface com.jniwrapper.IOPerformer
Performs pointer I/O.
DOUBLE_LENGTH - Static variable in class com.jniwrapper.DoubleFloat
Length of double type in bytes
DoubleFloat - class com.jniwrapper.DoubleFloat.
Represents double float value and type.
DoubleFloat() - Constructor for class com.jniwrapper.DoubleFloat
Constructs DoubleFloat object with zero value
DoubleFloat(double) - Constructor for class com.jniwrapper.DoubleFloat
Constructs DoubleFloat object
DoubleFloat(DoubleFloat) - Constructor for class com.jniwrapper.DoubleFloat
Constructs a copy of DoubleFloat instance
DoubleFloat(FloatParameter) - Constructor for class com.jniwrapper.DoubleFloat
Constructs DoubleFloat object

E

equals(Object) - Method in class com.jniwrapper.ZeroTerminatedString
 
equals(Object) - Method in class com.jniwrapper.Parameter
Compares this Parameter object to a given object.
equals(Object) - Method in class com.jniwrapper.Char
 
equals(Object) - Method in class com.jniwrapper.Bool
 

F

FALSE - Static variable in class com.jniwrapper.Bool
false bool value
findLibrary(String) - Method in interface com.jniwrapper.LibraryLoader
Finds platform dependent library by name.
findLibrary(String) - Method in class com.jniwrapper.DefaultLibraryLoader
Finds library by its name.
FLOAT_LENGTH - Static variable in class com.jniwrapper.SingleFloat
Length of float type in bytes
FloatParameter - interface com.jniwrapper.FloatParameter.
Common interface for all floating-point types
fromParameterArray(Parameter[]) - Method in class com.jniwrapper.PrimitiveArray
 
fromParameterArray(Parameter[]) - Method in class com.jniwrapper.ComplexArray
 
fromParameterArray(Parameter[]) - Method in interface com.jniwrapper.ArrayParameter
Sets array content to the given values
Function - class com.jniwrapper.Function.
The Function class allows to call specified function from a native code library.
FunctionExecutionException - exception com.jniwrapper.FunctionExecutionException.
Exception which is thrown if an error occurs during native function call.
FunctionExecutionException() - Constructor for class com.jniwrapper.FunctionExecutionException
 
FunctionExecutionException(String) - Constructor for class com.jniwrapper.FunctionExecutionException
 
FunctionExecutionException(Throwable) - Constructor for class com.jniwrapper.FunctionExecutionException
 

G

getAlignedLength() - Method in class com.jniwrapper.ZeroTerminatedString
 
getAlignedLength() - Method in class com.jniwrapper.Parameter
Returns parameter length in bytes aligned to default alignment.
getAlignedParameterLength(int) - Static method in class com.jniwrapper.PlatformContext
Returns length of the aligned parameter on the stack.
getAlignedParameterLength(Parameter) - Static method in class com.jniwrapper.PlatformContext
Returns length of the aligned parameter on the stack.
getAlignedPointerLength() - Static method in class com.jniwrapper.PlatformContext
Returns length of the aligned pointer on the stack.
getArithmeticOffset() - Method in class com.jniwrapper.ArithmeticalPointer
Returns offset in bytes of this pointer from its initial value.
getBoolLength() - Static method in class com.jniwrapper.PlatformContext
Returns bool type length (sizeof(bool)).
getBuffer() - Method in class com.jniwrapper.Parameter
Returns current data storage.
getBytes() - Method in class com.jniwrapper.PrimitiveArray
Returns byte data of an array.
getCallingConvention() - Method in class com.jniwrapper.Function
Returns calling convention.
getCallingConvention() - Method in class com.jniwrapper.Callback
Returns callback calling convention.
getCharLength() - Method in class com.jniwrapper.ZeroTerminatedString
Returns character length in bytes
getCharLength() - Static method in class com.jniwrapper.PlatformContext
Returns character length (sizeof(char)).
getDefaultCallingConvention() - Static method in class com.jniwrapper.PlatformContext
Returns platform default calling conventions for libraries.
getDefaultLibraryLoader() - Static method in class com.jniwrapper.Library
Returns library loader that is used in methods that do not take a library loader as an argument.
getDefaultStructureAlignment() - Static method in class com.jniwrapper.PlatformContext
Returns platform required structure alignment.
getDoubleLength() - Static method in class com.jniwrapper.PlatformContext
Returns double precision floating point value length (sizeof(double)).
getElement(int) - Method in class com.jniwrapper.PrimitiveArray
 
getElement(int) - Method in class com.jniwrapper.ComplexArray
 
getElement(int) - Method in interface com.jniwrapper.ArrayParameter
Returns array item specified by an index
getElementCount() - Method in class com.jniwrapper.PrimitiveArray
 
getElementCount() - Method in class com.jniwrapper.ComplexArray
 
getElementCount() - Method in interface com.jniwrapper.ArrayParameter
Returns items count
getEntryClass() - Method in class com.jniwrapper.PrimitiveArray
Returns a class of array items.
getFloatLength() - Static method in class com.jniwrapper.PlatformContext
Returns single precision floating point value length (sizeof(float)).
getFunction(String) - Method in class com.jniwrapper.Library
Convenience method for getting a function when parameter types do affect loaded function.
getFunction(String, Class[]) - Method in class com.jniwrapper.Library
This returns a Function object that reflects the exporeted native function from the library.
getHandle() - Method in interface com.jniwrapper.MemoryBuffer
Returns native memory handle (usually block address).
getInstance() - Static method in class com.jniwrapper.DefaultLibraryLoader
Returns singleton instance.
getIntLength() - Static method in class com.jniwrapper.PlatformContext
Returns integer length (sizeof(int)).
getLength() - Method in class com.jniwrapper.ZeroTerminatedString
Returns length of this string object.
getLength() - Method in class com.jniwrapper.WideChar
 
getLength() - Method in class com.jniwrapper.Union
 
getLength() - Method in class com.jniwrapper.UInt8
 
getLength() - Method in class com.jniwrapper.UInt32
 
getLength() - Method in class com.jniwrapper.UInt16
 
getLength() - Method in class com.jniwrapper.Structure
 
getLength() - Method in class com.jniwrapper.PrimitiveArray
Returns length of the array data in bytes.
getLength() - Method in class com.jniwrapper.Pointer
 
getLength() - Method in class com.jniwrapper.Pointer.Void
 
getLength() - Method in class com.jniwrapper.Parameter
Returns a length of the parameter in memory.
getLength() - Method in interface com.jniwrapper.MemoryBuffer
Returns length of allocated memory block.
getLength() - Method in class com.jniwrapper.Int8
 
getLength() - Method in class com.jniwrapper.Int64
 
getLength() - Method in class com.jniwrapper.Int32
 
getLength() - Method in class com.jniwrapper.Int16
 
getLength() - Method in class com.jniwrapper.Char
 
getLength() - Method in class com.jniwrapper.Callback
Returns the length of native side parameter required to represent this callback.
getLength() - Method in class com.jniwrapper.Bool
 
getLength() - Method in class com.jniwrapper.AbstractFloat
 
getLibraryExtension() - Static method in class com.jniwrapper.DefaultLibraryLoader
Returns file extension of native code libraries used under current platform.
getLongDoubleLength() - Static method in class com.jniwrapper.PlatformContext
Returns long double precision floating point value length (sizeof(long double)).
getLongLength() - Static method in class com.jniwrapper.PlatformContext
Returns long integer length (sizeof(long)).
getMaxLength() - Method in class com.jniwrapper.ZeroTerminatedString
Returns maximum length of a string
getMember(int) - Method in class com.jniwrapper.Structure
Returns a copy (clone) of a member with index i.
getMembers() - Method in class com.jniwrapper.Structure
Returns structure members.
getName() - Method in class com.jniwrapper.Library
Returns library name.
getName() - Method in class com.jniwrapper.Function
Returns function name.
getOffset() - Method in class com.jniwrapper.Parameter
Returns current offset within data storage.
getParameterAlignment() - Static method in class com.jniwrapper.PlatformContext
Returns platform default parameter alignment for function calls.
getPointerHandle() - Method in class com.jniwrapper.Pointer
Returns the value of pointer as used by the native side.
getPointerLength() - Static method in class com.jniwrapper.PlatformContext
Returns pointer length (sizeof(void*)).
getReferencedObject() - Method in class com.jniwrapper.Pointer
Returns the referenced object of this pointer.
getShortLength() - Static method in class com.jniwrapper.PlatformContext
Returns short integer length (sizeof(short)).
getValue() - Method in class com.jniwrapper.ZeroTerminatedString
Returns string value
getValue() - Method in class com.jniwrapper.WideString
 
getValue() - Method in class com.jniwrapper.WideChar
Returns value of this parameters as Unicode character.
getValue() - Method in class com.jniwrapper.UInt8
 
getValue() - Method in class com.jniwrapper.UInt32
 
getValue() - Method in class com.jniwrapper.UInt16
 
getValue() - Method in class com.jniwrapper.Pointer.Void
Returns handle value of this object.
getValue() - Method in interface com.jniwrapper.IntegerParameter
Returns integer value converted to long
getValue() - Method in class com.jniwrapper.Int8
 
getValue() - Method in class com.jniwrapper.Int64
 
getValue() - Method in class com.jniwrapper.Int32
 
getValue() - Method in class com.jniwrapper.Int16
 
getValue() - Method in interface com.jniwrapper.FloatParameter
Returns floating point value of object instance
getValue() - Method in class com.jniwrapper.Char
Returns character value
getValue() - Method in class com.jniwrapper.Bool
Returns boolean value
getValue() - Method in class com.jniwrapper.AnsiString
 
getValue() - Method in class com.jniwrapper.AbstractFloat
 
getWideCharLength() - Static method in class com.jniwrapper.PlatformContext
Returns wide character length (sizeof(wchar_t)).

I

indent(String, int) - Static method in class com.jniwrapper.Parameter
Utility method used for readable output in toString().
init(Parameter[]) - Method in class com.jniwrapper.Union
Sets union members - order does not matter.
init(Parameter[]) - Method in class com.jniwrapper.Structure
Initializes the instance with specified structure members and default alignment.
init(Parameter[], Parameter) - Method in class com.jniwrapper.Callback
Initializes callback parameters.
init(Parameter[], short) - Method in class com.jniwrapper.Structure
Initializes the instance with specified structure members and alignment.
Int - class com.jniwrapper.Int.
C-like int value.
Int() - Constructor for class com.jniwrapper.Int
Constructs a new int parameter.
Int(IntegerParameter) - Constructor for class com.jniwrapper.Int
Constructs a new int parameter.
Int(long) - Constructor for class com.jniwrapper.Int
Constructs a new int parameter.
Int16 - class com.jniwrapper.Int16.
Represents 16-bit integer value and type.
Int16() - Constructor for class com.jniwrapper.Int16
Constructs a new 16-bit integer parameter.
Int16(IntegerParameter) - Constructor for class com.jniwrapper.Int16
Constructs new instance with the same value as in the passed IntegerParameter.
Int16(short) - Constructor for class com.jniwrapper.Int16
Constructs a new 16-bit integer parameter.
Int32 - class com.jniwrapper.Int32.
Represents 32-bit integer value and type.
Int32() - Constructor for class com.jniwrapper.Int32
Constructs a new 32-bit integer parameter.
Int32(int) - Constructor for class com.jniwrapper.Int32
Constructs a new 32-bit integer parameter.
Int32(IntegerParameter) - Constructor for class com.jniwrapper.Int32
Constructs new instance with the same value as in the passed IntegerParameter.
Int64 - class com.jniwrapper.Int64.
Represents 64-bit integer value and type.
Int64() - Constructor for class com.jniwrapper.Int64
Constructs a new 64-bit integer parameter.
Int64(IntegerParameter) - Constructor for class com.jniwrapper.Int64
Constructs a new 64-bit integer parameter.
Int64(long) - Constructor for class com.jniwrapper.Int64
Constructs a new 64-bit integer parameter.
Int8 - class com.jniwrapper.Int8.
Represents 8-bit integer (byte) value and type.
Int8() - Constructor for class com.jniwrapper.Int8
Constructs a new 8-bit integer parameter.
Int8(byte) - Constructor for class com.jniwrapper.Int8
Constructs a new 8-bit integer parameter.
Int8(IntegerParameter) - Constructor for class com.jniwrapper.Int8
Constructs new instance with the same value as in the passed IntegerParameter.
IntegerParameter - interface com.jniwrapper.IntegerParameter.
Common interface for all integer types
invoke(Parameter) - Method in class com.jniwrapper.Function
Convenience method for calling native function.
invoke(Parameter, Parameter) - Method in class com.jniwrapper.Function
Convenience method for calling native function.
invoke(Parameter, Parameter[]) - Method in class com.jniwrapper.Function
Provides access to specified function from specified DLL.
invoke(Parameter, Parameter, Parameter) - Method in class com.jniwrapper.Function
Convenience method for calling native function.
invoke(Parameter, Parameter, Parameter, Parameter) - Method in class com.jniwrapper.Function
Convenience method for calling native function.
invoke(Parameter, Parameter, Parameter, Parameter, Parameter) - Method in class com.jniwrapper.Function
Convenience method for calling native function.
IOPerformer - interface com.jniwrapper.IOPerformer.
Parameter I/O visitor interface.
isLittleEndian() - Static method in class com.jniwrapper.PlatformContext
Returns true if the underlying platform byte order is little endian, that is it stores the least significant byte of a value first.
isLoaded() - Method in class com.jniwrapper.Library
Returns loaded status of this library.
isNull() - Method in class com.jniwrapper.Pointer
Tests if this pointer is null.
isNull() - Method in class com.jniwrapper.Pointer.Void
Tests if this pointer is null.

L

Library - class com.jniwrapper.Library.
This class provides operations with a native code library.
Library(String) - Constructor for class com.jniwrapper.Library
Constructs library using its name.
LibraryLoader - interface com.jniwrapper.LibraryLoader.
Basic interface for classes that can find and load native library.
LibraryNotFoundException - exception com.jniwrapper.LibraryNotFoundException.
This exception is thrown when native library cannot be loaded by JNI Wrapper.
LibraryNotFoundException(String) - Constructor for class com.jniwrapper.LibraryNotFoundException
 
load() - Method in class com.jniwrapper.Library
Loads library by its name using default mechanism
load(File) - Method in class com.jniwrapper.Library
Loads library from the passed directory.
load(LibraryLoader) - Method in class com.jniwrapper.Library
Loads library using a given library loader.
loadLibrary(String) - Method in interface com.jniwrapper.LibraryLoader
Loads platform dependent library by name.
loadLibrary(String) - Method in class com.jniwrapper.DefaultLibraryLoader
Loads native library by its name.
loadNativeCode() - Static method in class com.jniwrapper.Library
Initializes the native support library using standard library search behaviour and pre-defined native library name.
loadNativeCode(LibraryLoader) - Static method in class com.jniwrapper.Library
Loads native support library using a specified library loader.
loadNativeCode(String) - Static method in class com.jniwrapper.Library
Loads native support library from the passed full file name.
LONG_DOUBLE_LENGTH - Static variable in class com.jniwrapper.LongDouble
Length of long double type in bytes
LongDouble - class com.jniwrapper.LongDouble.
Represents long double value and type.
LongDouble() - Constructor for class com.jniwrapper.LongDouble
Constructs LongDouble object with zero value
LongDouble(double) - Constructor for class com.jniwrapper.LongDouble
Constructs LongDouble object
LongDouble(FloatParameter) - Constructor for class com.jniwrapper.LongDouble
Constructs LongDouble object
LongDouble(LongDouble) - Constructor for class com.jniwrapper.LongDouble
Constructs a new LongDouble parameter.
LongInt - class com.jniwrapper.LongInt.
C-like long value.
LongInt() - Constructor for class com.jniwrapper.LongInt
Constructs a new long parameter.
LongInt(IntegerParameter) - Constructor for class com.jniwrapper.LongInt
Constructs a new long parameter.
LongInt(long) - Constructor for class com.jniwrapper.LongInt
Constructs a new long parameter.

M

mapLibraryName(String) - Static method in class com.jniwrapper.DefaultLibraryLoader
Maps libary name to plaftorm specific filename.
MemoryAccessViolationException - exception com.jniwrapper.MemoryAccessViolationException.
This exception is thrown when native library code attempts to reference an invalid memory location.
MemoryAccessViolationException(String) - Constructor for class com.jniwrapper.MemoryAccessViolationException
 
MemoryBuffer - interface com.jniwrapper.MemoryBuffer.
Data source associated with an allocated native memory block.

N

NATIVE_CODE - Static variable in class com.jniwrapper.Library
 
NoSuchFunctionException - exception com.jniwrapper.NoSuchFunctionException.
Indicates that requested native function was not found in the specified library.
NoSuchFunctionException(String) - Constructor for class com.jniwrapper.NoSuchFunctionException
 

O

OutOnly - class com.jniwrapper.OutOnly.
Represents parameter that is only written by a native function.
OutOnly(OutOnly) - Constructor for class com.jniwrapper.OutOnly
 
OutOnly(Parameter) - Constructor for class com.jniwrapper.OutOnly
 

P

Parameter - class com.jniwrapper.Parameter.
Common parent class for all types of function parameters.
Parameter(DataBuffer, int) - Constructor for class com.jniwrapper.Parameter
Constructs a new Parameter object that is initially stored in a given buffer at a given offset.
PlatformContext - class com.jniwrapper.PlatformContext.
Provides an information on platform dependent type sizes etc.
Pointer - class com.jniwrapper.Pointer.
This class represents a pointer to object in terms of C language.
POINTER_LENGTH - Static variable in class com.jniwrapper.Pointer
 
Pointer.Const - class com.jniwrapper.Pointer.Const.
Represents a pointer to constant object.
Pointer.Const(Parameter) - Constructor for class com.jniwrapper.Pointer.Const
Constructs a new pointer to the given object.
Pointer.Const(Parameter, boolean) - Constructor for class com.jniwrapper.Pointer.Const
Constructs a new pointer to the given object.
Pointer.OutOnly - class com.jniwrapper.Pointer.OutOnly.
Represents a pointer to object with undefined initial value.
Pointer.OutOnly(Parameter) - Constructor for class com.jniwrapper.Pointer.OutOnly
Constructs a new pointer to the given object.
Pointer.Void - class com.jniwrapper.Pointer.Void.
Represents a void *.
Pointer.Void() - Constructor for class com.jniwrapper.Pointer.Void
Constructs a new null pointer.
Pointer.Void(long) - Constructor for class com.jniwrapper.Pointer.Void
Constructs a new void pointer that has the given value.
Pointer(Parameter) - Constructor for class com.jniwrapper.Pointer
Constructs a new pointer to the given object.
Pointer(Parameter, boolean) - Constructor for class com.jniwrapper.Pointer
Constructs a new pointer to the given object.
pop(DataBuffer, int) - Method in class com.jniwrapper.ZeroTerminatedString
 
pop(DataBuffer, int) - Method in class com.jniwrapper.Structure
 
pop(DataBuffer, int) - Method in class com.jniwrapper.Pointer
 
pop(DataBuffer, int) - Method in class com.jniwrapper.Pointer.Const
 
pop(DataBuffer, int) - Method in class com.jniwrapper.Parameter
Default implementation, which does nothing as most primitive types do nothing on pop.
pop(DataBuffer, int) - Method in class com.jniwrapper.OutOnly
 
PrimitiveArray - class com.jniwrapper.PrimitiveArray.
Represents an array of primitive types such as array of bytes or array of integer values.
PrimitiveArray(byte[]) - Constructor for class com.jniwrapper.PrimitiveArray
Constructs byte array and fills it with specified data.
PrimitiveArray(byte[], Class) - Constructor for class com.jniwrapper.PrimitiveArray
Constructs array of objects of specified class and fills it with corresponding data.
PrimitiveArray(Class, int) - Constructor for class com.jniwrapper.PrimitiveArray
Constructs an array and fills it with instances of specified class.
PrimitiveArray(Parameter[]) - Constructor for class com.jniwrapper.PrimitiveArray
Constructs array object taking specified Parameter array.
PrimitiveArray(Parameter, int) - Constructor for class com.jniwrapper.PrimitiveArray
Constructs array object.
PrimitiveArray(PrimitiveArray) - Constructor for class com.jniwrapper.PrimitiveArray
Constructs a copy of specified array.
push(DataBuffer, int) - Method in class com.jniwrapper.ZeroTerminatedString
 
push(DataBuffer, int) - Method in class com.jniwrapper.Parameter
Writes a parameter to a function stacks

R

read(byte[], int) - Method in class com.jniwrapper.Pointer
 
read(byte[], int) - Method in class com.jniwrapper.Parameter
Reads the parameter value from a byte array.
read(DataBuffer, int) - Method in class com.jniwrapper.ZeroTerminatedString
 
read(DataBuffer, int) - Method in class com.jniwrapper.WideChar
 
read(DataBuffer, int) - Method in class com.jniwrapper.Unused
 
read(DataBuffer, int) - Method in class com.jniwrapper.Union
 
read(DataBuffer, int) - Method in class com.jniwrapper.UInt8
 
read(DataBuffer, int) - Method in class com.jniwrapper.UInt32
 
read(DataBuffer, int) - Method in class com.jniwrapper.UInt16
 
read(DataBuffer, int) - Method in class com.jniwrapper.Structure
 
read(DataBuffer, int) - Method in class com.jniwrapper.ResizingPointer
 
read(DataBuffer, int) - Method in class com.jniwrapper.PrimitiveArray
 
read(DataBuffer, int) - Method in class com.jniwrapper.Pointer
 
read(DataBuffer, int) - Method in class com.jniwrapper.Pointer.Void
 
read(DataBuffer, int) - Method in class com.jniwrapper.Parameter
Reads this parameter from a specified data source.
read(DataBuffer, int) - Method in class com.jniwrapper.Int8
 
read(DataBuffer, int) - Method in class com.jniwrapper.Int64
 
read(DataBuffer, int) - Method in class com.jniwrapper.Int32
 
read(DataBuffer, int) - Method in class com.jniwrapper.Int16
 
read(DataBuffer, int) - Method in class com.jniwrapper.Const
 
read(DataBuffer, int) - Method in class com.jniwrapper.Char
 
read(DataBuffer, int) - Method in class com.jniwrapper.Callback
Does nothing.
read(DataBuffer, int) - Method in class com.jniwrapper.Bool
 
read(DataBuffer, int) - Method in class com.jniwrapper.AbstractFloat
 
readArray(int) - Method in class com.jniwrapper.ResizingPointer
Reads the resized array.
readByte(int) - Method in interface com.jniwrapper.DataBuffer
Reads a byte at a given offset.
readByteArray(int, byte[], int, int) - Method in interface com.jniwrapper.DataBuffer
Copies data from this source to an array.
readByteArray(int, int) - Method in interface com.jniwrapper.DataBuffer
Reads length bytes from this source.
readCallbackReference(int) - Method in interface com.jniwrapper.DataBuffer
Reads a callback reference (pointer) at a given offset.
readInt(int) - Method in interface com.jniwrapper.DataBuffer
Reads int (2-byte signed) value at a given offset.
readLong(int) - Method in interface com.jniwrapper.DataBuffer
Reads a long (8-byte signed) value at a given offset.
readPartially(byte[], int) - Method in class com.jniwrapper.PrimitiveArray
Reads raw data from a given array into this object's data source.
readPointer(DataBuffer, int) - Method in class com.jniwrapper.Pointer
Reads this pointer handle part (not the referenced object) from the given data buffer.
readPointer(DataBuffer, int) - Method in class com.jniwrapper.ArithmeticalPointer
Reads pointer value and referenced object.
readPointer(int) - Method in interface com.jniwrapper.DataBuffer
Reads a pointer value at a given offset.
readReferencedObject() - Method in class com.jniwrapper.Pointer
Reads the referenced object only.
readShort(int) - Method in interface com.jniwrapper.DataBuffer
Reads a short (2-byte signed) value at a given offset.
resize(int) - Method in interface com.jniwrapper.DataBuffer
Resizes this source so that it can hold newSize bytes.
resizeAndRead(byte[], int, int) - Method in class com.jniwrapper.PrimitiveArray
Sets new size of this array and reads it from given byte array.
ResizingPointer - class com.jniwrapper.ResizingPointer.
A pointer to an array that can be resized (reallocated) on the native side.
ResizingPointer(ArrayParameter) - Constructor for class com.jniwrapper.ResizingPointer
Constructs a new pointer to the given array.
ResizingPointer(ArrayParameter, boolean) - Constructor for class com.jniwrapper.ResizingPointer
Constructs a new pointer to the given array.

S

setActiveMember(Parameter) - Method in class com.jniwrapper.Union
Defines the member of this union that is currently used.
setActiveMember(Parameter, boolean) - Method in class com.jniwrapper.Union
Defines the member of this union that is currently used.
setBuffer(DataBuffer, int) - Method in class com.jniwrapper.Union
 
setBuffer(DataBuffer, int) - Method in class com.jniwrapper.Structure
 
setBuffer(DataBuffer, int) - Method in class com.jniwrapper.Parameter
Sets the data buffer this parameter should use to store data and an offset in bytes within that buffer.
setCallingConvention(byte) - Method in class com.jniwrapper.Function
Sets calling convention for this function.
setCallingConvention(byte) - Method in class com.jniwrapper.Callback
Sets calling convention that is used to invoke this callback.
setDefaultLibraryLoader(LibraryLoader) - Static method in class com.jniwrapper.Library
Sets library loader that is used in methods that do not take a library loader as an argument.
setElement(int, Parameter) - Method in class com.jniwrapper.PrimitiveArray
 
setElement(int, Parameter) - Method in class com.jniwrapper.ComplexArray
 
setElement(int, Parameter) - Method in interface com.jniwrapper.ArrayParameter
Replaces array item by specified object
setElementCount(int) - Method in class com.jniwrapper.PrimitiveArray
 
setElementCount(int) - Method in class com.jniwrapper.ComplexArray
 
setElementCount(int) - Method in interface com.jniwrapper.ArrayParameter
Resizes this array to a given size
setNull(boolean) - Method in class com.jniwrapper.Pointer
Sets pointer null value.
setReferencedObject(Parameter) - Method in class com.jniwrapper.Pointer
Changes the pointer referenced object.
setReferencedObject(Parameter, boolean) - Method in class com.jniwrapper.Pointer
Changes the pointer referenced object.
setupReallocation(long, int) - Method in interface com.jniwrapper.MemoryBuffer
Sets new handle and size after this block has been reallocated outside of this block's code.
setValue(boolean) - Method in class com.jniwrapper.Bool
Sets boolean value
setValue(char) - Method in class com.jniwrapper.WideChar
Sets this parameter to the given Unicode character value.
setValue(char) - Method in class com.jniwrapper.Char
Sets character value.
setValue(double) - Method in interface com.jniwrapper.FloatParameter
Sets floating point value to specified value
setValue(double) - Method in class com.jniwrapper.AbstractFloat
 
setValue(long) - Method in class com.jniwrapper.UInt8
 
setValue(long) - Method in class com.jniwrapper.UInt32
 
setValue(long) - Method in class com.jniwrapper.UInt16
 
setValue(long) - Method in class com.jniwrapper.Pointer.Void
Sets handle value of this pointer.
setValue(long) - Method in interface com.jniwrapper.IntegerParameter
Sets integer value
setValue(long) - Method in class com.jniwrapper.Int8
 
setValue(long) - Method in class com.jniwrapper.Int64
 
setValue(long) - Method in class com.jniwrapper.Int32
 
setValue(long) - Method in class com.jniwrapper.Int16
 
setValue(String) - Method in class com.jniwrapper.ZeroTerminatedString
Sets string value
setValue(String) - Method in class com.jniwrapper.WideString
 
setValue(String) - Method in class com.jniwrapper.AnsiString
 
ShortInt - class com.jniwrapper.ShortInt.
C-like short value.
ShortInt() - Constructor for class com.jniwrapper.ShortInt
Constructs a new short parameter.
ShortInt(IntegerParameter) - Constructor for class com.jniwrapper.ShortInt
Constructs a new short parameter.
ShortInt(long) - Constructor for class com.jniwrapper.ShortInt
Constructs a new short parameter.
SingleFloat - class com.jniwrapper.SingleFloat.
Represents float value and type.
SingleFloat() - Constructor for class com.jniwrapper.SingleFloat
Constructs SingleFloat object with zero value
SingleFloat(double) - Constructor for class com.jniwrapper.SingleFloat
Constructs SingleFloat object
SingleFloat(FloatParameter) - Constructor for class com.jniwrapper.SingleFloat
Constructs SingleFloat object
SingleFloat(SingleFloat) - Constructor for class com.jniwrapper.SingleFloat
Constructs a copy of SingleFloat instance
STDCALL_CALLING_CONVENTION - Static variable in class com.jniwrapper.Function
Constant for stdcall calling convention.
Structure - class com.jniwrapper.Structure.
The class represents structures in tems of C language.
Structure() - Constructor for class com.jniwrapper.Structure
Preconstructs a new structure.
Structure(Parameter[]) - Constructor for class com.jniwrapper.Structure
Construct a new structure that consists of given set of members with default alignment.
Structure(Parameter[], short) - Constructor for class com.jniwrapper.Structure
Construct a new structure that consists of given set of members with given alignment.
subtract(int) - Method in class com.jniwrapper.ArithmeticalPointer
Offsets this pointer by i bytes backward.

T

toByteArray(Parameter) - Static method in class com.jniwrapper.Parameter
Converts a parameter to a byte array.
toParameterArray() - Method in class com.jniwrapper.PrimitiveArray
 
toParameterArray() - Method in class com.jniwrapper.ComplexArray
 
toParameterArray() - Method in interface com.jniwrapper.ArrayParameter
Returns items as Java array
toString() - Method in class com.jniwrapper.ZeroTerminatedString
 
toString() - Method in class com.jniwrapper.Unused
 
toString() - Method in class com.jniwrapper.Structure
 
toString() - Method in class com.jniwrapper.PrimitiveArray
 
toString() - Method in class com.jniwrapper.Pointer
 
toString() - Method in class com.jniwrapper.OutOnly
 
toString() - Method in class com.jniwrapper.Const
 
toString() - Method in class com.jniwrapper.ComplexArray
 
toString() - Method in class com.jniwrapper.Char
 
toString() - Method in class com.jniwrapper.Callback
 
toString() - Method in class com.jniwrapper.Bool
 
toString() - Method in class com.jniwrapper.AbstractFloat
 
TRUE - Static variable in class com.jniwrapper.Bool
true bool value

U

UInt - class com.jniwrapper.UInt.
C-like unsigned int value.
UInt() - Constructor for class com.jniwrapper.UInt
Constructs a new unsigned (int) parameter.
UInt(IntegerParameter) - Constructor for class com.jniwrapper.UInt
Constructs a new unsigned (int) parameter.
UInt(long) - Constructor for class com.jniwrapper.UInt
Constructs a new unsigned (int) parameter.
UInt16 - class com.jniwrapper.UInt16.
Represents 16-bit unsigned integer value and type.
UInt16() - Constructor for class com.jniwrapper.UInt16
Constructs a new 16-bit unsigned parameter.
UInt16(int) - Constructor for class com.jniwrapper.UInt16
Constructs a new 16-bit unsigned parameter.
UInt16(IntegerParameter) - Constructor for class com.jniwrapper.UInt16
Constructs new instance with the same value as in the passed IntegerParameter.
UInt32 - class com.jniwrapper.UInt32.
Represents 32-bit unsigned integer value and type.
UInt32() - Constructor for class com.jniwrapper.UInt32
Constructs a new 32-bit unsigned parameter.
UInt32(IntegerParameter) - Constructor for class com.jniwrapper.UInt32
Constructs a new 32-bit unsigned parameter.
UInt32(long) - Constructor for class com.jniwrapper.UInt32
Constructs a new 32-bit unsigned parameter.
UInt8 - class com.jniwrapper.UInt8.
Represents 8-bit unsigned integer value and type.
UInt8() - Constructor for class com.jniwrapper.UInt8
Constructs a new 8-bit unsigned parameter.
UInt8(IntegerParameter) - Constructor for class com.jniwrapper.UInt8
Constructs new instance with the same value as in the passed IntegerParameter.
UInt8(short) - Constructor for class com.jniwrapper.UInt8
Constructs a new 8-bit unsigned parameter.
ULongInt - class com.jniwrapper.ULongInt.
C-like unsigned long value.
ULongInt() - Constructor for class com.jniwrapper.ULongInt
Constructs a new unsigned long parameter.
ULongInt(IntegerParameter) - Constructor for class com.jniwrapper.ULongInt
Constructs a new unsigned long parameter.
ULongInt(long) - Constructor for class com.jniwrapper.ULongInt
Constructs a new unsigned long parameter.
Union - class com.jniwrapper.Union.
Represents a C union type.
Union() - Constructor for class com.jniwrapper.Union
Preconstructs a union.
Union(Parameter[]) - Constructor for class com.jniwrapper.Union
Constructs a union with a given set of members.
unload() - Method in class com.jniwrapper.Library
 
Unused - class com.jniwrapper.Unused.
Represents parameter which is not accessed in native function.
Unused(Parameter) - Constructor for class com.jniwrapper.Unused
Constructs a new unused parameter using a given sample.
UShortInt - class com.jniwrapper.UShortInt.
C-like unsigned short value.
UShortInt() - Constructor for class com.jniwrapper.UShortInt
Constructs a new unsigned short parameter.
UShortInt(IntegerParameter) - Constructor for class com.jniwrapper.UShortInt
Constructs a new unsigned short parameter.
UShortInt(long) - Constructor for class com.jniwrapper.UShortInt
Constructs a new unsigned short parameter.

W

WideChar - class com.jniwrapper.WideChar.
Represents unicode character (wchar_t)
WideChar() - Constructor for class com.jniwrapper.WideChar
Constructs a new wchar_t parameter.
WideChar(char) - Constructor for class com.jniwrapper.WideChar
Constructs a new wchar_t parameter.
WideChar(WideChar) - Constructor for class com.jniwrapper.WideChar
Constructs a new wchar_t parameter.
WideString - class com.jniwrapper.WideString.
Represents Unicode string (wchar_t *) value and type.
WideString() - Constructor for class com.jniwrapper.WideString
Constructs string with maximum length 256 characters
WideString(int) - Constructor for class com.jniwrapper.WideString
Constructs string with specified maximum length
WideString(String) - Constructor for class com.jniwrapper.WideString
Constructs string with specified value.
WideString(String, int) - Constructor for class com.jniwrapper.WideString
Constructs string with specified value and maximum length
WideString(WideString) - Constructor for class com.jniwrapper.WideString
Constructs a copy of specified AnsiString object
write(byte[], int) - Method in class com.jniwrapper.Pointer
 
write(byte[], int) - Method in class com.jniwrapper.Parameter
Writes the parameter value to a byte array.
write(byte[], int) - Method in class com.jniwrapper.ComplexArray
 
write(DataBuffer, int) - Method in class com.jniwrapper.ZeroTerminatedString
 
write(DataBuffer, int) - Method in class com.jniwrapper.WideChar
 
write(DataBuffer, int) - Method in class com.jniwrapper.Unused
 
write(DataBuffer, int) - Method in class com.jniwrapper.Union
 
write(DataBuffer, int) - Method in class com.jniwrapper.UInt8
 
write(DataBuffer, int) - Method in class com.jniwrapper.UInt32
 
write(DataBuffer, int) - Method in class com.jniwrapper.UInt16
 
write(DataBuffer, int) - Method in class com.jniwrapper.Structure
 
write(DataBuffer, int) - Method in class com.jniwrapper.PrimitiveArray
 
write(DataBuffer, int) - Method in class com.jniwrapper.Pointer
 
write(DataBuffer, int) - Method in class com.jniwrapper.Pointer.OutOnly
 
write(DataBuffer, int) - Method in class com.jniwrapper.Pointer.Void
 
write(DataBuffer, int) - Method in class com.jniwrapper.Parameter
Writes this parameter to a specified data source.
write(DataBuffer, int) - Method in class com.jniwrapper.OutOnly
 
write(DataBuffer, int) - Method in class com.jniwrapper.Int8
 
write(DataBuffer, int) - Method in class com.jniwrapper.Int64
 
write(DataBuffer, int) - Method in class com.jniwrapper.Int32
 
write(DataBuffer, int) - Method in class com.jniwrapper.Int16
 
write(DataBuffer, int) - Method in class com.jniwrapper.Char
 
write(DataBuffer, int) - Method in class com.jniwrapper.Callback
Writes pointer to the native callback function that redirects to this callback object.
write(DataBuffer, int) - Method in class com.jniwrapper.Bool
 
write(DataBuffer, int) - Method in class com.jniwrapper.AbstractFloat
 
writeByte(int, byte) - Method in interface com.jniwrapper.DataBuffer
Writes a single byte at a given offset.
writeByteArray(int, byte[]) - Method in interface com.jniwrapper.DataBuffer
Copies all data from the given array to this source.
writeByteArray(int, byte[], int, int) - Method in interface com.jniwrapper.DataBuffer
Copies data from an array to this source.
writeCallbackReference(int, long) - Method in interface com.jniwrapper.DataBuffer
Writes a callback reference (pointer) at a given offset.
writeInt(int, int) - Method in interface com.jniwrapper.DataBuffer
Writes int (4-byte signed) value at a given offset.
writeLong(int, long) - Method in interface com.jniwrapper.DataBuffer
Writes a long (8-byte signed) value at a given offset.
writePointer(DataBuffer, int) - Method in class com.jniwrapper.Pointer
Writes this pointer handle part (not the referenced object) to a given data buffer.
writePointer(DataBuffer, int) - Method in class com.jniwrapper.ArithmeticalPointer
Writes pointer value to a given buffer and the referenced object not using offset value.
writePointer(int, long) - Method in interface com.jniwrapper.DataBuffer
Writes a pointer value at a given offset.
writeReferencedObject() - Method in class com.jniwrapper.Pointer
Writes the referenced object only.
writeShort(int, short) - Method in interface com.jniwrapper.DataBuffer
Writes short (2-byte signed) value at a given offset.

Z

ZeroTerminatedString - class com.jniwrapper.ZeroTerminatedString.
Base class for all types of zero-terminated strings.
ZeroTerminatedString(String, int, int) - Constructor for class com.jniwrapper.ZeroTerminatedString
Constructs string with specified value, maximum length and characted type (1-byte or 2-byte)

A B C D E F G I L M N O P R S T U W Z