Mercurial > hg > octave-nkf
comparison src/ls-oct-ascii.h @ 4687:e95c86d48732
[project @ 2004-01-06 21:53:34 by jwe]
author | jwe |
---|---|
date | Tue, 06 Jan 2004 21:53:34 +0000 |
parents | 79fe96966ca0 |
children | f7e39f977fe8 |
comparison
equal
deleted
inserted
replaced
4686:c7ae43dfdea4 | 4687:e95c86d48732 |
---|---|
21 */ | 21 */ |
22 | 22 |
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> | |
27 | |
28 // Flag for cell elements | |
29 #define CELL_ELT_TAG "<cell-element>" | |
30 | |
31 // Used when converting Inf to something that gnuplot can read. | |
32 | |
33 #ifndef OCT_RBV | |
34 #define OCT_RBV DBL_MAX / 100.0 | |
35 #endif | |
36 | |
26 extern std::string | 37 extern std::string |
27 extract_keyword (std::istream& is, const char *keyword); | 38 extract_keyword (std::istream& is, const char *keyword, |
39 const bool next_only = false); | |
40 | |
41 extern bool | |
42 extract_keyword (std::istream& is, const char *keyword, int& value, | |
43 const bool next_only = false); | |
28 | 44 |
29 extern std::string | 45 extern std::string |
30 read_ascii_data (std::istream& is, const std::string& filename, bool& global, | 46 read_ascii_data (std::istream& is, const std::string& filename, bool& global, |
31 octave_value& tc, int count); | 47 octave_value& tc, int count); |
32 | 48 |