24 #if !defined (octave_ov_fcn_handle_h)
25 #define octave_ov_fcn_handle_h 1
53 : fcn (), nm (), has_overloads (false), overloads () { }
56 : fcn (), nm (n), has_overloads (false), overloads () { }
62 has_overloads (fh.has_overloads), overloads ()
78 const std::list<octave_value_list>& idx)
85 const std::list<octave_value_list>& idx,
89 const std::list<octave_value_list>& idx,
91 const std::list<octave_lvalue>* lvalue_list);
98 const std::list<octave_lvalue>* lvalue_list);
126 has_overloads =
true;
127 builtin_overloads[btyp] = ov_fcn;
132 void set_overload (
const std::string& dispatch_type,
135 has_overloads =
true;
136 overloads[dispatch_type] = ov_fcn;
141 bool save_ascii (std::ostream& os);
143 bool load_ascii (std::istream& is);
145 bool save_binary (std::ostream& os,
bool& save_as_floats);
147 bool load_binary (std::istream& is,
bool swap,
150 #if defined (HAVE_HDF5)
151 bool save_hdf5 (hid_t loc_id,
const char *name,
bool save_as_floats);
153 bool load_hdf5 (hid_t loc_id,
const char *name);
156 void print (std::ostream& os,
bool pr_as_read_syntax =
false)
const;
158 void print_raw (std::ostream& os,
bool pr_as_read_syntax =
false)
const;
165 bool set_fcn (
const std::string &octaveroot,
const std::string& fpath);
192 bool local_funcs =
true);
202 const std::vector<int>& mask,
int exp_nargin);
214 const std::list<octave_lvalue>* lvalue_list);