-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
15 changed files
with
256 additions
and
141 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
package idl.helper; | ||
|
||
import idl.IDLBase; | ||
|
||
public class IDLBoolArray extends IDLBase { | ||
|
||
public static IDLBoolArray tmp1_1 = new IDLBoolArray(1); | ||
public static IDLBoolArray tmp1_2 = new IDLBoolArray(1); | ||
|
||
public static IDLBoolArray tmp2_1 = new IDLBoolArray(2); | ||
public static IDLBoolArray tmp2_2 = new IDLBoolArray(2); | ||
|
||
public static IDLBoolArray tmp3_1 = new IDLBoolArray(3); | ||
public static IDLBoolArray tmp3_2 = new IDLBoolArray(3); | ||
|
||
public static IDLBoolArray tmp4_1 = new IDLBoolArray(4); | ||
public static IDLBoolArray tmp4_2 = new IDLBoolArray(4); | ||
|
||
public static void disposeTEMP() { | ||
tmp1_1.dispose(); | ||
tmp1_2.dispose(); | ||
tmp2_1.dispose(); | ||
tmp2_2.dispose(); | ||
tmp3_1.dispose(); | ||
tmp3_2.dispose(); | ||
tmp4_1.dispose(); | ||
tmp4_2.dispose(); | ||
} | ||
|
||
public IDLBoolArray(int size) { | ||
} | ||
|
||
public void copy(boolean [] array) { | ||
int length = array.length; | ||
resize(length); | ||
for(int i = 0; i < length; i++) { | ||
boolean value = array[i]; | ||
setValue(i, value); | ||
} | ||
} | ||
|
||
public native void setValue(int index, boolean value); | ||
public native void resize(int size); | ||
public native boolean getValue(int index); | ||
public native long getPointer(); | ||
public native int getSize(); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
package idl.helper; | ||
|
||
import idl.IDLBase; | ||
|
||
public class IDLDoubleArray extends IDLBase { | ||
|
||
public static IDLDoubleArray tmp1_1 = new IDLDoubleArray(1); | ||
public static IDLDoubleArray tmp1_2 = new IDLDoubleArray(1); | ||
|
||
public static IDLDoubleArray tmp2_1 = new IDLDoubleArray(2); | ||
public static IDLDoubleArray tmp2_2 = new IDLDoubleArray(2); | ||
|
||
public static IDLDoubleArray tmp3_1 = new IDLDoubleArray(3); | ||
public static IDLDoubleArray tmp3_2 = new IDLDoubleArray(3); | ||
|
||
public static IDLDoubleArray tmp4_1 = new IDLDoubleArray(4); | ||
public static IDLDoubleArray tmp4_2 = new IDLDoubleArray(4); | ||
|
||
public static void disposeTEMP() { | ||
tmp1_1.dispose(); | ||
tmp1_2.dispose(); | ||
tmp2_1.dispose(); | ||
tmp2_2.dispose(); | ||
tmp3_1.dispose(); | ||
tmp3_2.dispose(); | ||
tmp4_1.dispose(); | ||
tmp4_2.dispose(); | ||
} | ||
|
||
public IDLDoubleArray(int size) { | ||
} | ||
|
||
public void copy(double [] array) { | ||
int length = array.length; | ||
resize(length); | ||
for(int i = 0; i < length; i++) { | ||
double value = array[i]; | ||
setValue(i, value); | ||
} | ||
} | ||
|
||
public native void setValue(int index, double value); | ||
public native void resize(int size); | ||
public native double getValue(int index); | ||
public native long getPointer(); | ||
public native int getSize(); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
package idl.helper; | ||
|
||
import idl.IDLBase; | ||
|
||
public class IDLFloatArray extends IDLBase { | ||
|
||
public static IDLFloatArray tmp1_1 = new IDLFloatArray(1); | ||
public static IDLFloatArray tmp1_2 = new IDLFloatArray(1); | ||
|
||
public static IDLFloatArray tmp2_1 = new IDLFloatArray(2); | ||
public static IDLFloatArray tmp2_2 = new IDLFloatArray(2); | ||
|
||
public static IDLFloatArray tmp3_1 = new IDLFloatArray(3); | ||
public static IDLFloatArray tmp3_2 = new IDLFloatArray(3); | ||
|
||
public static IDLFloatArray tmp4_1 = new IDLFloatArray(4); | ||
public static IDLFloatArray tmp4_2 = new IDLFloatArray(4); | ||
|
||
public static void disposeTEMP() { | ||
tmp1_1.dispose(); | ||
tmp1_2.dispose(); | ||
tmp2_1.dispose(); | ||
tmp2_2.dispose(); | ||
tmp3_1.dispose(); | ||
tmp3_2.dispose(); | ||
tmp4_1.dispose(); | ||
tmp4_2.dispose(); | ||
} | ||
|
||
public IDLFloatArray(int size) { | ||
} | ||
|
||
public void copy(float [] array) { | ||
int length = array.length; | ||
resize(length); | ||
for(int i = 0; i < length; i++) { | ||
float value = array[i]; | ||
setValue(i, value); | ||
} | ||
} | ||
|
||
public native void setValue(int index, float value); | ||
public native void resize(int size); | ||
public native float getValue(int index); | ||
public native long getPointer(); | ||
public native int getSize(); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
package idl.helper; | ||
|
||
import idl.IDLBase; | ||
|
||
public class IDLIntArray extends IDLBase { | ||
|
||
public static IDLIntArray tmp1_1 = new IDLIntArray(1); | ||
public static IDLIntArray tmp1_2 = new IDLIntArray(1); | ||
|
||
public static IDLIntArray tmp2_1 = new IDLIntArray(2); | ||
public static IDLIntArray tmp2_2 = new IDLIntArray(2); | ||
|
||
public static IDLIntArray tmp3_1 = new IDLIntArray(3); | ||
public static IDLIntArray tmp3_2 = new IDLIntArray(3); | ||
|
||
public static IDLIntArray tmp4_1 = new IDLIntArray(4); | ||
public static IDLIntArray tmp4_2 = new IDLIntArray(4); | ||
|
||
public static void disposeTEMP() { | ||
tmp1_1.dispose(); | ||
tmp1_2.dispose(); | ||
tmp2_1.dispose(); | ||
tmp2_2.dispose(); | ||
tmp3_1.dispose(); | ||
tmp3_2.dispose(); | ||
tmp4_1.dispose(); | ||
tmp4_2.dispose(); | ||
} | ||
|
||
public IDLIntArray(int size) { | ||
} | ||
|
||
public void copy(int[] array) { | ||
int length = array.length; | ||
resize(length); | ||
for(int i = 0; i < length; i++) { | ||
int value = array[i]; | ||
setValue(i, value); | ||
} | ||
} | ||
|
||
public native void setValue(int index, int value); | ||
public native void resize(int size); | ||
public native int getValue(int index); | ||
public native long getPointer(); | ||
public native int getSize(); | ||
} |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.