Mercurial > hg > octave-nkf
comparison libinterp/octave-value/ov-cell.h @ 20794: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 | 09ed6f7538dd |
children |
comparison
equal
deleted
inserted
replaced
20793:ba2b07c13913 | 20794:e5986cba4ca8 |
---|---|
133 | 133 |
134 bool is_true (void) const; | 134 bool is_true (void) const; |
135 | 135 |
136 Cell cell_value (void) const { return matrix; } | 136 Cell cell_value (void) const { return matrix; } |
137 | 137 |
138 Cell cell_value (const char *, va_list) const { return matrix; } | |
139 | |
138 octave_value_list list_value (void) const; | 140 octave_value_list list_value (void) const; |
139 | 141 |
140 octave_value convert_to_str_internal (bool pad, bool, char type) const | 142 octave_value convert_to_str_internal (bool pad, bool, char type) const |
141 { return octave_value (all_strings (pad), type); } | 143 { return octave_value (all_strings (pad), type); } |
142 | 144 |