comparison 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
comparison
equal deleted inserted replaced
20617:ba2b07c13913 20618:e5986cba4ca8
478 478
479 virtual float float_scalar_value (bool frc_str_conv = false) const 479 virtual float float_scalar_value (bool frc_str_conv = false) const
480 { return float_value (frc_str_conv); } 480 { return float_value (frc_str_conv); }
481 481
482 virtual Cell cell_value (void) const; 482 virtual Cell cell_value (void) const;
483
484 virtual Cell cell_value (const char *fmt, va_list args) const;
483 485
484 virtual Matrix matrix_value (bool = false) const; 486 virtual Matrix matrix_value (bool = false) const;
485 487
486 virtual FloatMatrix float_matrix_value (bool = false) const; 488 virtual FloatMatrix float_matrix_value (bool = false) const;
487 489