diff 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
line wrap: on
line diff
--- a/src/ls-oct-ascii.h
+++ b/src/ls-oct-ascii.h
@@ -23,8 +23,24 @@
 #if !defined (octave_ls_oct_ascii_h)
 #define octave_ls_oct_ascii_h 1
 
+#include <cfloat>
+
+// Flag for cell elements
+#define CELL_ELT_TAG "<cell-element>"
+
+// Used when converting Inf to something that gnuplot can read.
+
+#ifndef OCT_RBV
+#define OCT_RBV DBL_MAX / 100.0
+#endif
+
 extern std::string
-extract_keyword (std::istream& is, const char *keyword);
+extract_keyword (std::istream& is, const char *keyword, 
+		 const bool next_only = false);
+
+extern  bool
+extract_keyword (std::istream& is, const char *keyword, int& value,
+		 const bool next_only = false);
 
 extern std::string
 read_ascii_data (std::istream& is, const std::string& filename, bool& global,