aboutsummaryrefslogtreecommitdiff
path: root/docs/doxygen/nel/a02820.html
diff options
context:
space:
mode:
Diffstat (limited to 'docs/doxygen/nel/a02820.html')
-rw-r--r--docs/doxygen/nel/a02820.html614
1 files changed, 614 insertions, 0 deletions
diff --git a/docs/doxygen/nel/a02820.html b/docs/doxygen/nel/a02820.html
new file mode 100644
index 00000000..1d9b80f2
--- /dev/null
+++ b/docs/doxygen/nel/a02820.html
@@ -0,0 +1,614 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
+<title>NeL: NLLOGIC::CLogicVariable class Reference</title>
+<link href="doxygen.css" rel="stylesheet" type="text/css">
+</head><body>
+<!-- Generated by Doxygen 1.3.6 -->
+<div class="qindex"> <form class="search" action="search.php" method="get">
+<a class="qindex" href="main.html">Main&nbsp;Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class&nbsp;Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical&nbsp;List</a> | <a class="qindex" href="annotated.html">Data&nbsp;Structures</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="namespacemembers.html">Namespace&nbsp;Members</a> | <a class="qindex" href="functions.html">Data&nbsp;Fields</a> | <a class="qindex" href="globals.html">Globals</a> | <a class="qindex" href="pages.html">Related&nbsp;Pages</a> | <span class="search"><u>S</u>earch&nbsp;for&nbsp;<input class="search" type="text" name="query" value="" size="20" accesskey="s"/></span></form></div>
+<h1>NLLOGIC::CLogicVariable Class Reference</h1><code>#include &lt;<a class="el" href="a05957.html">logic_variable.h</a>&gt;</code>
+<p>
+<p>Inheritance diagram for NLLOGIC::CLogicVariable:
+<p><center><img src="a02820.png" usemap="#NLLOGIC::CLogicVariable_map" border="0" alt=""></center>
+<map name="NLLOGIC::CLogicVariable_map">
+<area href="a02819.html" alt="NLLOGIC::CLogicCounter" shape="rect" coords="0,56,160,80">
+</map>
+<hr><a name="_details"></a><h2>Detailed Description</h2>
+<a class="el" href="a02820.html">CLogicVariable</a><p>
+<dl compact><dt><b>Author:</b></dt><dd>Stephane Coutelas <p>
+Nevrax France </dd></dl>
+<dl compact><dt><b>Date:</b></dt><dd>2001 </dd></dl>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="a05957.html#l00044">44</a> of file <a class="el" href="a05957.html">logic_variable.h</a>.<table border=0 cellpadding=0 cellspacing=0>
+<tr><td></td></tr>
+<tr><td colspan=2><br><h2>Public Member Functions</h2></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02820.html#NLLOGIC_1_1CLogicVariablea0">applyModification</a> (std::string op, <a class="el" href="a04558.html#a12">sint64</a> <a class="el" href="a04223.html#a658">value</a>)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02820.html#NLLOGIC_1_1CLogicVariablea1">CLogicVariable</a> ()</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>std::string&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02820.html#NLLOGIC_1_1CLogicVariablea2">getName</a> () const </td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a12">sint64</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02820.html#NLLOGIC_1_1CLogicVariablea3">getValue</a> () const </td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02820.html#NLLOGIC_1_1CLogicVariablea4">processLogic</a> ()</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02820.html#NLLOGIC_1_1CLogicVariablea5">read</a> (xmlNodePtr node)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02820.html#NLLOGIC_1_1CLogicVariablea6">setName</a> (std::string name)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02820.html#NLLOGIC_1_1CLogicVariablea7">setValue</a> (<a class="el" href="a04558.html#a12">sint64</a> <a class="el" href="a04223.html#a658">value</a>)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02820.html#NLLOGIC_1_1CLogicVariablea8">setVerbose</a> (bool b)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02820.html#NLLOGIC_1_1CLogicVariablea9">write</a> (xmlNodePtr node) const </td></tr>
+
+<tr><td colspan=2><br><h2>Protected Attributes</h2></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>std::string&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02820.html#NLLOGIC_1_1CLogicVariablep0">_Name</a></td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">variable name <a href="#NLLOGIC_1_1CLogicVariablep0"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a12">sint64</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02820.html#NLLOGIC_1_1CLogicVariablep1">_Value</a></td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">variable value <a href="#NLLOGIC_1_1CLogicVariablep1"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02820.html#NLLOGIC_1_1CLogicVariablep2">_Verbose</a></td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">true if verbose mode is active <a href="#NLLOGIC_1_1CLogicVariablep2"></a><br><br></td></tr>
+</table>
+<hr><h2>Constructor &amp; Destructor Documentation</h2>
+<a class="anchor" name="NLLOGIC_1_1CLogicVariablea1" doxytag="NLLOGIC::CLogicVariable::CLogicVariable" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> NLLOGIC::CLogicVariable::CLogicVariable </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Default constructor
+<p>
+Definition at line <a class="el" href="a05956.html#l00042">42</a> of file <a class="el" href="a05956.html">logic_variable.cpp</a>.
+<p>
+References <a class="el" href="a05957.html#l00055">_Verbose</a>.
+<p>
+<div class="fragment"><pre>00043 {
+00044 <a class="code" href="a02820.html#NLLOGIC_1_1CLogicVariablep1">_Value</a> = 0;
+00045 <a class="code" href="a02820.html#NLLOGIC_1_1CLogicVariablep0">_Name</a> = <span class="stringliteral">"unamed_var"</span>;
+00046 <a class="code" href="a02820.html#NLLOGIC_1_1CLogicVariablep2">_Verbose</a> = <span class="keyword">false</span>;
+00047
+00048 } <span class="comment">// CLogicVariable //</span>
+</pre></div> </td>
+ </tr>
+</table>
+<hr><h2>Member Function Documentation</h2>
+<a class="anchor" name="NLLOGIC_1_1CLogicVariablea0" doxytag="NLLOGIC::CLogicVariable::applyModification" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NLLOGIC::CLogicVariable::applyModification </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">std::string&nbsp;</td>
+ <td class="mdname" nowrap> <em>op</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="a04558.html#a12">sint64</a>&nbsp;</td>
+ <td class="mdname" nowrap> <em>value</em></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Apply modifications on a variable<p>
+<dl compact><dt><b>Parameters:</b></dt><dd>
+ <table border="0" cellspacing="2" cellpadding="0">
+ <tr><td valign=top><em>op</em>&nbsp;</td><td>can be one of these operators :"SET"("set"),"ADD"("add"),"SUB"("sub"),"MUL"("mul"),"DIV"("div") </td></tr>
+ <tr><td valign=top><em>value</em>&nbsp;</td><td>is the value to use along with the modificator</td></tr>
+ </table>
+</dl>
+
+<p>
+Definition at line <a class="el" href="a05956.html#l00073">73</a> of file <a class="el" href="a05956.html">logic_variable.cpp</a>.
+<p>
+References <a class="el" href="a05957.html#l00055">_Verbose</a>, <a class="el" href="a05622.html#l00111">nlinfo</a>, <a class="el" href="a05622.html#l00135">nlwarning</a>, <a class="el" href="a05981.html#l00101">sint64</a>, and <a class="el" href="a05646.html#l01132">value</a>.
+<p>
+<div class="fragment"><pre>00074 {
+00075 <span class="keywordflow">if</span>( op == <span class="stringliteral">"SET"</span> || op == <span class="stringliteral">"set"</span> )
+00076 {
+00077 <a class="code" href="a02820.html#NLLOGIC_1_1CLogicVariablep1">_Value</a> = <a class="code" href="a04223.html#a658">value</a>;
+00078 }
+00079 <span class="keywordflow">else</span>
+00080 <span class="keywordflow">if</span>( op == <span class="stringliteral">"ADD"</span> || op == <span class="stringliteral">"add"</span> )
+00081 {
+00082 <a class="code" href="a02820.html#NLLOGIC_1_1CLogicVariablep1">_Value</a> += <a class="code" href="a04223.html#a658">value</a>;
+00083 }
+00084 <span class="keywordflow">else</span>
+00085 <span class="keywordflow">if</span>( op == <span class="stringliteral">"SUB"</span> || op == <span class="stringliteral">"sub"</span> )
+00086 {
+00087 <a class="code" href="a02820.html#NLLOGIC_1_1CLogicVariablep1">_Value</a> -= <a class="code" href="a04223.html#a658">value</a>;
+00088 }
+00089 <span class="keywordflow">else</span>
+00090 <span class="keywordflow">if</span>( op == <span class="stringliteral">"MUL"</span> || op == <span class="stringliteral">"mul"</span>)
+00091 {
+00092 <a class="code" href="a02820.html#NLLOGIC_1_1CLogicVariablep1">_Value</a> *= <a class="code" href="a04223.html#a658">value</a>;
+00093 }
+00094 <span class="keywordflow">else</span>
+00095 <span class="keywordflow">if</span>( op == <span class="stringliteral">"DIV"</span> || op == <span class="stringliteral">"div"</span>)
+00096 {
+00097 <span class="keywordflow">if</span>( <a class="code" href="a04223.html#a658">value</a> != 0 ) <a class="code" href="a02820.html#NLLOGIC_1_1CLogicVariablep1">_Value</a> /= <a class="code" href="a04223.html#a658">value</a>;
+00098 }
+00099 <span class="keywordflow">else</span>
+00100 {
+00101 <a class="code" href="a04199.html#a2">nlwarning</a>(<span class="stringliteral">"(LGCS)&lt;CLogicVariable::applyModification&gt; The operator \"%s\" is unknown"</span>,op.c_str());
+00102 <span class="keywordflow">return</span>;
+00103 }
+00104
+00105 <span class="keywordflow">if</span>( <a class="code" href="a02820.html#NLLOGIC_1_1CLogicVariablep2">_Verbose</a> )
+00106 {
+00107 <a class="code" href="a04199.html#a1">nlinfo</a>(<span class="stringliteral">"variable \"%s\" value is now %f"</span>,<a class="code" href="a02820.html#NLLOGIC_1_1CLogicVariablep0">_Name</a>.c_str(),(<span class="keywordtype">double</span>)<a class="code" href="a02820.html#NLLOGIC_1_1CLogicVariablep1">_Value</a>);
+00108 }
+00109
+00110 } <span class="comment">// applyModification //</span>
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NLLOGIC_1_1CLogicVariablea2" doxytag="NLLOGIC::CLogicVariable::getName" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> std::string NLLOGIC::CLogicVariable::getName </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">void&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap> const<code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Get the variable name<p>
+<dl compact><dt><b>Returns:</b></dt><dd>the name of the variable</dd></dl>
+
+<p>
+Definition at line <a class="el" href="a05957.html#l00076">76</a> of file <a class="el" href="a05957.html">logic_variable.h</a>.
+<p>
+Referenced by <a class="el" href="a05955.html#l00150">NLLOGIC::CLogicStateMachine::addCounter()</a>, and <a class="el" href="a05955.html#l00134">NLLOGIC::CLogicStateMachine::addVariable()</a>.
+<p>
+<div class="fragment"><pre>00076 { <span class="keywordflow">return</span> <a class="code" href="a02820.html#NLLOGIC_1_1CLogicVariablep0">_Name</a>; }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NLLOGIC_1_1CLogicVariablea3" doxytag="NLLOGIC::CLogicVariable::getValue" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="a04558.html#a12">sint64</a> NLLOGIC::CLogicVariable::getValue </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap> const<code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Get the variable value<p>
+<dl compact><dt><b>Returns:</b></dt><dd>the variable's value</dd></dl>
+
+<p>
+Definition at line <a class="el" href="a05957.html#l00090">90</a> of file <a class="el" href="a05957.html">logic_variable.h</a>.
+<p>
+References <a class="el" href="a05981.html#l00101">sint64</a>.
+<p>
+Referenced by <a class="el" href="a05956.html#l00248">NLLOGIC::CLogicCounter::manageRunningMode()</a>, <a class="el" href="a05946.html#l00061">NLLOGIC::CLogicComparisonBlock::testLogic()</a>, <a class="el" href="a05956.html#l00194">NLLOGIC::CLogicCounter::update()</a>, and <a class="el" href="a05956.html#l00372">NLLOGIC::CLogicCounter::write()</a>.
+<p>
+<div class="fragment"><pre>00090 { <span class="keywordflow">return</span> <a class="code" href="a02820.html#NLLOGIC_1_1CLogicVariablep1">_Value</a>; }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NLLOGIC_1_1CLogicVariablea4" doxytag="NLLOGIC::CLogicVariable::processLogic" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NLLOGIC::CLogicVariable::processLogic </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap><code> [virtual]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+update the variable
+<p>
+Definition at line <a class="el" href="a05956.html#l00117">117</a> of file <a class="el" href="a05956.html">logic_variable.cpp</a>.
+<p>
+<div class="fragment"><pre>00118 {
+00119
+00120
+00121 } <span class="comment">// processLogic //</span>
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NLLOGIC_1_1CLogicVariablea5" doxytag="NLLOGIC::CLogicVariable::read" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NLLOGIC::CLogicVariable::read </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">xmlNodePtr&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>node</em> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap><code> [virtual]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Reimplemented in <a class="el" href="a02819.html#NLLOGIC_1_1CLogicCountera6">NLLOGIC::CLogicCounter</a>.
+<p>
+Definition at line <a class="el" href="a05956.html#l00147">147</a> of file <a class="el" href="a05956.html">logic_variable.cpp</a>.
+<p>
+References <a class="el" href="a05957.html#l00055">_Verbose</a>, <a class="el" href="a05954.html#l00072">NLLOGIC::getXMLProp()</a>, and <a class="el" href="a05954.html#l00042">NLLOGIC::xmlCheckNodeName()</a>.
+<p>
+<div class="fragment"><pre>00148 {
+00149 <a class="code" href="a05376.html#a2">xmlCheckNodeName</a> (node, <span class="stringliteral">"VARIABLE"</span>);
+00150
+00151 <a class="code" href="a02820.html#NLLOGIC_1_1CLogicVariablep0">_Name</a> = <a class="code" href="a05376.html#a3">getXMLProp</a> (node, <span class="stringliteral">"Name"</span>);
+00152 <a class="code" href="a02820.html#NLLOGIC_1_1CLogicVariablep1">_Value</a> = <a class="code" href="a05364.html#a43">atoiInt64</a> (getXMLProp (node, <span class="stringliteral">"Value"</span>).c_str());
+00153 <a class="code" href="a02820.html#NLLOGIC_1_1CLogicVariablep2">_Verbose</a> = atoi(getXMLProp (node, <span class="stringliteral">"Verbose"</span>).c_str()) == 1;
+00154 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NLLOGIC_1_1CLogicVariablea6" doxytag="NLLOGIC::CLogicVariable::setName" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NLLOGIC::CLogicVariable::setName </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">std::string&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>name</em> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap><code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Set the variable name<p>
+<dl compact><dt><b>Parameters:</b></dt><dd>
+ <table border="0" cellspacing="2" cellpadding="0">
+ <tr><td valign=top><em>name</em>&nbsp;</td><td>is the name of the variable</td></tr>
+ </table>
+</dl>
+
+<p>
+Definition at line <a class="el" href="a05957.html#l00069">69</a> of file <a class="el" href="a05957.html">logic_variable.h</a>.
+<p>
+Referenced by <a class="el" href="a05956.html#l00160">NLLOGIC::CLogicCounter::CLogicCounter()</a>.
+<p>
+<div class="fragment"><pre>00069 { <a class="code" href="a02820.html#NLLOGIC_1_1CLogicVariablep0">_Name</a> = name; }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NLLOGIC_1_1CLogicVariablea7" doxytag="NLLOGIC::CLogicVariable::setValue" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NLLOGIC::CLogicVariable::setValue </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a12">sint64</a>&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>value</em> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Set the variable value<p>
+<dl compact><dt><b>Parameters:</b></dt><dd>
+ <table border="0" cellspacing="2" cellpadding="0">
+ <tr><td valign=top><em>value</em>&nbsp;</td><td>is the new value of the variable</td></tr>
+ </table>
+</dl>
+
+<p>
+Definition at line <a class="el" href="a05956.html#l00056">56</a> of file <a class="el" href="a05956.html">logic_variable.cpp</a>.
+<p>
+References <a class="el" href="a05957.html#l00055">_Verbose</a>, <a class="el" href="a05622.html#l00111">nlinfo</a>, <a class="el" href="a05981.html#l00101">sint64</a>, and <a class="el" href="a05646.html#l01132">value</a>.
+<p>
+Referenced by <a class="el" href="a05956.html#l00160">NLLOGIC::CLogicCounter::CLogicCounter()</a>, <a class="el" href="a05956.html#l00248">NLLOGIC::CLogicCounter::manageRunningMode()</a>, <a class="el" href="a05956.html#l00387">NLLOGIC::CLogicCounter::read()</a>, and <a class="el" href="a05956.html#l00194">NLLOGIC::CLogicCounter::update()</a>.
+<p>
+<div class="fragment"><pre>00057 {
+00058 <a class="code" href="a02820.html#NLLOGIC_1_1CLogicVariablep1">_Value</a> = <a class="code" href="a04223.html#a658">value</a>;
+00059
+00060 <span class="keywordflow">if</span>( <a class="code" href="a02820.html#NLLOGIC_1_1CLogicVariablep2">_Verbose</a> )
+00061 {
+00062 <a class="code" href="a04199.html#a1">nlinfo</a>(<span class="stringliteral">"variable \"%s\" value is now %f"</span>,<a class="code" href="a02820.html#NLLOGIC_1_1CLogicVariablep0">_Name</a>.c_str(),(<span class="keywordtype">double</span>)<a class="code" href="a02820.html#NLLOGIC_1_1CLogicVariablep1">_Value</a>);
+00063 }
+00064
+00065 } <span class="comment">// setValue //</span>
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NLLOGIC_1_1CLogicVariablea8" doxytag="NLLOGIC::CLogicVariable::setVerbose" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NLLOGIC::CLogicVariable::setVerbose </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">bool&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>b</em> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap><code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Set the verbose mode active or inactive<p>
+<dl compact><dt><b>Parameters:</b></dt><dd>
+ <table border="0" cellspacing="2" cellpadding="0">
+ <tr><td valign=top><em>varName</em>&nbsp;</td><td>is the name of the variable </td></tr>
+ <tr><td valign=top><em>b</em>&nbsp;</td><td>is true to activate the verbose mode, false else</td></tr>
+ </table>
+</dl>
+
+<p>
+Definition at line <a class="el" href="a05957.html#l00098">98</a> of file <a class="el" href="a05957.html">logic_variable.h</a>.
+<p>
+References <a class="el" href="a05957.html#l00055">_Verbose</a>.
+<p>
+<div class="fragment"><pre>00098 { <a class="code" href="a02820.html#NLLOGIC_1_1CLogicVariablep2">_Verbose</a> = b; }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NLLOGIC_1_1CLogicVariablea9" doxytag="NLLOGIC::CLogicVariable::write" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NLLOGIC::CLogicVariable::write </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">xmlNodePtr&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>node</em> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap> const<code> [virtual]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+serial
+<p>
+Reimplemented in <a class="el" href="a02819.html#NLLOGIC_1_1CLogicCountera11">NLLOGIC::CLogicCounter</a>.
+<p>
+Definition at line <a class="el" href="a05956.html#l00139">139</a> of file <a class="el" href="a05956.html">logic_variable.cpp</a>.
+<p>
+References <a class="el" href="a05957.html#l00055">_Verbose</a>.
+<p>
+<div class="fragment"><pre>00140 {
+00141 xmlNodePtr elmPtr = xmlNewChild ( node, NULL, (<span class="keyword">const</span> xmlChar*)<span class="stringliteral">"VARIABLE"</span>, NULL);
+00142 xmlSetProp (elmPtr, (<span class="keyword">const</span> xmlChar*)<span class="stringliteral">"Name"</span>, (<span class="keyword">const</span> xmlChar*)<a class="code" href="a02820.html#NLLOGIC_1_1CLogicVariablep0">_Name</a>.c_str());
+00143 xmlSetProp (elmPtr, (<span class="keyword">const</span> xmlChar*)<span class="stringliteral">"Value"</span>, (<span class="keyword">const</span> xmlChar*)<a class="code" href="a05378.html#a244">toString</a>(_Value).c_str());
+00144 xmlSetProp (elmPtr, (<span class="keyword">const</span> xmlChar*)<span class="stringliteral">"Verbose"</span>, (<span class="keyword">const</span> xmlChar*)<a class="code" href="a05378.html#a244">toString</a>(_Verbose).c_str());
+00145 }
+</pre></div> </td>
+ </tr>
+</table>
+<hr><h2>Field Documentation</h2>
+<a class="anchor" name="NLLOGIC_1_1CLogicVariablep0" doxytag="NLLOGIC::CLogicVariable::_Name" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> std::string <a class="el" href="a02820.html#NLLOGIC_1_1CLogicVariablep0">NLLOGIC::CLogicVariable::_Name</a><code> [protected]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+variable name
+<p>
+
+<p>
+Definition at line <a class="el" href="a05957.html#l00052">52</a> of file <a class="el" href="a05957.html">logic_variable.h</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NLLOGIC_1_1CLogicVariablep1" doxytag="NLLOGIC::CLogicVariable::_Value" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="a04558.html#a12">sint64</a> <a class="el" href="a02820.html#NLLOGIC_1_1CLogicVariablep1">NLLOGIC::CLogicVariable::_Value</a><code> [protected]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+variable value
+<p>
+
+<p>
+Definition at line <a class="el" href="a05957.html#l00049">49</a> of file <a class="el" href="a05957.html">logic_variable.h</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NLLOGIC_1_1CLogicVariablep2" doxytag="NLLOGIC::CLogicVariable::_Verbose" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> bool <a class="el" href="a02820.html#NLLOGIC_1_1CLogicVariablep2">NLLOGIC::CLogicVariable::_Verbose</a><code> [protected]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+true if verbose mode is active
+<p>
+
+<p>
+Definition at line <a class="el" href="a05957.html#l00055">55</a> of file <a class="el" href="a05957.html">logic_variable.h</a>.
+<p>
+Referenced by <a class="el" href="a05956.html#l00073">applyModification()</a>, <a class="el" href="a05956.html#l00042">CLogicVariable()</a>, <a class="el" href="a05956.html#l00147">read()</a>, <a class="el" href="a05956.html#l00056">setValue()</a>, <a class="el" href="a05957.html#l00098">setVerbose()</a>, and <a class="el" href="a05956.html#l00139">write()</a>. </td>
+ </tr>
+</table>
+<hr>The documentation for this class was generated from the following files:<ul>
+<li><a class="el" href="a05957.html">logic_variable.h</a><li><a class="el" href="a05956.html">logic_variable.cpp</a></ul>
+<hr size="1"><address style="align: right;"><small>Generated on Tue Mar 16 12:54:45 2004 for NeL by
+<a href="http://www.doxygen.org/index.html">
+<img src="doxygen.png" alt="doxygen" align="middle" border=0 >
+</a>1.3.6 </small></address>
+</body>
+</html>