Mercurial > octave
comparison libinterp/corefcn/load-save.cc @ 29961:7d6709900da7
eliminate octave:: namespace tags in DEFUN and DEFMETHOD and more
Files affected: __betainc__.cc, __contourc__.cc, __eigs__.cc,
__expint__.cc, __ftp__.cc, __gammainc__.cc, __ichol__.cc, __ilu__.cc,
__magick_read__.cc, __pchip_deriv__.cc, __qp__.cc, amd.cc, balance.cc,
besselj.cc, bsxfun.cc, call-stack.cc, ccolamd.cc, cellfun.cc, chol.cc,
colamd.cc, colloc.cc, conv2.cc, daspk.cc, dasrt.cc, dassl.cc, data.cc,
defaults.cc, dirfns.cc, display.cc, dlmread.cc, dmperm.cc, dot.cc,
eig.cc, ellipj.cc, environment.cc, error.cc, event-manager.cc, fft.cc,
fft2.cc, fftn.cc, file-io.cc, find.cc, gcd.cc, getgrent.cc,
getpwent.cc, getrusage.cc, gsvd.cc, hash.cc, help.cc, hess.cc,
hex2num.cc, input.cc, inv.cc, jsondecode.cc, jsonencode.cc,
load-path.cc, load-save.cc, lookup.cc, lsode.cc, lu.cc, max.cc,
mgorth.cc, oct-hist.cc, ordqz.cc, ordschur.cc, pager.cc, pr-output.cc,
psi.cc, qr.cc, quad.cc, quadcc.cc, qz.cc, rand.cc, regexp.cc,
schur.cc, settings.cc, sighandlers.cc, sparse.cc, spparms.cc,
sqrtm.cc, stream-euler.cc, strfind.cc, strfns.cc, sub2ind.cc, svd.cc,
symbfact.cc, symtab.cc, syscalls.cc, sysdep.cc, time.cc, toplev.cc,
tril.cc, typecast.cc, urlwrite.cc, utils.cc, variables.cc,
__delaunayn__.cc, __fltk_uigetfile__.cc, __glpk__.cc,
__init_gnuplot__.cc, __ode15__.cc, __voronoi__.cc, audiodevinfo.cc,
audioread.cc, convhulln.cc, fftw.cc, gzip.cc, ov-cell.cc, ov-class.cc,
ov-classdef.cc, ov-fcn-handle.cc, ov-struct.cc, ov-typeinfo.cc,
ov-usr-fcn.cc, octave.cc, lex.ll, oct-parse.yy, profiler.cc,
andpt-eval.cc.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Sat, 14 Aug 2021 22:48:52 -0400 |
parents | 939bef0b66e0 |
children | 362029cc0202 |
comparison
equal
deleted
inserted
replaced
29960:939bef0b66e0 | 29961:7d6709900da7 |
---|---|
1643 | 1643 |
1644 @end table | 1644 @end table |
1645 @seealso{save, dlmwrite, csvwrite, fwrite} | 1645 @seealso{save, dlmwrite, csvwrite, fwrite} |
1646 @end deftypefn */) | 1646 @end deftypefn */) |
1647 { | 1647 { |
1648 octave::load_save_system& load_save_sys = interp.get_load_save_system (); | 1648 load_save_system& load_save_sys = interp.get_load_save_system (); |
1649 | 1649 |
1650 return load_save_sys.load (args, nargout); | 1650 return load_save_sys.load (args, nargout); |
1651 } | 1651 } |
1652 | 1652 |
1653 DEFMETHOD (save, interp, args, nargout, | 1653 DEFMETHOD (save, interp, args, nargout, |
1797 saves the variable @samp{a} and all variables beginning with @samp{b} to the | 1797 saves the variable @samp{a} and all variables beginning with @samp{b} to the |
1798 file @file{data} in Octave's binary format. | 1798 file @file{data} in Octave's binary format. |
1799 @seealso{load, save_default_options, save_header_format_string, save_precision, dlmread, csvread, fread} | 1799 @seealso{load, save_default_options, save_header_format_string, save_precision, dlmread, csvread, fread} |
1800 @end deftypefn */) | 1800 @end deftypefn */) |
1801 { | 1801 { |
1802 octave::load_save_system& load_save_sys = interp.get_load_save_system (); | 1802 load_save_system& load_save_sys = interp.get_load_save_system (); |
1803 | 1803 |
1804 return load_save_sys.save (args, nargout); | 1804 return load_save_sys.save (args, nargout); |
1805 } | 1805 } |
1806 | 1806 |
1807 /* | 1807 /* |
1914 variable is changed locally for the function and any subroutines it calls. | 1914 variable is changed locally for the function and any subroutines it calls. |
1915 The original variable value is restored when exiting the function. | 1915 The original variable value is restored when exiting the function. |
1916 @seealso{octave_core_file_limit, octave_core_file_name, octave_core_file_options} | 1916 @seealso{octave_core_file_limit, octave_core_file_name, octave_core_file_options} |
1917 @end deftypefn */) | 1917 @end deftypefn */) |
1918 { | 1918 { |
1919 octave::load_save_system& load_save_sys = interp.get_load_save_system (); | 1919 load_save_system& load_save_sys = interp.get_load_save_system (); |
1920 | 1920 |
1921 return load_save_sys.crash_dumps_octave_core (args, nargout); | 1921 return load_save_sys.crash_dumps_octave_core (args, nargout); |
1922 } | 1922 } |
1923 | 1923 |
1924 DEFMETHOD (save_default_options, interp, args, nargout, | 1924 DEFMETHOD (save_default_options, interp, args, nargout, |
1936 variable is changed locally for the function and any subroutines it calls. | 1936 variable is changed locally for the function and any subroutines it calls. |
1937 The original variable value is restored when exiting the function. | 1937 The original variable value is restored when exiting the function. |
1938 @seealso{save, save_header_format_string, save_precision} | 1938 @seealso{save, save_header_format_string, save_precision} |
1939 @end deftypefn */) | 1939 @end deftypefn */) |
1940 { | 1940 { |
1941 octave::load_save_system& load_save_sys = interp.get_load_save_system (); | 1941 load_save_system& load_save_sys = interp.get_load_save_system (); |
1942 | 1942 |
1943 return load_save_sys.save_default_options (args, nargout); | 1943 return load_save_sys.save_default_options (args, nargout); |
1944 } | 1944 } |
1945 | 1945 |
1946 DEFMETHOD (octave_core_file_limit, interp, args, nargout, | 1946 DEFMETHOD (octave_core_file_limit, interp, args, nargout, |
1964 variable is changed locally for the function and any subroutines it calls. | 1964 variable is changed locally for the function and any subroutines it calls. |
1965 The original variable value is restored when exiting the function. | 1965 The original variable value is restored when exiting the function. |
1966 @seealso{crash_dumps_octave_core, octave_core_file_name, octave_core_file_options} | 1966 @seealso{crash_dumps_octave_core, octave_core_file_name, octave_core_file_options} |
1967 @end deftypefn */) | 1967 @end deftypefn */) |
1968 { | 1968 { |
1969 octave::load_save_system& load_save_sys = interp.get_load_save_system (); | 1969 load_save_system& load_save_sys = interp.get_load_save_system (); |
1970 | 1970 |
1971 return load_save_sys.octave_core_file_limit (args, nargout); | 1971 return load_save_sys.octave_core_file_limit (args, nargout); |
1972 } | 1972 } |
1973 | 1973 |
1974 DEFMETHOD (octave_core_file_name, interp, args, nargout, | 1974 DEFMETHOD (octave_core_file_name, interp, args, nargout, |
1985 variable is changed locally for the function and any subroutines it calls. | 1985 variable is changed locally for the function and any subroutines it calls. |
1986 The original variable value is restored when exiting the function. | 1986 The original variable value is restored when exiting the function. |
1987 @seealso{crash_dumps_octave_core, octave_core_file_name, octave_core_file_options} | 1987 @seealso{crash_dumps_octave_core, octave_core_file_name, octave_core_file_options} |
1988 @end deftypefn */) | 1988 @end deftypefn */) |
1989 { | 1989 { |
1990 octave::load_save_system& load_save_sys = interp.get_load_save_system (); | 1990 load_save_system& load_save_sys = interp.get_load_save_system (); |
1991 | 1991 |
1992 return load_save_sys.octave_core_file_name (args, nargout); | 1992 return load_save_sys.octave_core_file_name (args, nargout); |
1993 } | 1993 } |
1994 | 1994 |
1995 DEFMETHOD (octave_core_file_options, interp, args, nargout, | 1995 DEFMETHOD (octave_core_file_options, interp, args, nargout, |
2008 variable is changed locally for the function and any subroutines it calls. | 2008 variable is changed locally for the function and any subroutines it calls. |
2009 The original variable value is restored when exiting the function. | 2009 The original variable value is restored when exiting the function. |
2010 @seealso{crash_dumps_octave_core, octave_core_file_name, octave_core_file_limit} | 2010 @seealso{crash_dumps_octave_core, octave_core_file_name, octave_core_file_limit} |
2011 @end deftypefn */) | 2011 @end deftypefn */) |
2012 { | 2012 { |
2013 octave::load_save_system& load_save_sys = interp.get_load_save_system (); | 2013 load_save_system& load_save_sys = interp.get_load_save_system (); |
2014 | 2014 |
2015 return load_save_sys.octave_core_file_options (args, nargout); | 2015 return load_save_sys.octave_core_file_options (args, nargout); |
2016 } | 2016 } |
2017 | 2017 |
2018 DEFMETHOD (save_header_format_string, interp, args, nargout, | 2018 DEFMETHOD (save_header_format_string, interp, args, nargout, |
2038 variable is changed locally for the function and any subroutines it calls. | 2038 variable is changed locally for the function and any subroutines it calls. |
2039 The original variable value is restored when exiting the function. | 2039 The original variable value is restored when exiting the function. |
2040 @seealso{strftime, save_default_options} | 2040 @seealso{strftime, save_default_options} |
2041 @end deftypefn */) | 2041 @end deftypefn */) |
2042 { | 2042 { |
2043 octave::load_save_system& load_save_sys = interp.get_load_save_system (); | 2043 load_save_system& load_save_sys = interp.get_load_save_system (); |
2044 | 2044 |
2045 return load_save_sys.save_header_format_string (args, nargout); | 2045 return load_save_sys.save_header_format_string (args, nargout); |
2046 } | 2046 } |
2047 | 2047 |
2048 OCTAVE_NAMESPACE_END | 2048 OCTAVE_NAMESPACE_END |