GNU Octave  4.0.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Classes | Typedefs | Functions | Variables
ov-java.h File Reference
#include <jni.h>
#include <oct-obj.h>
#include <ov.h>
Include dependency graph for ov-java.h:

Go to the source code of this file.


class  java_local_ref< T >
class  octave_java


typedef java_local_ref
< jbyteArray > 
typedef java_local_ref< jclass > jclass_ref
typedef java_local_ref
< jdoubleArray > 
typedef java_local_ref< jintArray > jintArray_ref
typedef java_local_ref< jobject > jobject_ref
typedef java_local_ref
< jobjectArray > 
typedef java_local_ref< jstring > jstring_ref
typedef java_local_ref
< jthrowable > 


OCTINTERP_API octave_value box (JNIEnv *jni_env, jobject jobj, jclass jcls=0)
OCTINTERP_API octave_value box_more (JNIEnv *jni_env, jobject jobj, jclass jcls=0)
OCTINTERP_API std::string jstring_to_string (JNIEnv *jni_env, jstring s)
OCTINTERP_API std::string jstring_to_string (JNIEnv *jni_env, jobject obj)
OCTINTERP_API bool unbox (JNIEnv *jni_env, const octave_value &val, jobject_ref &jobj, jclass_ref &jcls)
OCTINTERP_API bool unbox (JNIEnv *jni_env, const octave_value_list &args, jobjectArray_ref &jobjs, jobjectArray_ref &jclss)


OCTINTERP_API bool Vdebug_java
OCTINTERP_API bool Vjava_matrix_autoconversion
OCTINTERP_API bool Vjava_unsigned_autoconversion

Typedef Documentation

typedef java_local_ref<jbyteArray> jbyteArray_ref

Definition at line 82 of file ov-java.h.

typedef java_local_ref<jclass> jclass_ref

Definition at line 78 of file ov-java.h.

typedef java_local_ref<jdoubleArray> jdoubleArray_ref

Definition at line 83 of file ov-java.h.

typedef java_local_ref<jintArray> jintArray_ref

Definition at line 81 of file ov-java.h.

typedef java_local_ref<jobject> jobject_ref

Definition at line 77 of file ov-java.h.

typedef java_local_ref<jobjectArray> jobjectArray_ref

Definition at line 80 of file ov-java.h.

typedef java_local_ref<jstring> jstring_ref

Definition at line 79 of file ov-java.h.

typedef java_local_ref<jthrowable> jthrowable_ref

Definition at line 84 of file ov-java.h.

Function Documentation

OCTINTERP_API octave_value box ( JNIEnv *  jni_env,
jobject  jobj,
jclass  jcls = 0 
OCTINTERP_API octave_value box_more ( JNIEnv *  jni_env,
jobject  jobj,
jclass  jcls = 0 

Referenced by Fjava2mat().

OCTINTERP_API std::string jstring_to_string ( JNIEnv *  jni_env,
jstring  s 

Referenced by octave_java::init().

OCTINTERP_API std::string jstring_to_string ( JNIEnv *  jni_env,
jobject  obj 
OCTINTERP_API bool unbox ( JNIEnv *  jni_env,
const octave_value val,
jobject_ref jobj,
jclass_ref jcls 
OCTINTERP_API bool unbox ( JNIEnv *  jni_env,
const octave_value_list args,
jobjectArray_ref jobjs,
jobjectArray_ref jclss 

Variable Documentation

OCTINTERP_API bool Vdebug_java
OCTINTERP_API bool Vjava_matrix_autoconversion
OCTINTERP_API bool Vjava_unsigned_autoconversion