606
|
1 // load-save.h -*- C++ -*- |
|
2 /* |
|
3 |
1884
|
4 Copyright (C) 1996 John W. Eaton |
606
|
5 |
|
6 This file is part of Octave. |
|
7 |
|
8 Octave is free software; you can redistribute it and/or modify it |
|
9 under the terms of the GNU General Public License as published by the |
|
10 Free Software Foundation; either version 2, or (at your option) any |
|
11 later version. |
|
12 |
|
13 Octave is distributed in the hope that it will be useful, but WITHOUT |
|
14 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
|
15 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
|
16 for more details. |
|
17 |
|
18 You should have received a copy of the GNU General Public License |
|
19 along with Octave; see the file COPYING. If not, write to the Free |
1315
|
20 Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
606
|
21 |
|
22 */ |
|
23 |
|
24 #if !defined (octave_load_save_h) |
|
25 #define octave_load_save_h 1 |
|
26 |
1738
|
27 class ostream; |
|
28 |
606
|
29 class tree_constant; |
|
30 |
1755
|
31 #include <string> |
|
32 |
606
|
33 extern int save_ascii_data (ostream& os, const tree_constant& t, |
1755
|
34 const string& name = string (), |
|
35 int strip_nan_and_inf = 0, |
872
|
36 int mark_as_global = 0, int precision = 0); |
606
|
37 |
|
38 extern int save_three_d (ostream& os, const tree_constant& t, |
|
39 int parametric = 0); |
|
40 |
1380
|
41 extern void save_user_variables (void); |
|
42 |
606
|
43 #endif |
|
44 |
|
45 /* |
|
46 ;;; Local Variables: *** |
|
47 ;;; mode: C++ *** |
|
48 ;;; page-delimiter: "^/\\*" *** |
|
49 ;;; End: *** |
|
50 */ |