diff liboctave/idx-vector.h @ 164:e2c950dd96d2

[project @ 1993-10-18 19:32:00 by jwe]
author jwe
date Mon, 18 Oct 1993 19:32:00 +0000
parents 78fd87e624cb
children b6b4d8c513fe
line wrap: on
line diff
--- a/liboctave/idx-vector.h
+++ b/liboctave/idx-vector.h
@@ -30,20 +30,21 @@
 
 #include <stdlib.h>
 #include <assert.h>
-#include <iostream.h>
-#include "Matrix.h"
-#include "Range.h"
 
 #define FAIL assert(0) /* XXX FIXME XXX */
 
+class ostream;
+class Matrix;
+class Range;
+
 class idx_vector
 {
 public:
   idx_vector (void);
   idx_vector (const idx_vector& a);
 
-  idx_vector (Matrix& m, int do_ftn_idx, char *rc = (char *) NULL,
-	      int z_len = 0);
+  idx_vector (const Matrix& m, int do_ftn_idx,
+	      const char *rc = (char *) NULL, int z_len = 0);
 
   idx_vector (const Range& r);
 
@@ -81,7 +82,7 @@
   int min_val;
   int *data;
 
-  void init_state (char *rc = (char *) NULL, int z_len = 0);
+  void init_state (const char *rc = (char *) NULL, int z_len = 0);
   void convert_one_zero_to_idx (void);
 };