Commit 75b4b1ab authored by Gauthier Quesnel's avatar Gauthier Quesnel
Browse files

core: cleanup irt::status

parent 47df55ad
......@@ -49,10 +49,6 @@ status_string(const status s) noexcept
"model_connect_input_port_unknown",
"model_connect_already_exist",
"model_connect_bad_dynamics",
"model_adder_empty_init_message",
"model_adder_bad_init_message",
"model_mult_empty_init_message",
"model_mult_bad_init_message",
"model_integrator_dq_error",
"model_integrator_X_error",
"model_integrator_internal_error",
......
......@@ -118,69 +118,46 @@ using sz = size_t;
enum class status
{
success,
unknown_dynamics,
block_allocator_bad_capacity,
block_allocator_not_enough_memory,
head_allocator_bad_capacity,
head_allocator_not_enough_memory,
simulation_not_enough_model,
simulation_not_enough_memory_message_list_allocator,
simulation_not_enough_memory_input_port_list_allocator,
simulation_not_enough_memory_output_port_list_allocator,
data_array_init_capacity_error,
data_array_not_enough_memory,
data_array_archive_init_capacity_error,
data_array_archive_not_enough_memory,
array_init_capacity_zero,
array_init_capacity_too_big,
array_init_not_enough_memory,
vector_init_capacity_zero,
vector_init_capacity_too_big,
vector_init_not_enough_memory,
dynamics_unknown_id,
dynamics_unknown_port_id,
dynamics_not_enough_memory,
model_connect_output_port_unknown,
model_connect_input_port_unknown,
model_connect_already_exist,
model_connect_bad_dynamics,
model_adder_empty_init_message,
model_adder_bad_init_message,
model_mult_empty_init_message,
model_mult_bad_init_message,
model_integrator_dq_error,
model_integrator_X_error,
model_integrator_internal_error,
model_integrator_output_error,
model_integrator_running_without_x_dot,
model_integrator_ta_with_bad_x_dot,
model_quantifier_bad_quantum_parameter,
model_quantifier_bad_archive_length_parameter,
model_quantifier_shifting_value_neg,
model_quantifier_shifting_value_less_1,
model_time_func_bad_init_message,
model_flow_bad_samplerate,
model_flow_bad_data,
gui_not_enough_memory,
io_file_format_error,
io_file_format_model_error,
io_file_format_model_number_error,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment