GNU Octave  4.2.1
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Namespaces | Functions
errwarn.h File Reference
#include "octave-config.h"
#include <string>
#include "lo-array-errwarn.h"
Include dependency graph for errwarn.h:

Go to the source code of this file.

Namespaces

 octave
 Octave interface to the compression and uncompression libraries.
 

Functions

OCTAVE_NORETURN OCTINTERP_API void err_2_or_3_dim_plot (void)
 
OCTAVE_NORETURN OCTINTERP_API void err_data_conversion (const char *from, const char *to)
 
OCTAVE_NORETURN OCTINTERP_API void err_disabled_feature (const std::string &fcn, const std::string &feature, const std::string &pkg="Octave")
 
OCTAVE_NORETURN OCTINTERP_API void err_indexed_cs_list (void)
 
OCTAVE_NORETURN OCTINTERP_API void err_invalid_conversion (const std::string &from, const std::string &to)
 
OCTAVE_NORETURN OCTINTERP_API void err_invalid_inquiry_subscript (void)
 
OCTAVE_NORETURN OCTINTERP_API void err_nonbraced_cs_list_assignment (void)
 
OCTAVE_NORETURN OCTINTERP_API void err_nonconformant (void)
 
OCTAVE_NORETURN OCTINTERP_API void err_nonconformant (octave_idx_type r1, octave_idx_type c1, octave_idx_type r2, octave_idx_type c2)
 
OCTAVE_NORETURN OCTINTERP_API void err_not_implemented (const char *)
 
OCTAVE_NORETURN OCTINTERP_API void err_range_invalid (void)
 
OCTAVE_NORETURN OCTINTERP_API void err_square_matrix_required (const char *fcn, const char *name)
 
OCTAVE_NORETURN OCTINTERP_API void err_string_invalid (void)
 
OCTAVE_NORETURN OCTINTERP_API void err_unrecognized_data_fmt (const char *name)
 
OCTAVE_NORETURN OCTINTERP_API void err_unrecognized_float_fmt (void)
 
OCTAVE_NORETURN OCTINTERP_API void err_user_returned_invalid (const char *name)
 
OCTAVE_NORETURN OCTINTERP_API void err_user_supplied_eval (const char *name)
 
OCTAVE_NORETURN OCTINTERP_API void err_user_supplied_eval (octave::execution_exception &e, const char *name)
 
OCTAVE_NORETURN OCTINTERP_API void err_wrong_type_arg (const char *name, const char *s)
 
OCTAVE_NORETURN OCTINTERP_API void err_wrong_type_arg (octave::execution_exception &e, const char *name, const char *s)
 
OCTAVE_NORETURN OCTINTERP_API void err_wrong_type_arg (const char *name, const std::string &s)
 
OCTAVE_NORETURN OCTINTERP_API void err_wrong_type_arg (octave::execution_exception &e, const char *name, const std::string &s)
 
OCTAVE_NORETURN OCTINTERP_API void err_wrong_type_arg (const char *name, const octave_value &tc)
 
OCTAVE_NORETURN OCTINTERP_API void err_wrong_type_arg (octave::execution_exception &e, const char *name, const octave_value &tc)
 
OCTAVE_NORETURN OCTINTERP_API void err_wrong_type_arg (const std::string &name, const octave_value &tc)
 
OCTAVE_NORETURN OCTINTERP_API void err_wrong_type_arg (octave::execution_exception &e, const std::string &name, const octave_value &tc)
 
OCTAVE_NORETURN OCTINTERP_API void err_wrong_type_arg (const char *s)
 
OCTAVE_NORETURN OCTINTERP_API void err_wrong_type_arg (octave::execution_exception &e, const char *s)
 
OCTAVE_NORETURN OCTINTERP_API void err_wrong_type_arg (const std::string &s)
 
OCTAVE_NORETURN OCTINTERP_API void err_wrong_type_arg (octave::execution_exception &e, const std::string &s)
 
OCTAVE_NORETURN OCTINTERP_API void err_wrong_type_arg (const octave_value &tc)
 
OCTAVE_NORETURN OCTINTERP_API void err_wrong_type_arg (octave::execution_exception &e, const octave_value &tc)
 
OCTAVE_NORETURN OCTINTERP_API void err_wrong_type_arg_for_binary_op (const octave_value &op)
 
OCTAVE_NORETURN OCTINTERP_API void err_wrong_type_arg_for_unary_op (const octave_value &op)
 
OCTINTERP_API void warn_array_as_logical (const dim_vector &dv)
 
OCTINTERP_API void warn_complex_cmp (void)
 
OCTINTERP_API void warn_data_file_in_path (const std::string &fcn, const std::string &file)
 
OCTINTERP_API void warn_disabled_feature (const std::string &fcn, const std::string &feature, const std::string &pkg="Octave")
 
OCTINTERP_API void warn_divide_by_zero (void)
 
OCTINTERP_API void warn_empty_arg (const char *name)
 
OCTINTERP_API void warn_implicit_conversion (const char *id, const char *from, const char *to)
 
OCTINTERP_API void warn_implicit_conversion (const std::string &id, const std::string &from, const std::string &to)
 
OCTINTERP_API void warn_invalid_value_specified (const char *name)
 
OCTINTERP_API void warn_logical_conversion (void)
 
OCTINTERP_API void warn_wrong_type_arg (const char *name, const octave_value &tc)
 

Function Documentation

OCTAVE_NORETURN OCTINTERP_API void err_2_or_3_dim_plot ( void  )

Definition at line 38 of file errwarn.cc.

References error().

OCTAVE_NORETURN OCTINTERP_API void err_data_conversion ( const char *  from,
const char *  to 
)

Definition at line 44 of file errwarn.cc.

References error().

OCTAVE_NORETURN OCTINTERP_API void err_disabled_feature ( const std::string fcn,
const std::string feature,
const std::string pkg = "Octave" 
)
OCTAVE_NORETURN OCTINTERP_API void err_indexed_cs_list ( void  )
OCTAVE_NORETURN OCTINTERP_API void err_invalid_conversion ( const std::string from,
const std::string to 
)

Definition at line 68 of file errwarn.cc.

References error().

Referenced by octave_base_value::as_double(), octave_base_value::as_int16(), octave_base_value::as_int32(), octave_base_value::as_int64(), octave_base_value::as_int8(), octave_base_value::as_single(), octave_base_value::as_uint16(), octave_base_value::as_uint32(), octave_base_value::as_uint64(), octave_base_value::as_uint8(), octave_sparse_bool_matrix::complex_value(), octave_sparse_complex_matrix::complex_value(), octave_sparse_matrix::complex_value(), octave_float_complex_matrix::complex_value(), octave_complex_matrix::complex_value(), octave_char_matrix::complex_value(), octave_perm_matrix::complex_value(), octave_float_matrix::complex_value(), octave_bool_matrix::complex_value(), octave_base_diag< DMT, MT >::complex_value(), octave_matrix::complex_value(), octave_range::complex_value(), octave_char_matrix::double_value(), octave_float_complex_matrix::double_value(), octave_sparse_bool_matrix::double_value(), octave_complex_matrix::double_value(), OCTAVE_VALUE_INT_MATRIX_T::double_value(), octave_sparse_matrix::double_value(), octave_sparse_complex_matrix::double_value(), octave_perm_matrix::double_value(), octave_bool_matrix::double_value(), octave_float_matrix::double_value(), octave_base_diag< DMT, MT >::double_value(), octave_matrix::double_value(), octave_range::double_value(), octave_float_complex_matrix::float_complex_value(), octave_complex_matrix::float_complex_value(), octave_char_matrix::float_complex_value(), octave_perm_matrix::float_complex_value(), octave_float_matrix::float_complex_value(), octave_bool_matrix::float_complex_value(), octave_base_diag< DMT, MT >::float_complex_value(), octave_matrix::float_complex_value(), octave_range::float_complex_value(), octave_char_matrix::float_value(), octave_float_complex_matrix::float_value(), octave_complex_matrix::float_value(), OCTAVE_VALUE_INT_MATRIX_T::float_value(), octave_perm_matrix::float_value(), octave_bool_matrix::float_value(), octave_float_matrix::float_value(), octave_base_diag< DMT, MT >::float_value(), octave_matrix::float_value(), octave_range::float_value(), octave_char_matrix::int64_scalar_value(), and octave_char_matrix::uint64_scalar_value().

OCTAVE_NORETURN OCTINTERP_API void err_invalid_inquiry_subscript ( void  )

Definition at line 74 of file errwarn.cc.

References error().

Referenced by tree_index_expression::lvalue(), and make_value_list().

OCTAVE_NORETURN OCTINTERP_API void err_nonbraced_cs_list_assignment ( void  )

Definition at line 80 of file errwarn.cc.

References error().

Referenced by tree_simple_assignment::rvalue1(), octave_struct::subsasgn(), and octave_cell::subsasgn().

OCTAVE_NORETURN OCTINTERP_API void err_nonconformant ( void  )

Definition at line 86 of file errwarn.cc.

References error().

OCTAVE_NORETURN OCTINTERP_API void err_nonconformant ( octave_idx_type  r1,
octave_idx_type  c1,
octave_idx_type  r2,
octave_idx_type  c2 
)

Definition at line 92 of file errwarn.cc.

References error().

OCTAVE_NORETURN OCTINTERP_API void err_not_implemented ( const char *  )

Definition at line 100 of file errwarn.cc.

References error().

Referenced by base_graphics_object::defaults().

OCTAVE_NORETURN OCTINTERP_API void err_range_invalid ( void  )

Definition at line 106 of file errwarn.cc.

References error().

OCTAVE_NORETURN OCTINTERP_API void err_square_matrix_required ( const char *  fcn,
const char *  name 
)

Definition at line 112 of file errwarn.cc.

References error().

Referenced by Fbalance(), Fdet(), Feig(), Fhess(), Finv(), Fschur(), Fsqrtm(), Gamd(), Gsymbfact(), and Gsymrcm().

OCTAVE_NORETURN OCTINTERP_API void err_string_invalid ( void  )

Definition at line 118 of file errwarn.cc.

References error().

OCTAVE_NORETURN OCTINTERP_API void err_unrecognized_data_fmt ( const char *  name)

Definition at line 124 of file errwarn.cc.

References error().

Referenced by do_load(), and do_save().

OCTAVE_NORETURN OCTINTERP_API void err_unrecognized_float_fmt ( void  )

Definition at line 130 of file errwarn.cc.

References error().

OCTAVE_NORETURN OCTINTERP_API void err_user_returned_invalid ( const char *  name)

Definition at line 136 of file errwarn.cc.

References error().

OCTAVE_NORETURN OCTINTERP_API void err_user_supplied_eval ( const char *  name)
OCTAVE_NORETURN OCTINTERP_API void err_user_supplied_eval ( octave::execution_exception &  e,
const char *  name 
)

Definition at line 150 of file errwarn.cc.

References error().

OCTAVE_NORETURN OCTINTERP_API void err_wrong_type_arg ( const char *  name,
const char *  s 
)

Definition at line 156 of file errwarn.cc.

References e, and err_wrong_type_arg().

Referenced by octave_base_value::array_value(), octave_class::as_mxArray(), octave_base_value::bool_array_value(), octave_base_value::bool_matrix_value(), octave_base_value::bool_value(), octave_base_value::cell_value(), octave_base_value::cellstr_value(), octave_base_value::char_array_value(), octave_base_value::complex_array_value(), octave_base_value::complex_diag_matrix_value(), octave_base_value::complex_matrix_value(), octave_base_value::complex_value(), octave_base_value::convert_to_row_or_column_vector(), octave_base_value::convert_to_str_internal(), octave_base_value::diag(), octave_base_value::diag_matrix_value(), do_fft(), do_fft2(), do_fftn(), do_history(), do_minmax_body(), do_rand(), octave_base_value::double_value(), err_wrong_type_arg(), octave_base_value::fcn_handle_value(), octave_base_value::fcn_inline_value(), Fdet(), Feig(), Fhess(), Finv(), octave_base_value::float_array_value(), octave_base_value::float_complex_array_value(), octave_base_value::float_complex_diag_matrix_value(), octave_base_value::float_complex_matrix_value(), octave_base_value::float_complex_value(), octave_base_value::float_diag_matrix_value(), octave_base_value::float_matrix_value(), octave_base_value::float_value(), Fschur(), Fsvd(), octave_base_value::full_value(), octave_base_value::function_value(), Gchol(), Gqr(), Gsymbfact(), octave_base_value::int16_array_value(), octave_base_value::int16_scalar_value(), octave_base_value::int32_array_value(), octave_base_value::int32_scalar_value(), octave_base_value::int64_array_value(), octave_base_value::int64_scalar_value(), octave_base_value::int8_array_value(), octave_base_value::int8_scalar_value(), octave_base_value::is_sorted(), octave_base_value::is_sorted_rows(), octave_base_value::list_value(), octave_base_value::load_ascii(), octave_base_value::load_binary(), octave_base_value::load_hdf5(), octave_base_value::lock(), octave_class::map_keys(), octave_base_value::map_keys(), octave_base_value::map_value(), octave_base_value::matrix_type(), octave_base_value::matrix_value(), octave_base_value::nfields(), octave_base_value::nint_value(), Cell::nnz(), octave_base_value::nnz(), octave_base_value::nparents(), octave_base_value::parent_class_name_list(), octave_base_value::parent_class_names(), octave_base_value::perm_matrix_value(), octave_base_value::permute(), octave_base_value::print(), octave_base_value::print_raw(), printf_value_cache::printf_value_cache(), octave_base_value::range_value(), octave_base_value::reshape(), octave_base_value::resize(), octave_base_value::save_ascii(), octave_base_value::save_binary(), octave_base_value::save_hdf5(), octave_base_value::sort(), octave_base_value::sort_rows_idx(), sparse(), octave_base_value::sparse_bool_matrix_value(), octave_base_value::sparse_complex_matrix_value(), octave_base_value::sparse_matrix_value(), octave_base_value::uint16_array_value(), octave_base_value::uint16_scalar_value(), octave_base_value::uint32_array_value(), octave_base_value::uint32_scalar_value(), octave_base_value::uint64_array_value(), octave_base_value::uint64_scalar_value(), octave_base_value::uint8_array_value(), octave_base_value::uint8_scalar_value(), octave_base_value::unlock(), octave_base_value::user_code_value(), octave_base_value::user_function_value(), octave_base_value::user_script_value(), octave_base_value::write(), octave_base_value::wrong_type_arg_error(), xcolnorms(), xfrobnorm(), xnorm(), and xrownorms().

OCTAVE_NORETURN OCTINTERP_API void err_wrong_type_arg ( octave::execution_exception &  e,
const char *  name,
const char *  s 
)

Definition at line 164 of file errwarn.cc.

References error().

OCTAVE_NORETURN OCTINTERP_API void err_wrong_type_arg ( const char *  name,
const std::string s 
)

Definition at line 171 of file errwarn.cc.

References e, and err_wrong_type_arg().

OCTAVE_NORETURN OCTINTERP_API void err_wrong_type_arg ( octave::execution_exception &  e,
const char *  name,
const std::string s 
)

Definition at line 179 of file errwarn.cc.

References err_wrong_type_arg().

OCTAVE_NORETURN OCTINTERP_API void err_wrong_type_arg ( const char *  name,
const octave_value tc 
)

Definition at line 186 of file errwarn.cc.

References e, and err_wrong_type_arg().

OCTAVE_NORETURN OCTINTERP_API void err_wrong_type_arg ( octave::execution_exception &  e,
const char *  name,
const octave_value tc 
)

Definition at line 194 of file errwarn.cc.

References err_wrong_type_arg(), string, type, and octave_value::type_name().

OCTAVE_NORETURN OCTINTERP_API void err_wrong_type_arg ( const std::string name,
const octave_value tc 
)

Definition at line 203 of file errwarn.cc.

References e, and err_wrong_type_arg().

OCTAVE_NORETURN OCTINTERP_API void err_wrong_type_arg ( octave::execution_exception &  e,
const std::string name,
const octave_value tc 
)

Definition at line 211 of file errwarn.cc.

References err_wrong_type_arg().

OCTAVE_NORETURN OCTINTERP_API void err_wrong_type_arg ( const char *  s)

Definition at line 218 of file errwarn.cc.

References e, and err_wrong_type_arg().

OCTAVE_NORETURN OCTINTERP_API void err_wrong_type_arg ( octave::execution_exception &  e,
const char *  s 
)

Definition at line 226 of file errwarn.cc.

References error().

OCTAVE_NORETURN OCTINTERP_API void err_wrong_type_arg ( const std::string s)

Definition at line 232 of file errwarn.cc.

References e, and err_wrong_type_arg().

OCTAVE_NORETURN OCTINTERP_API void err_wrong_type_arg ( octave::execution_exception &  e,
const std::string s 
)

Definition at line 240 of file errwarn.cc.

References err_wrong_type_arg().

OCTAVE_NORETURN OCTINTERP_API void err_wrong_type_arg ( const octave_value tc)

Definition at line 246 of file errwarn.cc.

References e, and err_wrong_type_arg().

OCTAVE_NORETURN OCTINTERP_API void err_wrong_type_arg ( octave::execution_exception &  e,
const octave_value tc 
)

Definition at line 254 of file errwarn.cc.

References err_wrong_type_arg(), string, type, and octave_value::type_name().

OCTAVE_NORETURN OCTINTERP_API void err_wrong_type_arg_for_binary_op ( const octave_value op)

Definition at line 262 of file errwarn.cc.

References error(), string, type, and octave_value::type_name().

OCTAVE_NORETURN OCTINTERP_API void err_wrong_type_arg_for_unary_op ( const octave_value op)

Definition at line 269 of file errwarn.cc.

References error(), string, type, and octave_value::type_name().

OCTINTERP_API void warn_array_as_logical ( const dim_vector dv)
OCTINTERP_API void warn_complex_cmp ( void  )

Definition at line 293 of file errwarn.cc.

References warning_with_id().

OCTINTERP_API void warn_data_file_in_path ( const std::string fcn,
const std::string file 
)

Definition at line 300 of file errwarn.cc.

References warning_with_id().

OCTINTERP_API void warn_disabled_feature ( const std::string fcn,
const std::string feature,
const std::string pkg = "Octave" 
)

Definition at line 308 of file errwarn.cc.

References warning().

Referenced by check_hdf5_types(), Fjit_failcnt(), octave::text_renderer::ok(), and raw_mode().

OCTINTERP_API void warn_divide_by_zero ( void  )
OCTINTERP_API void warn_empty_arg ( const char *  name)

Definition at line 326 of file errwarn.cc.

References warning().

OCTINTERP_API void warn_implicit_conversion ( const char *  id,
const char *  from,
const char *  to 
)

Definition at line 332 of file errwarn.cc.

References warning_with_id().

Referenced by octave_float_complex::array_value(), octave_complex_matrix::array_value(), octave_complex::array_value(), octave_sparse_complex_matrix::char_array_value(), octave_float_complex_matrix::char_array_value(), octave_complex_matrix::char_array_value(), octave_sparse_bool_matrix::complex_value(), octave_sparse_matrix::complex_value(), octave_sparse_complex_matrix::complex_value(), octave_float_complex_matrix::complex_value(), octave_complex_matrix::complex_value(), octave_char_matrix::complex_value(), octave_perm_matrix::complex_value(), octave_float_matrix::complex_value(), octave_bool_matrix::complex_value(), octave_base_diag< DMT, MT >::complex_value(), octave_matrix::complex_value(), octave_range::complex_value(), octave_base_value::convert_to_str(), octave_float_complex_diag_matrix::diag_matrix_value(), octave_complex_diag_matrix::diag_matrix_value(), octave_float_complex::double_value(), octave_char_matrix::double_value(), octave_complex::double_value(), octave_float_complex_matrix::double_value(), octave_sparse_bool_matrix::double_value(), octave_complex_matrix::double_value(), octave_sparse_complex_matrix::double_value(), octave_sparse_matrix::double_value(), OCTAVE_VALUE_INT_MATRIX_T::double_value(), octave_perm_matrix::double_value(), octave_bool_matrix::double_value(), octave_float_matrix::double_value(), octave_base_diag< DMT, MT >::double_value(), octave_matrix::double_value(), octave_range::double_value(), octave_float_complex::float_array_value(), octave_complex::float_array_value(), octave_float_complex_matrix::float_complex_value(), octave_complex_matrix::float_complex_value(), octave_char_matrix::float_complex_value(), octave_perm_matrix::float_complex_value(), octave_float_matrix::float_complex_value(), octave_bool_matrix::float_complex_value(), octave_base_diag< DMT, MT >::float_complex_value(), octave_matrix::float_complex_value(), octave_range::float_complex_value(), octave_float_complex_diag_matrix::float_diag_matrix_value(), octave_complex_diag_matrix::float_diag_matrix_value(), octave_float_complex::float_matrix_value(), octave_complex::float_matrix_value(), octave_float_complex_matrix::float_matrix_value(), octave_complex_matrix::float_matrix_value(), octave_float_complex::float_value(), octave_char_matrix::float_value(), octave_complex::float_value(), octave_float_complex_matrix::float_value(), octave_complex_matrix::float_value(), OCTAVE_VALUE_INT_MATRIX_T::float_value(), octave_perm_matrix::float_value(), octave_bool_matrix::float_value(), octave_float_matrix::float_value(), octave_base_diag< DMT, MT >::float_value(), octave_matrix::float_value(), octave_range::float_value(), octave_char_matrix::int64_scalar_value(), make_vector_dims(), octave_float_complex::matrix_value(), octave_sparse_complex_matrix::matrix_value(), octave_complex::matrix_value(), octave_float_complex_matrix::matrix_value(), octave_complex_matrix::matrix_value(), oct_catop_chm_m(), oct_catop_chm_s(), oct_catop_m_chm(), oct_catop_s_chm(), tree_matrix::rvalue1(), octave_sparse_complex_matrix::sparse_matrix_value(), octave_float_complex_matrix::sparse_matrix_value(), octave_complex_matrix::sparse_matrix_value(), and octave_char_matrix::uint64_scalar_value().

OCTINTERP_API void warn_implicit_conversion ( const std::string id,
const std::string from,
const std::string to 
)

Definition at line 338 of file errwarn.cc.

References warning_with_id().

OCTINTERP_API void warn_invalid_value_specified ( const char *  name)

Definition at line 347 of file errwarn.cc.

References warning().

OCTINTERP_API void warn_logical_conversion ( void  )
OCTINTERP_API void warn_wrong_type_arg ( const char *  name,
const octave_value tc 
)

Definition at line 360 of file errwarn.cc.

References string, type, octave_value::type_name(), and warning().

Referenced by save_mat5_binary_element(), and save_mat_binary_data().