GNU Octave  4.4.1
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
gripes.h File Reference
#include "octave-config.h"
#include <string>
#include "lo-array-gripes.h"
Include dependency graph for gripes.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 octave
 

Functions

OCTAVE_NORETURN OCTINTERP_API void gripe_2_or_3_dim_plot (void)
 
OCTAVE_NORETURN OCTINTERP_API void gripe_data_conversion (const char *from, const char *to)
 
OCTINTERP_API void gripe_data_file_in_path (const std::string &fcn, const std::string &file)
 
OCTAVE_NORETURN OCTINTERP_API void gripe_disabled_feature (const std::string &fcn, const std::string &feature, const std::string &pkg="Octave")
 
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)
 
OCTAVE_NORETURN OCTINTERP_API void gripe_indexed_cs_list (void)
 
OCTAVE_NORETURN OCTINTERP_API void gripe_invalid_conversion (const std::string &from, const std::string &to)
 
OCTAVE_NORETURN OCTINTERP_API void gripe_invalid_inquiry_subscript (void)
 
OCTINTERP_API void gripe_invalid_value_specified (const char *name)
 
OCTINTERP_API void gripe_logical_conversion (void)
 
OCTAVE_NORETURN OCTINTERP_API void gripe_nonbraced_cs_list_assignment (void)
 
OCTAVE_NORETURN OCTINTERP_API void gripe_nonconformant (void)
 
OCTAVE_NORETURN OCTINTERP_API void gripe_nonconformant (octave_idx_type r1, octave_idx_type c1, octave_idx_type r2, octave_idx_type c2)
 
OCTAVE_NORETURN OCTINTERP_API void gripe_not_implemented (const char *)
 
OCTAVE_NORETURN OCTINTERP_API void gripe_not_supported (const char *)
 
OCTAVE_NORETURN OCTINTERP_API void gripe_range_invalid (void)
 
OCTAVE_NORETURN OCTINTERP_API void gripe_square_matrix_required (const char *name)
 
OCTAVE_NORETURN OCTINTERP_API void gripe_string_invalid (void)
 
OCTAVE_NORETURN OCTINTERP_API void gripe_unrecognized_data_fmt (const char *warn_for)
 
OCTAVE_NORETURN OCTINTERP_API void gripe_unrecognized_float_fmt (void)
 
OCTAVE_NORETURN OCTINTERP_API void gripe_user_returned_invalid (const char *name)
 
OCTAVE_NORETURN OCTINTERP_API void gripe_user_supplied_eval (const char *name)
 
OCTAVE_NORETURN OCTINTERP_API void gripe_user_supplied_eval (octave::execution_exception &e, const char *name)
 
OCTINTERP_API void gripe_warn_complex_cmp (void)
 
OCTINTERP_API void gripe_wrong_type_arg (const char *name, const char *s, bool is_error=true)
 
OCTINTERP_API void gripe_wrong_type_arg (octave::execution_exception &e, const char *name, const char *s, 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 (octave::execution_exception &e, const char *name, const std::string &s, bool is_error=true)
 
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 (octave::execution_exception &e, const char *name, const octave_value &tc, 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 (octave::execution_exception &e, const std::string &name, const octave_value &tc, bool is_error=true)
 
OCTINTERP_API void gripe_wrong_type_arg (const char *s, bool is_error=true)
 
OCTINTERP_API void gripe_wrong_type_arg (octave::execution_exception &e, const char *s, bool is_error=true)
 
OCTINTERP_API void gripe_wrong_type_arg (const std::string &s, bool is_error=true)
 
OCTINTERP_API void gripe_wrong_type_arg (octave::execution_exception &e, const std::string &s, bool is_error=true)
 
OCTINTERP_API void gripe_wrong_type_arg (const octave_value &tc, bool is_error=true)
 
OCTINTERP_API void gripe_wrong_type_arg (octave::execution_exception &e, const octave_value &tc, bool is_error=true)
 
OCTAVE_NORETURN OCTINTERP_API void gripe_wrong_type_arg_for_binary_op (const octave_value &op)
 
OCTAVE_NORETURN OCTINTERP_API void gripe_wrong_type_arg_for_unary_op (const octave_value &op)
 

Function Documentation

◆ gripe_2_or_3_dim_plot()

OCTAVE_NORETURN OCTINTERP_API void gripe_2_or_3_dim_plot ( void  )

Definition at line 41 of file gripes.cc.

References error().

◆ gripe_data_conversion()

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

Definition at line 47 of file gripes.cc.

References error().

◆ gripe_data_file_in_path()

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

Definition at line 53 of file gripes.cc.

References fcn, file, and warning_with_id().

◆ gripe_disabled_feature()

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

Definition at line 61 of file gripes.cc.

References error(), and fcn.

◆ gripe_divide_by_zero()

OCTINTERP_API void gripe_divide_by_zero ( void  )

Definition at line 69 of file gripes.cc.

References warning_with_id().

◆ gripe_empty_arg()

OCTINTERP_API void gripe_empty_arg ( const char *  name,
bool  is_error 
)

Definition at line 75 of file gripes.cc.

References error(), name, and warning().

◆ gripe_implicit_conversion() [1/2]

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

Definition at line 84 of file gripes.cc.

References warning_with_id().

◆ gripe_implicit_conversion() [2/2]

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

Definition at line 90 of file gripes.cc.

References warning_with_id().

◆ gripe_indexed_cs_list()

OCTAVE_NORETURN OCTINTERP_API void gripe_indexed_cs_list ( void  )

Definition at line 99 of file gripes.cc.

References error().

◆ gripe_invalid_conversion()

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

Definition at line 105 of file gripes.cc.

References error().

◆ gripe_invalid_inquiry_subscript()

OCTAVE_NORETURN OCTINTERP_API void gripe_invalid_inquiry_subscript ( void  )

Definition at line 111 of file gripes.cc.

References error().

◆ gripe_invalid_value_specified()

OCTINTERP_API void gripe_invalid_value_specified ( const char *  name)

Definition at line 117 of file gripes.cc.

References name, and warning().

◆ gripe_logical_conversion()

OCTINTERP_API void gripe_logical_conversion ( void  )

Definition at line 123 of file gripes.cc.

References warning_with_id().

◆ gripe_nonbraced_cs_list_assignment()

OCTAVE_NORETURN OCTINTERP_API void gripe_nonbraced_cs_list_assignment ( void  )

Definition at line 130 of file gripes.cc.

References error().

◆ gripe_nonconformant() [1/2]

OCTAVE_NORETURN OCTINTERP_API void gripe_nonconformant ( void  )

Definition at line 136 of file gripes.cc.

References error().

◆ gripe_nonconformant() [2/2]

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

Definition at line 142 of file gripes.cc.

References error().

◆ gripe_not_implemented()

OCTAVE_NORETURN OCTINTERP_API void gripe_not_implemented ( const char *  )

Definition at line 150 of file gripes.cc.

References error(), and fcn.

◆ gripe_not_supported()

OCTAVE_NORETURN OCTINTERP_API void gripe_not_supported ( const char *  )

Definition at line 156 of file gripes.cc.

References error(), and fcn.

◆ gripe_range_invalid()

OCTAVE_NORETURN OCTINTERP_API void gripe_range_invalid ( void  )

Definition at line 162 of file gripes.cc.

References error().

◆ gripe_square_matrix_required()

OCTAVE_NORETURN OCTINTERP_API void gripe_square_matrix_required ( const char *  name)

Definition at line 168 of file gripes.cc.

References error(), and name.

◆ gripe_string_invalid()

OCTAVE_NORETURN OCTINTERP_API void gripe_string_invalid ( void  )

Definition at line 174 of file gripes.cc.

References error().

◆ gripe_unrecognized_data_fmt()

OCTAVE_NORETURN OCTINTERP_API void gripe_unrecognized_data_fmt ( const char *  warn_for)

Definition at line 180 of file gripes.cc.

References error().

◆ gripe_unrecognized_float_fmt()

OCTAVE_NORETURN OCTINTERP_API void gripe_unrecognized_float_fmt ( void  )

Definition at line 186 of file gripes.cc.

References error().

◆ gripe_user_returned_invalid()

OCTAVE_NORETURN OCTINTERP_API void gripe_user_returned_invalid ( const char *  name)

Definition at line 192 of file gripes.cc.

References error(), and name.

◆ gripe_user_supplied_eval() [1/2]

OCTAVE_NORETURN OCTINTERP_API void gripe_user_supplied_eval ( const char *  name)

Definition at line 198 of file gripes.cc.

References e, gripe_user_supplied_eval(), and name.

Referenced by gripe_user_supplied_eval().

◆ gripe_user_supplied_eval() [2/2]

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

Definition at line 215 of file gripes.cc.

References e, error(), and name.

◆ gripe_warn_complex_cmp()

OCTINTERP_API void gripe_warn_complex_cmp ( void  )

Definition at line 222 of file gripes.cc.

References warning_with_id().

◆ gripe_wrong_type_arg() [1/14]

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

Definition at line 229 of file gripes.cc.

References e, gripe_wrong_type_arg(), name, and s.

Referenced by gripe_wrong_type_arg().

◆ gripe_wrong_type_arg() [2/14]

OCTINTERP_API void gripe_wrong_type_arg ( octave::execution_exception &  e,
const char *  name,
const char *  s,
bool  is_error = true 
)

Definition at line 246 of file gripes.cc.

References e, error(), name, s, and warning().

◆ gripe_wrong_type_arg() [3/14]

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

Definition at line 256 of file gripes.cc.

References e, gripe_wrong_type_arg(), name, and s.

◆ gripe_wrong_type_arg() [4/14]

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

Definition at line 273 of file gripes.cc.

References e, gripe_wrong_type_arg(), name, and s.

◆ gripe_wrong_type_arg() [5/14]

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

Definition at line 289 of file gripes.cc.

References e, gripe_wrong_type_arg(), and name.

◆ gripe_wrong_type_arg() [6/14]

OCTINTERP_API void gripe_wrong_type_arg ( octave::execution_exception &  e,
const char *  name,
const octave_value tc,
bool  is_error = true 
)

Definition at line 307 of file gripes.cc.

References e, gripe_wrong_type_arg(), name, string, type, and octave_value::type_name().

◆ gripe_wrong_type_arg() [7/14]

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

Definition at line 326 of file gripes.cc.

References e, gripe_wrong_type_arg(), and name.

◆ gripe_wrong_type_arg() [8/14]

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

Definition at line 344 of file gripes.cc.

References e, gripe_wrong_type_arg(), and name.

◆ gripe_wrong_type_arg() [9/14]

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

Definition at line 361 of file gripes.cc.

References e, gripe_wrong_type_arg(), and s.

◆ gripe_wrong_type_arg() [10/14]

OCTINTERP_API void gripe_wrong_type_arg ( octave::execution_exception &  e,
const char *  s,
bool  is_error = true 
)

Definition at line 378 of file gripes.cc.

References e, error(), s, and warning().

◆ gripe_wrong_type_arg() [11/14]

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

Definition at line 388 of file gripes.cc.

References e, gripe_wrong_type_arg(), and s.

◆ gripe_wrong_type_arg() [12/14]

OCTINTERP_API void gripe_wrong_type_arg ( octave::execution_exception &  e,
const std::string s,
bool  is_error = true 
)

Definition at line 405 of file gripes.cc.

References e, gripe_wrong_type_arg(), and s.

◆ gripe_wrong_type_arg() [13/14]

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

Definition at line 421 of file gripes.cc.

References e, and gripe_wrong_type_arg().

◆ gripe_wrong_type_arg() [14/14]

OCTINTERP_API void gripe_wrong_type_arg ( octave::execution_exception &  e,
const octave_value tc,
bool  is_error = true 
)

Definition at line 438 of file gripes.cc.

References e, gripe_wrong_type_arg(), string, type, and octave_value::type_name().

◆ gripe_wrong_type_arg_for_binary_op()

OCTAVE_NORETURN OCTINTERP_API void gripe_wrong_type_arg_for_binary_op ( const octave_value op)

Definition at line 456 of file gripes.cc.

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

◆ gripe_wrong_type_arg_for_unary_op()

OCTAVE_NORETURN OCTINTERP_API void gripe_wrong_type_arg_for_unary_op ( const octave_value op)

Definition at line 463 of file gripes.cc.

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