diff libinterp/octave-value/ov-base.h @ 20618:e5986cba4ca8

new octave_value::cell_value method with optional error message * ov.h, ov.cc (octave_value::cell_value): New method. * ov-base.h, ov-base.cc (octave_base_value::cell_value): New default method. * ov-cell.h, ov-cell.cc (octave_cell::cell_value): New method.
author John W. Eaton <jwe@octave.org>
date Fri, 09 Oct 2015 14:41:49 -0400
parents 40ed9b46a800
children
line wrap: on
line diff
--- a/libinterp/octave-value/ov-base.h	Fri Oct 09 10:06:39 2015 -0400
+++ b/libinterp/octave-value/ov-base.h	Fri Oct 09 14:41:49 2015 -0400
@@ -481,6 +481,8 @@
 
   virtual Cell cell_value (void) const;
 
+  virtual Cell cell_value (const char *fmt, va_list args) const;
+
   virtual Matrix matrix_value (bool = false) const;
 
   virtual FloatMatrix float_matrix_value (bool = false) const;