GNU Octave  4.0.0
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
gripes.h
Go to the documentation of this file.
1 /*
2 
3 Copyright (C) 1993-2015 John W. Eaton
4 
5 This file is part of Octave.
6 
7 Octave is free software; you can redistribute it and/or modify it
8 under the terms of the GNU General Public License as published by the
9 Free Software Foundation; either version 3 of the License, or (at your
10 option) any later version.
11 
12 Octave is distributed in the hope that it will be useful, but WITHOUT
13 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
14 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
15 for more details.
16 
17 You should have received a copy of the GNU General Public License
18 along with Octave; see the file COPYING. If not, see
19 <http://www.gnu.org/licenses/>.
20 
21 */
22 
23 #if !defined (octave_gripes_h)
24 #define octave_gripes_h 1
25 
26 #include <string>
27 
28 #include "lo-array-gripes.h"
29 
30 class octave_value;
31 
32 extern OCTINTERP_API void
33 gripe_not_supported (const char *);
34 
35 extern OCTINTERP_API void
36 gripe_not_implemented (const char *);
37 
38 extern OCTINTERP_API void
40 
41 extern OCTINTERP_API void
42 gripe_range_invalid (void);
43 
44 extern OCTINTERP_API void
45 gripe_nonconformant (void);
46 
47 extern OCTINTERP_API void
50 
51 extern OCTINTERP_API void
52 gripe_empty_arg (const char *name, bool is_error);
53 
54 extern OCTINTERP_API void
55 gripe_square_matrix_required (const char *name);
56 
57 extern OCTINTERP_API void
58 gripe_user_supplied_eval (const char *name);
59 
60 extern OCTINTERP_API void
61 gripe_user_returned_invalid (const char *name);
62 
63 extern OCTINTERP_API void
64 gripe_invalid_conversion (const std::string& from, const std::string& to);
65 
66 extern OCTINTERP_API void
67 gripe_invalid_value_specified (const char *name);
68 
69 extern OCTINTERP_API void
71 
72 extern OCTINTERP_API void
74 
75 extern OCTINTERP_API void
76 gripe_unrecognized_data_fmt (const char *warn_for);
77 
78 extern OCTINTERP_API void
79 gripe_data_conversion (const char *from, const char *to);
80 
81 extern OCTINTERP_API void
82 gripe_wrong_type_arg (const char *name, const char *s,
83  bool is_error = true);
84 
85 extern OCTINTERP_API void
86 gripe_wrong_type_arg (const char *name, const std::string& s,
87  bool is_error = true);
88 
89 extern OCTINTERP_API void
90 gripe_wrong_type_arg (const char *name, const octave_value& tc,
91  bool is_error = true);
92 
93 extern OCTINTERP_API void
94 gripe_wrong_type_arg (const std::string& name, const octave_value& tc,
95  bool is_error = true);
96 
97 extern OCTINTERP_API void
99 
100 extern OCTINTERP_API void
102 
103 extern OCTINTERP_API void
104 gripe_implicit_conversion (const char *id, const char *from, const char *to);
105 
106 extern OCTINTERP_API void
107 gripe_implicit_conversion (const std::string& id, const std::string& from,
108  const std::string& to);
109 
110 extern OCTINTERP_API void
111 gripe_divide_by_zero (void);
112 
113 extern OCTINTERP_API void
115 
116 extern OCTINTERP_API void
118 
119 extern OCTINTERP_API void
121 
122 extern OCTINTERP_API void
123 gripe_indexed_cs_list (void);
124 
125 extern OCTINTERP_API void
127 
128 extern OCTINTERP_API void
130 
131 extern OCTINTERP_API void
132 gripe_disabled_feature (const std::string& func, const std::string& feature,
133  const std::string& pkg="Octave");
134 
135 extern OCTINTERP_API void
136 gripe_data_file_in_path (const std::string& fcn, const std::string& file);
137 
138 #endif
OCTINTERP_API void gripe_wrong_type_arg(const char *name, const char *s, bool is_error=true)
Definition: gripes.cc:135
OCTINTERP_API void gripe_wrong_type_arg_for_binary_op(const octave_value &op)
Definition: gripes.cc:173
OCTINTERP_API void gripe_invalid_value_specified(const char *name)
Definition: gripes.cc:105
OCTINTERP_API void gripe_indexed_cs_list(void)
Definition: gripes.cc:223
OCTINTERP_API void gripe_wrong_type_arg_for_unary_op(const octave_value &op)
Definition: gripes.cc:166
OCTINTERP_API void gripe_disabled_feature(const std::string &func, const std::string &feature, const std::string &pkg="Octave")
Definition: gripes.cc:242
OCTINTERP_API void gripe_nonconformant(void)
Definition: gripes.cc:58
OCTINTERP_API void gripe_unrecognized_data_fmt(const char *warn_for)
Definition: gripes.cc:123
OCTINTERP_API void gripe_empty_arg(const char *name, bool is_error)
Definition: gripes.cc:72
OCTINTERP_API void gripe_unrecognized_float_fmt(void)
Definition: gripes.cc:117
static MArray< double > const octave_idx_type const octave_idx_type octave_idx_type octave_idx_type r2
OCTINTERP_API void gripe_logical_conversion(void)
Definition: gripes.cc:201
OCTINTERP_API void gripe_not_implemented(const char *)
Definition: gripes.cc:40
OCTINTERP_API void gripe_divide_by_zero(void)
Definition: gripes.cc:195
OCTINTERP_API void gripe_nonbraced_cs_list_assignment(void)
Definition: gripes.cc:229
#define OCTINTERP_API
Definition: mexproto.h:66
OCTINTERP_API void gripe_range_invalid(void)
Definition: gripes.cc:52
OCTINTERP_API void gripe_2_or_3_dim_plot(void)
Definition: gripes.cc:111
OCTINTERP_API void gripe_user_returned_invalid(const char *name)
Definition: gripes.cc:93
OCTINTERP_API void gripe_not_supported(const char *)
Definition: gripes.cc:34
OCTINTERP_API void gripe_data_conversion(const char *from, const char *to)
Definition: gripes.cc:129
OCTINTERP_API void gripe_invalid_inquiry_subscript(void)
Definition: gripes.cc:217
OCTINTERP_API void gripe_implicit_conversion(const char *id, const char *from, const char *to)
Definition: gripes.cc:180
OCTINTERP_API void gripe_data_file_in_path(const std::string &fcn, const std::string &file)
Definition: gripes.cc:250
static MArray< double > const octave_idx_type const octave_idx_type octave_idx_type octave_idx_type octave_idx_type c1
OCTINTERP_API void gripe_user_supplied_eval(const char *name)
Definition: gripes.cc:87
static MArray< double > const octave_idx_type const octave_idx_type octave_idx_type r1
OCTINTERP_API void gripe_library_execution_error(void)
Definition: gripes.cc:208
OCTINTERP_API void gripe_warn_complex_cmp(void)
Definition: gripes.cc:235
OCTINTERP_API void gripe_invalid_conversion(const std::string &from, const std::string &to)
Definition: gripes.cc:99
OCTINTERP_API void gripe_string_invalid(void)
Definition: gripes.cc:46
OCTINTERP_API void gripe_square_matrix_required(const char *name)
Definition: gripes.cc:81