GNU Octave
3.8.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
|
Go to the source code of this file.
Functions | |
OCTINTERP_API std::string | read_binary_data (std::istream &is, bool swap, oct_mach_info::float_format fmt, const std::string &filename, bool &global, octave_value &tc, std::string &doc) |
OCTINTERP_API bool | save_binary_data (std::ostream &os, const octave_value &tc, const std::string &name, const std::string &doc, bool mark_as_global, bool save_as_floats) |
OCTINTERP_API std::string read_binary_data | ( | std::istream & | is, |
bool | swap, | ||
oct_mach_info::float_format | fmt, | ||
const std::string & | filename, | ||
bool & | global, | ||
octave_value & | tc, | ||
std::string & | doc | ||
) |
Definition at line 134 of file ls-oct-binary.cc.
References error(), octave_value::load_binary(), octave_value_typeinfo::lookup_type(), OCTAVE_LOCAL_BUFFER, and swap_bytes< 4 >().
Referenced by do_load(), octave_struct::load_binary(), octave_fcn_handle::load_binary(), octave_cell::load_binary(), octave_class::load_binary(), octave_lazy_index::load_binary(), and octave_scalar_struct::load_binary().
OCTINTERP_API bool save_binary_data | ( | std::ostream & | os, |
const octave_value & | tc, | ||
const std::string & | name, | ||
const std::string & | doc, | ||
bool | mark_as_global, | ||
bool | save_as_floats | ||
) |
Definition at line 270 of file ls-oct-binary.cc.
References octave_value::save_binary(), and octave_value::type_name().
Referenced by do_save(), octave_struct::save_binary(), octave_fcn_handle::save_binary(), octave_cell::save_binary(), octave_class::save_binary(), octave_lazy_index::save_binary(), and octave_scalar_struct::save_binary().