Functions

gripes.h File Reference

#include <string>
#include "lo-array-gripes.h"
Include dependency graph for gripes.h:

Go to the source code of this file.

Functions

OCTINTERP_API void gripe_2_or_3_dim_plot (void)
OCTINTERP_API void gripe_data_conversion (const char *from, const char *to)
OCTINTERP_API void gripe_divide_by_zero (void)
OCTINTERP_API void gripe_empty_arg (const char *name, bool is_error)
OCTINTERP_API void gripe_implicit_conversion (const char *id, const char *from, const char *to)
OCTINTERP_API void gripe_implicit_conversion (const std::string &id, const std::string &from, const std::string &to)
OCTINTERP_API void gripe_indexed_cs_list (void)
OCTINTERP_API void gripe_invalid_conversion (const std::string &from, const std::string &to)
OCTINTERP_API void gripe_invalid_inquiry_subscript (void)
OCTINTERP_API void gripe_invalid_value_specified (const char *name)
OCTINTERP_API void gripe_library_execution_error (void)
OCTINTERP_API void gripe_logical_conversion (void)
OCTINTERP_API void gripe_nonbraced_cs_list_assignment (void)
OCTINTERP_API void gripe_nonconformant (octave_idx_type r1, octave_idx_type c1, octave_idx_type r2, octave_idx_type c2)
OCTINTERP_API void gripe_nonconformant (void)
OCTINTERP_API void gripe_not_implemented (const char *)
OCTINTERP_API void gripe_not_supported (const char *)
OCTINTERP_API void gripe_range_invalid (void)
OCTINTERP_API void gripe_square_matrix_required (const char *name)
OCTINTERP_API void gripe_string_invalid (void)
OCTINTERP_API void gripe_unrecognized_data_fmt (const char *warn_for)
OCTINTERP_API void gripe_unrecognized_float_fmt (void)
OCTINTERP_API void gripe_user_returned_invalid (const char *name)
OCTINTERP_API void gripe_user_supplied_eval (const char *name)
OCTINTERP_API void gripe_warn_complex_cmp (void)
OCTINTERP_API void gripe_wrong_type_arg (const char *name, const octave_value &tc, bool is_error=true)
OCTINTERP_API void gripe_wrong_type_arg (const char *name, const std::string &s, bool is_error=true)
OCTINTERP_API void gripe_wrong_type_arg (const char *name, const char *s, bool is_error=true)
OCTINTERP_API void gripe_wrong_type_arg (const std::string &name, const octave_value &tc, bool is_error=true)
OCTINTERP_API void gripe_wrong_type_arg_for_binary_op (const octave_value &op)
OCTINTERP_API void gripe_wrong_type_arg_for_unary_op (const octave_value &op)

Function Documentation

OCTINTERP_API void gripe_2_or_3_dim_plot ( void   ) 

Definition at line 110 of file gripes.cc.

References error().

OCTINTERP_API void gripe_data_conversion ( const char from,
const char to 
)
OCTINTERP_API void gripe_divide_by_zero ( void   ) 

Definition at line 194 of file gripes.cc.

References warning_with_id().

Referenced by DEFBINOP(), and gripe_if_zero().

OCTINTERP_API void gripe_empty_arg ( const char name,
bool  is_error 
)

Definition at line 71 of file gripes.cc.

References error(), and warning().

Referenced by DEFUN_DLD().

OCTINTERP_API void gripe_implicit_conversion ( const char id,
const char from,
const char to 
)

Definition at line 179 of file gripes.cc.

References warning_with_id().

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

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

Definition at line 185 of file gripes.cc.

References warning_with_id().

OCTINTERP_API void gripe_indexed_cs_list ( void   ) 
OCTINTERP_API void gripe_invalid_conversion ( const std::string &  from,
const std::string &  to 
)

Definition at line 98 of file gripes.cc.

References error().

Referenced by octave_sparse_matrix::complex_value(), octave_matrix::complex_value(), octave_range::complex_value(), octave_perm_matrix::complex_value(), octave_float_matrix::complex_value(), octave_float_complex_matrix::complex_value(), octave_sparse_complex_matrix::complex_value(), octave_complex_matrix::complex_value(), octave_char_matrix::complex_value(), octave_sparse_bool_matrix::complex_value(), octave_bool_matrix::complex_value(), octave_base_diag< DMT, MT >::complex_value(), octave_sparse_matrix::double_value(), octave_matrix::double_value(), octave_range::double_value(), octave_perm_matrix::double_value(), OCTAVE_VALUE_INT_MATRIX_T::double_value(), octave_float_matrix::double_value(), octave_float_complex_matrix::double_value(), octave_sparse_complex_matrix::double_value(), octave_complex_matrix::double_value(), octave_char_matrix::double_value(), octave_sparse_bool_matrix::double_value(), octave_bool_matrix::double_value(), octave_base_diag< DMT, MT >::double_value(), octave_matrix::float_complex_value(), octave_range::float_complex_value(), octave_perm_matrix::float_complex_value(), octave_float_matrix::float_complex_value(), octave_float_complex_matrix::float_complex_value(), octave_complex_matrix::float_complex_value(), octave_char_matrix::float_complex_value(), octave_bool_matrix::float_complex_value(), octave_base_diag< DMT, MT >::float_complex_value(), octave_matrix::float_value(), octave_range::float_value(), octave_perm_matrix::float_value(), OCTAVE_VALUE_INT_MATRIX_T::float_value(), octave_float_matrix::float_value(), octave_float_complex_matrix::float_value(), octave_complex_matrix::float_value(), octave_char_matrix::float_value(), octave_bool_matrix::float_value(), and octave_base_diag< DMT, MT >::float_value().

OCTINTERP_API void gripe_invalid_inquiry_subscript ( void   ) 

Definition at line 216 of file gripes.cc.

References error().

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

OCTINTERP_API void gripe_invalid_value_specified ( const char name  ) 

Definition at line 104 of file gripes.cc.

References warning().

OCTINTERP_API void gripe_library_execution_error ( void   ) 
OCTINTERP_API void gripe_logical_conversion ( void   ) 
OCTINTERP_API void gripe_nonbraced_cs_list_assignment ( void   ) 

Definition at line 228 of file gripes.cc.

References error().

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

OCTINTERP_API void gripe_nonconformant ( octave_idx_type  r1,
octave_idx_type  c1,
octave_idx_type  r2,
octave_idx_type  c2 
)

Definition at line 64 of file gripes.cc.

References error().

OCTINTERP_API void gripe_nonconformant ( void   ) 
OCTINTERP_API void gripe_not_implemented ( const char  ) 

Definition at line 40 of file gripes.cc.

References error().

OCTINTERP_API void gripe_not_supported ( const char  ) 

Definition at line 34 of file gripes.cc.

References error().

Referenced by DEFUN_DLD().

OCTINTERP_API void gripe_range_invalid ( void   ) 

Definition at line 52 of file gripes.cc.

References error().

OCTINTERP_API void gripe_square_matrix_required ( const char name  ) 

Definition at line 80 of file gripes.cc.

References error().

Referenced by DEFUN_DLD().

OCTINTERP_API void gripe_string_invalid ( void   ) 

Definition at line 46 of file gripes.cc.

References error().

OCTINTERP_API void gripe_unrecognized_data_fmt ( const char warn_for  ) 

Definition at line 122 of file gripes.cc.

References error().

Referenced by do_load(), and do_save().

OCTINTERP_API void gripe_unrecognized_float_fmt ( void   ) 

Definition at line 116 of file gripes.cc.

References error().

Referenced by do_double_format_conversion(), and do_float_format_conversion().

OCTINTERP_API void gripe_user_returned_invalid ( const char name  ) 

Definition at line 92 of file gripes.cc.

References error().

OCTINTERP_API void gripe_user_supplied_eval ( const char name  ) 
OCTINTERP_API void gripe_warn_complex_cmp ( void   ) 

Definition at line 234 of file gripes.cc.

References warning_with_id().

OCTINTERP_API void gripe_wrong_type_arg ( const char name,
const octave_value tc,
bool  is_error = true 
)

Definition at line 149 of file gripes.cc.

References gripe_wrong_type_arg(), and octave_value::type_name().

OCTINTERP_API void gripe_wrong_type_arg ( const char name,
const std::string &  s,
bool  is_error = true 
)

Definition at line 143 of file gripes.cc.

References gripe_wrong_type_arg().

OCTINTERP_API void gripe_wrong_type_arg ( const char name,
const char s,
bool  is_error = true 
)

Definition at line 134 of file gripes.cc.

References error(), and warning().

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(), DEFUN(), DEFUN_DLD(), DEFUNX(), octave_base_value::diag(), octave_base_value::diag_matrix_value(), do_accumarray_minmax_fun(), do_cumminmax_body(), do_fft(), do_fft2(), do_fftn(), do_hypot(), do_minmax_body(), do_rand(), octave_base_value::double_value(), octave_base_value::fcn_handle_value(), octave_base_value::fcn_inline_value(), 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(), octave_base_value::full_value(), octave_base_value::function_value(), gripe_wrong_type_arg(), 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::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(), octave_base_value::nnz(), Cell::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(), save_mat5_binary_element(), save_mat_binary_data(), octave_base_value::sort(), octave_base_value::sort_rows_idx(), 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(), xcolnorms(), xfrobnorm(), xnorm(), and xrownorms().

OCTINTERP_API void gripe_wrong_type_arg ( const std::string &  name,
const octave_value tc,
bool  is_error = true 
)

Definition at line 158 of file gripes.cc.

References gripe_wrong_type_arg().

OCTINTERP_API void gripe_wrong_type_arg_for_binary_op ( const octave_value op  ) 

Definition at line 172 of file gripes.cc.

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

OCTINTERP_API void gripe_wrong_type_arg_for_unary_op ( const octave_value op  ) 

Definition at line 165 of file gripes.cc.

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

 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines