
Public Types | |
| enum | state { ok , conversion_error } |
Public Member Functions | |
| printf_value_cache (const octave_value_list &args, const std::string &who) | |
| printf_value_cache (const printf_value_cache &)=delete | |
| ~printf_value_cache (void)=default | |
| bool | exhausted (void) |
| octave_value | get_next_value (char type=0) |
| int | int_value (void) |
| operator bool () const | |
| printf_value_cache & | operator= (const printf_value_cache &)=delete |
Private Member Functions | |
| printf_value_cache (void) | |
Definition at line 5440 of file oct-stream.cc.
| Enumerator | |
|---|---|
| ok | |
| conversion_error | |
Definition at line 5445 of file oct-stream.cc.
|
inline |
Definition at line 5447 of file oct-stream.cc.
References err_wrong_type_arg(), octave_value::iscell(), octave_value::isobject(), and octave_value::isstruct().
|
delete |
|
default |
|
private |
|
inline |
Definition at line 5480 of file oct-stream.cc.
Referenced by octave::base_stream::do_printf(), and get_next_value().
| octave_value octave::printf_value_cache::get_next_value | ( | char | type = 0 | ) |
Definition at line 5500 of file oct-stream.cc.
References octave_value::array_value(), conversion_error, octave_value::double_value(), exhausted(), octave_value::fast_elem_extract(), octave_value::is_string(), m_curr_state, m_curr_val, m_elt_idx, m_have_data, m_n_elts, m_val_idx, m_values, Matrix, octave_value::numel(), octave_value::reshape(), octave_value::string_value(), and octave::math::x_nint().
Referenced by octave::base_stream::do_printf(), and int_value().
| int octave::printf_value_cache::int_value | ( | void | ) |
Definition at line 5615 of file oct-stream.cc.
References conversion_error, octave_value::double_value(), get_next_value(), m_curr_state, max(), octave::math::nint(), and octave::math::x_nint().
Referenced by octave::base_stream::do_printf().
|
inline |
Definition at line 5478 of file oct-stream.cc.
|
delete |
|
private |
Definition at line 5496 of file oct-stream.cc.
Referenced by get_next_value(), and int_value().
|
private |
Definition at line 5495 of file oct-stream.cc.
Referenced by get_next_value().
|
private |
Definition at line 5491 of file oct-stream.cc.
Referenced by get_next_value().
|
private |
Definition at line 5494 of file oct-stream.cc.
Referenced by get_next_value().
|
private |
Definition at line 5493 of file oct-stream.cc.
Referenced by get_next_value().
|
private |
Definition at line 5492 of file oct-stream.cc.
|
private |
Definition at line 5490 of file oct-stream.cc.
Referenced by get_next_value().
|
private |
Definition at line 5489 of file oct-stream.cc.
Referenced by get_next_value().