GNU Octave
3.8.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
|
#include <cfloat>
#include <cstring>
#include <cctype>
#include <fstream>
#include <iomanip>
#include <iostream>
#include <string>
#include <vector>
#include "byte-swap.h"
#include "data-conv.h"
#include "file-ops.h"
#include "glob-match.h"
#include "lo-mappers.h"
#include "mach-info.h"
#include "oct-env.h"
#include "oct-time.h"
#include "quit.h"
#include "str-vec.h"
#include "oct-locbuf.h"
#include "Cell.h"
#include "defun.h"
#include "error.h"
#include "gripes.h"
#include "load-save.h"
#include "oct-obj.h"
#include "oct-map.h"
#include "ov-cell.h"
#include "pager.h"
#include "pt-exp.h"
#include "sysdep.h"
#include "unwind-prot.h"
#include "utils.h"
#include "variables.h"
#include "version.h"
#include "dMatrix.h"
#include "ls-utils.h"
#include "ls-oct-binary.h"
Go to the source code of this file.
Functions | |
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) |
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) |
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().
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().