GNU Octave
3.8.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
Main Page
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
libinterp
corefcn
gripes.h
Go to the documentation of this file.
1
/*
2
3
Copyright (C) 1993-2013 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
39
gripe_string_invalid
(
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
48
gripe_nonconformant
(
octave_idx_type
r1
,
octave_idx_type
c1
,
49
octave_idx_type
r2
,
octave_idx_type
c2);
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
70
gripe_2_or_3_dim_plot
(
void
);
71
72
extern
OCTINTERP_API
void
73
gripe_unrecognized_float_fmt
(
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
98
gripe_wrong_type_arg_for_unary_op
(
const
octave_value
& op);
99
100
extern
OCTINTERP_API
void
101
gripe_wrong_type_arg_for_binary_op
(
const
octave_value
& op);
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
114
gripe_logical_conversion
(
void
);
115
116
extern
OCTINTERP_API
void
117
gripe_library_execution_error
(
void
);
118
119
extern
OCTINTERP_API
void
120
gripe_invalid_inquiry_subscript
(
void
);
121
122
extern
OCTINTERP_API
void
123
gripe_indexed_cs_list
(
void
);
124
125
extern
OCTINTERP_API
void
126
gripe_nonbraced_cs_list_assignment
(
void
);
127
128
extern
OCTINTERP_API
void
129
gripe_warn_complex_cmp
(
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
#endif
Generated on Mon Dec 30 2013 03:04:25 for GNU Octave by
1.8.1.2