Indent hooks: ignore generated files
[scilab.git] / scilab / modules / javasci / src / java / org / scilab / modules / javasci / Call_Scilab.java
1 /* ----------------------------------------------------------------------------
2  * This file was automatically generated by SWIG (http://www.swig.org).
3  * Version 2.0.4
4  *
5  * Do not make changes to this file unless you know what you are doing--modify
6  * the SWIG interface file instead.
7  * ----------------------------------------------------------------------------- */
8
9 package org.scilab.modules.javasci;
10
11
12 import org.scilab.modules.types.ScilabTypeEnum;
13 import org.scilab.modules.types.ScilabIntegerTypeEnum;
14
15  /**
16    * Connector for Javasci v2.
17    * This class should <b>not</b> be used directly
18    * @see org.scilab.modules.javasci.Scilab
19    * @author DIGITEO - Sylvestre LEDRU
20    */
21 public class Call_Scilab {
22
23  /**
24    * Constructor
25    */
26  protected Call_Scilab() {
27     throw new UnsupportedOperationException();
28  }
29   public static int Call_ScilabOpen(String SCIpath, boolean advancedMode, String ScilabStartup, int Stacksize) {
30     return Call_ScilabJNI.Call_ScilabOpen(SCIpath, advancedMode, ScilabStartup, Stacksize);
31   }
32
33   public static boolean TerminateScilab(String ScilabQuit) {
34     return Call_ScilabJNI.TerminateScilab(ScilabQuit);
35   }
36
37   public static int SendScilabJob(String job) {
38     return Call_ScilabJNI.SendScilabJob(job);
39   }
40
41   public static int SendScilabJobs(String[] jobs, int numberjobs) {
42     return Call_ScilabJNI.SendScilabJobs(jobs, numberjobs);
43   }
44
45   public static void SetFromJavaToON() {
46     Call_ScilabJNI.SetFromJavaToON();
47   }
48
49   public static boolean isGraphicOpened() {
50     return Call_ScilabJNI.isGraphicOpened();
51   }
52
53   public static int GetLastErrorCode() {
54     return Call_ScilabJNI.GetLastErrorCode();
55   }
56
57   public static boolean isExistingVariable(String varname) {
58     return Call_ScilabJNI.isExistingVariable(varname);
59   }
60
61   public static String getLastErrorMessage() {
62     return Call_ScilabJNI.getLastErrorMessage();
63   }
64
65   public static ScilabTypeEnum getVariableType(String varname) {
66     return ScilabTypeEnum.swigToEnum(Call_ScilabJNI.getVariableType(varname));
67   }
68
69   public static ScilabIntegerTypeEnum getIntegerPrecision(String varname) {
70     return ScilabIntegerTypeEnum.swigToEnum(Call_ScilabJNI.getIntegerPrecision(varname));
71   }
72
73   public static boolean isComplex(String varname) {
74     return Call_ScilabJNI.isComplex(varname);
75   }
76
77   public static int putString(String variableName, String[][] variable) {
78     return Call_ScilabJNI.putString(variableName, variable);
79   }
80
81   public static int putDoubleComplex(String variableName, double[][] variable, double[][] imag) {
82     return Call_ScilabJNI.putDoubleComplex(variableName, variable, imag);
83   }
84
85   public static int putDouble(String variableName, double[][] variable) {
86     return Call_ScilabJNI.putDouble(variableName, variable);
87   }
88
89   public static int putBoolean(String variableName, boolean[][] variable) {
90     return Call_ScilabJNI.putBoolean(variableName, variable);
91   }
92
93   public static int putByte(String variableName, byte[][] variable) {
94     return Call_ScilabJNI.putByte(variableName, variable);
95   }
96
97   public static int putUnsignedByte(String variableName, byte[][] variable) {
98     return Call_ScilabJNI.putUnsignedByte(variableName, variable);
99   }
100
101   public static int putShort(String variableName, short[][] variable) {
102     return Call_ScilabJNI.putShort(variableName, variable);
103   }
104
105   public static int putUnsignedShort(String variableName, short[][] variable) {
106     return Call_ScilabJNI.putUnsignedShort(variableName, variable);
107   }
108
109   public static int putInt(String variableName, int[][] variable) {
110     return Call_ScilabJNI.putInt(variableName, variable);
111   }
112
113   public static int putUnsignedInt(String variableName, int[][] variable) {
114     return Call_ScilabJNI.putUnsignedInt(variableName, variable);
115   }
116
117   public static int putSparse(String variableName, int nbRow, int nbCol, int[] nbRowItem, int[] colPos, double[] data) {
118     return Call_ScilabJNI.putSparse(variableName, nbRow, nbCol, nbRowItem, colPos, data);
119   }
120
121   public static int putComplexSparse(String variableName, int nbRow, int nbCol, int[] nbRowItem, int[] colPos, double[] data, double[] imag) {
122     return Call_ScilabJNI.putComplexSparse(variableName, nbRow, nbCol, nbRowItem, colPos, data, imag);
123   }
124
125   public static int putBooleanSparse(String variableName, int nbRow, int nbCol, int[] nbRowItem, int[] colPos) {
126     return Call_ScilabJNI.putBooleanSparse(variableName, nbRow, nbCol, nbRowItem, colPos);
127   }
128
129   public static int putPolynomial(String variableName, String polyVarName, double[][][] data) {
130     return Call_ScilabJNI.putPolynomial(variableName, polyVarName, data);
131   }
132
133   public static int putComplexPolynomial(String variableName, String polyVarName, double[][][] data, double[][][] imag) {
134     return Call_ScilabJNI.putComplexPolynomial(variableName, polyVarName, data, imag);
135   }
136
137 }