26 #if ! defined (octave_ov_java_h)
27 #define octave_ov_java_h 1
29 #include "octave-config.h"
57 void *
to_java (
void)
const {
return java_object; }
58 void *
to_class (
void)
const {
return java_class; }
73 bool isjava (
void)
const {
return true; }
79 void print (std::ostream& os,
bool pr_as_read_syntax =
false);
81 void print_raw (std::ostream& os,
bool pr_as_read_syntax =
false)
const;
104 const std::list<octave_value_list>& idx,
int nargout);
107 subsref (
const std::string&
type,
const std::list<octave_value_list>& idx)
114 const std::list<octave_value_list>& idx,
119 bool is_java_string (
void)
const;
148 const std::string&
name);
168 void init (
void *jobj,
void *jcls);
184 std::string
class_name (
void)
const {
return java_classname; }
Vector representing the dimensions (size) of an Array.
virtual octave_value subsref(const std::string &type, const std::list< octave_value_list > &idx)
static const std::string t_name
virtual bool is_instance_of(const std::string &) const
static const std::string t_name
bool save_hdf5(octave_hdf5_id loc_id, const char *name, bool save_as_floats)
static octave_value do_java_set(void *jni_env, const std::string &class_name, const std::string &name, const octave_value &val)
static octave_value do_java_set(const std::string &class_name, const std::string &name, const octave_value &val)
octave_value do_java_set(void *jni_env, const std::string &name, const octave_value &val)
static octave_value do_javaObject(const std::string &name, const octave_value_list &args)
static octave_value do_java_get(void *jni_env, const std::string &class_name, const std::string &name)
static void register_type(octave::type_info &)
void print(std::ostream &os, bool pr_as_read_syntax=false)
std::string java_class_name(void) const
bool is_constant(void) const
bool save_ascii(std::ostream &os)
bool load_hdf5(octave_hdf5_id loc_id, const char *name)
bool save_binary(std::ostream &os, bool save_as_floats)
bool is_defined(void) const
octave_value subsref(const std::string &type, const std::list< octave_value_list > &idx)
static octave_value do_java_get(const std::string &class_name, const std::string &name)
void * to_java(void) const
octave_java(const voidptr &obj, void *cls=nullptr)
octave_value do_javaMethod(const std::string &name, const octave_value_list &args)
octave_value do_javaMethod(void *jni_env, const std::string &name, const octave_value_list &args)
void * to_class(void) const
octave_value convert_to_str_internal(bool pad, bool force, char type) const
octave_value do_java_get(void *jni_env, const std::string &name)
void print_raw(std::ostream &os, bool pr_as_read_syntax=false) const
octave_base_value * empty_clone(void) const
std::string java_classname
octave_base_value * clone(void) const
static std::string static_class_name(void)
octave_value subsasgn(const std::string &type, const std::list< octave_value_list > &idx, const octave_value &rhs)
void init(void *jobj, void *jcls)
std::string type_name(void) const
octave_java(const octave_java &jobj)
bool isstruct(void) const
static octave_value do_javaMethod(const std::string &class_name, const std::string &name, const octave_value_list &args)
static octave_value do_javaObject(void *jni_env, const std::string &name, const octave_value_list &args)
std::string class_name(void) const
octave_value_list subsref(const std::string &type, const std::list< octave_value_list > &idx, int nargout)
bool load_binary(std::istream &is, bool swap, octave::mach_info::float_format fmt)
dim_vector dims(void) const
bool load_ascii(std::istream &is)
octave_value do_java_get(const std::string &name)
static std::string static_type_name(void)
static octave_value do_javaMethod(void *jni_env, const std::string &class_name, const std::string &name, const octave_value_list &args)
octave_value do_java_set(const std::string &name, const octave_value &val)
static int static_type_id(void)
string_vector map_keys(void) const
OCTINTERP_API bool Vjava_matrix_autoconversion
OCTINTERP_API bool Vjava_unsigned_autoconversion
OCTINTERP_API bool Vdebug_java
octave_value::octave_value(const Array< char > &chm, char type) return retval