diff src/ov-str-mat.h @ 4944:44046bbaa52c

[project @ 2004-08-31 05:30:46 by jwe]
author jwe
date Tue, 31 Aug 2004 05:30:47 +0000
parents e95c86d48732
children e35b034d3523
line wrap: on
line diff
--- a/src/ov-str-mat.h	Tue Aug 31 00:51:31 2004 +0000
+++ b/src/ov-str-mat.h	Tue Aug 31 05:30:47 2004 +0000
@@ -36,6 +36,7 @@
 #include "str-vec.h"
 
 #include "error.h"
+#include "oct-stream.h"
 #include "ov.h"
 #include "ov-ch-mat.h"
 #include "ov-typeinfo.h"
@@ -140,6 +141,11 @@
   bool load_hdf5 (hid_t loc_id, const char *name, bool have_h5giterate_bug);
 #endif
 
+  int write (octave_stream& os, int block_size,
+	     oct_data_conv::data_type output_type, int skip,
+	     oct_mach_info::float_format flt_fmt) const
+    { return os.write (matrix, block_size, output_type, skip, flt_fmt); }
+
 private:
 
   DECLARE_OCTAVE_ALLOCATOR