Go to the source code of this file.
Functions | |
OCTINTERP_API std::string | read_binary_data (std::istream &is, bool swap, octave::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_global, bool save_as_floats) |
OCTINTERP_API std::string read_binary_data | ( | std::istream & | is, |
bool | swap, | ||
octave::mach_info::float_format | fmt, | ||
const std::string & | filename, | ||
bool & | global, | ||
octave_value & | tc, | ||
std::string & | doc | ||
) |
Definition at line 121 of file ls-oct-binary.cc.
References octave::__get_type_info__(), error(), filename, is, octave_value::load_binary(), octave::type_info::lookup_type(), name, OCTAVE_LOCAL_BUFFER, retval, s, string, swap, swap_bytes< 4 >(), and tmp.
Referenced by do_load(), octave_fcn_handle::load_binary(), octave_struct::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_global, | ||
bool | save_as_floats | ||
) |
Definition at line 257 of file ls-oct-binary.cc.
References name, os, save_as_floats, string, tmp, octave_value::type_name(), val, and octave::stream::write().
Referenced by do_save(), octave_fcn_handle::save_binary(), octave_struct::save_binary(), octave_cell::save_binary(), octave_class::save_binary(), octave_lazy_index::save_binary(), and octave_scalar_struct::save_binary().