diff src/ov-bool.h @ 4970:25c2664861bc

[project @ 2004-09-08 05:02:32 by jwe]
author jwe
date Wed, 08 Sep 2004 05:02:32 +0000
parents c638c144d4da
children e35b034d3523
line wrap: on
line diff
--- a/src/ov-bool.h	Wed Sep 08 02:44:04 2004 +0000
+++ b/src/ov-bool.h	Wed Sep 08 05:02:32 2004 +0000
@@ -37,6 +37,7 @@
 #include "oct-alloc.h"
 #include "str-vec.h"
 
+#include "oct-stream.h"
 #include "ov-base.h"
 #include "ov-base-scalar.h"
 #include "ov-typeinfo.h"
@@ -132,6 +133,14 @@
   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 (bool_array_value (), block_size, output_type,
+		       skip, flt_fmt);
+    }
+
 private:
 
   DECLARE_OCTAVE_ALLOCATOR