23 #if ! defined (octave_lo_array_errwarn_h) 24 #define octave_lo_array_errwarn_h 1 26 #include "octave-config.h" 47 :
index (index_arg),
nd (nd_arg),
dim (dim_arg),
var (var_arg)
60 virtual const char *
err_id (
void)
const = 0;
107 OCTAVE_NORETURN OCTAVE_API
extern void 110 OCTAVE_NORETURN OCTAVE_API
extern void 113 OCTAVE_NORETURN OCTAVE_API
extern void 117 OCTAVE_NORETURN OCTAVE_API
extern void 122 OCTAVE_NORETURN OCTAVE_API
extern void 126 OCTAVE_NORETURN OCTAVE_API
extern void 130 OCTAVE_NORETURN OCTAVE_API
extern void 134 OCTAVE_NORETURN OCTAVE_API
extern void 138 OCTAVE_NORETURN OCTAVE_API
extern void 143 OCTAVE_NORETURN OCTAVE_API
extern void 148 OCTAVE_NORETURN OCTAVE_API
extern void 153 OCTAVE_NORETURN OCTAVE_API
extern void 156 OCTAVE_API
extern void 160 #if defined (OCTAVE_USE_DEPRECATED_FUNCTIONS) 162 OCTAVE_DEPRECATED (4.2,
"use 'octave::err_nan_to_logical_conversion' instead")
163 OCTAVE_NORETURN inline
void 169 OCTAVE_DEPRECATED (4.2,
"use 'octave::err_nan_to_character_conversion' instead")
170 OCTAVE_NORETURN inline
void 176 OCTAVE_DEPRECATED (4.2,
"use 'octave::err_nonconformant' instead")
177 OCTAVE_NORETURN inline
void 184 OCTAVE_DEPRECATED (4.2,
"use 'octave::err_nonconformant' instead")
185 OCTAVE_NORETURN inline
void 193 OCTAVE_DEPRECATED (4.2,
"use 'octave::err_nonconformant' instead")
194 OCTAVE_NORETURN inline
void 201 OCTAVE_DEPRECATED (4.2,
"use 'octave::err_index_out_of_range' instead")
202 OCTAVE_NORETURN inline
void 209 OCTAVE_DEPRECATED (4.2,
"use 'octave::err_index_out_of_range' instead")
210 OCTAVE_NORETURN inline
void 217 OCTAVE_DEPRECATED (4.2,
"use 'octave::err_del_index_out_of_range' instead")
218 OCTAVE_NORETURN inline
void 225 OCTAVE_NORETURN
inline void 233 OCTAVE_DEPRECATED (4.2,
"use 'octave::err_invalid_index' instead")
234 OCTAVE_NORETURN inline
void 237 const
std::
string&
var = "")
242 OCTAVE_DEPRECATED (4.2,
"use 'octave::err_invalid_index' instead")
243 OCTAVE_NORETURN inline
void 246 const
std::
string&
var = "")
251 OCTAVE_DEPRECATED (4.2,
"use 'octave::err_invalid_resize' instead")
252 OCTAVE_NORETURN inline
void 258 OCTAVE_DEPRECATED (4.2,
"use 'octave::warn_singular_matrix' instead")
static void err_index_out_of_range(void)
void set_pos_if_unset(octave_idx_type nd_arg, octave_idx_type dim_arg)
void err_index_out_of_range(int nd, int dim, octave_idx_type idx, octave_idx_type ext)
void err_invalid_index(const std::string &idx, octave_idx_type nd, octave_idx_type dim, const std::string &)
void err_nan_to_logical_conversion(void)
~index_exception(void)=default
F77_RET_T const F77_REAL const F77_REAL F77_REAL &F77_RET_T const F77_DBLE const F77_DBLE F77_DBLE &F77_RET_T const F77_DBLE F77_DBLE &F77_RET_T const F77_REAL F77_REAL &F77_RET_T const F77_DBLE const F77_DBLE F77_DBLE * d
void set_var(const std::string &var_arg="")
void err_del_index_out_of_range(bool is1d, octave_idx_type idx, octave_idx_type ext)
std::string expression(void) const
virtual const char * err_id(void) const =0
void err_nonconformant(const char *op, octave_idx_type op1_len, octave_idx_type op2_len)
std::string idx(void) const
void err_invalid_resize(void)
virtual std::string message(void) const
index_exception(const std::string &index_arg, octave_idx_type nd_arg=0, octave_idx_type dim_arg=-1, const char *var_arg="")
void set_pos(octave_idx_type nd_arg, octave_idx_type dim_arg)
virtual std::string details(void) const =0
void err_nan_to_character_conversion(void)
Vector representing the dimensions (size) of an Array.
void warn_singular_matrix(double rcond)
If this string is the system will ring the terminal sometimes it is useful to be able to print the original representation of the string