2024-10-18 09:43:30 +02:00
<?xml version='1.0' encoding='UTF-8' standalone='no'?>
<section xmlns= "http://docbook.org/ns/docbook" version= "5.0" xmlns:xlink= "http://www.w3.org/1999/xlink" xml:id= "_identity_8c" xml:lang= "en-US" >
2024-10-20 01:05:12 +02:00
<title > src/widget/main_window/one_rule/algebra/identity.c File Reference</title>
<indexterm > <primary > src/widget/main_window/one_rule/algebra/identity.c</primary> </indexterm>
2024-10-18 09:43:30 +02:00
<para >
2024-10-18 22:04:17 +02:00
<para > Non algebraic identity of a rule. </para>
2024-10-18 09:43:30 +02:00
</para>
2024-10-20 01:05:12 +02:00
<programlisting linenumbering= "unnumbered" > #include " ../../../../../include/fsm.h" <?linebreak?> #include " ../../../../../include/widget.h" <?linebreak?> #include " ../../../../../include/signal.h" <?linebreak?> #include < stdio.h> <?linebreak?> #include < stdlib.h> <?linebreak?> </programlisting> <simplesect >
2024-10-18 09:43:30 +02:00
<title > Functions </title>
<itemizedlist >
<listitem > <para > void * <link linkend= "_identity_8c_1afcfab13d3504a69ec5f4ae6ad6974e29" > widget_get_selected_rule_identity_btt</link> ()</para>
2024-10-18 22:04:17 +02:00
<para > Hosts a list of character strings that can be combined to provide a " human readable" rule identifier. </para>
2024-10-18 09:43:30 +02:00
</listitem>
</itemizedlist>
</simplesect>
<section >
<title > Detailed Description</title>
2024-10-18 22:04:17 +02:00
<para > Non algebraic identity of a rule. </para>
2024-10-18 09:43:30 +02:00
2024-10-18 22:04:17 +02:00
<para > This file is part of Gem-graph. It hosts the functions needed to identify a rule by name. </para>
2024-10-18 09:43:30 +02:00
</section>
<section >
<title > Function Documentation</title>
<anchor xml:id= "_identity_8c_1afcfab13d3504a69ec5f4ae6ad6974e29" /> <section >
<title > widget_get_selected_rule_identity_btt()</title>
<indexterm > <primary > widget_get_selected_rule_identity_btt</primary> <secondary > identity.c</secondary> </indexterm>
<indexterm > <primary > identity.c</primary> <secondary > widget_get_selected_rule_identity_btt</secondary> </indexterm>
<para > <computeroutput > void * widget_get_selected_rule_identity_btt ( )</computeroutput> </para> <para >
2024-10-18 22:04:17 +02:00
<para > Hosts a list of character strings that can be combined to provide a " human readable" rule identifier. </para>
2024-10-18 09:43:30 +02:00
</para>
2024-10-18 22:04:17 +02:00
<para > This list can also contain non-mandatory elements.</para>
2024-10-18 09:43:30 +02:00
2024-10-18 22:04:17 +02:00
<para > 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.</para>
2024-10-18 09:43:30 +02:00
2024-10-18 22:04:17 +02:00
<para > On the contrary, for the automaton, the identity of each rule is given exclusively by its set of conditions.</para>
2024-10-18 09:43:30 +02:00
2024-10-18 22:04:17 +02:00
<para > 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</para>
<para > |- - - - - - - - - - - - - - meta-rules - - - - - - - - - - - - - - - > </para>
<para > 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.).</para>
<para > < - - - - - - - - - - - - - - meta-rules - - - - - - - - - - - - - - -|</para>
2024-10-18 09:43:30 +02:00
<para > <formalpara > <title > Since</title>
<para > 2024-08</para>
</formalpara>
<formalpara > <title > See also</title>
<para > src/widget/one_rule/algebra/utilities/widget_set_item_text() </para>
2024-10-18 22:04:17 +02:00
<para > src/fsm/dispatch/fsm_journal_event() < TODO (for each item ?)</para>
2024-10-18 09:43:30 +02:00
2024-10-18 22:04:17 +02:00
<para > src/widget/one_rule/algebra/dispatch/gtk_box_append()</para>
2024-10-18 09:43:30 +02:00
</formalpara>
<formalpara > <title > Returns</title>
<para > rule identity </para>
</formalpara>
</para>
</section>
</section>
</section>