diff src/ov.h @ 8150:283989f2da9b

make null assignment matlab compatible
author Jaroslav Hajek <highegg@gmail.com>
date Fri, 26 Sep 2008 11:52:01 -0400
parents 260294a5520f
children c777f3ce02d8
line wrap: on
line diff
--- a/src/ov.h
+++ b/src/ov.h
@@ -489,6 +489,9 @@
   bool is_magic_colon (void) const
     { return rep->is_magic_colon (); }
 
+  bool is_null_value (void) const
+    { return rep->is_null_value (); }
+
   // Are any or all of the elements in this constant nonzero?
 
   octave_value all (int dim = 0) const
@@ -835,6 +838,14 @@
   Array<FloatComplex> float_complex_vector_value (bool frc_str_conv = false,
 				       bool frc_vec_conv = false) const;
 
+  // Make a copy that is not a special null matrix
+
+  octave_value non_null_value (void) const;
+
+  // Ditto, but in place.
+
+  void make_non_null_value (void);
+
   // Conversions.  These should probably be private.  If a user of this
   // class wants a certain kind of constant, he should simply ask for
   // it, and we should convert it if possible.