26 #if ! defined (octave_ov_java_h)
27 #define octave_ov_java_h 1
29 #include "octave-config.h"
58 void *
to_java (
void)
const {
return m_java_object; }
59 void *
to_class (
void)
const {
return m_java_class; }
66 bool is_instance_of (
const std::string&)
const;
74 bool isjava (
void)
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 (
void)
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);
185 std::string
class_name (
void)
const {
return m_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
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)
std::string m_java_classname
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
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
octave_idx_type length(void) const
OCTAVE_BEGIN_NAMESPACE(octave) static octave_value daspk_fcn
std::string release(void)
OCTINTERP_API bool Vjava_matrix_autoconversion
OCTINTERP_API bool Vjava_unsigned_autoconversion
OCTINTERP_API bool Vdebug_java