src/widget/main_window/one_rule/algebra/identity.c File Referencesrc/widget/main_window/one_rule/algebra/identity.cNon algebraic identity of a rule. #include "../../../../../include/fsm.h"#include "../../../../../include/widget.h"#include "../../../../../include/signal.h"#include <stdio.h>#include <stdlib.h>Include dependency graph for identity.c:Functions void * widget_get_selected_rule_identity_btt ()Detailed DescriptionNon algebraic identity of a rule. This file is part of Gem-graph. It hosts the functions needed to identify a rule by name. Function Documentationwidget_get_selected_rule_identity_btt()widget_get_selected_rule_identity_bttidentity.cidentity.cwidget_get_selected_rule_identity_bttvoid * widget_get_selected_rule_identity_btt ( )Hosts a list of character strings that can be combined to provide a "human readable" rule identifier. This list can also contain non-mandatory elements.Each rule can have a specific "human readable" name chosen by its designer. This name can be used to identify the rule. It is desirable for a unique name to be accepted and shared by as many users as possible.On the contrary, for the automaton, the identity of each rule is given exclusively by its set of conditions.Today, this function provides only an arbitrary presentation with no link to the XML model and no verification of compliance with the meta-rules. (see below) TODO|- - - - - - - - - - - - - - meta-rules - - - - - - - - - - - - - - - >No item of the list should be repeated. No element describing the function of the rule can contradict another. All the elements required for identification by name must be present. Uniqueness is required (This name must be usable as a key). Non-mandatory elements can be added (comments, etc.).< - - - - - - - - - - - - - - meta-rules - - - - - - - - - - - - - - -|Since2024-08See alsosrc/widget/one_rule/algebra/utilities/widget_set_item_text() src/fsm/dispatch/fsm_journal_event() < TODO (for each item ?)src/widget/one_rule/algebra/dispatch/gtk_box_append()Returnsrule identity
Here is the call graph for this function:
Here is the caller graph for this function: