#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 | |
OCTAVE_API 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.
|
default |
|
pure virtual |
Implemented in out_of_range, invalid_index, and complex_index_exception.
Referenced by tree_simple_assignment::evaluate(), tree_evaluator::final_index_error(), and Fsub2ind().
|
protected |
Definition at line 127 of file lo-array-errwarn.cc.
References m_dim, m_index, m_nd, and m_var.
Referenced by invalid_index::update_message(), and out_of_range::update_message().
|
inline |
Definition at line 64 of file lo-array-errwarn.h.
|
inline |
Definition at line 72 of file lo-array-errwarn.h.
Referenced by Fsparse(), Fsub2ind(), cdef_object_array::subsasgn(), and cdef_object_array::subsref().
|
inline |
Definition at line 84 of file lo-array-errwarn.h.
Referenced by tree_simple_assignment::evaluate(), tree_evaluator::final_index_error(), and Fsub2ind().
|
inlinevirtual |
Reimplemented in out_of_range, invalid_index, and complex_index_exception.
Definition at line 61 of file lo-array-errwarn.h.
|
protected |
Definition at line 105 of file lo-array-errwarn.h.
Referenced by expression().
|
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().
|
protected |
Definition at line 108 of file lo-array-errwarn.h.
Referenced by expression().