comparison src/ls-oct-binary.h @ 4634:79fe96966ca0

[project @ 2003-11-19 21:22:39 by jwe]
author jwe
date Wed, 19 Nov 2003 21:23:19 +0000
parents
children 4c8a2e4e0717
comparison
equal deleted inserted replaced
4633:d95dd6ae89fd 4634:79fe96966ca0
1 /*
2
3 Copyright (C) 2003 John W. Eaton
4
5 This file is part of Octave.
6
7 Octave is free software; you can redistribute it and/or modify it
8 under the terms of the GNU General Public License as published by the
9 Free Software Foundation; either version 2, or (at your option) any
10 later version.
11
12 Octave is distributed in the hope that it will be useful, but WITHOUT
13 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
14 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
15 for more details.
16
17 You should have received a copy of the GNU General Public License
18 along with Octave; see the file COPYING. If not, write to the Free
19 Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
20
21 */
22
23 #if !defined (octave_ls_oct_binary_h)
24 #define octave_ls_oct_binary_h 1
25
26 extern bool
27 save_binary_data (std::ostream& os, const octave_value& tc,
28 const std::string& name, const std::string& doc,
29 bool mark_as_global, bool save_as_floats);
30
31 extern std::string
32 read_binary_data (std::istream& is, bool swap,
33 oct_mach_info::float_format fmt,
34 const std::string& filename, bool& global,
35 octave_value& tc, std::string& doc);
36
37 #endif
38
39 /*
40 ;;; Local Variables: ***
41 ;;; mode: C++ ***
42 ;;; End: ***
43 */
44