Mercurial > hg > octave-lyh
comparison src/ls-oct-ascii.h @ 5099:f7e39f977fe8
[project @ 2004-12-24 19:06:01 by jwe]
author | jwe |
---|---|
date | Fri, 24 Dec 2004 19:06:01 +0000 |
parents | e95c86d48732 |
children | 23b37da9fd5b |
comparison
equal
deleted
inserted
replaced
5098:ab4e64f92526 | 5099:f7e39f977fe8 |
---|---|
23 #if !defined (octave_ls_oct_ascii_h) | 23 #if !defined (octave_ls_oct_ascii_h) |
24 #define octave_ls_oct_ascii_h 1 | 24 #define octave_ls_oct_ascii_h 1 |
25 | 25 |
26 #include <cfloat> | 26 #include <cfloat> |
27 | 27 |
28 #include <string> | |
29 | |
30 #include "str-vec.h" | |
31 | |
28 // Flag for cell elements | 32 // Flag for cell elements |
29 #define CELL_ELT_TAG "<cell-element>" | 33 #define CELL_ELT_TAG "<cell-element>" |
30 | 34 |
31 // Used when converting Inf to something that gnuplot can read. | 35 // Used when converting Inf to something that gnuplot can read. |
32 | 36 |
38 extract_keyword (std::istream& is, const char *keyword, | 42 extract_keyword (std::istream& is, const char *keyword, |
39 const bool next_only = false); | 43 const bool next_only = false); |
40 | 44 |
41 extern bool | 45 extern bool |
42 extract_keyword (std::istream& is, const char *keyword, int& value, | 46 extract_keyword (std::istream& is, const char *keyword, int& value, |
47 const bool next_only = false); | |
48 | |
49 extern bool | |
50 extract_keyword (std::istream& is, const string_vector& keywords, | |
51 std::string& keyword, int& value, | |
43 const bool next_only = false); | 52 const bool next_only = false); |
44 | 53 |
45 extern std::string | 54 extern std::string |
46 read_ascii_data (std::istream& is, const std::string& filename, bool& global, | 55 read_ascii_data (std::istream& is, const std::string& filename, bool& global, |
47 octave_value& tc, int count); | 56 octave_value& tc, int count); |