#include "lo-array-errwarn.h"
Public Member Functions | |
index_exception (const std::string &index, octave_idx_type nd=0, octave_idx_type dim=-1, const char *var="") | |
~index_exception (void)=default | |
virtual const char * | err_id (void) const =0 |
void | set_pos (octave_idx_type nd_arg, octave_idx_type dim_arg) |
void | set_pos_if_unset (octave_idx_type nd_arg, octave_idx_type dim_arg) |
void | set_var (const std::string &var_arg="") |
virtual void | update_message (void) |
Protected Member Functions | |
std::string | expression (void) const |
Protected Attributes | |
octave_idx_type | m_dim |
octave_idx_type | m_nd |
std::string | m_var |
Private Attributes | |
std::string | m_index |
Definition at line 44 of file lo-array-errwarn.h.
|
inline |
Definition at line 48 of file lo-array-errwarn.h.
References expression().
|
default |
|
pure virtual |
Implemented in octave::out_of_range, octave::invalid_index, and octave::complex_index_exception.
Referenced by octave::tree_simple_assignment::evaluate(), octave::tree_evaluator::final_index_error(), Fsub2ind(), and sub2ind().
|
protected |
Definition at line 126 of file lo-array-errwarn.cc.
References m_dim, m_index, m_nd, and m_var.
Referenced by index_exception(), octave::invalid_index::update_message(), octave::out_of_range::update_message(), and update_message().
|
inline |
Definition at line 64 of file lo-array-errwarn.h.
References m_dim, m_nd, and update_message().
Referenced by Cell::assign(), and Cell::delete_elements().
|
inline |
Definition at line 72 of file lo-array-errwarn.h.
References m_dim, m_nd, and update_message().
Referenced by octave_map::assign(), octave_base_matrix< MT >::assign(), octave_map::delete_elements(), octave_base_sparse< T >::delete_elements(), octave_perm_matrix::do_index_op(), octave_range::do_index_op(), octave_diag_matrix::do_index_op(), octave_char_matrix_str::do_index_op_internal(), Fsparse(), Fsub2ind(), octave_map::index(), Cell::index(), make_java_index(), sub2ind(), octave::cdef_object_array::subsasgn(), and octave::cdef_object_array::subsref().
|
inline |
Definition at line 84 of file lo-array-errwarn.h.
References m_var, and update_message().
Referenced by octave::tree_simple_assignment::evaluate(), octave::tree_evaluator::final_index_error(), Fsub2ind(), and sub2ind().
|
inlinevirtual |
Reimplemented in octave::out_of_range, octave::invalid_index, and octave::complex_index_exception.
Definition at line 61 of file lo-array-errwarn.h.
References expression().
Referenced by set_pos(), set_pos_if_unset(), and set_var().
|
protected |
Definition at line 105 of file lo-array-errwarn.h.
Referenced by expression(), set_pos(), and set_pos_if_unset().
|
private |
Definition at line 94 of file lo-array-errwarn.h.
Referenced by expression().
|
protected |
Definition at line 102 of file lo-array-errwarn.h.
Referenced by expression(), set_pos(), and set_pos_if_unset().
|
protected |
Definition at line 108 of file lo-array-errwarn.h.
Referenced by expression(), and set_var().