\doxysection{src/widget/one\+\_\+rule/algebra/conditions.c File Reference}
\hypertarget{conditions_8c}{}\label{conditions_8c}\index{src/widget/one\_rule/algebra/conditions.c@{src/widget/one\_rule/algebra/conditions.c}}


Gem-\/graph-\/client rules algebra\+: conditions list.  


{\ttfamily \#include "{}../../../../include/util.\+h"{}}\newline
{\ttfamily \#include "{}../../../../include/fsm.\+h"{}}\newline
{\ttfamily \#include "{}../../../../include/widget.\+h"{}}\newline
{\ttfamily \#include "{}../../../../include/signal.\+h"{}}\newline
{\ttfamily \#include $<$stdio.\+h$>$}\newline
{\ttfamily \#include $<$stdlib.\+h$>$}\newline
\doxysubsubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
void \texorpdfstring{$\ast$}{*} \mbox{\hyperlink{conditions_8c_a8d42128cf54da36d55112fa5f5634f96}{widget\+\_\+get\+\_\+selected\+\_\+rule\+\_\+conditions\+\_\+list\+\_\+btt}} ()
\begin{DoxyCompactList}\small\item\em builds the conditions list of a rule. \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
Gem-\/graph-\/client rules algebra\+: conditions list. 

This file is part of Gem-\/graph. It groups together the functions needed to describe a rule conditions. 

\doxysubsection{Function Documentation}
\Hypertarget{conditions_8c_a8d42128cf54da36d55112fa5f5634f96}\label{conditions_8c_a8d42128cf54da36d55112fa5f5634f96} 
\index{conditions.c@{conditions.c}!widget\_get\_selected\_rule\_conditions\_list\_btt@{widget\_get\_selected\_rule\_conditions\_list\_btt}}
\index{widget\_get\_selected\_rule\_conditions\_list\_btt@{widget\_get\_selected\_rule\_conditions\_list\_btt}!conditions.c@{conditions.c}}
\doxysubsubsection{\texorpdfstring{widget\_get\_selected\_rule\_conditions\_list\_btt()}{widget\_get\_selected\_rule\_conditions\_list\_btt()}}
{\footnotesize\ttfamily void \texorpdfstring{$\ast$}{*} widget\+\_\+get\+\_\+selected\+\_\+rule\+\_\+conditions\+\_\+list\+\_\+btt (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}



builds the conditions list of a rule. 

TODO // today, an arbitrary mock-\/up without any link to the XML model

This list groups all the elementary conditions of the rule. No conditions should be repeated. No condition may contradict another (== a unique condition per address in rule workspace) Completeness is not required (== there does not need to be one condition per address in the rule workspace)

\begin{DoxySince}{Since}
2024-\/08
\end{DoxySince}
\begin{DoxySeeAlso}{See also}
src/widget/one\+\_\+rule/algebra/utilities/widget\+\_\+set\+\_\+item\+\_\+text() 

src/fsm/dispatch/fsm\+\_\+journal\+\_\+event()

src/widget/one\+\_\+rule/algebra/dispatch()
\end{DoxySeeAlso}
\begin{DoxyReturn}{Returns}
the conditions list 
\end{DoxyReturn}
