60#ifndef GUM_PRM_O3PRM_ERRORS_H
61# define GUM_PRM_O3PRM_ERRORS_H
63# ifndef DOXYGEN_SHOULD_SKIP_THIS
70 void GUM_PUBLIC_PRM O3PRM_TYPE_NOT_FOUND(
const O3Label& val, ErrorsContainer& errors);
72 void GUM_PUBLIC_PRM O3PRM_TYPE_AMBIGUOUS(
const O3Label& val,
73 const std::vector< std::string >& matches,
74 ErrorsContainer& errors);
76 void GUM_PUBLIC_PRM O3PRM_TYPE_RESERVED(
const O3Label& val, ErrorsContainer& errors);
78 void GUM_PUBLIC_PRM O3PRM_TYPE_DUPPLICATE(
const O3Label& val, ErrorsContainer& errors);
80 void GUM_PUBLIC_PRM O3PRM_TYPE_CYCLIC_INHERITANCE(
const O3Label& sub_type,
82 ErrorsContainer& errors);
84 void GUM_PUBLIC_PRM O3PRM_TYPE_UNKNOWN_LABEL(
const O3Label& type,
86 ErrorsContainer& errors);
88 void GUM_PUBLIC_PRM O3PRM_TYPE_INVALID_RANGE(
const O3IntType& val, ErrorsContainer& errors);
90 void GUM_PUBLIC_PRM O3PRM_TYPE_INVALID_RANGE(
const O3RealType& val, ErrorsContainer& errors);
92 void GUM_PUBLIC_PRM O3PRM_CLASS_NOT_FOUND(
const O3Label& val, ErrorsContainer& errors);
94 void GUM_PUBLIC_PRM O3PRM_CLASS_AMBIGUOUS(
const O3Label& val,
95 const std::vector< std::string >& matches,
96 ErrorsContainer& errors);
98 void GUM_PUBLIC_PRM O3PRM_CLASS_DUPLICATE(
const O3Label& val, ErrorsContainer& errors);
100 void GUM_PUBLIC_PRM O3PRM_CLASS_CYLIC_INHERITANCE(
const O3Label& sub,
102 ErrorsContainer& errors);
104 void GUM_PUBLIC_PRM O3PRM_CLASS_ATTR_IMPLEMENTATION(
const O3Label& c,
107 ErrorsContainer& errors);
109 void GUM_PUBLIC_PRM O3PRM_CLASS_AGG_IMPLEMENTATION(
const O3Label& c,
112 ErrorsContainer& errors);
114 void GUM_PUBLIC_PRM O3PRM_CLASS_REF_IMPLEMENTATION(
const O3Label& c,
117 ErrorsContainer& errors);
119 void GUM_PUBLIC_PRM O3PRM_CLASS_MISSING_ATTRIBUTES(
const O3Label& c,
121 ErrorsContainer& errors);
123 void GUM_PUBLIC_PRM O3PRM_CLASS_DUPLICATE_REFERENCE(
const O3Label& ref,
124 ErrorsContainer& errors);
126 void GUM_PUBLIC_PRM O3PRM_CLASS_SELF_REFERENCE(
const O3Label& c,
128 ErrorsContainer& errors);
130 void GUM_PUBLIC_PRM O3PRM_CLASS_ILLEGAL_SUB_REFERENCE(
const O3Label& c,
132 ErrorsContainer& errors);
134 void GUM_PUBLIC_PRM O3PRM_CLASS_PARENT_NOT_FOUND(
const O3Label& parent,
135 ErrorsContainer& errors);
137 void GUM_PUBLIC_PRM O3PRM_CLASS_ILLEGAL_PARENT(
const O3Label& parent,
138 ErrorsContainer& errors);
140 void GUM_PUBLIC_PRM O3PRM_CLASS_LINK_NOT_FOUND(
const O3Label& chain,
142 ErrorsContainer& errors);
144 void GUM_PUBLIC_PRM O3PRM_CLASS_ILLEGAL_CPT_SIZE(std::string_view c,
148 ErrorsContainer& errors);
150 void GUM_PUBLIC_PRM O3PRM_CLASS_ILLEGAL_CPT_VALUE(std::string_view c,
153 ErrorsContainer& errors);
155 void GUM_PUBLIC_PRM O3PRM_CLASS_CPT_DOES_NOT_SUM_TO_1(std::string_view c,
158 ErrorsContainer& errors);
160 void GUM_PUBLIC_PRM O3PRM_CLASS_CPT_DOES_NOT_SUM_TO_1_WARNING(std::string_view c,
163 ErrorsContainer& errors);
169 ErrorsContainer& errors);
171 void GUM_PUBLIC_PRM O3PRM_CLASS_ILLEGAL_RULE_LABEL(
const O3RuleCPT::O3Rule& rule,
174 ErrorsContainer& errors);
176 void GUM_PUBLIC_PRM O3PRM_CLASS_WRONG_PARENT(
const O3Label& prnt, ErrorsContainer& errors);
178 void GUM_PUBLIC_PRM O3PRM_CLASS_WRONG_PARENT_TYPE(
const O3Label& prnt,
179 std::string_view expected,
180 std::string_view found,
181 ErrorsContainer& errors);
183 void GUM_PUBLIC_PRM O3PRM_CLASS_ILLEGAL_OVERLOAD(
const O3Label& elt,
185 ErrorsContainer& errors);
187 void GUM_PUBLIC_PRM O3PRM_CLASS_AGG_PARAMETERS(
const O3Label& agg,
190 ErrorsContainer& errors);
192 void GUM_PUBLIC_PRM O3PRM_CLASS_AGG_PARAMETER_NOT_FOUND(
const O3Label& agg,
194 ErrorsContainer& errors);
196 void GUM_PUBLIC_PRM O3PRM_INTERFACE_ILLEGAL_ARRAY(
const O3Label& val,
197 ErrorsContainer& errors);
199 void GUM_PUBLIC_PRM O3PRM_INTERFACE_NOT_FOUND(
const O3Label& val, ErrorsContainer& errors);
201 void GUM_PUBLIC_PRM O3PRM_INTERFACE_AMBIGUOUS(
const O3Label& val,
202 const std::vector< std::string >& matches,
203 ErrorsContainer& errors);
205 void GUM_PUBLIC_PRM O3PRM_INTERFACE_DUPLICATE(
const O3Label& val, ErrorsContainer& errors);
208 ErrorsContainer& errors);
210 void GUM_PUBLIC_PRM O3PRM_INTERFACE_CYCLIC_INHERITANCE(
const O3Label& sub,
212 ErrorsContainer& errors);
214 void GUM_PUBLIC_PRM O3PRM_INTERFACE_SELF_REFERENCE(
const O3Interface& i,
216 ErrorsContainer& errors);
218 void GUM_PUBLIC_PRM O3PRM_INTERFACE_ILLEGAL_SUB_REFERENCE(
const O3Interface& i,
220 ErrorsContainer& errors);
223 ErrorsContainer& errors);
225 void GUM_PUBLIC_PRM O3PRM_REFERENCE_NOT_FOUND(
const O3Label& val, ErrorsContainer& errors);
227 void GUM_PUBLIC_PRM O3PRM_REFERENCE_AMBIGUOUS(
const O3Label& val,
228 const std::vector< std::string >& matches,
229 ErrorsContainer& errors);
233 std::string GUM_PUBLIC_PRM O3PRM_EXCEPTION_MESSAGE(
const Exception& e);
236 void GUM_PUBLIC_PRM O3PRM_SYSTEM_INSTANTIATION_FAILED(
const O3System& sys,
237 std::string_view reason,
238 ErrorsContainer& errors);
240 void GUM_PUBLIC_PRM O3PRM_SYSTEM_NOT_A_CLASS(
const O3Instance& i, ErrorsContainer& errors);
242 void GUM_PUBLIC_PRM O3PRM_SYSTEM_DUPLICATE_INSTANCE(
const O3Instance& i,
243 ErrorsContainer& errors);
246 ErrorsContainer& errors);
249 ErrorsContainer& errors);
252 ErrorsContainer& errors);
255 ErrorsContainer& errors);
257 void GUM_PUBLIC_PRM O3PRM_SYSTEM_INVALID_LEFT_VALUE(
const O3Label& val,
258 ErrorsContainer& errors);
260 void GUM_PUBLIC_PRM O3PRM_SYSTEM_INSTANCE_NOT_FOUND(
const O3Label& i,
261 ErrorsContainer& errors);
263 void GUM_PUBLIC_PRM O3PRM_SYSTEM_REFERENCE_NOT_FOUND(
const O3Label& ref,
264 std::string_view type,
265 ErrorsContainer& errors);
267 void GUM_PUBLIC_PRM O3PRM_SYSTEM_NOT_AN_ARRAY(
const O3Label& val, ErrorsContainer& errors);
269 void GUM_PUBLIC_PRM O3PRM_DEPRECATED_TYPE_WARNING(
const O3Label& type,
270 ErrorsContainer& errors);
Headers for the AST of the O3PRM language.
The O3InstanceParameter is part of the AST of the O3PRM language.
The O3Instance is part of the AST of the O3PRM language.
The O3IntType is part of the AST of the O3PRM language.
The O3InterfaceElement is part of the AST of the O3PRM language.
The O3Interface is part of the AST of the O3PRM language.
The O3Label is part of the AST of the O3PRM language.
The O3RealType is part of the AST of the O3PRM language.
std::pair< O3LabelList, O3FormulaList > O3Rule
The O3System is part of the AST of the O3PRM language.
Errors container (at least) for parser.
std::size_t Size
In aGrUM, hashed values are unsigned long int.
namespace for all probabilistic relational models entities
gum is the global namespace for all aGrUM entities