GNU Octave
4.2.1
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
|
#include "lo-array-errwarn.h"
Public Member Functions | |
index_exception (const std::string &index_arg, octave_idx_type nd_arg=0, octave_idx_type dim_arg=-1, const char *var_arg="") | |
~index_exception (void) | |
virtual std::string | details (void) const =0 |
virtual const char * | err_id (void) const =0 |
std::string | idx (void) const |
virtual std::string | message (void) const |
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="") |
Protected Member Functions | |
std::string | expression (void) const |
Protected Attributes | |
octave_idx_type | dim |
octave_idx_type | nd |
std::string | var |
Private Attributes | |
std::string | index |
Definition at line 41 of file lo-array-errwarn.h.
|
inline |
Definition at line 45 of file lo-array-errwarn.h.
|
inline |
Definition at line 50 of file lo-array-errwarn.h.
|
pure virtual |
|
pure virtual |
Implemented in octave::out_of_range, octave::out_of_range, octave::invalid_index, octave::invalid_index, and octave::complex_index_exception.
Referenced by final_index_error(), tree_simple_assignment::rvalue1(), and sub2ind().
|
protected |
|
inline |
Definition at line 54 of file lo-array-errwarn.h.
References index.
Referenced by octave_base_matrix< MT >::assign(), catch(), and expression().
|
virtual |
Definition at line 113 of file lo-array-errwarn.cc.
References details(), expression(), and string.
Referenced by final_index_error(), tree_simple_assignment::rvalue1(), and sub2ind().
|
inline |
Definition at line 65 of file lo-array-errwarn.h.
Referenced by Cell::assign(), and Cell::delete_elements().
|
inline |
Definition at line 71 of file lo-array-errwarn.h.
Referenced by octave_base_sparse< T >::assign(), octave_map::assign(), octave_base_sparse< T >::delete_elements(), octave_map::delete_elements(), octave_diag_matrix::do_index_op(), octave_perm_matrix::do_index_op(), octave_base_diag< DMT, MT >::do_index_op(), octave_base_matrix< MT >::do_index_op(), octave_range::do_index_op(), octave_base_sparse< T >::do_index_op(), octave_char_matrix_str::do_index_op_internal(), Cell::index(), octave_map::index(), make_java_index(), sparse(), sub2ind(), octave_base_diag< DMT, MT >::subsasgn(), cdef_object_array::subsasgn(), and cdef_object_array::subsref().
|
inline |
Definition at line 81 of file lo-array-errwarn.h.
References var.
Referenced by final_index_error(), tree_simple_assignment::rvalue1(), and sub2ind().
|
protected |
Definition at line 100 of file lo-array-errwarn.h.
Referenced by expression(), set_pos(), and set_pos_if_unset().
|
private |
Definition at line 89 of file lo-array-errwarn.h.
Referenced by idx().
|
protected |
Definition at line 97 of file lo-array-errwarn.h.
Referenced by octave::out_of_range::details(), expression(), set_pos(), and set_pos_if_unset().
|
protected |
Definition at line 103 of file lo-array-errwarn.h.
Referenced by octave::out_of_range::details(), expression(), and set_var().