#include <cstring>#include <fstream>#include <iomanip>#include <iostream>#include <list>#include <sstream>#include <string>#include "byte-swap.h"#include "dMatrix.h"#include "data-conv.h"#include "file-ops.h"#include "file-stat.h"#include "glob-match.h"#include "lo-mappers.h"#include "mach-info.h"#include "oct-env.h"#include "oct-locbuf.h"#include "oct-time.h"#include "quit.h"#include "str-vec.h"#include "strftime-wrapper.h"#include "Cell.h"#include "defun.h"#include "error.h"#include "errwarn.h"#include "interpreter.h"#include "interpreter-private.h"#include "load-path.h"#include "load-save.h"#include "oct-hdf5.h"#include "ovl.h"#include "oct-map.h"#include "ov-cell.h"#include "pager.h"#include "syminfo.h"#include "sysdep.h"#include "unwind-prot.h"#include "utils.h"#include "variables.h"#include "version.h"#include "ls-hdf5.h"#include "ls-mat-ascii.h"#include "ls-mat4.h"#include "ls-mat5.h"#include "ls-oct-text.h"#include "ls-oct-binary.h"#include "gzfstream.h"
Go to the source code of this file.
Functions | |
| static bool | check_gzip_magic (const std::string &fname) |
| void | dump_octave_core (void) |
| static OCTAVE_NORETURN void | err_file_open (const std::string &fcn, const std::string &file) |
| OCTAVE_EXPORT octave_value_list | Fcrash_dumps_octave_core (octave::interpreter &interp, const octave_value_list &args, int nargout) |
| static std::string | find_file_to_load (const std::string &name, const std::string &orig_name) |
| OCTAVE_EXPORT octave_value_list | Fload (octave::interpreter &interp, const octave_value_list &args, int nargout) |
| OCTAVE_EXPORT octave_value_list | Foctave_core_file_limit (octave::interpreter &interp, const octave_value_list &args, int nargout) |
| OCTAVE_EXPORT octave_value_list | Foctave_core_file_name (octave::interpreter &interp, const octave_value_list &args, int nargout) |
| OCTAVE_EXPORT octave_value_list | Foctave_core_file_options (octave::interpreter &interp, const octave_value_list &args, int nargout) |
| OCTAVE_EXPORT octave_value_list | Fsave (octave::interpreter &interp, const octave_value_list &args, int nargout) |
| OCTAVE_EXPORT octave_value_list | Fsave_default_options (octave::interpreter &interp, const octave_value_list &args, int nargout) |
| OCTAVE_EXPORT octave_value_list | Fsave_header_format_string (octave::interpreter &interp, const octave_value_list &args, int nargout) |
| static bool | glob_pattern_p (const std::string &pattern) |
| static bool | matches_patterns (const string_vector &patterns, int pat_idx, int num_pat, const std::string &name) |
| static int | read_binary_file_header (std::istream &is, bool &swap, mach_info::float_format &flt_fmt, bool quiet=false) |
|
static |
Definition at line 164 of file load-save.cc.
References ifstream().
Referenced by load_save_system::get_file_format().
| void dump_octave_core | ( | void | ) |
Definition at line 2067 of file load-save.cc.
References __get_load_save_system__().
|
static |
Definition at line 97 of file load-save.cc.
References error().
Referenced by load_save_system::get_file_format(), load_save_system::load(), and load_save_system::save().
| OCTAVE_EXPORT octave_value_list Fcrash_dumps_octave_core | ( | octave::interpreter & | interp, |
| const octave_value_list & | args, | ||
| int | nargout | ||
| ) |
Definition at line 1929 of file load-save.cc.
References load_save_system::crash_dumps_octave_core().
|
static |
Definition at line 183 of file load-save.cc.
References dir_sep_chars, error(), and find_data_file_in_load_path().
Referenced by load_save_system::load().
| OCTAVE_EXPORT octave_value_list Fload | ( | octave::interpreter & | interp, |
| const octave_value_list & | args, | ||
| int | nargout | ||
| ) |
Definition at line 1656 of file load-save.cc.
References load_save_system::load().
Referenced by main_window::handle_load_workspace_request().
| OCTAVE_EXPORT octave_value_list Foctave_core_file_limit | ( | octave::interpreter & | interp, |
| const octave_value_list & | args, | ||
| int | nargout | ||
| ) |
Definition at line 1980 of file load-save.cc.
References load_save_system::octave_core_file_limit().
| OCTAVE_EXPORT octave_value_list Foctave_core_file_name | ( | octave::interpreter & | interp, |
| const octave_value_list & | args, | ||
| int | nargout | ||
| ) |
Definition at line 2002 of file load-save.cc.
References load_save_system::octave_core_file_name().
| OCTAVE_EXPORT octave_value_list Foctave_core_file_options | ( | octave::interpreter & | interp, |
| const octave_value_list & | args, | ||
| int | nargout | ||
| ) |
Definition at line 2025 of file load-save.cc.
References load_save_system::octave_core_file_options().
| OCTAVE_EXPORT octave_value_list Fsave | ( | octave::interpreter & | interp, |
| const octave_value_list & | args, | ||
| int | nargout | ||
| ) |
Definition at line 1811 of file load-save.cc.
References load_save_system::save().
Referenced by variable_editor_stack::do_save(), and main_window::handle_save_workspace_request().
| OCTAVE_EXPORT octave_value_list Fsave_default_options | ( | octave::interpreter & | interp, |
| const octave_value_list & | args, | ||
| int | nargout | ||
| ) |
Definition at line 1951 of file load-save.cc.
References load_save_system::save_default_options().
Referenced by variable_editor_stack::save().
| OCTAVE_EXPORT octave_value_list Fsave_header_format_string | ( | octave::interpreter & | interp, |
| const octave_value_list & | args, | ||
| int | nargout | ||
| ) |
Definition at line 2055 of file load-save.cc.
References load_save_system::save_header_format_string().
|
static |
Definition at line 219 of file load-save.cc.
References len.
Referenced by load_save_system::save().
|
static |
Definition at line 110 of file load-save.cc.
References glob_match::match().
Referenced by load_save_system::load_vars().
|
static |
Definition at line 125 of file load-save.cc.
References error(), flt_fmt_unknown, mopt_digit_to_float_format(), strncmp(), and words_big_endian().
Referenced by load_save_system::get_file_format(), and load_save_system::load().