Mercurial > octave-nkf
comparison libinterp/octave-value/ov-java.h @ 20476:b22528fd3deb
Add placeholder functions for save_ascii, save_binary for octave_java (bug #45694).
* ov-java.h: (save_ascii, load_ascii, save_binary, load_binary): New function
prototypes overriding defaults in ov.h.
* ov-java.cc (save_ascii, save_binary): New functions emit warning about
inability to save java objects, and then return true so that other variables
can be saved.
* ov-java.cc (load_ascii, load_binary): New functions silently skip over null
octave_java elements in a file produced by save_ascii() or save_binary().
author | Rik <rik@octave.org> |
---|---|
date | Thu, 13 Aug 2015 22:00:02 -0700 |
parents | 41064c150724 |
children | 2f94652de9ff |
comparison
equal
deleted
inserted
replaced
20475:3fc21d7ac11c | 20476:b22528fd3deb |
---|---|
155 | 155 |
156 void print (std::ostream& os, bool pr_as_read_syntax = false); | 156 void print (std::ostream& os, bool pr_as_read_syntax = false); |
157 | 157 |
158 void print_raw (std::ostream& os, bool pr_as_read_syntax = false) const; | 158 void print_raw (std::ostream& os, bool pr_as_read_syntax = false) const; |
159 | 159 |
160 bool save_ascii (std::ostream& os); | |
161 | |
162 bool load_ascii (std::istream& is); | |
163 | |
164 bool save_binary (std::ostream& os, bool& save_as_floats); | |
165 | |
166 bool load_binary (std::istream& is, bool swap, | |
167 oct_mach_info::float_format fmt); | |
168 | |
160 octave_value_list | 169 octave_value_list |
161 subsref (const std::string& type, | 170 subsref (const std::string& type, |
162 const std::list<octave_value_list>& idx, int nargout); | 171 const std::list<octave_value_list>& idx, int nargout); |
163 | 172 |
164 octave_value | 173 octave_value |