59#ifndef GUM_PRM_O3PRM_ERRORS_H
60# define GUM_PRM_O3PRM_ERRORS_H
62# ifndef DOXYGEN_SHOULD_SKIP_THIS
69 void GUM_PUBLIC_PRM O3PRM_TYPE_NOT_FOUND(
const O3Label& val, ErrorsContainer& errors);
71 void GUM_PUBLIC_PRM O3PRM_TYPE_AMBIGUOUS(
const O3Label& val,
72 const std::vector< std::string >& matches,
73 ErrorsContainer& errors);
75 void GUM_PUBLIC_PRM O3PRM_TYPE_RESERVED(
const O3Label& val, ErrorsContainer& errors);
77 void GUM_PUBLIC_PRM O3PRM_TYPE_DUPPLICATE(
const O3Label& val, ErrorsContainer& errors);
79 void GUM_PUBLIC_PRM O3PRM_TYPE_CYCLIC_INHERITANCE(
const O3Label& sub_type,
81 ErrorsContainer& errors);
83 void GUM_PUBLIC_PRM O3PRM_TYPE_UNKNOWN_LABEL(
const O3Label& type,
85 ErrorsContainer& errors);
87 void GUM_PUBLIC_PRM O3PRM_TYPE_INVALID_RANGE(
const O3IntType& val, ErrorsContainer& errors);
89 void GUM_PUBLIC_PRM O3PRM_TYPE_INVALID_RANGE(
const O3RealType& val, ErrorsContainer& errors);
91 void GUM_PUBLIC_PRM O3PRM_CLASS_NOT_FOUND(
const O3Label& val, ErrorsContainer& errors);
93 void GUM_PUBLIC_PRM O3PRM_CLASS_AMBIGUOUS(
const O3Label& val,
94 const std::vector< std::string >& matches,
95 ErrorsContainer& errors);
97 void GUM_PUBLIC_PRM O3PRM_CLASS_DUPLICATE(
const O3Label& val, ErrorsContainer& errors);
99 void GUM_PUBLIC_PRM O3PRM_CLASS_CYLIC_INHERITANCE(
const O3Label& sub,
101 ErrorsContainer& errors);
103 void GUM_PUBLIC_PRM O3PRM_CLASS_ATTR_IMPLEMENTATION(
const O3Label& c,
106 ErrorsContainer& errors);
108 void GUM_PUBLIC_PRM O3PRM_CLASS_AGG_IMPLEMENTATION(
const O3Label& c,
111 ErrorsContainer& errors);
113 void GUM_PUBLIC_PRM O3PRM_CLASS_REF_IMPLEMENTATION(
const O3Label& c,
116 ErrorsContainer& errors);
118 void GUM_PUBLIC_PRM O3PRM_CLASS_MISSING_ATTRIBUTES(
const O3Label& c,
120 ErrorsContainer& errors);
122 void GUM_PUBLIC_PRM O3PRM_CLASS_DUPLICATE_REFERENCE(
const O3Label& ref,
123 ErrorsContainer& errors);
125 void GUM_PUBLIC_PRM O3PRM_CLASS_SELF_REFERENCE(
const O3Label& c,
127 ErrorsContainer& errors);
129 void GUM_PUBLIC_PRM O3PRM_CLASS_ILLEGAL_SUB_REFERENCE(
const O3Label& c,
131 ErrorsContainer& errors);
133 void GUM_PUBLIC_PRM O3PRM_CLASS_PARENT_NOT_FOUND(
const O3Label& parent,
134 ErrorsContainer& errors);
136 void GUM_PUBLIC_PRM O3PRM_CLASS_ILLEGAL_PARENT(
const O3Label& parent,
137 ErrorsContainer& errors);
139 void GUM_PUBLIC_PRM O3PRM_CLASS_LINK_NOT_FOUND(
const O3Label& chain,
141 ErrorsContainer& errors);
143 void GUM_PUBLIC_PRM O3PRM_CLASS_ILLEGAL_CPT_SIZE(std::string_view c,
147 ErrorsContainer& errors);
149 void GUM_PUBLIC_PRM O3PRM_CLASS_ILLEGAL_CPT_VALUE(std::string_view c,
152 ErrorsContainer& errors);
154 void GUM_PUBLIC_PRM O3PRM_CLASS_CPT_DOES_NOT_SUM_TO_1(std::string_view c,
157 ErrorsContainer& errors);
159 void GUM_PUBLIC_PRM O3PRM_CLASS_CPT_DOES_NOT_SUM_TO_1_WARNING(std::string_view c,
162 ErrorsContainer& errors);
168 ErrorsContainer& errors);
170 void GUM_PUBLIC_PRM O3PRM_CLASS_ILLEGAL_RULE_LABEL(
const O3RuleCPT::O3Rule& rule,
173 ErrorsContainer& errors);
175 void GUM_PUBLIC_PRM O3PRM_CLASS_WRONG_PARENT(
const O3Label& prnt, ErrorsContainer& errors);
177 void GUM_PUBLIC_PRM O3PRM_CLASS_WRONG_PARENT_TYPE(
const O3Label& prnt,
178 std::string_view expected,
179 std::string_view found,
180 ErrorsContainer& errors);
182 void GUM_PUBLIC_PRM O3PRM_CLASS_ILLEGAL_OVERLOAD(
const O3Label& elt,
184 ErrorsContainer& errors);
186 void GUM_PUBLIC_PRM O3PRM_CLASS_AGG_PARAMETERS(
const O3Label& agg,
189 ErrorsContainer& errors);
191 void GUM_PUBLIC_PRM O3PRM_CLASS_AGG_PARAMETER_NOT_FOUND(
const O3Label& agg,
193 ErrorsContainer& errors);
195 void GUM_PUBLIC_PRM O3PRM_INTERFACE_ILLEGAL_ARRAY(
const O3Label& val,
196 ErrorsContainer& errors);
198 void GUM_PUBLIC_PRM O3PRM_INTERFACE_NOT_FOUND(
const O3Label& val, ErrorsContainer& errors);
200 void GUM_PUBLIC_PRM O3PRM_INTERFACE_AMBIGUOUS(
const O3Label& val,
201 const std::vector< std::string >& matches,
202 ErrorsContainer& errors);
204 void GUM_PUBLIC_PRM O3PRM_INTERFACE_DUPLICATE(
const O3Label& val, ErrorsContainer& errors);
207 ErrorsContainer& errors);
209 void GUM_PUBLIC_PRM O3PRM_INTERFACE_CYCLIC_INHERITANCE(
const O3Label& sub,
211 ErrorsContainer& errors);
213 void GUM_PUBLIC_PRM O3PRM_INTERFACE_SELF_REFERENCE(
const O3Interface& i,
215 ErrorsContainer& errors);
217 void GUM_PUBLIC_PRM O3PRM_INTERFACE_ILLEGAL_SUB_REFERENCE(
const O3Interface& i,
219 ErrorsContainer& errors);
222 ErrorsContainer& errors);
224 void GUM_PUBLIC_PRM O3PRM_REFERENCE_NOT_FOUND(
const O3Label& val, ErrorsContainer& errors);
226 void GUM_PUBLIC_PRM O3PRM_REFERENCE_AMBIGUOUS(
const O3Label& val,
227 const std::vector< std::string >& matches,
228 ErrorsContainer& errors);
230 void GUM_PUBLIC_PRM O3PRM_SYSTEM_INSTANTIATION_FAILED(
const O3System& sys,
231 ErrorsContainer& errors);
233 void GUM_PUBLIC_PRM O3PRM_SYSTEM_NOT_A_CLASS(
const O3Instance& i, ErrorsContainer& errors);
235 void GUM_PUBLIC_PRM O3PRM_SYSTEM_DUPLICATE_INSTANCE(
const O3Instance& i,
236 ErrorsContainer& errors);
239 ErrorsContainer& errors);
242 ErrorsContainer& errors);
245 ErrorsContainer& errors);
248 ErrorsContainer& errors);
250 void GUM_PUBLIC_PRM O3PRM_SYSTEM_INVALID_LEFT_VALUE(
const O3Label& val,
251 ErrorsContainer& errors);
253 void GUM_PUBLIC_PRM O3PRM_SYSTEM_INSTANCE_NOT_FOUND(
const O3Label& i,
254 ErrorsContainer& errors);
256 void GUM_PUBLIC_PRM O3PRM_SYSTEM_REFERENCE_NOT_FOUND(
const O3Label& ref,
257 std::string_view type,
258 ErrorsContainer& errors);
260 void GUM_PUBLIC_PRM O3PRM_SYSTEM_NOT_AN_ARRAY(
const O3Label& val, ErrorsContainer& errors);
262 void GUM_PUBLIC_PRM O3PRM_DEPRECATED_TYPE_WARNING(
const O3Label& type,
263 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