26 #if ! defined (octave_ov_java_h)
27 #define octave_ov_java_h 1
29 #include "octave-config.h"
38 OCTAVE_END_NAMESPACE(
octave)
53 init (jobj.m_java_object, jobj.m_java_class);
58 void *
to_java ()
const {
return m_java_object; }
59 void *
to_class ()
const {
return m_java_class; }
66 bool is_instance_of (
const std::string&)
const;
74 bool isjava ()
const {
return true; }
80 void print (std::ostream& os,
bool pr_as_read_syntax =
false);
82 void print_raw (std::ostream& os,
bool pr_as_read_syntax =
false)
const;
105 const std::list<octave_value_list>& idx,
int nargout);
108 subsref (
const std::string& type,
const std::list<octave_value_list>& idx)
115 const std::list<octave_value_list>& idx,
120 bool is_java_string ()
const;
149 const std::string& name);
152 do_java_get (
const std::string& class_name,
const std::string& name);
164 do_java_set (
const std::string& class_name,
const std::string& name,
169 void init (
void *jobj,
void *jcls);
179 std::string m_java_classname;
195 static const std::string s_t_name;
Vector representing the dimensions (size) of an Array.
virtual octave_value subsref(const std::string &type, const std::list< octave_value_list > &idx)
bool save_hdf5(octave_hdf5_id loc_id, const char *name, bool save_as_floats)
std::string class_name() const
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)
octave_base_value * empty_clone() const
string_vector map_keys() 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)
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)
octave_java(const voidptr &obj, void *cls=nullptr)
static std::string static_class_name()
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)
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
static int static_type_id()
octave_value subsasgn(const std::string &type, const std::list< octave_value_list > &idx, const octave_value &rhs)
static std::string static_type_name()
std::string type_name() const
octave_java(const octave_java &jobj)
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)
octave_value_list subsref(const std::string &type, const std::list< octave_value_list > &idx, int nargout)
octave_base_value * clone() const
bool load_binary(std::istream &is, bool swap, octave::mach_info::float_format fmt)
bool load_ascii(std::istream &is)
std::string java_class_name() const
octave_value do_java_get(const std::string &name)
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)
octave_idx_type length() const
OCTAVE_BEGIN_NAMESPACE(octave) static octave_value daspk_fcn
bool Vjava_unsigned_autoconversion
bool Vjava_matrix_autoconversion