diff options
author | neodarz <neodarz@neodarz.net> | 2018-08-11 20:21:34 +0200 |
---|---|---|
committer | neodarz <neodarz@neodarz.net> | 2018-08-11 20:21:34 +0200 |
commit | 0ea5fc66924303d1bf73ba283a383e2aadee02f2 (patch) | |
tree | 2568e71a7ccc44ec23b8bb3f0ff97fb6bf2ed709 /docs/doxygen/nel/a03025.html | |
download | nevrax-website-self-hostable-0ea5fc66924303d1bf73ba283a383e2aadee02f2.tar.xz nevrax-website-self-hostable-0ea5fc66924303d1bf73ba283a383e2aadee02f2.zip |
Initial commit
Diffstat (limited to '')
-rw-r--r-- | docs/doxygen/nel/a03025.html | 8778 |
1 files changed, 8778 insertions, 0 deletions
diff --git a/docs/doxygen/nel/a03025.html b/docs/doxygen/nel/a03025.html new file mode 100644 index 00000000..4ee9e014 --- /dev/null +++ b/docs/doxygen/nel/a03025.html @@ -0,0 +1,8778 @@ +<!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: NLAISCRIPT::COperatorClass 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 Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Data Structures</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Data Fields</a> | <a class="qindex" href="globals.html">Globals</a> | <a class="qindex" href="pages.html">Related Pages</a> | <span class="search"><u>S</u>earch for <input class="search" type="text" name="query" value="" size="20" accesskey="s"/></span></form></div> +<h1>NLAISCRIPT::COperatorClass Class Reference</h1><code>#include <<a class="el" href="a05856.html">interpret_object_operator.h</a>></code> +<p> +<p>Inheritance diagram for NLAISCRIPT::COperatorClass: +<p><center><img src="a03025.png" usemap="#NLAISCRIPT::COperatorClass_map" border="0" alt=""></center> +<map name="NLAISCRIPT::COperatorClass_map"> +<area href="a02167.html" alt="NLAISCRIPT::CAgentClass" shape="rect" coords="0,504,183,528"> +<area href="a02168.html" alt="NLAISCRIPT::IAgentMultiClass" shape="rect" coords="0,448,183,472"> +<area href="a02169.html" alt="NLAISCRIPT::IClassInterpret" shape="rect" coords="0,392,183,416"> +<area href="a02149.html" alt="NLAIAGENT::IObjectIA" shape="rect" coords="0,336,183,360"> +<area href="a02153.html" alt="NLAIAGENT::IBasicObjectIA" shape="rect" coords="0,280,183,304"> +<area href="a02154.html" alt="NLAIC::IBasicInterface" shape="rect" coords="0,224,183,248"> +<area href="a02151.html" alt="NLAIC::IBasicType" shape="rect" coords="0,168,183,192"> +<area href="a02145.html" alt="NLAIC::IPointerGestion" shape="rect" coords="0,112,183,136"> +<area href="a02867.html" alt="NLMISC::IStreamable" shape="rect" coords="0,56,183,80"> +<area href="a02540.html" alt="NLMISC::IClassable" shape="rect" coords="0,0,183,24"> +</map> +<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 </td><td class="memItemRight" valign=bottom><a class="el" href="a03025.html#NLAISCRIPT_1_1COperatorClassa0">activatePostConditions</a> (<a class="el" href="a02149.html">NLAIAGENT::IObjectIA</a> *)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03025.html#NLAISCRIPT_1_1COperatorClassa1">addBoolConc</a> (const <a class="el" href="a02661.html">NLAIAGENT::IVarName</a> *)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03025.html#NLAISCRIPT_1_1COperatorClassa2">addBoolCond</a> (const <a class="el" href="a02661.html">NLAIAGENT::IVarName</a> *)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Add first order patterns as preconditions or postconditions. <a href="#NLAISCRIPT_1_1COperatorClassa2"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03025.html#NLAISCRIPT_1_1COperatorClassa3">addCodeConc</a> (<a class="el" href="a03846.html">IOpCode</a> *)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">PostConditions code is code that will be executed upon completion of the execution of the operator. <a href="#NLAISCRIPT_1_1COperatorClassa3"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03025.html#NLAISCRIPT_1_1COperatorClassa4">addCodeCond</a> (<a class="el" href="a03846.html">IOpCode</a> *)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03025.html#NLAISCRIPT_1_1COperatorClassa5">addFirstOrderConc</a> (const <a class="el" href="a02661.html">NLAIAGENT::IVarName</a> *, std::list< const <a class="el" href="a02661.html">NLAIAGENT::IVarName</a> * > &)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03025.html#NLAISCRIPT_1_1COperatorClassa6">addFirstOrderCond</a> (const <a class="el" href="a02661.html">NLAIAGENT::IVarName</a> *, std::list< const <a class="el" href="a02661.html">NLAIAGENT::IVarName</a> * > &)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Add first order patterns as preconditions or postconditions. <a href="#NLAISCRIPT_1_1COperatorClassa6"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03025.html#NLAISCRIPT_1_1COperatorClassa7">addFuzzyCond</a> (<a class="el" href="a02661.html">NLAIAGENT::IVarName</a> *, <a class="el" href="a02661.html">NLAIAGENT::IVarName</a> *)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03025.html#NLAISCRIPT_1_1COperatorClassa8">addPostcondition</a> (<a class="el" href="a02505.html">NLAILOGIC::CFactPattern</a> *)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03025.html#NLAISCRIPT_1_1COperatorClassa9">addPrecondition</a> (<a class="el" href="a02505.html">NLAILOGIC::CFactPattern</a> *)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual std::list< <a class="el" href="a02499.html">NLAILOGIC::CFact</a> * > * </td><td class="memItemRight" valign=bottom><a class="el" href="a03025.html#NLAISCRIPT_1_1COperatorClassa10">backward</a> (std::list< <a class="el" href="a02499.html">NLAILOGIC::CFact</a> * > &)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a02499.html">NLAILOGIC::CFact</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="a03025.html#NLAISCRIPT_1_1COperatorClassa11">buildFromVars</a> (<a class="el" href="a02284.html">NLAILOGIC::IBaseAssert</a> *, std::vector< <a class="el" href="a04558.html#a10">sint32</a> > &, <a class="el" href="a02500.html">NLAILOGIC::CValueSet</a> *)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03025.html#NLAISCRIPT_1_1COperatorClassa12">buildLogicTables</a> ()</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Compiles the conds and concs internaly. <a href="#NLAISCRIPT_1_1COperatorClassa12"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="a02149.html">NLAIAGENT::IObjectIA</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="a03025.html#NLAISCRIPT_1_1COperatorClassa13">buildNewInstance</a> () const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Instanciates an object of the class. <a href="#NLAISCRIPT_1_1COperatorClassa13"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual TQueue </td><td class="memItemRight" valign=bottom><a class="el" href="a02149.html#NLAIAGENT_1_1VectorTypea0">canProcessMessage</a> (const IVarName &)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="a04558.html#a10">sint32</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a03025.html#NLAISCRIPT_1_1COperatorClassa15">checkTriggerMsg</a> (const <a class="el" href="a02325.html">NLAIAGENT::IMessageBase</a> *)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a02167.html#NLAISCRIPT_1_1CSuccessMsgClassa1">classIsMounted</a> ()</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Registers a new static component. <a href="#NLAISCRIPT_1_1CSuccessMsgClassa1"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="a02151.html">NLAIC::IBasicType</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="a03025.html#NLAISCRIPT_1_1COperatorClassa17">clone</a> () const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03025.html#NLAISCRIPT_1_1COperatorClassa18">compileFactPattern</a> (<a class="el" href="a02505.html">NLAILOGIC::CFactPattern</a> *, std::vector< <a class="el" href="a02284.html">NLAILOGIC::IBaseAssert</a> * > &, std::vector< <a class="el" href="a04558.html#a10">sint32</a> > &)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Transforms a CFactPattern in an assert and a list of variable positions in the operator. <a href="#NLAISCRIPT_1_1COperatorClassa18"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="a03025.html#NLAISCRIPT_1_1COperatorClassa19">COperatorClass</a> ()</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="a03025.html#NLAISCRIPT_1_1COperatorClassa20">COperatorClass</a> (const <a class="el" href="a03025.html">COperatorClass</a> &)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="a03025.html#NLAISCRIPT_1_1COperatorClassa21">COperatorClass</a> (const <a class="el" href="a02661.html">NLAIAGENT::IVarName</a> &, const <a class="el" href="a02661.html">NLAIAGENT::IVarName</a> &)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="a03025.html#NLAISCRIPT_1_1COperatorClassa22">COperatorClass</a> (const <a class="el" href="a02650.html">NLAIC::CIdentType</a> &)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="a03025.html#NLAISCRIPT_1_1COperatorClassa23">COperatorClass</a> (const <a class="el" href="a02661.html">NLAIAGENT::IVarName</a> &)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a02167.html#NLAISCRIPT_1_1CSuccessMsgClassa2">createBaseClassComponents</a> (std::list< <a class="el" href="a02149.html">NLAIAGENT::IObjectIA</a> * > &) const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Build the bases classes for a new instance, including inherited ones. <a href="#NLAISCRIPT_1_1CSuccessMsgClassa2"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a02167.html#NLAISCRIPT_1_1CSuccessMsgClassa3">createComponents</a> (std::list< <a class="el" href="a02149.html">NLAIAGENT::IObjectIA</a> * > &) const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Build the class static components for a new instance, including inherited ones. <a href="#NLAISCRIPT_1_1CSuccessMsgClassa3"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a10">sint32</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02145.html#NLAIAGENT_1_1VectorTypea2">decRef</a> ()</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Decrement the reference of an object. <a href="#NLAIAGENT_1_1VectorTypea2"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a03025.html#NLAISCRIPT_1_1COperatorClassa27">failure</a> (<a class="el" href="a02288.html">NLAILOGIC::IBaseOperator</a> *)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a03025.html#NLAISCRIPT_1_1COperatorClassa28">failure</a> ()</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a10">sint32</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02167.html#NLAISCRIPT_1_1CSuccessMsgClassa8">findMethod</a> (const <a class="el" href="a02661.html">NLAIAGENT::IVarName</a> &name, const <a class="el" href="a03039.html">CParam</a> &<a class="el" href="a03039.html">CParam</a>) const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual std::list< <a class="el" href="a02499.html">NLAILOGIC::CFact</a> * > * </td><td class="memItemRight" valign=bottom><a class="el" href="a03025.html#NLAISCRIPT_1_1COperatorClassa30">forward</a> (std::list< <a class="el" href="a02499.html">NLAILOGIC::CFact</a> * > &)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03025.html#NLAISCRIPT_1_1COperatorClassa31">getAssertPos</a> (<a class="el" href="a02284.html">NLAILOGIC::IBaseAssert</a> *, std::vector< <a class="el" href="a02284.html">NLAILOGIC::IBaseAssert</a> * > &, std::vector< <a class="el" href="a04558.html#a10">sint32</a> > &)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a10">sint32</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02168.html#NLAISCRIPT_1_1IAgentMultiClassa7">getBaseMethodCount</a> () const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Get the base method count. <a href="#NLAISCRIPT_1_1IAgentMultiClassa7"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a02149.html">NLAIAGENT::IObjectIA</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="a02168.html#NLAISCRIPT_1_1IAgentMultiClassa8">getBaseObjectInstance</a> () const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Get the C++ base class representative pointer. <a href="#NLAISCRIPT_1_1IAgentMultiClassa8"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="a04558.html#a10">sint32</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02167.html#NLAISCRIPT_1_1CSuccessMsgClassa11">getChildMessageIndex</a> (const <a class="el" href="a02325.html">NLAIAGENT::IMessageBase</a> *, <a class="el" href="a04558.html#a10">sint32</a>)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual const <a class="el" href="a02661.html">NLAIAGENT::IVarName</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="a02169.html#NLAISCRIPT_1_1IClassInterpreta7">getClassName</a> () const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the name of the class in the registry. <a href="#NLAISCRIPT_1_1IClassInterpreta7"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="a02395.html">CComponent</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="a02167.html#NLAISCRIPT_1_1CSuccessMsgClassa13">getComponent</a> (const <a class="el" href="a02661.html">NLAIAGENT::IVarName</a> &name) const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="a02395.html">CComponent</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="a02167.html#NLAISCRIPT_1_1CSuccessMsgClassa14">getComponent</a> (<a class="el" href="a04558.html#a10">sint32</a> i) const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="a04558.html#a10">sint32</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02167.html#NLAISCRIPT_1_1CSuccessMsgClassa15">getComponentIndex</a> (const <a class="el" href="a02661.html">NLAIAGENT::IVarName</a> &) const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual const char * </td><td class="memItemRight" valign=bottom><a class="el" href="a02167.html#NLAISCRIPT_1_1CSuccessMsgClassa16">getComponentName</a> (<a class="el" href="a04558.html#a10">sint32</a>) const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Gets the name of the components with an offset reference. <a href="#NLAISCRIPT_1_1CSuccessMsgClassa16"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>std::vector< <a class="el" href="a02284.html">NLAILOGIC::IBaseAssert</a> * > & </td><td class="memItemRight" valign=bottom><a class="el" href="a03025.html#NLAISCRIPT_1_1COperatorClassa40">getConcs</a> ()</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>std::vector< <a class="el" href="a02284.html">NLAILOGIC::IBaseAssert</a> * > & </td><td class="memItemRight" valign=bottom><a class="el" href="a03025.html#NLAISCRIPT_1_1COperatorClassa41">getConds</a> ()</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a10">sint32</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02167.html#NLAISCRIPT_1_1CSuccessMsgClassa17">getConstructorIndex</a> ()</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a03025.html#NLAISCRIPT_1_1COperatorClassa43">getDebugString</a> (std::string &) const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>std::vector< <a class="el" href="a02661.html">NLAIAGENT::IVarName</a> * > & </td><td class="memItemRight" valign=bottom><a class="el" href="a03025.html#NLAISCRIPT_1_1COperatorClassa44">getFuzzySets</a> ()</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>std::vector< <a class="el" href="a02661.html">NLAIAGENT::IVarName</a> * > & </td><td class="memItemRight" valign=bottom><a class="el" href="a03025.html#NLAISCRIPT_1_1COperatorClassa45">getFuzzyVars</a> ()</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual const <a class="el" href="a02594.html">NLAILOGIC::CGoal</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="a03025.html#NLAISCRIPT_1_1COperatorClassa46">getGoal</a> ()</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>std::vector< <a class="el" href="a04558.html#a10">sint32</a> > & </td><td class="memItemRight" valign=bottom><a class="el" href="a03025.html#NLAISCRIPT_1_1COperatorClassa47">getGoalVarPos</a> ()</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual const std::string </td><td class="memItemRight" valign=bottom><a class="el" href="a02151.html#NLAIAGENT_1_1VectorTypea4">getInfo</a> ()</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual const <a class="el" href="a02169.html">IClassInterpret</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="a02167.html#NLAISCRIPT_1_1CSuccessMsgClassa19">getInheritance</a> (<a class="el" href="a04558.html#a10">sint32</a> n) const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Return a pointer represent the inheritance range n, the inheritance graph are represented by a vector. <a href="#NLAISCRIPT_1_1CSuccessMsgClassa19"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a10">sint32</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02167.html#NLAISCRIPT_1_1CSuccessMsgClassa20">getInheritedStaticMemberIndex</a> (const <a class="el" href="a02661.html">NLAIAGENT::IVarName</a> &) const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual std::string </td><td class="memItemRight" valign=bottom><a class="el" href="a02149.html#NLAIAGENT_1_1VectorTypea5">getMethodeMemberDebugString</a> (<a class="el" href="a04558.html#a10">sint32</a>, <a class="el" href="a04558.html#a10">sint32</a>) const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="a02661.html">NLAIAGENT::IVarName</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="a02169.html#NLAISCRIPT_1_1IClassInterpreta18">getName</a> () const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03025.html#NLAISCRIPT_1_1COperatorClassa53">getPosListBackward</a> (<a class="el" href="a04558.html#a10">sint32</a>, <a class="el" href="a04558.html#a10">sint32</a>, std::vector< <a class="el" href="a04558.html#a10">sint32</a> > &)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03025.html#NLAISCRIPT_1_1COperatorClassa54">getPosListForward</a> (<a class="el" href="a04558.html#a10">sint32</a>, <a class="el" href="a04558.html#a10">sint32</a>, std::vector< <a class="el" href="a04558.html#a10">sint32</a> > &)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>std::vector< std::vector<<br> + <a class="el" href="a04558.html#a10">sint32</a> > > & </td><td class="memItemRight" valign=bottom><a class="el" href="a03025.html#NLAISCRIPT_1_1COperatorClassa55">getPosVarsConcs</a> ()</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>std::vector< std::vector<<br> + <a class="el" href="a04558.html#a10">sint32</a> > > & </td><td class="memItemRight" valign=bottom><a class="el" href="a03025.html#NLAISCRIPT_1_1COperatorClassa56">getPosVarsConds</a> ()</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>float </td><td class="memItemRight" valign=bottom><a class="el" href="a03025.html#NLAISCRIPT_1_1COperatorClassa57">getPriority</a> () const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="a04558.html#a10">sint32</a> & </td><td class="memItemRight" valign=bottom><a class="el" href="a02145.html#NLAIAGENT_1_1VectorTypea8">getRef</a> () const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">get the refence count. <a href="#NLAIAGENT_1_1VectorTypea8"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="a02149.html">NLAIAGENT::IObjectIA</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="a02167.html#NLAISCRIPT_1_1CSuccessMsgClassa24">getStaticComponentValue</a> (std::string &)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>const IObjectIA * </td><td class="memItemRight" valign=bottom><a class="el" href="a02149.html#NLAIAGENT_1_1VectorTypea9">getStaticMember</a> (const IVarName &compName) const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual const <a class="el" href="a02149.html">NLAIAGENT::IObjectIA</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="a02167.html#NLAISCRIPT_1_1CSuccessMsgClassa26">getStaticMember</a> (<a class="el" href="a04558.html#a10">sint32</a>) const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="a04558.html#a10">sint32</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02149.html#NLAIAGENT_1_1VectorTypea11">getStaticMemberIndex</a> (const IVarName &) const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="a04558.html#a10">sint32</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02167.html#NLAISCRIPT_1_1CSuccessMsgClassa28">getStaticMemberIndex</a> (const <a class="el" href="a02661.html">NLAIAGENT::IVarName</a> &) const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="a04558.html#a10">sint32</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02167.html#NLAISCRIPT_1_1CSuccessMsgClassa29">getStaticMemberSize</a> () const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">returns the number of static members specific to the class (not the inherited ones) <a href="#NLAISCRIPT_1_1CSuccessMsgClassa29"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual const <a class="el" href="a02650.html">NLAIC::CIdentType</a> & </td><td class="memItemRight" valign=bottom><a class="el" href="a02169.html#NLAISCRIPT_1_1IClassInterpreta26">getType</a> () const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="a03625.html">NLAIC::CTypeOfObject</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02167.html#NLAISCRIPT_1_1CSeqFsmClassa41">getTypeClass</a> () const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a10">sint32</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a03025.html#NLAISCRIPT_1_1COperatorClassa67">getUpdateEvery</a> ()</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a10">sint32</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a03025.html#NLAISCRIPT_1_1COperatorClassa68">getVarPos</a> (<a class="el" href="a02575.html">NLAILOGIC::IBaseVar</a> *)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Looks for a variable in the operator's variables vector and returns its position. <a href="#NLAISCRIPT_1_1COperatorClassa68"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>std::vector< <a class="el" href="a02575.html">NLAILOGIC::IBaseVar</a> * > & </td><td class="memItemRight" valign=bottom><a class="el" href="a03025.html#NLAISCRIPT_1_1COperatorClassa69">getVars</a> ()</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a02145.html#NLAIAGENT_1_1VectorTypea16">incRef</a> ()</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Inc a reference. We use this when we have to conserve a pointer memeory for exemple in a list. <a href="#NLAIAGENT_1_1VectorTypea16"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a02149.html#NLAIAGENT_1_1VectorTypea17">init</a> (IObjectIA *)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03025.html#NLAISCRIPT_1_1COperatorClassa72">initialiseFactBase</a> (<a class="el" href="a02501.html">NLAILOGIC::CFactBase</a> *)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a02167.html#NLAISCRIPT_1_1CSuccessMsgClassa33">initStatics</a> ()</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="a04558.html#a10">sint32</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02149.html#NLAICHARACTER_1_1IZonea25">isClassInheritedFrom</a> (const IVarName &) const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool </td><td class="memItemRight" valign=bottom><a class="el" href="a02153.html#NLAICHARACTER_1_1IZonea26">isEqual</a> (const IBasicObjectIA &a) const=0</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool </td><td class="memItemRight" valign=bottom><a class="el" href="a02167.html#NLAISCRIPT_1_1CSuccessMsgClassa36">isEqual</a> (const <a class="el" href="a02153.html">NLAIAGENT::IBasicObjectIA</a> &a) const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool </td><td class="memItemRight" valign=bottom><a class="el" href="a02149.html#NLAIAGENT_1_1VectorTypea20">isLocal</a> ()</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">If the result is true the object is loclal else its a representation of an object on the server. By the method return true. <a href="#NLAIAGENT_1_1VectorTypea20"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual TQueue </td><td class="memItemRight" valign=bottom><a class="el" href="a02149.html#NLAICHARACTER_1_1IZonea29">isMember</a> (const IVarName *, const IVarName *, const IObjectIA &) const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool </td><td class="memItemRight" valign=bottom><a class="el" href="a03025.html#NLAISCRIPT_1_1COperatorClassa79">isValid</a> (<a class="el" href="a02501.html">NLAILOGIC::CFactBase</a> *)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Verifies if the preconditions are validated. <a href="#NLAISCRIPT_1_1COperatorClassa79"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="a03025.html#NLAISCRIPT_1_1COperatorClassa80">isValidFonc</a> (<a class="el" href="a02149.html">NLAIAGENT::IObjectIA</a> *)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a02167.html#NLAISCRIPT_1_1CSuccessMsgClassa39">load</a> (<a class="el" href="a02270.html">NLMISC::IStream</a> &)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a10">sint32</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a03025.html#NLAISCRIPT_1_1COperatorClassa82">NbMsgTrigger</a> ()</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="a02151.html">NLAIC::IBasicType</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="a03025.html#NLAISCRIPT_1_1COperatorClassa83">newInstance</a> () const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="a02153.html#NLAIAGENT_1_1VectorTypea42">operator==</a> (const IBasicObjectIA &classType) const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual float </td><td class="memItemRight" valign=bottom><a class="el" href="a03025.html#NLAISCRIPT_1_1COperatorClassa85">priority</a> () const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Priority of the operator. <a href="#NLAISCRIPT_1_1COperatorClassa85"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual std::list< <a class="el" href="a02499.html">NLAILOGIC::CFact</a> * > * </td><td class="memItemRight" valign=bottom><a class="el" href="a03025.html#NLAISCRIPT_1_1COperatorClassa86">propagate</a> (std::list< <a class="el" href="a02499.html">NLAILOGIC::CFact</a> * > &)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="a04558.html#a10">sint32</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02167.html#NLAISCRIPT_1_1CSuccessMsgClassa41">registerComponent</a> (const <a class="el" href="a02661.html">NLAIAGENT::IVarName</a> &type_name, const <a class="el" href="a03455.html">NLAIAGENT::CStringVarName</a> &field_name)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Adds a static component to an agent. <a href="#NLAISCRIPT_1_1CSuccessMsgClassa41"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual <a class="el" href="a04558.html#a10">sint32</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02167.html#NLAISCRIPT_1_1CSuccessMsgClassa42">registerComponent</a> (const <a class="el" href="a02661.html">NLAIAGENT::IVarName</a> &type_name)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Adds a static component to an agent. <a href="#NLAISCRIPT_1_1CSuccessMsgClassa42"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03025.html#NLAISCRIPT_1_1COperatorClassa89">RegisterMessage</a> (<a class="el" href="a02325.html#NLAIAGENT_1_1IMessageBasew24">NLAIAGENT::IMessageBase::TPerformatif</a>, const std::string &, const std::string &)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a02145.html#NLAIAGENT_1_1VectorTypea46">release</a> ()</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Release allow to release the pointer. The last release when the _Ref is nul delete the object. <a href="#NLAIAGENT_1_1VectorTypea46"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual const <a class="el" href="a03869.html">NLAIAGENT::IObjectIA::CProcessResult</a> & </td><td class="memItemRight" valign=bottom><a class="el" href="a02167.html#NLAISCRIPT_1_1CSuccessMsgClassa44">run</a> ()</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual CProcessResult </td><td class="memItemRight" valign=bottom><a class="el" href="a02149.html#NLAICHARACTER_1_1IZonea40">runMethodeMember</a> (<a class="el" href="a04558.html#a10">sint32</a> <a class="el" href="a04223.html#a566">index</a>, IObjectIA *)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual CProcessResult </td><td class="memItemRight" valign=bottom><a class="el" href="a02149.html#NLAICHARACTER_1_1IZonea41">runMethodeMember</a> (<a class="el" href="a04558.html#a10">sint32</a>, <a class="el" href="a04558.html#a10">sint32</a>, IObjectIA *)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual const CProcessResult & </td><td class="memItemRight" valign=bottom><a class="el" href="a02149.html#NLAIAGENT_1_1VectorTypea50">runStep</a> ()</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a02167.html#NLAISCRIPT_1_1CSuccessMsgClassa48">save</a> (<a class="el" href="a02270.html">NLMISC::IStream</a> &)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual CProcessResult </td><td class="memItemRight" valign=bottom><a class="el" href="a02149.html#NLAIAGENT_1_1VectorTypea52">sendMessage</a> (const IVarName &, IObjectIA *)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual CProcessResult </td><td class="memItemRight" valign=bottom><a class="el" href="a02149.html#NLAIAGENT_1_1VectorTypea53">sendMessage</a> (IObjectIA *)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a02154.html#NLAIAGENT_1_1VectorTypea54">serial</a> (<a class="el" href="a02270.html">NLMISC::IStream</a> &f) throw (NLMISC::EStream)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a02168.html#NLAISCRIPT_1_1IAgentMultiClassa51">setBaseMethodCount</a> (<a class="el" href="a04558.html#a10">sint32</a> n)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Set the base method count. <a href="#NLAISCRIPT_1_1IAgentMultiClassa51"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a02168.html#NLAISCRIPT_1_1IAgentMultiClassa52">setBaseObjectInstance</a> (<a class="el" href="a02149.html">NLAIAGENT::IObjectIA</a> *o)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Set the C++ base class representative pointer. We have to <a class="el" href="a02145.html#NLAIAGENT_1_1VectorTypea16">incRef()</a> before. <a href="#NLAISCRIPT_1_1IAgentMultiClassa52"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a02169.html#NLAISCRIPT_1_1IClassInterpreta50">setClassName</a> (const <a class="el" href="a02661.html">NLAIAGENT::IVarName</a> &)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03025.html#NLAISCRIPT_1_1COperatorClassa102">setComment</a> (char *)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the comment for the operator. <a href="#NLAISCRIPT_1_1COperatorClassa102"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a03025.html#NLAISCRIPT_1_1COperatorClassa103">setGoal</a> (const <a class="el" href="a02661.html">NLAIAGENT::IVarName</a> *, std::list< const <a class="el" href="a02661.html">NLAIAGENT::IVarName</a> * > &)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a03025.html#NLAISCRIPT_1_1COperatorClassa104">setGoal</a> (const <a class="el" href="a03455.html">NLAIAGENT::CStringVarName</a> &)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the goal the operator tries to achieve. <a href="#NLAISCRIPT_1_1COperatorClassa104"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03025.html#NLAISCRIPT_1_1COperatorClassa105">setPriority</a> (float p)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="a02149.html#NLAIAGENT_1_1VectorTypea56">setStaticMember</a> (const IVarName &compName, IObjectIA *change)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool </td><td class="memItemRight" valign=bottom><a class="el" href="a02167.html#NLAISCRIPT_1_1CSuccessMsgClassa56">setStaticMember</a> (<a class="el" href="a04558.html#a10">sint32</a>, <a class="el" href="a02149.html">NLAIAGENT::IObjectIA</a> *)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a02169.html#NLAISCRIPT_1_1IClassInterpreta55">setType</a> (const <a class="el" href="a02661.html">NLAIAGENT::IVarName</a> &, const <a class="el" href="a02169.html">IClassInterpret</a> &)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a02169.html#NLAISCRIPT_1_1IClassInterpreta56">setType</a> (<a class="el" href="a02650.html">NLAIC::CIdentType</a> *idType)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a03025.html#NLAISCRIPT_1_1COperatorClassa110">setUpdateEvery</a> (<a class="el" href="a04558.html#a10">sint32</a> cycles)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a03025.html#NLAISCRIPT_1_1COperatorClassa111">success</a> (<a class="el" href="a02288.html">NLAILOGIC::IBaseOperator</a> *)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a03025.html#NLAISCRIPT_1_1COperatorClassa112">success</a> ()</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual std::list< <a class="el" href="a02499.html">NLAILOGIC::CFact</a> * > * </td><td class="memItemRight" valign=bottom><a class="el" href="a03025.html#NLAISCRIPT_1_1COperatorClassa113">test</a> (std::list< <a class="el" href="a02499.html">NLAILOGIC::CFact</a> * > &)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a02500.html">NLAILOGIC::CValueSet</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="a03025.html#NLAISCRIPT_1_1COperatorClassa114">unifyBackward</a> (std::list< <a class="el" href="a02499.html">NLAILOGIC::CFact</a> * > &)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a02500.html">NLAILOGIC::CValueSet</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="a03025.html#NLAISCRIPT_1_1COperatorClassa115">unifyForward</a> (std::list< <a class="el" href="a02499.html">NLAILOGIC::CFact</a> * > &)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a02500.html">NLAILOGIC::CValueSet</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="a03025.html#NLAISCRIPT_1_1COperatorClassa116">unifyLiaison</a> (const <a class="el" href="a02500.html">NLAILOGIC::CValueSet</a> *, <a class="el" href="a02500.html">NLAILOGIC::CValueSet</a> *, std::vector< <a class="el" href="a04558.html#a10">sint32</a> > &)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Tries to unify an instaciation of the operator's variables with a new CFact. <a href="#NLAISCRIPT_1_1COperatorClassa116"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a02167.html#NLAISCRIPT_1_1CSuccessMsgClassa59">updateStaticMember</a> (<a class="el" href="a04558.html#a10">sint32</a>, <a class="el" href="a02149.html">NLAIAGENT::IObjectIA</a> *)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual </td><td class="memItemRight" valign=bottom><a class="el" href="a03025.html#NLAISCRIPT_1_1COperatorClassa118">~COperatorClass</a> ()</td></tr> + +<tr><td colspan=2><br><h2>Data Fields</h2></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>std::list< const <a class="el" href="a02661.html">NLAIAGENT::IVarName</a> * > </td><td class="memItemRight" valign=bottom><a class="el" href="a03025.html#NLAISCRIPT_1_1COperatorClasso0">_BooleanConcs</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>std::list< const <a class="el" href="a02661.html">NLAIAGENT::IVarName</a> * > </td><td class="memItemRight" valign=bottom><a class="el" href="a03025.html#NLAISCRIPT_1_1COperatorClasso1">_BooleanConds</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>std::vector< std::list< const <br> +<a class="el" href="a02661.html">NLAIAGENT::IVarName</a> * > * > </td><td class="memItemRight" valign=bottom><a class="el" href="a03025.html#NLAISCRIPT_1_1COperatorClasso2">_ClassConcVars</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>std::vector< std::list< const <br> +<a class="el" href="a02661.html">NLAIAGENT::IVarName</a> * > * > </td><td class="memItemRight" valign=bottom><a class="el" href="a03025.html#NLAISCRIPT_1_1COperatorClasso3">_ClassCondVars</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>std::vector< const <a class="el" href="a02661.html">NLAIAGENT::IVarName</a> * > </td><td class="memItemRight" valign=bottom><a class="el" href="a03025.html#NLAISCRIPT_1_1COperatorClasso4">_ConcAsserts</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>std::vector< <a class="el" href="a03846.html">IOpCode</a> * > </td><td class="memItemRight" valign=bottom><a class="el" href="a03025.html#NLAISCRIPT_1_1COperatorClasso5">_ConcCode</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>std::vector< const <a class="el" href="a02661.html">NLAIAGENT::IVarName</a> * > </td><td class="memItemRight" valign=bottom><a class="el" href="a03025.html#NLAISCRIPT_1_1COperatorClasso6">_CondAsserts</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>std::vector< <a class="el" href="a03846.html">IOpCode</a> * > </td><td class="memItemRight" valign=bottom><a class="el" href="a03025.html#NLAISCRIPT_1_1COperatorClasso7">_CondCode</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a02501.html">NLAILOGIC::CFactBase</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="a03025.html#NLAISCRIPT_1_1COperatorClasso8">_FactBase</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>std::vector< <a class="el" href="a02661.html">NLAIAGENT::IVarName</a> * > </td><td class="memItemRight" valign=bottom><a class="el" href="a03025.html#NLAISCRIPT_1_1COperatorClasso9">_FuzzySets</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>std::vector< <a class="el" href="a02661.html">NLAIAGENT::IVarName</a> * > </td><td class="memItemRight" valign=bottom><a class="el" href="a03025.html#NLAISCRIPT_1_1COperatorClasso10">_FuzzyVars</a></td></tr> + +<tr><td colspan=2><br><h2>Static Public Attributes</h2></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="a02650.html">NLAIC::CIdentType</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02167.html#NLAISCRIPT_1_1CSuccessMsgClasss0">IdAgentClass</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="a02650.html">NLAIC::CIdentType</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a03025.html#NLAISCRIPT_1_1COperatorClasss1">IdOperatorClass</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>TProcessStatement </td><td class="memItemRight" valign=bottom><a class="el" href="a02149.html#NLAIAGENT_1_1VectorTypes1">ProcessBuzzy</a> = processBuzzy</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>TProcessStatement </td><td class="memItemRight" valign=bottom><a class="el" href="a02149.html#NLAIAGENT_1_1VectorTypes2">ProcessEnd</a> = processEnd</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>TProcessStatement </td><td class="memItemRight" valign=bottom><a class="el" href="a02149.html#NLAIAGENT_1_1VectorTypes3">ProcessError</a> = processError</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>TProcessStatement </td><td class="memItemRight" valign=bottom><a class="el" href="a02149.html#NLAIAGENT_1_1VectorTypes4">ProcessIdle</a> = processIdle</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>TProcessStatement </td><td class="memItemRight" valign=bottom><a class="el" href="a02149.html#NLAIAGENT_1_1VectorTypes5">ProcessLocked</a> = processLocked</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>CProcessResult </td><td class="memItemRight" valign=bottom><a class="el" href="a02149.html#NLAIAGENT_1_1VectorTypes6">ProcessNotComplit</a> = IObjectIA::CProcessResult(processNotComplete)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>CProcessResult </td><td class="memItemRight" valign=bottom><a class="el" href="a02149.html#NLAIAGENT_1_1VectorTypes7">ProcessRun</a> = IObjectIA::CProcessResult()</td></tr> + +<tr><td colspan=2><br><h2>Protected Attributes</h2></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a02650.html">NLAIC::CIdentType</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="a02169.html#NLAISCRIPT_1_1IClassInterpretp0">_IdType</a></td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Type of the class. <a href="#NLAISCRIPT_1_1IClassInterpretp0"></a><br><br></td></tr> +<tr><td colspan=2><br><h2>Private Attributes</h2></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>char * </td><td class="memItemRight" valign=bottom><a class="el" href="a03025.html#NLAISCRIPT_1_1COperatorClassr0">_Comment</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>std::vector< <a class="el" href="a02284.html">NLAILOGIC::IBaseAssert</a> * > </td><td class="memItemRight" valign=bottom><a class="el" href="a03025.html#NLAISCRIPT_1_1COperatorClassr1">_Concs</a></td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Pos of a precondition pattern's vars in the operator's vars table. <a href="#NLAISCRIPT_1_1COperatorClassr1"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>std::vector< <a class="el" href="a02284.html">NLAILOGIC::IBaseAssert</a> * > </td><td class="memItemRight" valign=bottom><a class="el" href="a03025.html#NLAISCRIPT_1_1COperatorClassr2">_Conds</a></td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Variables of the operator. <a href="#NLAISCRIPT_1_1COperatorClassr2"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a02594.html">NLAILOGIC::CGoal</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="a03025.html#NLAISCRIPT_1_1COperatorClassr3">_Goal</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="a02661.html">NLAIAGENT::IVarName</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="a03025.html#NLAISCRIPT_1_1COperatorClassr4">_GoalAssert</a></td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Goal the operator tris to validate. <a href="#NLAISCRIPT_1_1COperatorClassr4"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>std::vector< <a class="el" href="a04558.html#a10">sint32</a> > </td><td class="memItemRight" valign=bottom><a class="el" href="a03025.html#NLAISCRIPT_1_1COperatorClassr5">_GoalPosVar</a></td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Name of the goal's vars. <a href="#NLAISCRIPT_1_1COperatorClassr5"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>std::list< const <a class="el" href="a02661.html">NLAIAGENT::IVarName</a> * > </td><td class="memItemRight" valign=bottom><a class="el" href="a03025.html#NLAISCRIPT_1_1COperatorClassr6">_GoalVars</a></td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Name of the goal's assert. <a href="#NLAISCRIPT_1_1COperatorClassr6"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>std::vector< std::vector<<br> + <a class="el" href="a04558.html#a10">sint32</a> > > </td><td class="memItemRight" valign=bottom><a class="el" href="a03025.html#NLAISCRIPT_1_1COperatorClassr7">_PosVarsConc</a></td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Postconditions asserts. <a href="#NLAISCRIPT_1_1COperatorClassr7"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>std::vector< std::vector<<br> + <a class="el" href="a04558.html#a10">sint32</a> > > </td><td class="memItemRight" valign=bottom><a class="el" href="a03025.html#NLAISCRIPT_1_1COperatorClassr8">_PosVarsCond</a></td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Preconditions asserts. <a href="#NLAISCRIPT_1_1COperatorClassr8"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>float </td><td class="memItemRight" valign=bottom><a class="el" href="a03025.html#NLAISCRIPT_1_1COperatorClassr9">_Priority</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>std::vector< <a class="el" href="a02594.html">NLAILOGIC::CGoal</a> > </td><td class="memItemRight" valign=bottom><a class="el" href="a03025.html#NLAISCRIPT_1_1COperatorClassr10">_Steps</a></td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Description of the operator. <a href="#NLAISCRIPT_1_1COperatorClassr10"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>std::vector< <a class="el" href="a04558.html#a10">sint32</a> > </td><td class="memItemRight" valign=bottom><a class="el" href="a03025.html#NLAISCRIPT_1_1COperatorClassr11">_StepsMode</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>std::vector< <a class="el" href="a02650.html">NLAIC::CIdentType</a> > </td><td class="memItemRight" valign=bottom><a class="el" href="a03025.html#NLAISCRIPT_1_1COperatorClassr12">_TrigMsgClass</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>std::vector< <a class="el" href="a02325.html#NLAIAGENT_1_1IMessageBasew24">NLAIAGENT::IMessageBase::TPerformatif</a> > </td><td class="memItemRight" valign=bottom><a class="el" href="a03025.html#NLAISCRIPT_1_1COperatorClassr13">_TrigMsgPerf</a></td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Pos of a postcondition pattern's vars in the operator's vars table. <a href="#NLAISCRIPT_1_1COperatorClassr13"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>std::vector< <a class="el" href="a04558.html#a10">sint32</a> > </td><td class="memItemRight" valign=bottom><a class="el" href="a03025.html#NLAISCRIPT_1_1COperatorClassr14">_TrigMsgPos</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>std::vector< std::string > </td><td class="memItemRight" valign=bottom><a class="el" href="a03025.html#NLAISCRIPT_1_1COperatorClassr15">_TrigMsgVarname</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a10">sint32</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a03025.html#NLAISCRIPT_1_1COperatorClassr16">_UpdateCycles</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>std::vector< <a class="el" href="a02575.html">NLAILOGIC::IBaseVar</a> * > </td><td class="memItemRight" valign=bottom><a class="el" href="a03025.html#NLAISCRIPT_1_1COperatorClassr17">_Vars</a></td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Pos of the goal's var in the operato's static components. <a href="#NLAISCRIPT_1_1COperatorClassr17"></a><br><br></td></tr> +</table> +<hr><h2>Constructor & Destructor Documentation</h2> +<a class="anchor" name="NLAISCRIPT_1_1COperatorClassa23" doxytag="NLAISCRIPT::COperatorClass::COperatorClass" ></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"> NLAISCRIPT::COperatorClass::COperatorClass </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const <a class="el" href="a02661.html">NLAIAGENT::IVarName</a> & </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05854.html#l00023">23</a> of file <a class="el" href="a05854.html">logic/interpret_object_operator.cpp</a>. +<p> +References <a class="el" href="a05856.html#l00040">_Goal</a>, <a class="el" href="a05856.html#l00064">_UpdateCycles</a>, <a class="el" href="a05848.html#l00065">NLAISCRIPT::IAgentMultiClass::getBaseMethodCount()</a>, <a class="el" href="a05848.html#l00071">NLAISCRIPT::IAgentMultiClass::setBaseMethodCount()</a>, and <a class="el" href="a05848.html#l00083">NLAISCRIPT::IAgentMultiClass::setBaseObjectInstance()</a>. +<p> +<div class="fragment"><pre>00023 : <a class="code" href="a02167.html#NLAISCRIPT_1_1CAgentClassa1">CAgentClass</a>(n) +00024 { +00025 <a class="code" href="a02168.html#NLAISCRIPT_1_1IAgentMultiClassa51">setBaseMethodCount</a>(((<a class="code" href="a03026.html">NLAIAGENT::COperatorScript</a> *)(NLAIAGENT::COperatorScript::IdOperatorScript.getFactory()->getClass()))-><a class="code" href="a02168.html#NLAISCRIPT_1_1IAgentMultiClassa7">getBaseMethodCount</a>()); +00026 <a class="code" href="a02168.html#NLAISCRIPT_1_1IAgentMultiClassa52">setBaseObjectInstance</a>(((<a class="code" href="a03026.html">NLAIAGENT::COperatorScript</a> *)(NLAIAGENT::COperatorScript::IdOperatorScript.getFactory()->getClass()))); +00027 <a class="code" href="a03025.html#NLAISCRIPT_1_1COperatorClassr3">_Goal</a> = NULL; +00028 <a class="code" href="a03025.html#NLAISCRIPT_1_1COperatorClassr0">_Comment</a> = NULL; +00029 <a class="code" href="a03025.html#NLAISCRIPT_1_1COperatorClasso8">_FactBase</a> = <span class="keyword">new</span> <a class="code" href="a02501.html">NLAILOGIC::CFactBase</a>(); +00030 <a class="code" href="a03025.html#NLAISCRIPT_1_1COperatorClassr16">_UpdateCycles</a> = 0; +00031 <a class="code" href="a03025.html#NLAISCRIPT_1_1COperatorClassr9">_Priority</a> = 1; +00032 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAISCRIPT_1_1COperatorClassa22" doxytag="NLAISCRIPT::COperatorClass::COperatorClass" ></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"> NLAISCRIPT::COperatorClass::COperatorClass </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const <a class="el" href="a02650.html">NLAIC::CIdentType</a> & </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05854.html#l00034">34</a> of file <a class="el" href="a05854.html">logic/interpret_object_operator.cpp</a>. +<p> +References <a class="el" href="a05856.html#l00040">_Goal</a>, <a class="el" href="a05856.html#l00064">_UpdateCycles</a>, <a class="el" href="a05848.html#l00065">NLAISCRIPT::IAgentMultiClass::getBaseMethodCount()</a>, <a class="el" href="a05646.html#l00221">id</a>, <a class="el" href="a05848.html#l00071">NLAISCRIPT::IAgentMultiClass::setBaseMethodCount()</a>, and <a class="el" href="a05848.html#l00083">NLAISCRIPT::IAgentMultiClass::setBaseObjectInstance()</a>. +<p> +<div class="fragment"><pre>00034 : <a class="code" href="a02167.html#NLAISCRIPT_1_1CAgentClassa1">CAgentClass</a>(<span class="keywordtype">id</span>) +00035 { +00036 <a class="code" href="a02168.html#NLAISCRIPT_1_1IAgentMultiClassa51">setBaseMethodCount</a>(((<a class="code" href="a03026.html">NLAIAGENT::COperatorScript</a> *)(NLAIAGENT::COperatorScript::IdOperatorScript.getFactory()->getClass()))-><a class="code" href="a02168.html#NLAISCRIPT_1_1IAgentMultiClassa7">getBaseMethodCount</a>()); +00037 <a class="code" href="a02168.html#NLAISCRIPT_1_1IAgentMultiClassa52">setBaseObjectInstance</a>(((<a class="code" href="a03026.html">NLAIAGENT::COperatorScript</a> *)(NLAIAGENT::COperatorScript::IdOperatorScript.getFactory()->getClass()))); +00038 <a class="code" href="a03025.html#NLAISCRIPT_1_1COperatorClassr3">_Goal</a> = NULL; +00039 <a class="code" href="a03025.html#NLAISCRIPT_1_1COperatorClassr0">_Comment</a> = NULL; +00040 <a class="code" href="a03025.html#NLAISCRIPT_1_1COperatorClasso8">_FactBase</a> = <span class="keyword">new</span> <a class="code" href="a02501.html">NLAILOGIC::CFactBase</a>(); +00041 <a class="code" href="a03025.html#NLAISCRIPT_1_1COperatorClassr16">_UpdateCycles</a> = 0; +00042 <a class="code" href="a03025.html#NLAISCRIPT_1_1COperatorClassr9">_Priority</a> = 1; +00043 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAISCRIPT_1_1COperatorClassa21" doxytag="NLAISCRIPT::COperatorClass::COperatorClass" ></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"> NLAISCRIPT::COperatorClass::COperatorClass </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const <a class="el" href="a02661.html">NLAIAGENT::IVarName</a> & </td> + <td class="mdname" nowrap>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>const <a class="el" href="a02661.html">NLAIAGENT::IVarName</a> & </td> + <td class="mdname" nowrap></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05854.html#l00045">45</a> of file <a class="el" href="a05854.html">logic/interpret_object_operator.cpp</a>. +<p> +References <a class="el" href="a05856.html#l00040">_Goal</a>, <a class="el" href="a05856.html#l00064">_UpdateCycles</a>, <a class="el" href="a05848.html#l00065">NLAISCRIPT::IAgentMultiClass::getBaseMethodCount()</a>, <a class="el" href="a05848.html#l00071">NLAISCRIPT::IAgentMultiClass::setBaseMethodCount()</a>, and <a class="el" href="a05848.html#l00083">NLAISCRIPT::IAgentMultiClass::setBaseObjectInstance()</a>. +<p> +<div class="fragment"><pre>00045 : <a class="code" href="a02167.html#NLAISCRIPT_1_1CAgentClassa1">CAgentClass</a>( inheritance ) +00046 { +00047 <a class="code" href="a02168.html#NLAISCRIPT_1_1IAgentMultiClassa51">setBaseMethodCount</a>(((<a class="code" href="a03026.html">NLAIAGENT::COperatorScript</a> *)(NLAIAGENT::COperatorScript::IdOperatorScript.getFactory()->getClass()))-><a class="code" href="a02168.html#NLAISCRIPT_1_1IAgentMultiClassa7">getBaseMethodCount</a>()); +00048 <a class="code" href="a02168.html#NLAISCRIPT_1_1IAgentMultiClassa52">setBaseObjectInstance</a>(((<a class="code" href="a03026.html">NLAIAGENT::COperatorScript</a> *)(NLAIAGENT::COperatorScript::IdOperatorScript.getFactory()->getClass()))); +00049 <a class="code" href="a03025.html#NLAISCRIPT_1_1COperatorClassr3">_Goal</a> = NULL; +00050 <a class="code" href="a03025.html#NLAISCRIPT_1_1COperatorClassr0">_Comment</a> = NULL; +00051 <a class="code" href="a03025.html#NLAISCRIPT_1_1COperatorClasso8">_FactBase</a> = <span class="keyword">new</span> <a class="code" href="a02501.html">NLAILOGIC::CFactBase</a>(); +00052 <a class="code" href="a03025.html#NLAISCRIPT_1_1COperatorClassr16">_UpdateCycles</a> = 0; +00053 <a class="code" href="a03025.html#NLAISCRIPT_1_1COperatorClassr9">_Priority</a> = 1; +00054 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAISCRIPT_1_1COperatorClassa20" doxytag="NLAISCRIPT::COperatorClass::COperatorClass" ></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"> NLAISCRIPT::COperatorClass::COperatorClass </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const <a class="el" href="a03025.html">COperatorClass</a> & </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05854.html#l00056">56</a> of file <a class="el" href="a05854.html">logic/interpret_object_operator.cpp</a>. +<p> +References <a class="el" href="a05856.html#l00059">_Comment</a>, <a class="el" href="a05856.html#l00152">_FactBase</a>, <a class="el" href="a05856.html#l00040">_Goal</a>, <a class="el" href="a05856.html#l00066">_Priority</a>, <a class="el" href="a05856.html#l00064">_UpdateCycles</a>, <a class="el" href="a05697.html#l00132">NLAILOGIC::CFactBase::clone()</a>, <a class="el" href="a05763.html#l00286">NLAILOGIC::CGoal::clone()</a>, <a class="el" href="a05848.html#l00065">NLAISCRIPT::IAgentMultiClass::getBaseMethodCount()</a>, <a class="el" href="a05848.html#l00071">NLAISCRIPT::IAgentMultiClass::setBaseMethodCount()</a>, and <a class="el" href="a05848.html#l00083">NLAISCRIPT::IAgentMultiClass::setBaseObjectInstance()</a>. +<p> +<div class="fragment"><pre>00056 : <a class="code" href="a02167.html#NLAISCRIPT_1_1CAgentClassa1">CAgentClass</a>( c ) +00057 { +00058 <a class="code" href="a02168.html#NLAISCRIPT_1_1IAgentMultiClassa51">setBaseMethodCount</a>(((<a class="code" href="a03026.html">NLAIAGENT::COperatorScript</a> *)(NLAIAGENT::COperatorScript::IdOperatorScript.getFactory()->getClass()))-><a class="code" href="a02168.html#NLAISCRIPT_1_1IAgentMultiClassa7">getBaseMethodCount</a>()); +00059 <a class="code" href="a02168.html#NLAISCRIPT_1_1IAgentMultiClassa52">setBaseObjectInstance</a>(((<a class="code" href="a03026.html">NLAIAGENT::COperatorScript</a> *)(NLAIAGENT::COperatorScript::IdOperatorScript.getFactory()->getClass()))); +00060 <span class="keywordflow">if</span> ( c._Goal != NULL) +00061 <a class="code" href="a03025.html#NLAISCRIPT_1_1COperatorClassr3">_Goal</a> = (<a class="code" href="a02594.html">NLAILOGIC::CGoal</a> *) c._Goal-><a class="code" href="a02594.html#NLAILOGIC_1_1CGoala9">clone</a>(); +00062 <span class="keywordflow">else</span> +00063 <a class="code" href="a03025.html#NLAISCRIPT_1_1COperatorClassr3">_Goal</a> = NULL; +00064 +00065 <span class="keywordflow">if</span> ( c._Comment != NULL ) +00066 { +00067 <a class="code" href="a03025.html#NLAISCRIPT_1_1COperatorClassr0">_Comment</a> = <span class="keyword">new</span> <span class="keywordtype">char</span>[ strlen( c._Comment ) ]; +00068 strcpy( _Comment, c._Comment ); +00069 } +00070 <span class="keywordflow">else</span> +00071 <a class="code" href="a03025.html#NLAISCRIPT_1_1COperatorClassr0">_Comment</a> = NULL; +00072 +00073 <span class="keywordflow">if</span> ( c._FactBase != NULL) +00074 <a class="code" href="a03025.html#NLAISCRIPT_1_1COperatorClasso8">_FactBase</a> = (<a class="code" href="a02501.html">NLAILOGIC::CFactBase</a> *) c._FactBase-><a class="code" href="a02501.html#NLAILOGIC_1_1CFactBasea7">clone</a>(); +00075 <span class="keywordflow">else</span> +00076 <a class="code" href="a03025.html#NLAISCRIPT_1_1COperatorClasso8">_FactBase</a> = <span class="keyword">new</span> <a class="code" href="a02501.html">NLAILOGIC::CFactBase</a>(); +00077 +00078 <a class="code" href="a03025.html#NLAISCRIPT_1_1COperatorClassr16">_UpdateCycles</a> = c._UpdateCycles; +00079 <a class="code" href="a03025.html#NLAISCRIPT_1_1COperatorClassr9">_Priority</a> = c._Priority; +00080 +00081 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAISCRIPT_1_1COperatorClassa19" doxytag="NLAISCRIPT::COperatorClass::COperatorClass" ></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"> NLAISCRIPT::COperatorClass::COperatorClass </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05854.html#l00083">83</a> of file <a class="el" href="a05854.html">logic/interpret_object_operator.cpp</a>. +<p> +References <a class="el" href="a05856.html#l00040">_Goal</a>, <a class="el" href="a05856.html#l00064">_UpdateCycles</a>, <a class="el" href="a05848.html#l00065">NLAISCRIPT::IAgentMultiClass::getBaseMethodCount()</a>, <a class="el" href="a05848.html#l00071">NLAISCRIPT::IAgentMultiClass::setBaseMethodCount()</a>, and <a class="el" href="a05848.html#l00083">NLAISCRIPT::IAgentMultiClass::setBaseObjectInstance()</a>. +<p> +Referenced by <a class="el" href="a05854.html#l00172">clone()</a>, and <a class="el" href="a05854.html#l00178">newInstance()</a>. +<p> +<div class="fragment"><pre>00084 { +00085 <a class="code" href="a02168.html#NLAISCRIPT_1_1IAgentMultiClassa51">setBaseMethodCount</a>(((<a class="code" href="a03026.html">NLAIAGENT::COperatorScript</a> *)(NLAIAGENT::COperatorScript::IdOperatorScript.getFactory()->getClass()))-><a class="code" href="a02168.html#NLAISCRIPT_1_1IAgentMultiClassa7">getBaseMethodCount</a>()); +00086 <a class="code" href="a02168.html#NLAISCRIPT_1_1IAgentMultiClassa52">setBaseObjectInstance</a>(((<a class="code" href="a03026.html">NLAIAGENT::COperatorScript</a> *)(NLAIAGENT::COperatorScript::IdOperatorScript.getFactory()->getClass()))); +00087 <a class="code" href="a03025.html#NLAISCRIPT_1_1COperatorClassr3">_Goal</a> = NULL; +00088 <a class="code" href="a03025.html#NLAISCRIPT_1_1COperatorClassr0">_Comment</a> = NULL; +00089 <a class="code" href="a03025.html#NLAISCRIPT_1_1COperatorClasso8">_FactBase</a> = <span class="keyword">new</span> <a class="code" href="a02501.html">NLAILOGIC::CFactBase</a>(); +00090 <a class="code" href="a03025.html#NLAISCRIPT_1_1COperatorClassr16">_UpdateCycles</a> = 0; +00091 <a class="code" href="a03025.html#NLAISCRIPT_1_1COperatorClassr9">_Priority</a> = 1; +00092 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAISCRIPT_1_1COperatorClassa118" doxytag="NLAISCRIPT::COperatorClass::~COperatorClass" ></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"> NLAISCRIPT::COperatorClass::~<a class="el" href="a03025.html">COperatorClass</a> </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05854.html#l00094">94</a> of file <a class="el" href="a05854.html">logic/interpret_object_operator.cpp</a>. +<p> +References <a class="el" href="a05856.html#l00150">_ConcCode</a>, <a class="el" href="a05856.html#l00149">_CondCode</a>, <a class="el" href="a05856.html#l00155">_FuzzySets</a>, <a class="el" href="a05856.html#l00154">_FuzzyVars</a>, <a class="el" href="a05856.html#l00040">_Goal</a>, and <a class="el" href="a05386.html#l00086">NLAIC::IPointerGestion::release()</a>. +<p> +<div class="fragment"><pre>00095 { +00096 <span class="keywordflow">if</span> ( <a class="code" href="a03025.html#NLAISCRIPT_1_1COperatorClassr0">_Comment</a> != NULL ) +00097 <span class="keyword">delete</span>[] <a class="code" href="a03025.html#NLAISCRIPT_1_1COperatorClassr0">_Comment</a>; +00098 +00099 <span class="keywordflow">if</span> ( <a class="code" href="a03025.html#NLAISCRIPT_1_1COperatorClasso8">_FactBase</a> != NULL ) +00100 <a class="code" href="a03025.html#NLAISCRIPT_1_1COperatorClasso8">_FactBase</a>-><a class="code" href="a02145.html#NLAIAGENT_1_1VectorTypea46">release</a>(); +00101 +00102 <span class="keywordflow">if</span> ( <a class="code" href="a03025.html#NLAISCRIPT_1_1COperatorClassr3">_Goal</a> != NULL ) +00103 <a class="code" href="a03025.html#NLAISCRIPT_1_1COperatorClassr3">_Goal</a>-><a class="code" href="a02145.html#NLAIAGENT_1_1VectorTypea46">release</a>(); +00104 +00105 +00106 std::vector<NLAIAGENT::IVarName *>::iterator it_fvar = <a class="code" href="a03025.html#NLAISCRIPT_1_1COperatorClasso10">_FuzzyVars</a>.begin(); +00107 <span class="keywordflow">while</span> ( it_fvar != <a class="code" href="a03025.html#NLAISCRIPT_1_1COperatorClasso10">_FuzzyVars</a>.end() ) +00108 { +00109 (*it_fvar)->release(); +00110 it_fvar++; +00111 } +00112 +00113 it_fvar = <a class="code" href="a03025.html#NLAISCRIPT_1_1COperatorClasso9">_FuzzySets</a>.begin(); +00114 <span class="keywordflow">while</span> ( it_fvar != <a class="code" href="a03025.html#NLAISCRIPT_1_1COperatorClasso9">_FuzzySets</a>.end() ) +00115 { +00116 (*it_fvar)->release(); +00117 it_fvar++; +00118 } +00119 +00120 std::vector< IOpCode *>::iterator it_code = <a class="code" href="a03025.html#NLAISCRIPT_1_1COperatorClasso7">_CondCode</a>.begin(); +00121 <span class="keywordflow">while</span> ( it_code != <a class="code" href="a03025.html#NLAISCRIPT_1_1COperatorClasso7">_CondCode</a>.end() ) +00122 { +00123 (*it_code)->release(); +00124 it_code++; +00125 } +00126 +00127 it_code = <a class="code" href="a03025.html#NLAISCRIPT_1_1COperatorClasso5">_ConcCode</a>.begin(); +00128 <span class="keywordflow">while</span> ( it_code != <a class="code" href="a03025.html#NLAISCRIPT_1_1COperatorClasso5">_ConcCode</a>.end() ) +00129 { +00130 (*it_code)->release(); +00131 it_code++; +00132 } +00133 <span class="comment">/*</span> +00134 <span class="comment"> int i;</span> +00135 <span class="comment"> for ( i = 0; i < (int) _CondCode.size(); i++ )</span> +00136 <span class="comment"> {</span> +00137 <span class="comment"> ( (NLAIAGENT::IVarName *)_CondCode[i] )->release();</span> +00138 <span class="comment"> }</span> +00139 <span class="comment"></span> +00140 <span class="comment"> for ( i = 0; i < (int) _CondCode.size(); i++ )</span> +00141 <span class="comment"> {</span> +00142 <span class="comment"> ( (NLAIAGENT::IVarName *)_ConcCode[i] )->release();</span> +00143 <span class="comment"> }</span> +00144 <span class="comment"></span> +00145 <span class="comment"> for ( i = 0; i < (int) _CondAsserts.size(); i++ )</span> +00146 <span class="comment"> {</span> +00147 <span class="comment"> ( (NLAIAGENT::IVarName *) _CondAsserts[i] )->release();</span> +00148 <span class="comment"> }</span> +00149 <span class="comment"></span> +00150 <span class="comment"> for ( i = 0; i < (int) _ConcAsserts.size(); i++ )</span> +00151 <span class="comment"> {</span> +00152 <span class="comment"> ( (NLAIAGENT::IVarName *) _ConcAsserts[i] )->release();</span> +00153 <span class="comment"> }</span> +00154 <span class="comment"></span> +00155 <span class="comment"> std::list<const NLAIAGENT::IVarName *>::iterator it_n = _BooleanConds.begin();</span> +00156 <span class="comment"> while ( _BooleanConds.size() )</span> +00157 <span class="comment"> {</span> +00158 <span class="comment"> ( (NLAIAGENT::IVarName *) _BooleanConds.front() )->release();</span> +00159 <span class="comment"> _BooleanConds.pop_front();</span> +00160 <span class="comment"> }</span> +00161 <span class="comment"></span> +00162 <span class="comment"> it_n = _BooleanConcs.begin();</span> +00163 <span class="comment"> while ( _BooleanConcs.size() )</span> +00164 <span class="comment"> {</span> +00165 <span class="comment"> ( (NLAIAGENT::IVarName *) _BooleanConcs.front() )->release();</span> +00166 <span class="comment"> _BooleanConcs.pop_front();</span> +00167 <span class="comment"> }</span> +00168 <span class="comment"> */</span> +00169 } +</pre></div> </td> + </tr> +</table> +<hr><h2>Member Function Documentation</h2> +<a class="anchor" name="NLAISCRIPT_1_1COperatorClassa0" doxytag="NLAISCRIPT::COperatorClass::activatePostConditions" ></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 NLAISCRIPT::COperatorClass::activatePostConditions </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a02149.html">NLAIAGENT::IObjectIA</a> * </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05854.html#l00801">801</a> of file <a class="el" href="a05854.html">logic/interpret_object_operator.cpp</a>. +<p> +References <a class="el" href="a05856.html#l00150">_ConcCode</a>, <a class="el" href="a05610.html#l00059">NLAISCRIPT::CContextDebug::Active</a>, <a class="el" href="a05609.html#l00120">NLAISCRIPT::CContextDebug::callStackPop()</a>, <a class="el" href="a05572.html#l00339">NLAISCRIPT::CCodeContext::Code</a>, <a class="el" href="a05572.html#l00347">NLAISCRIPT::CCodeContext::ContextDebug</a>, <a class="el" href="a05646.html#l00993">r</a>, and <a class="el" href="a05981.html#l00100">uint32</a>. +<p> +<div class="fragment"><pre>00802 { +00803 <a class="code" href="a02374.html">NLAISCRIPT::CCodeContext</a> &context = (<a class="code" href="a02374.html">NLAISCRIPT::CCodeContext</a> &)*c; +00804 +00805 <span class="keywordflow">for</span> ( <span class="keywordtype">int</span> i = 0; i < (<span class="keywordtype">int</span>) <a class="code" href="a03025.html#NLAISCRIPT_1_1COperatorClasso5">_ConcCode</a>.size(); i++ ) +00806 { +00807 <a class="code" href="a03846.html">NLAISCRIPT::IOpCode</a> *opPtr = <a class="code" href="a03025.html#NLAISCRIPT_1_1COperatorClasso5">_ConcCode</a>[ i ]; +00808 +00809 IObjectIA::CProcessResult <a class="code" href="a04223.html#a628">r</a>; +00810 <span class="keywordflow">if</span>(opPtr != NULL) +00811 { +00812 <a class="code" href="a03846.html">NLAISCRIPT::IOpCode</a> &op = *opPtr; +00813 <a class="code" href="a02372.html">NLAISCRIPT::CCodeBrancheRun</a> *opTmp = context.<a class="code" href="a02374.html#NLAISCRIPT_1_1CCodeContexto0">Code</a>; +00814 <span class="keywordtype">int</span> ip = (<a class="code" href="a04558.html#a11">uint32</a>)*context.<a class="code" href="a02374.html#NLAISCRIPT_1_1CCodeContexto0">Code</a>; +00815 context.<a class="code" href="a02374.html#NLAISCRIPT_1_1CCodeContexto0">Code</a> = (<a class="code" href="a02372.html">NLAISCRIPT::CCodeBrancheRun</a> *)&op; +00816 *context.<a class="code" href="a02374.html#NLAISCRIPT_1_1CCodeContexto0">Code</a> = 0; +00817 +00818 <a class="code" href="a04223.html#a628">r</a> = ((<a class="code" href="a03847.html">NLAISCRIPT::ICodeBranche</a> *)opPtr)->run(context); +00819 <span class="comment">// If we are in Debug Mode</span> +00820 <span class="keywordflow">if</span> (context.<a class="code" href="a02374.html#NLAISCRIPT_1_1CCodeContexto1">ContextDebug</a>.Active) +00821 { +00822 context.<a class="code" href="a02374.html#NLAISCRIPT_1_1CCodeContexto1">ContextDebug</a>.callStackPop(); +00823 } +00824 *context.<a class="code" href="a02374.html#NLAISCRIPT_1_1CCodeContexto0">Code</a> = ip; +00825 context.<a class="code" href="a02374.html#NLAISCRIPT_1_1CCodeContexto0">Code</a> = opTmp; +00826 } +00827 } +00828 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAISCRIPT_1_1COperatorClassa1" doxytag="NLAISCRIPT::COperatorClass::addBoolConc" ></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 NLAISCRIPT::COperatorClass::addBoolConc </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const <a class="el" href="a02661.html">NLAIAGENT::IVarName</a> * </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05854.html#l00638">638</a> of file <a class="el" href="a05854.html">logic/interpret_object_operator.cpp</a>. +<p> +References <a class="el" href="a05856.html#l00144">_BooleanConcs</a>. +<p> +<div class="fragment"><pre>00639 { +00640 <a class="code" href="a03025.html#NLAISCRIPT_1_1COperatorClasso0">_BooleanConcs</a>.push_back( conc_name ); +00641 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAISCRIPT_1_1COperatorClassa2" doxytag="NLAISCRIPT::COperatorClass::addBoolCond" ></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 NLAISCRIPT::COperatorClass::addBoolCond </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const <a class="el" href="a02661.html">NLAIAGENT::IVarName</a> * </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Add first order patterns as preconditions or postconditions. +<p> + +<p> +Definition at line <a class="el" href="a05854.html#l00633">633</a> of file <a class="el" href="a05854.html">logic/interpret_object_operator.cpp</a>. +<p> +References <a class="el" href="a05856.html#l00143">_BooleanConds</a>. +<p> +<div class="fragment"><pre>00634 { +00635 <a class="code" href="a03025.html#NLAISCRIPT_1_1COperatorClasso1">_BooleanConds</a>.push_back( cond_name ); +00636 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAISCRIPT_1_1CSuccessMsgClassz1838_0" doxytag="NLAISCRIPT::COperatorClass::addBrancheCode" ></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#a10">sint32</a> NLAISCRIPT::CAgentClass::addBrancheCode </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const <a class="el" href="a02661.html">NLAIAGENT::IVarName</a> & </td> + <td class="mdname" nowrap>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>const <a class="el" href="a03039.html">CParam</a> & </td> + <td class="mdname" nowrap></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Implements <a class="el" href="a02169.html#NLAISCRIPT_1_1IClassInterpretz1834_0">NLAISCRIPT::IClassInterpret</a>. +<p> +Definition at line <a class="el" href="a05847.html#l00458">458</a> of file <a class="el" href="a05847.html">interpret_object_agent.cpp</a>. +<p> +References <a class="el" href="a05848.html#l00166">NLAISCRIPT::CAgentClass::_ConstructorIndex</a>, <a class="el" href="a05848.html#l00162">NLAISCRIPT::CAgentClass::_lastRef</a>, <a class="el" href="a05848.html#l00159">NLAISCRIPT::CAgentClass::_Methode</a>, <a class="el" href="a05847.html#l00577">NLAISCRIPT::CAgentClass::findMethod()</a>, <a class="el" href="a05845.html#l00106">NLAISCRIPT::IClassInterpret::getClassName()</a>, <a class="el" href="a02661.html#NLAIAGENT_1_1IVarNamea6">NLAIAGENT::IVarName::getString()</a>, <a class="el" href="a05646.html#l00683">param</a>, <a class="el" href="a05386.html#l00086">NLAIC::IPointerGestion::release()</a>, <a class="el" href="a05843.html#l00356">NLAISCRIPT::CMethodeName::setParam()</a>, <a class="el" href="a05981.html#l00099">sint32</a>, and <a class="el" href="a05804.html#l00079">NLAIC::stringGetBuild()</a>. +<p> +Referenced by <a class="el" href="a05847.html#l00150">NLAISCRIPT::CAgentClass::buildChildsMessageMap()</a>. +<p> +<div class="fragment"><pre>00459 { +00460 <span class="preprocessor">#ifdef NL_DEBUG</span> +00461 <span class="preprocessor"></span> std::string txtClass; +00462 std::string txt; +00463 <a class="code" href="a04223.html#a590">param</a>.getDebugString(txtClass); +00464 txt = name.<a class="code" href="a02661.html#NLAIAGENT_1_1IVarNamea6">getString</a>() + txtClass; +00465 txtClass = <a class="code" href="a02169.html#NLAISCRIPT_1_1IClassInterpreta7">getClassName</a>()-><a class="code" href="a02661.html#NLAIAGENT_1_1IVarNamea6">getString</a>(); +00466 <span class="preprocessor">#endif</span> +00467 <span class="preprocessor"></span> <a class="code" href="a04558.html#a10">sint32</a> i = <a class="code" href="a02167.html#NLAISCRIPT_1_1CSuccessMsgClassa8">findMethod</a>(name,param); +00468 <span class="keywordflow">if</span>(i >= 0) +00469 { +00470 CMethodeName *oldM = _Methode[ i ].Method; +00471 <span class="keywordflow">if</span>(_Methode[ i ].isBasedOnBaseClass()) +00472 { +00473 CMethodeName *m = <span class="keyword">new</span> CMethodeName(name); +00474 _Methode[ i ].setMethodBasedOnBaseClassState(<span class="keyword">false</span>); +00475 oldM->release(); +00476 _Methode[i] = m; +00477 m->setParam( param ) ; +00478 _lastRef = i; +00479 } +00480 <span class="keywordflow">else</span> +00481 { +00482 +00483 std::string txtP; +00484 std::string txt; +00485 <a class="code" href="a04223.html#a590">param</a>.getDebugString(txtP); +00486 txt = <a class="code" href="a05365.html#a8">NLAIC::stringGetBuild</a>(<span class="stringliteral">"%s%s is all ready defined in '%s'"</span>,name.<a class="code" href="a02661.html#NLAIAGENT_1_1IVarNamea6">getString</a>(),txtP.c_str(),<a class="code" href="a02169.html#NLAISCRIPT_1_1IClassInterpreta7">getClassName</a>()-><a class="code" href="a02661.html#NLAIAGENT_1_1IVarNamea6">getString</a>()); +00487 <span class="keywordflow">throw</span> <a class="code" href="a02481.html">NLAIE::CExceptionAllReadyExist</a>((<span class="keywordtype">char</span> *)txt.c_str()); +00488 } +00489 } +00490 <span class="keywordflow">else</span> +00491 { +00492 CMethodeName *m = <span class="keyword">new</span> CMethodeName(name); +00493 _Methode.push_back( CMethodType( m )); +00494 m->setParam( param ); +00495 _lastRef = _Methode.size() - 1; +00496 _Methode.back().setMethodBasedOnBaseClassState(<span class="keyword">false</span>); +00497 } +00498 +00499 <span class="keyword">static</span> <a class="code" href="a03455.html">NLAIAGENT::CStringVarName</a> constructor_name(<span class="stringliteral">"Constructor"</span>); +00500 <span class="keywordflow">if</span> ( name == constructor_name ) +00501 _ConstructorIndex = _lastRef; +00502 +00503 <span class="keywordflow">return</span> _lastRef; +00504 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAISCRIPT_1_1COperatorClassa3" doxytag="NLAISCRIPT::COperatorClass::addCodeConc" ></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 NLAISCRIPT::COperatorClass::addCodeConc </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a03846.html">IOpCode</a> * </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +PostConditions code is code that will be executed upon completion of the execution of the operator. +<p> + +<p> +Definition at line <a class="el" href="a05854.html#l00651">651</a> of file <a class="el" href="a05854.html">logic/interpret_object_operator.cpp</a>. +<p> +References <a class="el" href="a05856.html#l00150">_ConcCode</a>. +<p> +<div class="fragment"><pre>00652 { +00653 <a class="code" href="a03025.html#NLAISCRIPT_1_1COperatorClasso5">_ConcCode</a>.push_back( code ); +00654 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAISCRIPT_1_1COperatorClassa4" doxytag="NLAISCRIPT::COperatorClass::addCodeCond" ></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 NLAISCRIPT::COperatorClass::addCodeCond </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a03846.html">IOpCode</a> * </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Add first order patterns as preconditions or postconditions PreConditions code must be any piece of code that returns an object that is true or false using the isTrue() function. +<p> +Definition at line <a class="el" href="a05854.html#l00645">645</a> of file <a class="el" href="a05854.html">logic/interpret_object_operator.cpp</a>. +<p> +References <a class="el" href="a05856.html#l00149">_CondCode</a>. +<p> +<div class="fragment"><pre>00646 { +00647 <a class="code" href="a03025.html#NLAISCRIPT_1_1COperatorClasso7">_CondCode</a>.push_back( code ); +00648 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAISCRIPT_1_1COperatorClassa5" doxytag="NLAISCRIPT::COperatorClass::addFirstOrderConc" ></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 NLAISCRIPT::COperatorClass::addFirstOrderConc </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const <a class="el" href="a02661.html">NLAIAGENT::IVarName</a> * </td> + <td class="mdname" nowrap>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>std::list< const <a class="el" href="a02661.html">NLAIAGENT::IVarName</a> * > & </td> + <td class="mdname" nowrap></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05854.html#l00620">620</a> of file <a class="el" href="a05854.html">logic/interpret_object_operator.cpp</a>. +<p> +References <a class="el" href="a05856.html#l00148">_ClassConcVars</a>, and <a class="el" href="a05856.html#l00146">_ConcAsserts</a>. +<p> +<div class="fragment"><pre>00621 { +00622 <a class="code" href="a03025.html#NLAISCRIPT_1_1COperatorClasso4">_ConcAsserts</a>.push_back( assert_name ); +00623 std::list<const NLAIAGENT::IVarName *> *tmp_list = <span class="keyword">new</span> std::list<const NLAIAGENT::IVarName *>; +00624 <span class="keywordflow">while</span> ( !params_list.empty() ) +00625 { +00626 tmp_list->push_back( params_list.front() ); +00627 params_list.pop_front(); +00628 } +00629 <a class="code" href="a03025.html#NLAISCRIPT_1_1COperatorClasso2">_ClassConcVars</a>.push_back( tmp_list ); +00630 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAISCRIPT_1_1COperatorClassa6" doxytag="NLAISCRIPT::COperatorClass::addFirstOrderCond" ></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 NLAISCRIPT::COperatorClass::addFirstOrderCond </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const <a class="el" href="a02661.html">NLAIAGENT::IVarName</a> * </td> + <td class="mdname" nowrap>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>std::list< const <a class="el" href="a02661.html">NLAIAGENT::IVarName</a> * > & </td> + <td class="mdname" nowrap></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Add first order patterns as preconditions or postconditions. +<p> + +<p> +Definition at line <a class="el" href="a05854.html#l00594">594</a> of file <a class="el" href="a05854.html">logic/interpret_object_operator.cpp</a>. +<p> +References <a class="el" href="a05697.html#l00044">NLAILOGIC::CFactBase::addAssert()</a>, <a class="el" href="a05854.html#l00476">addPrecondition()</a>, <a class="el" href="a06669.html#l00144">NLAILOGIC::CVarSet::addVar()</a>, <a class="el" href="a05622.html#l00496">assert</a>, and <a class="el" href="a02151.html#NLAICHARACTER_1_1IZonea4">NLAIC::IBasicType::clone()</a>. +<p> +<div class="fragment"><pre>00595 { +00596 <span class="comment">/* _CondAsserts.push_back( assert_name );</span> +00597 <span class="comment"> std::list<const NLAIAGENT::IVarName *> *tmp_list = new std::list<const NLAIAGENT::IVarName *>;</span> +00598 <span class="comment"> while ( !params_list.empty() )</span> +00599 <span class="comment"> {</span> +00600 <span class="comment"> const char *txt = params_list.front()->getString();</span> +00601 <span class="comment"> tmp_list->push_back( params_list.front() );</span> +00602 <span class="comment"> params_list.pop_front();</span> +00603 <span class="comment"> } </span> +00604 <span class="comment"> _ClassCondVars.push_back( tmp_list );</span> +00605 <span class="comment"> */</span> +00606 +00607 <a class="code" href="a03455.html">NLAIAGENT::CStringVarName</a> name = *(<a class="code" href="a03455.html">NLAIAGENT::CStringVarName</a> *)assert_name-><a class="code" href="a02151.html#NLAICHARACTER_1_1IZonea4">clone</a>(); +00608 <a class="code" href="a02284.html">NLAILOGIC::IBaseAssert</a> *<a class="code" href="a04199.html#a15">assert</a> = <a class="code" href="a03025.html#NLAISCRIPT_1_1COperatorClasso8">_FactBase</a>-><a class="code" href="a02501.html#NLAILOGIC_1_1CFactBasea1">addAssert</a>( name, params_list.size() ); +00609 <a class="code" href="a02505.html">NLAILOGIC::CFactPattern</a> *pattern = <span class="keyword">new</span> <a class="code" href="a02505.html">NLAILOGIC::CFactPattern</a>( assert ); +00610 std::list<const NLAIAGENT::IVarName *>::iterator it_var = params_list.begin(); +00611 <span class="keywordflow">while</span> ( it_var != params_list.end() ) +00612 { +00613 <a class="code" href="a03455.html">NLAIAGENT::CStringVarName</a> var_name = *(<a class="code" href="a03455.html">NLAIAGENT::CStringVarName</a> *)(*it_var); +00614 pattern-><a class="code" href="a02351.html#NLAILOGIC_1_1CVarSeta0">addVar</a>( <span class="keyword">new</span> <a class="code" href="a03645.html">NLAILOGIC::CVar</a>( var_name ) ); +00615 it_var++; +00616 } +00617 <a class="code" href="a03025.html#NLAISCRIPT_1_1COperatorClassa9">addPrecondition</a>( pattern ); +00618 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAISCRIPT_1_1COperatorClassa7" doxytag="NLAISCRIPT::COperatorClass::addFuzzyCond" ></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 NLAISCRIPT::COperatorClass::addFuzzyCond </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a02661.html">NLAIAGENT::IVarName</a> * </td> + <td class="mdname" nowrap>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a02661.html">NLAIAGENT::IVarName</a> * </td> + <td class="mdname" nowrap></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05854.html#l00875">875</a> of file <a class="el" href="a05854.html">logic/interpret_object_operator.cpp</a>. +<p> +References <a class="el" href="a05856.html#l00155">_FuzzySets</a>, and <a class="el" href="a05856.html#l00154">_FuzzyVars</a>. +<p> +<div class="fragment"><pre>00876 { +00877 <a class="code" href="a03025.html#NLAISCRIPT_1_1COperatorClasso10">_FuzzyVars</a>.push_back( var_name ); +00878 <a class="code" href="a03025.html#NLAISCRIPT_1_1COperatorClasso9">_FuzzySets</a>.push_back( fset ); +00879 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAISCRIPT_1_1COperatorClassa8" doxytag="NLAISCRIPT::COperatorClass::addPostcondition" ></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 NLAISCRIPT::COperatorClass::addPostcondition </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a02505.html">NLAILOGIC::CFactPattern</a> * </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05854.html#l00490">490</a> of file <a class="el" href="a05854.html">logic/interpret_object_operator.cpp</a>. +<p> +References <a class="el" href="a05856.html#l00051">_Concs</a>, <a class="el" href="a05854.html#l00537">compileFactPattern()</a>, and <a class="el" href="a06669.html#l00329">NLAILOGIC::CFactPattern::getAssert()</a>. +<p> +Referenced by <a class="el" href="a05854.html#l00657">buildLogicTables()</a>, and <a class="el" href="a05854.html#l00830">initialiseFactBase()</a>. +<p> +<div class="fragment"><pre>00491 { +00492 <span class="keywordflow">if</span> ( pattern-><a class="code" href="a02505.html#NLAILOGIC_1_1CFactPatterna8">getAssert</a>() ) +00493 { +00494 std::vector<sint32> pos_Vars; +00495 <a class="code" href="a03025.html#NLAISCRIPT_1_1COperatorClassa18">compileFactPattern</a>( pattern, _Conds, pos_Vars); +00496 +00497 <span class="comment">// pattern->getAssert()->addInput( this );</span> +00498 <a class="code" href="a03025.html#NLAISCRIPT_1_1COperatorClassr1">_Concs</a>.push_back( pattern-><a class="code" href="a02505.html#NLAILOGIC_1_1CFactPatterna8">getAssert</a>() ); +00499 <a class="code" href="a03025.html#NLAISCRIPT_1_1COperatorClassr7">_PosVarsConc</a>.push_back( pos_Vars ); +00500 } +00501 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAISCRIPT_1_1COperatorClassa9" doxytag="NLAISCRIPT::COperatorClass::addPrecondition" ></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 NLAISCRIPT::COperatorClass::addPrecondition </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a02505.html">NLAILOGIC::CFactPattern</a> * </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05854.html#l00476">476</a> of file <a class="el" href="a05854.html">logic/interpret_object_operator.cpp</a>. +<p> +References <a class="el" href="a05854.html#l00537">compileFactPattern()</a>, and <a class="el" href="a06669.html#l00329">NLAILOGIC::CFactPattern::getAssert()</a>. +<p> +Referenced by <a class="el" href="a05854.html#l00594">addFirstOrderCond()</a>, <a class="el" href="a05854.html#l00657">buildLogicTables()</a>, and <a class="el" href="a05854.html#l00830">initialiseFactBase()</a>. +<p> +<div class="fragment"><pre>00477 { +00478 <span class="keywordflow">if</span> ( pattern-><a class="code" href="a02505.html#NLAILOGIC_1_1CFactPatterna8">getAssert</a>() ) +00479 { +00480 std::vector<sint32> pos_Vars; +00481 <a class="code" href="a03025.html#NLAISCRIPT_1_1COperatorClassa18">compileFactPattern</a>( pattern, _Conds, pos_Vars); +00482 +00483 <span class="comment">// pattern->getAssert()->addClause( this, pos_Vars );</span> +00484 <a class="code" href="a03025.html#NLAISCRIPT_1_1COperatorClassr2">_Conds</a>.push_back( pattern-><a class="code" href="a02505.html#NLAILOGIC_1_1CFactPatterna8">getAssert</a>() ); +00485 <a class="code" href="a03025.html#NLAISCRIPT_1_1COperatorClassr8">_PosVarsCond</a>.push_back( pos_Vars ); +00486 +00487 } +00488 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAISCRIPT_1_1COperatorClassa10" doxytag="NLAISCRIPT::COperatorClass::backward" ></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::list< <a class="el" href="a02499.html">NLAILOGIC::CFact</a> * > * NLAISCRIPT::COperatorClass::backward </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">std::list< <a class="el" href="a02499.html">NLAILOGIC::CFact</a> * > & </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05854.html#l00334">334</a> of file <a class="el" href="a05854.html">logic/interpret_object_operator.cpp</a>. +<p> +References <a class="el" href="a05854.html#l00324">buildFromVars()</a>, <a class="el" href="a05386.html#l00086">NLAIC::IPointerGestion::release()</a>, <a class="el" href="a05981.html#l00099">sint32</a>, and <a class="el" href="a05854.html#l00246">unifyBackward()</a>. +<p> +<div class="fragment"><pre>00335 { +00336 <a class="code" href="a02500.html">NLAILOGIC::CValueSet</a> *unified = <a class="code" href="a03025.html#NLAISCRIPT_1_1COperatorClassa114">unifyBackward</a>( facts ); +00337 std::list<NLAILOGIC::CFact *> *result = <span class="keyword">new</span> std::list<NLAILOGIC::CFact *>; +00338 <span class="keywordflow">for</span> (<a class="code" href="a04558.html#a10">sint32</a> i = 0; i < (<a class="code" href="a04558.html#a10">sint32</a>) <a class="code" href="a03025.html#NLAISCRIPT_1_1COperatorClassr2">_Conds</a>.size(); i++ ) +00339 { +00340 <a class="code" href="a02499.html">NLAILOGIC::CFact</a> *tmp = <a class="code" href="a03025.html#NLAISCRIPT_1_1COperatorClassa11">buildFromVars</a>( _Conds[i], _PosVarsCond[i], unified ); +00341 result->push_back( tmp ); +00342 <span class="preprocessor">#ifdef NL_DEBUG</span> +00343 <span class="preprocessor"></span> +00344 <span class="preprocessor">#endif</span> +00345 <span class="preprocessor"></span> } +00346 unified-><a class="code" href="a02145.html#NLAIAGENT_1_1VectorTypea46">release</a>(); +00347 <span class="keywordflow">return</span> result; +00348 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAISCRIPT_1_1CSuccessMsgClassz1840_0" doxytag="NLAISCRIPT::COperatorClass::buildChildsMessageMap" ></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 NLAISCRIPT::CAgentClass::buildChildsMessageMap </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Build the table that translates an agent's message processing function index into it's child equivalent message processing function index.<p> +Builds components included inherited ones<p> +Counts the number of scripted components +<p> +Definition at line <a class="el" href="a05847.html#l00150">150</a> of file <a class="el" href="a05847.html">interpret_object_agent.cpp</a>. +<p> +References <a class="el" href="a05848.html#l00159">NLAISCRIPT::CAgentClass::_Methode</a>, <a class="el" href="a05848.html#l00161">NLAISCRIPT::CAgentClass::_MsgIndirectTable</a>, <a class="el" href="a05848.html#l00160">NLAISCRIPT::CAgentClass::_VTable</a>, <a class="el" href="a05847.html#l00458">NLAISCRIPT::CAgentClass::addBrancheCode()</a>, <a class="el" href="a05847.html#l00126">NLAISCRIPT::CAgentClass::clearIndirectMsgTable()</a>, <a class="el" href="a05646.html#l01126">components</a>, <a class="el" href="a05847.html#l00577">NLAISCRIPT::CAgentClass::findMethod()</a>, <a class="el" href="a05847.html#l00447">NLAISCRIPT::CAgentClass::getBrancheCode()</a>, <a class="el" href="a05847.html#l00433">NLAISCRIPT::CAgentClass::getBrancheCodeSize()</a>, <a class="el" href="a05845.html#l00106">NLAISCRIPT::IClassInterpret::getClassName()</a>, <a class="el" href="a05804.html#l00178">NLAIC::CIdentType::getFactory()</a>, <a class="el" href="a05843.html#l00348">NLAISCRIPT::CMethodeName::getName()</a>, <a class="el" href="a05843.html#l00361">NLAISCRIPT::CMethodeName::getParam()</a>, <a class="el" href="a02661.html#NLAIAGENT_1_1IVarNamea6">NLAIAGENT::IVarName::getString()</a>, <a class="el" href="a05847.html#l00134">NLAISCRIPT::CAgentClass::isMessageFunc()</a>, <a class="el" href="a05981.html#l00099">sint32</a>, and <a class="el" href="a05646.html#l00236">x</a>. +<p> +<div class="fragment"><pre>00151 { +00152 +00153 <a class="code" href="a04558.html#a10">sint32</a> i,j; +00154 <a class="code" href="a04558.html#a10">sint32</a> child_index; +00155 <a class="code" href="a04558.html#a10">sint32</a> nb_scripted_components = 0; +00156 +00157 <span class="preprocessor">#ifdef NL_DEBUG</span> +00158 <span class="preprocessor"></span> <span class="keyword">const</span> <span class="keywordtype">char</span> *dbg_this_class_name = <a class="code" href="a02169.html#NLAISCRIPT_1_1IClassInterpreta7">getClassName</a>()-><a class="code" href="a02661.html#NLAIAGENT_1_1IVarNamea6">getString</a>(); +00159 <span class="preprocessor">#endif</span> +00160 <span class="preprocessor"></span> <a class="code" href="a02167.html#NLAISCRIPT_1_1CAgentClassd0">clearIndirectMsgTable</a>(); +00161 +00163 std::vector<CComponent *> <a class="code" href="a04223.html#a656">components</a>; +00164 <span class="keywordflow">if</span> ( _VTable.size() ) +00165 { +00166 <span class="keywordflow">for</span> ( i = 0; i < (<span class="keywordtype">int</span>) _VTable.size(); i++ ) +00167 { +00168 <span class="keywordflow">for</span> ( j = 0; j < (<span class="keywordtype">int</span>) _VTable[i]->_Components.size(); j++ ) +00169 { +00170 <a class="code" href="a04223.html#a656">components</a>.push_back( _VTable[i]->_Components[j] ); +00171 } +00172 } +00173 } +00174 +00175 +00177 <span class="keywordflow">for</span> (i =0; i < (<span class="keywordtype">int</span>) <a class="code" href="a04223.html#a656">components</a>.size() ; i++ ) <span class="comment">// ... for each of its components ...</span> +00178 { +00179 <a class="code" href="a02650.html">NLAIC::CIdentType</a> c_type( components[ i ]->RegisterName->getString() ); +00180 <span class="keywordflow">if</span>( ((<span class="keyword">const</span> <a class="code" href="a03625.html">NLAIC::CTypeOfObject</a> &) c_type) & <a class="code" href="a03625.html#NLAIC_1_1CTypeOfObjectw11NLAIC_1_1CTypeOfObjectw2">NLAIC::CTypeOfObject::tInterpret</a> ) <span class="comment">// ...if it's a scripted agent...</span> +00181 nb_scripted_components ++; +00182 } +00183 +00184 <span class="comment">// For each message processing function of the father, </span> +00185 <span class="comment">// allocates the table with by default -1, which means the child doesn't process the</span> +00186 <span class="comment">// message.</span> +00187 <span class="keywordflow">for</span> ( i = 0; i < (<span class="keywordtype">int</span>) _Methode.size(); i++ ) +00188 { +00189 CMethodeName &method = <a class="code" href="a02167.html#NLAISCRIPT_1_1CSuccessMsgClassz1838_3">getBrancheCode</a>( (<span class="keywordtype">int</span>) i ); +00190 <span class="keywordflow">if</span> ( <a class="code" href="a02167.html#NLAISCRIPT_1_1CAgentClassd1">isMessageFunc</a>( method.getParam() ) ) +00191 { +00192 _MsgIndirectTable.push_back( <span class="keyword">new</span> <a class="code" href="a04558.html#a10">sint32</a>[nb_scripted_components ] ); +00193 <span class="keywordflow">for</span> ( child_index = 0; child_index < nb_scripted_components; child_index++ ) +00194 _MsgIndirectTable[i][child_index] = -1; +00195 } +00196 <span class="keywordflow">else</span> +00197 _MsgIndirectTable.push_back( NULL ); +00198 } +00199 +00200 <a class="code" href="a04558.html#a10">sint32</a> index_component = 0; +00201 +00202 <span class="keywordflow">for</span> (i =0; i < (<span class="keywordtype">int</span>) <a class="code" href="a04223.html#a656">components</a>.size() ; i++ ) <span class="comment">// ... for each of its components ...</span> +00203 { +00204 <a class="code" href="a02650.html">NLAIC::CIdentType</a> c_type( components[ i ]->RegisterName->getString() ); +00205 <span class="preprocessor">#ifdef NL_DEBUG</span> +00206 <span class="preprocessor"></span> <span class="keyword">const</span> <span class="keywordtype">char</span> *dbg_class_name = <a class="code" href="a04223.html#a656">components</a>[ i ]->RegisterName->getString(); +00207 <span class="preprocessor">#endif</span> +00208 <span class="preprocessor"></span> <span class="keywordflow">if</span>( ((<span class="keyword">const</span> <a class="code" href="a03625.html">NLAIC::CTypeOfObject</a> &) c_type) & <a class="code" href="a03625.html#NLAIC_1_1CTypeOfObjectw11NLAIC_1_1CTypeOfObjectw2">NLAIC::CTypeOfObject::tInterpret</a> ) <span class="comment">// ...if it's a scripted agent...</span> +00209 { +00210 <a class="code" href="a02167.html#NLAISCRIPT_1_1CAgentClassa5">CAgentClass</a> *child_class = (<a class="code" href="a02167.html#NLAISCRIPT_1_1CAgentClassa5">CAgentClass</a> *) c_type.<a class="code" href="a02650.html#NLAIC_1_1CIdentTypea9">getFactory</a>()->getClass(); +00211 <span class="preprocessor">#ifdef NL_DEBUG</span> +00212 <span class="preprocessor"></span> <a class="code" href="a04558.html#a10">sint32</a> dbg_nb_funcs = child_class->getBrancheCodeSize(); +00213 <span class="preprocessor">#endif</span> +00214 <span class="preprocessor"></span> <span class="keywordflow">for</span> (child_index =0; child_index < child_class->getBrancheCodeSize(); child_index++ ) <span class="comment">// ... for each of its methods...</span> +00215 { +00216 CMethodeName &method = child_class->getBrancheCode( (<span class="keywordtype">int</span>) child_index ); +00217 <span class="preprocessor">#ifdef NL_DEBUG</span> +00218 <span class="preprocessor"></span> <span class="keyword">const</span> <span class="keywordtype">char</span> *dbg_meth_name = method.getName().getString(); +00219 <span class="preprocessor">#endif</span> +00220 <span class="preprocessor"></span> <span class="keywordflow">if</span> ( <a class="code" href="a02167.html#NLAISCRIPT_1_1CAgentClassd1">isMessageFunc</a>( method.getParam() ) ) <span class="comment">// ... if it's a message processing function...</span> +00221 { +00222 <span class="comment">// Looks if the father has a procecessing function for this message</span> +00223 <a class="code" href="a04558.html#a10">sint32</a> father_index = <a class="code" href="a02167.html#NLAISCRIPT_1_1CSuccessMsgClassa8">findMethod</a>( method.getName(), method.getParam() ); +00224 <span class="keywordflow">if</span> ( father_index != -1 ) +00225 { +00226 <span class="comment">// The father processes this message. Puts the index for the child in the table.</span> +00227 _MsgIndirectTable[ father_index ][ index_component ] = child_index; +00228 } +00229 <span class="keywordflow">else</span> +00230 { +00231 <span class="comment">// Ajoute la méthode chez le père</span> +00232 father_index = <a class="code" href="a02167.html#NLAISCRIPT_1_1CSuccessMsgClassz1838_0">addBrancheCode</a>( method.getName(), method.getParam() ); +00233 _Methode[ father_index ].Method->setCode((IOpCode *)NULL); +00234 _Methode[ father_index ].Method->setTypeOfMethode( <span class="keyword">new</span> <a class="code" href="a03022.html">NLAISCRIPT::COperandVoid</a>() ); +00235 +00236 +00237 <span class="comment">// Créée le tableau</span> +00238 <span class="keywordflow">if</span> ( father_index >= (<span class="keywordtype">int</span>) _MsgIndirectTable.size() ) +00239 { +00240 _MsgIndirectTable.push_back( <span class="keyword">new</span> <a class="code" href="a04558.html#a10">sint32</a>[ nb_scripted_components ] ); +00241 <a class="code" href="a04558.html#a10">sint32</a> <a class="code" href="a04223.html#a572">x</a>; +00242 <span class="keywordflow">for</span> ( <a class="code" href="a04223.html#a572">x</a> =0; <a class="code" href="a04223.html#a572">x</a> < nb_scripted_components; <a class="code" href="a04223.html#a572">x</a>++) +00243 _MsgIndirectTable[ father_index ][<a class="code" href="a04223.html#a572">x</a>] = -1; +00244 } +00245 _MsgIndirectTable[ father_index ] [ index_component ] = child_index; +00246 } +00247 } +00248 } +00249 index_component++; +00250 } +00251 } +00252 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAISCRIPT_1_1COperatorClassa11" doxytag="NLAISCRIPT::COperatorClass::buildFromVars" ></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="a02499.html">NLAILOGIC::CFact</a> * NLAISCRIPT::COperatorClass::buildFromVars </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a02284.html">NLAILOGIC::IBaseAssert</a> * </td> + <td class="mdname" nowrap>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>std::vector< <a class="el" href="a04558.html#a10">sint32</a> > & </td> + <td class="mdname" nowrap>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a02500.html">NLAILOGIC::CValueSet</a> * </td> + <td class="mdname" nowrap></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05854.html#l00324">324</a> of file <a class="el" href="a05854.html">logic/interpret_object_operator.cpp</a>. +<p> +References <a class="el" href="a05622.html#l00496">assert</a>, <a class="el" href="a06658.html#l00140">NLAILOGIC::CValueSet::setValue()</a>, and <a class="el" href="a05981.html#l00099">sint32</a>. +<p> +Referenced by <a class="el" href="a05854.html#l00334">backward()</a>, and <a class="el" href="a05854.html#l00350">forward()</a>. +<p> +<div class="fragment"><pre>00325 { +00326 <a class="code" href="a02499.html">NLAILOGIC::CFact</a> *result = <span class="keyword">new</span> <a class="code" href="a02499.html">NLAILOGIC::CFact</a>( assert); <span class="comment">// TODO:: pas besoin du nombre dans ce constructeur puisqu'on a l'assert</span> +00327 <span class="keywordflow">for</span> (<a class="code" href="a04558.html#a10">sint32</a> i = 0; i < (<a class="code" href="a04558.html#a10">sint32</a>) pl.size() ; i++ ) +00328 { +00329 result-><a class="code" href="a02500.html#NLAILOGIC_1_1CValueSeta64">setValue</a>( i, (*vars)[ pl[i] ] ); +00330 } +00331 <span class="keywordflow">return</span> result; +00332 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAISCRIPT_1_1COperatorClassa12" doxytag="NLAISCRIPT::COperatorClass::buildLogicTables" ></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 NLAISCRIPT::COperatorClass::buildLogicTables </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Compiles the conds and concs internaly. +<p> + +<p> +Definition at line <a class="el" href="a05854.html#l00657">657</a> of file <a class="el" href="a05854.html">logic/interpret_object_operator.cpp</a>. +<p> +References <a class="el" href="a05856.html#l00148">_ClassConcVars</a>, <a class="el" href="a05856.html#l00147">_ClassCondVars</a>, <a class="el" href="a05856.html#l00146">_ConcAsserts</a>, <a class="el" href="a05856.html#l00145">_CondAsserts</a>, <a class="el" href="a05697.html#l00044">NLAILOGIC::CFactBase::addAssert()</a>, <a class="el" href="a05854.html#l00490">addPostcondition()</a>, <a class="el" href="a05854.html#l00476">addPrecondition()</a>, <a class="el" href="a06669.html#l00144">NLAILOGIC::CVarSet::addVar()</a>, <a class="el" href="a05622.html#l00496">assert</a>, and <a class="el" href="a05538.html#l02935">size</a>. +<p> +<div class="fragment"><pre>00658 { +00659 <span class="comment">// _FactBase = new NLAILOGIC::CFactBase();</span> +00660 <span class="keywordtype">int</span> i; +00661 <span class="keywordflow">for</span> ( i = 0; i < (<span class="keywordtype">int</span>) <a class="code" href="a03025.html#NLAISCRIPT_1_1COperatorClasso6">_CondAsserts</a>.size() ; i++ ) +00662 { +00663 <a class="code" href="a03455.html">NLAIAGENT::CStringVarName</a> name = *(<a class="code" href="a03455.html">NLAIAGENT::CStringVarName</a> *)<a class="code" href="a03025.html#NLAISCRIPT_1_1COperatorClasso6">_CondAsserts</a>[i]->clone(); +00664 <a class="code" href="a02284.html">NLAILOGIC::IBaseAssert</a> *<a class="code" href="a04199.html#a15">assert</a> = <a class="code" href="a03025.html#NLAISCRIPT_1_1COperatorClasso8">_FactBase</a>-><a class="code" href="a02501.html#NLAILOGIC_1_1CFactBasea1">addAssert</a>( name, _ClassCondVars[i]-><a class="code" href="a04115.html#a94">size</a>() ); +00665 <a class="code" href="a02505.html">NLAILOGIC::CFactPattern</a> *pattern = <span class="keyword">new</span> <a class="code" href="a02505.html">NLAILOGIC::CFactPattern</a>( assert ); +00666 std::list<const NLAIAGENT::IVarName *>::iterator it_var = <a class="code" href="a03025.html#NLAISCRIPT_1_1COperatorClasso3">_ClassCondVars</a>[i]->begin(); +00667 <span class="keywordflow">while</span> ( it_var != _ClassCondVars[i]->end() ) +00668 { +00669 <a class="code" href="a03455.html">NLAIAGENT::CStringVarName</a> var_name = *(<a class="code" href="a03455.html">NLAIAGENT::CStringVarName</a> *)(*it_var); +00670 pattern-><a class="code" href="a02351.html#NLAILOGIC_1_1CVarSeta0">addVar</a>( <span class="keyword">new</span> <a class="code" href="a03645.html">NLAILOGIC::CVar</a>( var_name ) ); +00671 it_var++; +00672 } +00673 <a class="code" href="a03025.html#NLAISCRIPT_1_1COperatorClassa9">addPrecondition</a>( pattern ); +00674 } +00675 +00676 <span class="keywordflow">for</span> ( i = 0; i < (<span class="keywordtype">int</span>) <a class="code" href="a03025.html#NLAISCRIPT_1_1COperatorClasso4">_ConcAsserts</a>.size() ; i++ ) +00677 { +00678 <a class="code" href="a03455.html">NLAIAGENT::CStringVarName</a> name = *(<a class="code" href="a03455.html">NLAIAGENT::CStringVarName</a> *)<a class="code" href="a03025.html#NLAISCRIPT_1_1COperatorClasso4">_ConcAsserts</a>[i]->clone(); +00679 <a class="code" href="a02284.html">NLAILOGIC::IBaseAssert</a> *<a class="code" href="a04199.html#a15">assert</a> = <a class="code" href="a03025.html#NLAISCRIPT_1_1COperatorClasso8">_FactBase</a>-><a class="code" href="a02501.html#NLAILOGIC_1_1CFactBasea1">addAssert</a>( name, _ClassConcVars[i]-><a class="code" href="a04115.html#a94">size</a>() ); +00680 NLAILOGIC::CFactPattern *pattern = <span class="keyword">new</span> NLAILOGIC::CFactPattern( assert ); +00681 std::list<const NLAIAGENT::IVarName *>::iterator it_var = <a class="code" href="a03025.html#NLAISCRIPT_1_1COperatorClasso2">_ClassConcVars</a>[i]->begin(); +00682 <span class="keywordflow">while</span> ( it_var != _ClassConcVars[i]->end() ) +00683 { +00684 <a class="code" href="a03455.html">NLAIAGENT::CStringVarName</a> var_name = *(<a class="code" href="a03455.html">NLAIAGENT::CStringVarName</a> *)(*it_var); +00685 pattern-><a class="code" href="a02351.html#NLAILOGIC_1_1CVarSeta0">addVar</a>( <span class="keyword">new</span> <a class="code" href="a03645.html">NLAILOGIC::CVar</a>( var_name ) ); +00686 it_var++; +00687 } +00688 <a class="code" href="a03025.html#NLAISCRIPT_1_1COperatorClassa8">addPostcondition</a>( pattern ); +00689 } +00690 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAISCRIPT_1_1COperatorClassa13" doxytag="NLAISCRIPT::COperatorClass::buildNewInstance" ></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="a02149.html">NLAIAGENT::IObjectIA</a> * NLAISCRIPT::COperatorClass::buildNewInstance </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Instanciates an object of the class. +<p> + +<p> +Reimplemented from <a class="el" href="a02167.html#NLAISCRIPT_1_1CAgentClassa0">NLAISCRIPT::CAgentClass</a>. +<p> +Definition at line <a class="el" href="a05854.html#l00197">197</a> of file <a class="el" href="a05854.html">logic/interpret_object_operator.cpp</a>. +<p> +References <a class="el" href="a05646.html#l01126">components</a>, <a class="el" href="a05847.html#l00592">NLAISCRIPT::CAgentClass::createBaseClassComponents()</a>, <a class="el" href="a05856.html#l00248">getPriority()</a>, and <a class="el" href="a06133.html#l00888">NLAIAGENT::COperatorScript::setPriority()</a>. +<p> +<div class="fragment"><pre>00198 { +00199 <span class="comment">// Création des composants statiques</span> +00200 std::list<NLAIAGENT::IObjectIA *> <a class="code" href="a04223.html#a656">components</a>; +00201 <a class="code" href="a02167.html#NLAISCRIPT_1_1CSuccessMsgClassa2">createBaseClassComponents</a>( components ); +00202 +00203 <span class="comment">// Création du message</span> +00204 <a class="code" href="a03026.html">NLAIAGENT::COperatorScript</a> *instance = <span class="keyword">new</span> <a class="code" href="a03026.html">NLAIAGENT::COperatorScript</a>( NULL, NULL ,components, (COperatorClass *) <span class="keyword">this</span> ); +00205 instance-><a class="code" href="a03026.html#NLAIAGENT_1_1COperatorScripta89">setPriority</a>(<a class="code" href="a03025.html#NLAISCRIPT_1_1COperatorClassa57">getPriority</a>()); +00206 +00207 <span class="keywordflow">return</span> instance; +00208 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAISCRIPT_1_1CSuccessMsgClassz1840_1" doxytag="NLAISCRIPT::COperatorClass::buildVMethode" ></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 NLAISCRIPT::CAgentClass::buildVMethode </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Build the table that translates an agent's message processing function index into it's child equivalent message processing function index.<p> +Builds components included inherited ones<p> +Counts the number of scripted components +<p> +Definition at line <a class="el" href="a05847.html#l00649">649</a> of file <a class="el" href="a05847.html">interpret_object_agent.cpp</a>. +<p> +References <a class="el" href="a05848.html#l00159">NLAISCRIPT::CAgentClass::_Methode</a>, <a class="el" href="a05848.html#l00160">NLAISCRIPT::CAgentClass::_VTable</a>, <a class="el" href="a05848.html#l00065">NLAISCRIPT::IAgentMultiClass::getBaseMethodCount()</a>, <a class="el" href="a05845.html#l00106">NLAISCRIPT::IClassInterpret::getClassName()</a>, <a class="el" href="a05843.html#l00388">NLAISCRIPT::CMethodeName::getDebugString()</a>, <a class="el" href="a05386.html#l00080">NLAIC::IPointerGestion::incRef()</a>, <a class="el" href="a05981.html#l00099">sint32</a>, <a class="el" href="a05847.html#l00721">NLAISCRIPT::CAgentClass::sizeVTable()</a>, and <a class="el" href="a05646.html#l00985">t</a>. +<p> +Referenced by <a class="el" href="a05847.html#l00641">NLAISCRIPT::CAgentClass::buildVTable()</a>. +<p> +<div class="fragment"><pre>00650 { +00651 <span class="preprocessor">#ifdef NL_DEBUG</span> +00652 <span class="preprocessor"></span> <span class="keywordtype">char</span> txtClass[2048*8]; +00653 strcpy(txtClass,<a class="code" href="a02169.html#NLAISCRIPT_1_1IClassInterpreta7">getClassName</a>()->getString()); +00654 <span class="preprocessor">#endif </span> +00655 <span class="preprocessor"></span> <span class="keywordflow">if</span>(<a class="code" href="a02167.html#NLAISCRIPT_1_1CSuccessMsgClassz1840_3">sizeVTable</a>() > 1 ) +00656 { +00657 <span class="keyword">const</span> <a class="code" href="a02169.html#NLAISCRIPT_1_1IClassInterpretb0">IClassInterpret</a> *<a class="code" href="a04223.html#a627">t</a>= _VTable[<a class="code" href="a02167.html#NLAISCRIPT_1_1CSuccessMsgClassz1840_3">sizeVTable</a>() - 2]; +00658 +00659 <span class="keywordflow">if</span>(<a class="code" href="a04223.html#a627">t</a>->getMethodIndexSize() > <a class="code" href="a02168.html#NLAISCRIPT_1_1IAgentMultiClassa7">getBaseMethodCount</a>()) +00660 { +00661 _Methode.resize(<a class="code" href="a04223.html#a627">t</a>->getMethodIndexSize() - <a class="code" href="a02168.html#NLAISCRIPT_1_1IAgentMultiClassa7">getBaseMethodCount</a>()); +00662 +00663 <span class="keywordtype">int</span> mmax = <a class="code" href="a04223.html#a627">t</a>->getMethodIndexSize() - <a class="code" href="a02168.html#NLAISCRIPT_1_1IAgentMultiClassa7">getBaseMethodCount</a>(); +00664 <span class="keywordflow">for</span>(<a class="code" href="a04558.html#a10">sint32</a> i = 0; i < mmax; i ++) +00665 { +00666 CMethodeName *m = &<a class="code" href="a04223.html#a627">t</a>->getBrancheCode(i); +00667 <span class="preprocessor">#ifdef NL_DEBUG</span> +00668 <span class="preprocessor"></span> std::string txt; +00669 m->getDebugString(txt); +00670 <span class="preprocessor">#endif</span> +00671 <span class="preprocessor"></span> m->incRef(); +00672 _Methode[i] = m; +00673 } +00674 } +00675 } +00676 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAISCRIPT_1_1CSuccessMsgClassz1840_2" doxytag="NLAISCRIPT::COperatorClass::buildVTable" ></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 NLAISCRIPT::CAgentClass::buildVTable </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Build the table that translates an agent's message processing function index into it's child equivalent message processing function index.<p> +Builds components included inherited ones<p> +Counts the number of scripted components +<p> +Implements <a class="el" href="a02169.html#NLAISCRIPT_1_1IClassInterpreta1">NLAISCRIPT::IClassInterpret</a>. +<p> +Definition at line <a class="el" href="a05847.html#l00641">641</a> of file <a class="el" href="a05847.html">interpret_object_agent.cpp</a>. +<p> +References <a class="el" href="a05848.html#l00160">NLAISCRIPT::CAgentClass::_VTable</a>, <a class="el" href="a05847.html#l00649">NLAISCRIPT::CAgentClass::buildVMethode()</a>, and <a class="el" href="a05847.html#l00896">NLAISCRIPT::CAgentClass::getClassPath()</a>. +<p> +Referenced by <a class="el" href="a05852.html#l00229">NLAISCRIPT::CCancelGoalMsgClass::CCancelGoalMsgClass()</a>, <a class="el" href="a05852.html#l00281">NLAISCRIPT::CFactMsgClass::CFactMsgClass()</a>, <a class="el" href="a05836.html#l00087">NLAISCRIPT::CFailureMsgClass::CFailureMsgClass()</a>, <a class="el" href="a05839.html#l00034">NLAISCRIPT::CGetValueMsgClass::CGetValueMsgClass()</a>, <a class="el" href="a05852.html#l00177">NLAISCRIPT::CGoalMsgClass::CGoalMsgClass()</a>, <a class="el" href="a05852.html#l00123">NLAISCRIPT::CMsgNotifyParentClass::CMsgNotifyParentClass()</a>, <a class="el" href="a05841.html#l00033">NLAISCRIPT::CSetValueMsgClass::CSetValueMsgClass()</a>, and <a class="el" href="a05836.html#l00037">NLAISCRIPT::CSuccessMsgClass::CSuccessMsgClass()</a>. +<p> +<div class="fragment"><pre>00642 { +00643 _VTable.clear(); +00644 <a class="code" href="a02167.html#NLAISCRIPT_1_1CSuccessMsgClassz1842_1">getClassPath</a>(_VTable); +00645 +00646 <a class="code" href="a02167.html#NLAISCRIPT_1_1CSuccessMsgClassz1840_1">buildVMethode</a>(); +00647 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1VectorTypea0" doxytag="NLAISCRIPT::COperatorClass::canProcessMessage" ></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"> TQueue NLAIAGENT::IObjectIA::canProcessMessage </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const <a class="el" href="a02661.html">IVarName</a> & </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +The method <a class="el" href="a02149.html#NLAIAGENT_1_1VectorTypea0">canProcessMessage(const IVarName &msgName)</a> allow us to know if agent can preocess given by msgName.<p> +TQueue contain the liste of method (same as a run(msg)) that coud process the msg. +<p> +Reimplemented in <a class="el" href="a02782.html#NLAIAGENT_1_1CLocalAgentMaila0">NLAIAGENT::CLocalAgentMail</a>. +<p> +Definition at line <a class="el" href="a05475.html#l00350">350</a> of file <a class="el" href="a05475.html">baseai.cpp</a>. +<p> +References <a class="el" href="a05476.html#l00141">NLAIAGENT::TQueue</a>. +<p> +Referenced by <a class="el" href="a05401.html#l00161">NLAIAGENT::CLocalAgentMail::canProcessMessage()</a>. +<p> +<div class="fragment"><pre>00351 { +00352 <span class="keywordflow">return</span> <a class="code" href="a05364.html#a31">TQueue</a>(); +00353 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAISCRIPT_1_1COperatorClassa15" doxytag="NLAISCRIPT::COperatorClass::checkTriggerMsg" ></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#a10">sint32</a> NLAISCRIPT::COperatorClass::checkTriggerMsg </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const <a class="el" href="a02325.html">NLAIAGENT::IMessageBase</a> * </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05854.html#l00930">930</a> of file <a class="el" href="a05854.html">logic/interpret_object_operator.cpp</a>. +<p> +References <a class="el" href="a05856.html#l00055">_TrigMsgClass</a>, <a class="el" href="a05856.html#l00054">_TrigMsgPerf</a>, <a class="el" href="a05856.html#l00057">_TrigMsgPos</a>, <a class="el" href="a06066.html#l00131">NLAIAGENT::IMessageBase::getPerformatif()</a>, <a class="el" href="a02151.html#NLAICHARACTER_1_1IZonea20">NLAIC::IBasicType::getType()</a>, and <a class="el" href="a05981.html#l00099">sint32</a>. +<p> +<div class="fragment"><pre>00931 { +00932 <a class="code" href="a04558.html#a10">sint32</a> n = <a class="code" href="a03025.html#NLAISCRIPT_1_1COperatorClassr13">_TrigMsgPerf</a>.size(); +00933 +00934 <span class="keywordflow">while</span> ( n-- ) +00935 { +00936 <span class="keywordflow">if</span> ( msg-><a class="code" href="a02325.html#NLAIAGENT_1_1IMessageBasea9">getPerformatif</a>() == <a class="code" href="a03025.html#NLAISCRIPT_1_1COperatorClassr13">_TrigMsgPerf</a>[n] ) +00937 { +00938 <span class="preprocessor">#ifdef NL_DEBUG</span> +00939 <span class="preprocessor"></span> <span class="keyword">const</span> <span class="keywordtype">char</span> *msg_dbg = (<span class="keyword">const</span> <span class="keywordtype">char</span> *) msg-><a class="code" href="a02151.html#NLAICHARACTER_1_1IZonea20">getType</a>(); +00940 <span class="preprocessor">#endif</span> +00941 <span class="preprocessor"></span> <span class="keywordflow">if</span> ( msg-><a class="code" href="a02151.html#NLAICHARACTER_1_1IZonea20">getType</a>() == <a class="code" href="a03025.html#NLAISCRIPT_1_1COperatorClassr12">_TrigMsgClass</a>[n] ) +00942 <span class="keywordflow">return</span> <a class="code" href="a03025.html#NLAISCRIPT_1_1COperatorClassr14">_TrigMsgPos</a>[n]; +00943 } +00944 } +00945 <span class="keywordflow">return</span> -1; +00946 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAISCRIPT_1_1CSuccessMsgClassa1" doxytag="NLAISCRIPT::COperatorClass::classIsMounted" ></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 NLAISCRIPT::CAgentClass::classIsMounted </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Registers a new static component. +<p> + +<p> +Implements <a class="el" href="a02169.html#NLAISCRIPT_1_1IClassInterpreta3">NLAISCRIPT::IClassInterpret</a>. +<p> +Definition at line <a class="el" href="a05847.html#l00259">259</a> of file <a class="el" href="a05847.html">interpret_object_agent.cpp</a>. +<p> +<div class="fragment"><pre>00260 { +00261 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAISCRIPT_1_1COperatorClassa17" doxytag="NLAISCRIPT::COperatorClass::clone" ></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"> const <a class="el" href="a02151.html">NLAIC::IBasicType</a> * NLAISCRIPT::COperatorClass::clone </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +This function allow a pointer copy, that mean that the new class have the sam attributs caracteristics as the owne. +<p> +Reimplemented from <a class="el" href="a02167.html#NLAISCRIPT_1_1CAgentClassa8">NLAISCRIPT::CAgentClass</a>. +<p> +Definition at line <a class="el" href="a05854.html#l00172">172</a> of file <a class="el" href="a05854.html">logic/interpret_object_operator.cpp</a>. +<p> +References <a class="el" href="a05854.html#l00083">COperatorClass()</a>. +<p> +<div class="fragment"><pre>00173 { +00174 <a class="code" href="a02151.html">NLAIC::IBasicType</a> *<a class="code" href="a03025.html#NLAISCRIPT_1_1COperatorClassa17">clone</a> = <span class="keyword">new</span> <a class="code" href="a03025.html#NLAISCRIPT_1_1COperatorClassa19">COperatorClass</a>(*<span class="keyword">this</span>); +00175 <span class="keywordflow">return</span> clone; +00176 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAISCRIPT_1_1COperatorClassa18" doxytag="NLAISCRIPT::COperatorClass::compileFactPattern" ></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 NLAISCRIPT::COperatorClass::compileFactPattern </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a02505.html">NLAILOGIC::CFactPattern</a> * </td> + <td class="mdname" nowrap>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>std::vector< <a class="el" href="a02284.html">NLAILOGIC::IBaseAssert</a> * > & </td> + <td class="mdname" nowrap>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>std::vector< <a class="el" href="a04558.html#a10">sint32</a> > & </td> + <td class="mdname" nowrap></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Transforms a CFactPattern in an assert and a list of variable positions in the operator. +<p> + +<p> +Definition at line <a class="el" href="a05854.html#l00537">537</a> of file <a class="el" href="a05854.html">logic/interpret_object_operator.cpp</a>. +<p> +References <a class="el" href="a05847.html#l00290">NLAISCRIPT::CAgentClass::getComponentIndex()</a>, <a class="el" href="a06669.html#l00165">NLAILOGIC::CVarSet::getVars()</a>, <a class="el" href="a05847.html#l00264">NLAISCRIPT::CAgentClass::registerComponent()</a>, and <a class="el" href="a05981.html#l00099">sint32</a>. +<p> +Referenced by <a class="el" href="a05854.html#l00490">addPostcondition()</a>, and <a class="el" href="a05854.html#l00476">addPrecondition()</a>. +<p> +<div class="fragment"><pre>00538 { +00539 <span class="comment">// Recherche si variables à ajouter</span> +00540 std::vector<NLAILOGIC::IBaseVar *> *vars_pattern = fp-><a class="code" href="a02351.html#NLAILOGIC_1_1CVarSeta19">getVars</a>(); +00541 <span class="keywordflow">if</span> ( vars_pattern ) +00542 { +00543 std::vector<NLAILOGIC::IBaseVar *>::iterator it_cond = vars_pattern->begin(); +00544 <span class="keywordflow">while</span> ( it_cond != vars_pattern->end() ) +00545 { +00546 <span class="comment">// Looks in the class components if the var already exists</span> +00547 <a class="code" href="a04558.html#a10">sint32</a> id_var = <a class="code" href="a02167.html#NLAISCRIPT_1_1CSuccessMsgClassa15">getComponentIndex</a>( (*it_cond)->getName() ); +00548 +00549 <span class="keywordflow">if</span> ( id_var != -1 ) +00550 { +00551 <span class="comment">// If it exists, stores its index</span> +00552 pos_Vars.push_back( id_var ); +00553 } +00554 <span class="keywordflow">else</span> +00555 { +00556 <span class="comment">// If it doesn't exist, registers the var as a component of the class</span> +00557 <a class="code" href="a03455.html">NLAIAGENT::CStringVarName</a> var_name(<span class="stringliteral">"Var"</span>); +00558 <a class="code" href="a02167.html#NLAISCRIPT_1_1CSuccessMsgClassa42">registerComponent</a>( var_name , (<span class="keyword">const</span> <a class="code" href="a03455.html">NLAIAGENT::CStringVarName</a> &) (*it_cond)->getName() ); +00559 +00560 <span class="comment">// TODO: contrôle de type</span> +00561 +00562 <a class="code" href="a03025.html#NLAISCRIPT_1_1COperatorClassr17">_Vars</a>.push_back( (<a class="code" href="a02575.html">NLAILOGIC::IBaseVar</a> *)(*it_cond)->clone() ); +00563 pos_Vars.push_back( <a class="code" href="a03025.html#NLAISCRIPT_1_1COperatorClassr17">_Vars</a>.size() - 1); +00564 } +00565 it_cond++; +00566 } +00567 } +00568 +00569 <span class="keywordflow">for</span> ( <a class="code" href="a04558.html#a10">sint32</a> i = 0; i < (<a class="code" href="a04558.html#a10">sint32</a>) vars_pattern->size(); i++ ) +00570 { +00571 (*vars_pattern)[i]->release(); +00572 } +00573 <span class="keyword">delete</span> vars_pattern; +00574 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAISCRIPT_1_1CSuccessMsgClassa2" doxytag="NLAISCRIPT::COperatorClass::createBaseClassComponents" ></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 NLAISCRIPT::CAgentClass::createBaseClassComponents </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">std::list< <a class="el" href="a02149.html">NLAIAGENT::IObjectIA</a> * > & </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Build the bases classes for a new instance, including inherited ones. +<p> + +<p> +Definition at line <a class="el" href="a05847.html#l00592">592</a> of file <a class="el" href="a05847.html">interpret_object_agent.cpp</a>. +<p> +References <a class="el" href="a05848.html#l00169">NLAISCRIPT::CAgentClass::_Inheritance</a>, <a class="el" href="a05847.html#l00609">NLAISCRIPT::CAgentClass::createComponents()</a>, <a class="el" href="a05847.html#l00866">NLAISCRIPT::CAgentClass::getBaseClass()</a>, <a class="el" href="a05846.html#l00169">NLAISCRIPT::IClassInterpret::getName()</a>, <a class="el" href="a02661.html#NLAIAGENT_1_1IVarNamea6">NLAIAGENT::IVarName::getString()</a>, and <a class="el" href="a05981.html#l00099">sint32</a>. +<p> +Referenced by <a class="el" href="a05854.html#l00197">buildNewInstance()</a>, <a class="el" href="a05852.html#l00367">NLAISCRIPT::COnChangeMsgClass::buildNewInstance()</a>, <a class="el" href="a05852.html#l00318">NLAISCRIPT::CFactMsgClass::buildNewInstance()</a>, <a class="el" href="a05852.html#l00266">NLAISCRIPT::CCancelGoalMsgClass::buildNewInstance()</a>, <a class="el" href="a05852.html#l00213">NLAISCRIPT::CGoalMsgClass::buildNewInstance()</a>, <a class="el" href="a05852.html#l00162">NLAISCRIPT::CMsgNotifyParentClass::buildNewInstance()</a>, <a class="el" href="a05852.html#l00097">NLAISCRIPT::CMessageClass::buildNewInstance()</a>, <a class="el" href="a05847.html#l00726">NLAISCRIPT::CAgentClass::buildNewInstance()</a>, <a class="el" href="a05841.html#l00067">NLAISCRIPT::CSetValueMsgClass::buildNewInstance()</a>, <a class="el" href="a05839.html#l00068">NLAISCRIPT::CGetValueMsgClass::buildNewInstance()</a>, <a class="el" href="a05836.html#l00124">NLAISCRIPT::CFailureMsgClass::buildNewInstance()</a>, <a class="el" href="a05836.html#l00074">NLAISCRIPT::CSuccessMsgClass::buildNewInstance()</a>, <a class="el" href="a05832.html#l00179">NLAISCRIPT::CSeqFsmClass::buildNewInstance()</a>, <a class="el" href="a05832.html#l00086">NLAISCRIPT::CFsmClass::buildNewInstance()</a>, and <a class="el" href="a05830.html#l00057">NLAISCRIPT::CActorClass::buildNewInstance()</a>. +<p> +<div class="fragment"><pre>00593 { +00594 <span class="preprocessor">#ifdef NL_DEBUG</span> +00595 <span class="preprocessor"></span> <span class="keyword">const</span> <span class="keywordtype">char</span> *txt = NULL; +00596 <span class="keywordflow">if</span>(<a class="code" href="a02169.html#NLAISCRIPT_1_1IClassInterpreta18">getName</a>() != NULL) txt = <a class="code" href="a02169.html#NLAISCRIPT_1_1IClassInterpreta18">getName</a>()-><a class="code" href="a02661.html#NLAIAGENT_1_1IVarNamea6">getString</a>(); +00597 <span class="preprocessor">#endif </span> +00598 <span class="preprocessor"></span> <span class="keywordflow">if</span> ( _Inheritance ) +00599 { +00600 <span class="keyword">const</span> <a class="code" href="a02167.html#NLAISCRIPT_1_1CAgentClassa5">CAgentClass</a> *base_class = (<span class="keyword">const</span> <a class="code" href="a02167.html#NLAISCRIPT_1_1CAgentClassa5">CAgentClass</a> *) <a class="code" href="a02167.html#NLAISCRIPT_1_1CSuccessMsgClassz1842_0">getBaseClass</a>(); +00601 base_class->createBaseClassComponents( comps ); +00602 } +00603 <a class="code" href="a02167.html#NLAISCRIPT_1_1CSuccessMsgClassa3">createComponents</a>( comps ); +00604 <span class="preprocessor">#ifdef NL_DEBUG</span> +00605 <span class="preprocessor"></span> <a class="code" href="a04558.html#a10">sint32</a> i = (<a class="code" href="a04558.html#a10">sint32</a>)comps.size(); +00606 <span class="preprocessor">#endif </span> +00607 <span class="preprocessor"></span> } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAISCRIPT_1_1CSuccessMsgClassa3" doxytag="NLAISCRIPT::COperatorClass::createComponents" ></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 NLAISCRIPT::CAgentClass::createComponents </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">std::list< <a class="el" href="a02149.html">NLAIAGENT::IObjectIA</a> * > & </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Build the class static components for a new instance, including inherited ones. +<p> + +<p> +Definition at line <a class="el" href="a05847.html#l00609">609</a> of file <a class="el" href="a05847.html">interpret_object_agent.cpp</a>. +<p> +References <a class="el" href="a02151.html#NLAICHARACTER_1_1IZonea7">NLAIC::IBasicType::getDebugString()</a>, <a class="el" href="a06325.html#l00034">NLAIC::getRegistry()</a>, <a class="el" href="a02661.html#NLAIAGENT_1_1IVarNamea6">NLAIAGENT::IVarName::getString()</a>, <a class="el" href="a05646.html#l00221">id</a>, <a class="el" href="a05386.html#l00080">NLAIC::IPointerGestion::incRef()</a>, <a class="el" href="a05846.html#l00049">NLAISCRIPT::CComponent::ObjectName</a>, <a class="el" href="a05846.html#l00047">NLAISCRIPT::CComponent::RegisterName</a>, <a class="el" href="a05981.html#l00104">sint</a>, <a class="el" href="a05981.html#l00099">sint32</a>, <a class="el" href="a05846.html#l00060">NLAISCRIPT::CComponent::Static</a>, and <a class="el" href="a05846.html#l00051">NLAISCRIPT::CComponent::StaticValue</a>. +<p> +Referenced by <a class="el" href="a05847.html#l00592">NLAISCRIPT::CAgentClass::createBaseClassComponents()</a>. +<p> +<div class="fragment"><pre>00610 { +00611 <a class="code" href="a02149.html">NLAIAGENT::IObjectIA</a> *obj; +00612 <span class="keywordflow">for</span> (<a class="code" href="a04558.html#a10">sint32</a> i = 0; i < (<a class="code" href="a04558.html#a10">sint32</a>) _Components.size(); i++) +00613 { +00614 CComponent *comp = _Components[i]; +00615 <span class="keywordflow">if</span> ( !comp->Static ) +00616 { +00617 <span class="comment">//sint32 class_index = NLAIC::getRegistry()->getNumIdent( comp->RegisterName->getString() );</span> +00618 <a class="code" href="a02650.html">NLAIC::CIdentType</a> <a class="code" href="a04223.html#a564">id</a>(comp->RegisterName->getString()); +00619 <a class="code" href="a04558.html#a14">sint</a> class_index = <span class="keywordtype">id</span>.getIndex(); +00620 obj = (<a class="code" href="a02149.html">NLAIAGENT::IObjectIA</a> *) <a class="code" href="a05365.html#a10">NLAIC::getRegistry</a>()->createInstance( class_index ); +00621 } +00622 <span class="keywordflow">else</span> +00623 { +00624 <span class="preprocessor">#ifdef NL_DEBUG</span> +00625 <span class="preprocessor"></span> std::string comp_name; +00626 comp->RegisterName->getDebugString( comp_name ); +00627 +00628 std::string comp_type; +00629 comp->ObjectName->getDebugString( comp_type ); +00630 +00631 std::string buf; +00632 comp->StaticValue->getDebugString(buf); +00633 <span class="preprocessor">#endif</span> +00634 <span class="preprocessor"></span> obj = comp->StaticValue; +00635 comp->StaticValue-><a class="code" href="a02145.html#NLAIAGENT_1_1VectorTypea16">incRef</a>(); +00636 } +00637 comps.push_back( obj ); +00638 } +00639 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1VectorTypea2" doxytag="NLAISCRIPT::COperatorClass::decRef" ></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#a10">sint32</a> NLAIC::IPointerGestion::decRef </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Decrement the reference of an object. +<p> + +<p> +Definition at line <a class="el" href="a05386.html#l00093">93</a> of file <a class="el" href="a05386.html">abstract_interface.h</a>. +<p> +References <a class="el" href="a05386.html#l00066">NLAIC::IPointerGestion::_Ref</a>, and <a class="el" href="a05981.html#l00099">sint32</a>. +<p> +Referenced by <a class="el" href="a05386.html#l00086">NLAIC::IPointerGestion::release()</a>, and <a class="el" href="a05416.html#l00688">NLAIAGENT::CAgentTimerHandle::~CAgentTimerHandle()</a>. +<p> +<div class="fragment"><pre>00094 { +00095 <span class="keywordflow">return</span> --_Ref; +00096 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAISCRIPT_1_1COperatorClassa27" doxytag="NLAISCRIPT::COperatorClass::failure" ></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 NLAISCRIPT::COperatorClass::failure </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a02288.html">NLAILOGIC::IBaseOperator</a> * </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05854.html#l00467">467</a> of file <a class="el" href="a05854.html">logic/interpret_object_operator.cpp</a>. +<p> +<div class="fragment"><pre>00468 { +00469 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAISCRIPT_1_1COperatorClassa28" doxytag="NLAISCRIPT::COperatorClass::failure" ></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 NLAISCRIPT::COperatorClass::failure </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05854.html#l00459">459</a> of file <a class="el" href="a05854.html">logic/interpret_object_operator.cpp</a>. +<p> +<div class="fragment"><pre>00460 { +00461 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAISCRIPT_1_1CSuccessMsgClassa8" doxytag="NLAISCRIPT::COperatorClass::findMethod" ></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#a10">sint32</a> NLAISCRIPT::CAgentClass::findMethod </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const <a class="el" href="a02661.html">NLAIAGENT::IVarName</a> & </td> + <td class="mdname" nowrap> <em>name</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>const <a class="el" href="a03039.html">CParam</a> & </td> + <td class="mdname" nowrap> <em>CParam</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"> const<code> [inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05847.html#l00577">577</a> of file <a class="el" href="a05847.html">interpret_object_agent.cpp</a>. +<p> +References <a class="el" href="a05848.html#l00159">NLAISCRIPT::CAgentClass::_Methode</a>, <a class="el" href="a05843.html#l00348">NLAISCRIPT::CMethodeName::getName()</a>, <a class="el" href="a05843.html#l00361">NLAISCRIPT::CMethodeName::getParam()</a>, <a class="el" href="a05646.html#l00683">param</a>, and <a class="el" href="a05981.html#l00099">sint32</a>. +<p> +Referenced by <a class="el" href="a05847.html#l00458">NLAISCRIPT::CAgentClass::addBrancheCode()</a>, <a class="el" href="a05847.html#l00150">NLAISCRIPT::CAgentClass::buildChildsMessageMap()</a>, <a class="el" href="a05412.html#l02420">NLAIAGENT::CAgentScript::callConstructor()</a>, <a class="el" href="a05412.html#l02450">NLAIAGENT::CAgentScript::callFunction()</a>, and <a class="el" href="a05847.html#l00958">NLAISCRIPT::CAgentClass::initStatics()</a>. +<p> +<div class="fragment"><pre>00578 { +00579 <span class="keywordflow">for</span>(<a class="code" href="a04558.html#a10">sint32</a> i = 0 ; i < (<a class="code" href="a04558.html#a10">sint32</a>)_Methode.size(); i ++) +00580 { +00581 <span class="preprocessor">#ifdef NL_DEBUG</span> +00582 <span class="preprocessor"></span> <span class="keyword">const</span> <span class="keywordtype">char</span> *dbg_method_name = _Methode[i].Method->getName().getString(); +00583 <span class="preprocessor">#endif²</span> +00584 <span class="preprocessor"></span> CMethodeName *m = _Methode[i].Method; +00585 <span class="keyword">const</span> CParam &p = (<span class="keyword">const</span> CParam &)m->getParam(); +00586 <span class="keywordflow">if</span>( m->getName() == name && p == <a class="code" href="a04223.html#a590">param</a> ) +00587 <span class="keywordflow">return</span> i; +00588 } +00589 <span class="keywordflow">return</span> -1; +00590 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAISCRIPT_1_1COperatorClassa30" doxytag="NLAISCRIPT::COperatorClass::forward" ></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::list< <a class="el" href="a02499.html">NLAILOGIC::CFact</a> * > * NLAISCRIPT::COperatorClass::forward </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">std::list< <a class="el" href="a02499.html">NLAILOGIC::CFact</a> * > & </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05854.html#l00350">350</a> of file <a class="el" href="a05854.html">logic/interpret_object_operator.cpp</a>. +<p> +References <a class="el" href="a05856.html#l00051">_Concs</a>, <a class="el" href="a05854.html#l00324">buildFromVars()</a>, <a class="el" href="a05386.html#l00086">NLAIC::IPointerGestion::release()</a>, <a class="el" href="a05981.html#l00099">sint32</a>, and <a class="el" href="a05854.html#l00285">unifyForward()</a>. +<p> +<div class="fragment"><pre>00351 { +00352 <a class="code" href="a02500.html">NLAILOGIC::CValueSet</a> *unified = <a class="code" href="a03025.html#NLAISCRIPT_1_1COperatorClassa115">unifyForward</a>( facts ); +00353 <span class="preprocessor">#ifdef NL_DEBUG</span> +00354 <span class="preprocessor"></span> +00355 <span class="preprocessor">#endif</span> +00356 <span class="preprocessor"></span> std::list<NLAILOGIC::CFact *> *result = <span class="keyword">new</span> std::list<NLAILOGIC::CFact *>; +00357 <span class="keywordflow">for</span> (<a class="code" href="a04558.html#a10">sint32</a> i = 0; i < (<a class="code" href="a04558.html#a10">sint32</a>) <a class="code" href="a03025.html#NLAISCRIPT_1_1COperatorClassr1">_Concs</a>.size(); i++ ) +00358 { +00359 <a class="code" href="a02499.html">NLAILOGIC::CFact</a> *tmp = <a class="code" href="a03025.html#NLAISCRIPT_1_1COperatorClassa11">buildFromVars</a>( _Concs[i], _PosVarsConc[i], unified ); +00360 result->push_back( tmp ); +00361 <span class="preprocessor">#ifdef NL_DEBUG</span> +00362 <span class="preprocessor"></span> +00363 <span class="preprocessor">#endif</span> +00364 <span class="preprocessor"></span> } +00365 unified-><a class="code" href="a02145.html#NLAIAGENT_1_1VectorTypea46">release</a>(); +00366 <span class="keywordflow">return</span> result; +00367 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAISCRIPT_1_1COperatorClassa31" doxytag="NLAISCRIPT::COperatorClass::getAssertPos" ></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 NLAISCRIPT::COperatorClass::getAssertPos </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a02284.html">NLAILOGIC::IBaseAssert</a> * </td> + <td class="mdname" nowrap>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>std::vector< <a class="el" href="a02284.html">NLAILOGIC::IBaseAssert</a> * > & </td> + <td class="mdname" nowrap>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>std::vector< <a class="el" href="a04558.html#a10">sint32</a> > & </td> + <td class="mdname" nowrap></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05854.html#l00441">441</a> of file <a class="el" href="a05854.html">logic/interpret_object_operator.cpp</a>. +<p> +References <a class="el" href="a06128.html#l00036">NLAISCRIPT::l</a>, and <a class="el" href="a05981.html#l00099">sint32</a>. +<p> +Referenced by <a class="el" href="a06133.html#l00473">NLAIAGENT::COperatorScript::propagate()</a>, <a class="el" href="a05854.html#l00370">propagate()</a>, <a class="el" href="a05854.html#l00246">unifyBackward()</a>, and <a class="el" href="a05854.html#l00285">unifyForward()</a>. +<p> +<div class="fragment"><pre>00442 { +00443 <span class="keywordflow">for</span> (<a class="code" href="a04558.html#a10">sint32</a> i = 0; i < (<a class="code" href="a04558.html#a10">sint32</a>) <a class="code" href="a05373.html#a2">l</a>.size() ; i++ ) +00444 { +00445 <span class="keywordflow">if</span> ( (*(<a class="code" href="a05373.html#a2">l</a>[i])) == a ) +00446 pos.push_back(i); +00447 } +00448 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAISCRIPT_1_1CSuccessMsgClassz1842_0" doxytag="NLAISCRIPT::COperatorClass::getBaseClass" ></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"> const <a class="el" href="a02169.html">IClassInterpret</a> * NLAISCRIPT::CAgentClass::getBaseClass </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Defines the base class of this class. +<p> + +<p> +Implements <a class="el" href="a02169.html#NLAISCRIPT_1_1IClassInterpreta6">NLAISCRIPT::IClassInterpret</a>. +<p> +Definition at line <a class="el" href="a05847.html#l00866">866</a> of file <a class="el" href="a05847.html">interpret_object_agent.cpp</a>. +<p> +References <a class="el" href="a05848.html#l00164">NLAISCRIPT::CAgentClass::_Base_class</a>, <a class="el" href="a05848.html#l00169">NLAISCRIPT::CAgentClass::_Inheritance</a>, <a class="el" href="a06325.html#l00034">NLAIC::getRegistry()</a>, and <a class="el" href="a02661.html#NLAIAGENT_1_1IVarNamea6">NLAIAGENT::IVarName::getString()</a>. +<p> +Referenced by <a class="el" href="a05847.html#l00592">NLAISCRIPT::CAgentClass::createBaseClassComponents()</a>, <a class="el" href="a05847.html#l00896">NLAISCRIPT::CAgentClass::getClassPath()</a>, <a class="el" href="a05847.html#l00912">NLAISCRIPT::CAgentClass::getNbBaseClass()</a>, <a class="el" href="a05847.html#l00369">NLAISCRIPT::CAgentClass::getStaticMember()</a>, <a class="el" href="a05847.html#l00318">NLAISCRIPT::CAgentClass::getStaticMemberIndex()</a>, and <a class="el" href="a05847.html#l00884">NLAISCRIPT::CAgentClass::getSuperClass()</a>. +<p> +<div class="fragment"><pre>00867 { +00868 <span class="keywordflow">if</span> ( _Inheritance ) +00869 { +00870 <span class="keywordflow">if</span>(_Base_class == NULL) +00871 { +00872 <span class="keywordflow">return</span> (<span class="keyword">const</span> <a class="code" href="a02169.html#NLAISCRIPT_1_1IClassInterpretb0">IClassInterpret</a> *)( (CClassInterpretFactory *) <a class="code" href="a05365.html#a10">NLAIC::getRegistry</a>()->getFactory( _Inheritance->getString() ) )->getClass(); +00873 } +00874 <span class="keywordflow">else</span> +00875 { +00876 <span class="keywordflow">return</span> _Base_class; +00877 } +00878 } +00879 <span class="keywordflow">else</span> +00880 <span class="keywordflow">return</span> NULL; +00881 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAISCRIPT_1_1IAgentMultiClassa7" doxytag="NLAISCRIPT::COperatorClass::getBaseMethodCount" ></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#a10">sint32</a> NLAISCRIPT::IAgentMultiClass::getBaseMethodCount </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [inline, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Get the base method count. +<p> + +<p> +Definition at line <a class="el" href="a05848.html#l00065">65</a> of file <a class="el" href="a05848.html">interpret_object_agent.h</a>. +<p> +References <a class="el" href="a05848.html#l00050">NLAISCRIPT::IAgentMultiClass::_BaseMethodCount</a>, and <a class="el" href="a05981.html#l00099">sint32</a>. +<p> +Referenced by <a class="el" href="a05847.html#l00649">NLAISCRIPT::CAgentClass::buildVMethode()</a>, <a class="el" href="a05830.html#l00010">NLAISCRIPT::CActorClass::CActorClass()</a>, <a class="el" href="a05847.html#l00039">NLAISCRIPT::CAgentClass::CAgentClass()</a>, <a class="el" href="a05832.html#l00014">NLAISCRIPT::CFsmClass::CFsmClass()</a>, <a class="el" href="a05850.html#l00033">NLAISCRIPT::CManagerClass::CManagerClass()</a>, <a class="el" href="a05852.html#l00040">NLAISCRIPT::CMessageClass::CMessageClass()</a>, <a class="el" href="a05854.html#l00023">COperatorClass()</a>, <a class="el" href="a05832.html#l00121">NLAISCRIPT::CSeqFsmClass::CSeqFsmClass()</a>, <a class="el" href="a05847.html#l00254">NLAISCRIPT::CAgentClass::getChildMessageIndex()</a>, <a class="el" href="a05847.html#l00453">NLAISCRIPT::CAgentClass::getMethodIndexSize()</a>, <a class="el" href="a05847.html#l00506">NLAISCRIPT::CAgentClass::getPrivateMember()</a>, <a class="el" href="a05847.html#l00953">NLAISCRIPT::CAgentClass::setConstroctorMethod()</a>, and <a class="el" href="a05847.html#l00943">NLAISCRIPT::CAgentClass::setRunMethod()</a>. +<p> +<div class="fragment"><pre>00066 { +00067 <span class="keywordflow">return</span> _BaseMethodCount; +00068 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAISCRIPT_1_1IAgentMultiClassa8" doxytag="NLAISCRIPT::COperatorClass::getBaseObjectInstance" ></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="a02149.html">NLAIAGENT::IObjectIA</a>* NLAISCRIPT::IAgentMultiClass::getBaseObjectInstance </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [inline, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Get the C++ base class representative pointer. +<p> + +<p> +Definition at line <a class="el" href="a05848.html#l00077">77</a> of file <a class="el" href="a05848.html">interpret_object_agent.h</a>. +<p> +References <a class="el" href="a05848.html#l00052">NLAISCRIPT::IAgentMultiClass::_BaseObjectInstance</a>. +<p> +Referenced by <a class="el" href="a05847.html#l00540">NLAISCRIPT::CAgentClass::isMember()</a>. +<p> +<div class="fragment"><pre>00078 { +00079 <span class="keywordflow">return</span> _BaseObjectInstance; +00080 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAISCRIPT_1_1CSuccessMsgClassz1838_1" doxytag="NLAISCRIPT::COperatorClass::getBrancheCode" ></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="a02925.html">CMethodeName</a> & NLAISCRIPT::CAgentClass::getBrancheCode </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a10">sint32</a> </td> + <td class="mdname" nowrap>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a04558.html#a10">sint32</a> </td> + <td class="mdname" nowrap></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"> const<code> [virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +get method in the base class. where h is the base class offset m is the method offset. +<p> + +<p> +Implements <a class="el" href="a02169.html#NLAISCRIPT_1_1IClassInterpretz1834_1">NLAISCRIPT::IClassInterpret</a>. +<p> +Definition at line <a class="el" href="a05847.html#l00438">438</a> of file <a class="el" href="a05847.html">interpret_object_agent.cpp</a>. +<p> +References <a class="el" href="a05848.html#l00160">NLAISCRIPT::CAgentClass::_VTable</a>, and <a class="el" href="a05981.html#l00099">sint32</a>. +<p> +<div class="fragment"><pre>00439 { +00440 <span class="preprocessor">#ifdef NL_DEBUG</span> +00441 <span class="preprocessor"></span> <span class="keyword">const</span> <a class="code" href="a02149.html">NLAIAGENT::IObjectIA</a> *o = _VTable[ no_base_class ]; +00442 <span class="preprocessor">#endif</span> +00443 <span class="preprocessor"></span> +00444 <span class="keywordflow">return</span> _VTable[ no_base_class ]->getBrancheCode( no_methode ); +00445 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAISCRIPT_1_1CSuccessMsgClassz1838_2" doxytag="NLAISCRIPT::COperatorClass::getBrancheCode" ></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="a02925.html">CMethodeName</a> & NLAISCRIPT::CAgentClass::getBrancheCode </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a10">sint32</a> </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +throw <a class="el" href="a02489.html">NLAIE::CExceptionUnReference</a>; +<p> + +<p> +Implements <a class="el" href="a02169.html#NLAISCRIPT_1_1IClassInterpretz1834_2">NLAISCRIPT::IClassInterpret</a>. +<p> +Definition at line <a class="el" href="a05847.html#l00424">424</a> of file <a class="el" href="a05847.html">interpret_object_agent.cpp</a>. +<p> +References <a class="el" href="a05848.html#l00159">NLAISCRIPT::CAgentClass::_Methode</a>, <a class="el" href="a05981.html#l00104">sint</a>, and <a class="el" href="a05981.html#l00099">sint32</a>. +<p> +<div class="fragment"><pre>00425 { +00426 <span class="preprocessor">#ifdef NL_DEBUG</span> +00427 <span class="preprocessor"></span> <a class="code" href="a04558.html#a14">sint</a> kkk = _Methode.size(); +00428 <span class="preprocessor">#endif</span> +00429 <span class="preprocessor"></span> CMethodeName *a = _Methode[i].Method; +00430 <span class="keywordflow">return</span> *a; +00431 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAISCRIPT_1_1CSuccessMsgClassz1838_3" doxytag="NLAISCRIPT::COperatorClass::getBrancheCode" ></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="a02925.html">CMethodeName</a> & NLAISCRIPT::CAgentClass::getBrancheCode </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Implements <a class="el" href="a02169.html#NLAISCRIPT_1_1IClassInterpretz1834_3">NLAISCRIPT::IClassInterpret</a>. +<p> +Definition at line <a class="el" href="a05847.html#l00447">447</a> of file <a class="el" href="a05847.html">interpret_object_agent.cpp</a>. +<p> +References <a class="el" href="a05848.html#l00162">NLAISCRIPT::CAgentClass::_lastRef</a>, and <a class="el" href="a05848.html#l00159">NLAISCRIPT::CAgentClass::_Methode</a>. +<p> +Referenced by <a class="el" href="a05847.html#l00150">NLAISCRIPT::CAgentClass::buildChildsMessageMap()</a>, <a class="el" href="a05412.html#l02420">NLAIAGENT::CAgentScript::callConstructor()</a>, <a class="el" href="a05412.html#l02450">NLAIAGENT::CAgentScript::callFunction()</a>, <a class="el" href="a06030.html#l00088">NLAIAGENT::CMessageScript::getMethode()</a>, <a class="el" href="a05412.html#l00558">NLAIAGENT::CAgentScript::getMethode()</a>, <a class="el" href="a05412.html#l02012">NLAIAGENT::CAgentScript::getMethodeMemberDebugString()</a>, <a class="el" href="a05847.html#l00958">NLAISCRIPT::CAgentClass::initStatics()</a>, and <a class="el" href="a05412.html#l02112">NLAIAGENT::CAgentScript::runMethodeMember()</a>. +<p> +<div class="fragment"><pre>00448 { +00449 <span class="keywordflow">if</span>(_lastRef < 0) <span class="keywordflow">throw</span> <a class="code" href="a02489.html">NLAIE::CExceptionUnReference</a>(<span class="stringliteral">"you try to access to an unrefrence index"</span>); +00450 <span class="keywordflow">return</span> *_Methode[_lastRef].Method; +00451 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAISCRIPT_1_1CSuccessMsgClassz1838_4" doxytag="NLAISCRIPT::COperatorClass::getBrancheCodeSize" ></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#a10">sint32</a> NLAISCRIPT::CAgentClass::getBrancheCodeSize </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05847.html#l00433">433</a> of file <a class="el" href="a05847.html">interpret_object_agent.cpp</a>. +<p> +References <a class="el" href="a05848.html#l00159">NLAISCRIPT::CAgentClass::_Methode</a>, and <a class="el" href="a05981.html#l00099">sint32</a>. +<p> +Referenced by <a class="el" href="a05847.html#l00150">NLAISCRIPT::CAgentClass::buildChildsMessageMap()</a>. +<p> +<div class="fragment"><pre>00434 { +00435 <span class="keywordflow">return</span> _Methode.size(); +00436 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAISCRIPT_1_1CSuccessMsgClassa11" doxytag="NLAISCRIPT::COperatorClass::getChildMessageIndex" ></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#a10">sint32</a> NLAISCRIPT::CAgentClass::getChildMessageIndex </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const <a class="el" href="a02325.html">NLAIAGENT::IMessageBase</a> * </td> + <td class="mdname" nowrap>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a04558.html#a10">sint32</a> </td> + <td class="mdname" nowrap></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05847.html#l00254">254</a> of file <a class="el" href="a05847.html">interpret_object_agent.cpp</a>. +<p> +References <a class="el" href="a05848.html#l00161">NLAISCRIPT::CAgentClass::_MsgIndirectTable</a>, <a class="el" href="a05848.html#l00065">NLAISCRIPT::IAgentMultiClass::getBaseMethodCount()</a>, <a class="el" href="a06066.html#l00167">NLAIAGENT::IMessageBase::getMethodIndex()</a>, and <a class="el" href="a05981.html#l00099">sint32</a>. +<p> +Referenced by <a class="el" href="a05412.html#l00512">NLAIAGENT::CAgentScript::getChildMessageIndex()</a>. +<p> +<div class="fragment"><pre>00255 { +00256 <span class="keywordflow">return</span> _MsgIndirectTable[ msg-><a class="code" href="a02325.html#NLAIAGENT_1_1IMessageBasez1716_1">getMethodIndex</a>() - <a class="code" href="a02168.html#NLAISCRIPT_1_1IAgentMultiClassa7">getBaseMethodCount</a>() ][child_index]; +00257 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1VectorTypez1764_0" doxytag="NLAISCRIPT::COperatorClass::getClassName" ></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"> virtual std::string NLAIC::IPointerGestion::getClassName </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline, virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Implements <a class="el" href="a02540.html#NL3D_1_1ITrackKeyFramer_3_01CKeyVector_01_4a6">NLMISC::IClassable</a>. +<p> +Reimplemented in <a class="el" href="a02650.html#NLAIC_1_1CIdentTypez1766_0">NLAIC::CIdentType</a>. +<p> +Definition at line <a class="el" href="a05386.html#l00116">116</a> of file <a class="el" href="a05386.html">abstract_interface.h</a>. +<p> +Referenced by <a class="el" href="a05847.html#l00678">NLAISCRIPT::CAgentClass::isClassInheritedFrom()</a>. +<p> +<div class="fragment"><pre>00117 { +00118 <span class="keywordflow">return</span> std::string(<span class="stringliteral">"<unnamed>"</span>); +00119 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAISCRIPT_1_1IClassInterpreta7" doxytag="NLAISCRIPT::COperatorClass::getClassName" ></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"> const <a class="el" href="a02661.html">NLAIAGENT::IVarName</a> * NLAISCRIPT::IClassInterpret::getClassName </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Returns the name of the class in the registry. +<p> + +<p> +Definition at line <a class="el" href="a05845.html#l00106">106</a> of file <a class="el" href="a05845.html">interpret_object.cpp</a>. +<p> +Referenced by <a class="el" href="a05847.html#l00458">NLAISCRIPT::CAgentClass::addBrancheCode()</a>, <a class="el" href="a05847.html#l00150">NLAISCRIPT::CAgentClass::buildChildsMessageMap()</a>, <a class="el" href="a05847.html#l00649">NLAISCRIPT::CAgentClass::buildVMethode()</a>, <a class="el" href="a05849.html#l00048">NLAISCRIPT::CListClass::find()</a>, <a class="el" href="a05412.html#l00079">NLAIAGENT::CAgentScript::getClassName()</a>, <a class="el" href="a05847.html#l00755">NLAISCRIPT::CAgentClass::getDebugString()</a>, <a class="el" href="a05789.html#l00029">NLAISCRIPT::CCompilateur::getInheritanceRange()</a>, <a class="el" href="a05847.html#l00678">NLAISCRIPT::CAgentClass::isClassInheritedFrom()</a>, <a class="el" href="a05847.html#l00825">NLAISCRIPT::CAgentClass::isEqual()</a>, and <a class="el" href="a06755.html#l00539">NLAISCRIPT::CCompilateur::RegisterClass()</a>. +<p> +<div class="fragment"><pre>00107 { +00108 <span class="keywordflow">return</span> _Name; +00109 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAISCRIPT_1_1CSuccessMsgClassz1842_1" doxytag="NLAISCRIPT::COperatorClass::getClassPath" ></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"> const void NLAISCRIPT::CAgentClass::getClassPath </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">std::vector< const <a class="el" href="a02167.html">CAgentClass</a> * > & </td> + <td class="mdname1" valign="top" nowrap> <em>path</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Builds a vector with the path from the super class to this class. +<p> + +<p> +Definition at line <a class="el" href="a05847.html#l00896">896</a> of file <a class="el" href="a05847.html">interpret_object_agent.cpp</a>. +<p> +References <a class="el" href="a05847.html#l00866">NLAISCRIPT::CAgentClass::getBaseClass()</a>, <a class="el" href="a05846.html#l00169">NLAISCRIPT::IClassInterpret::getName()</a>, and <a class="el" href="a02661.html#NLAIAGENT_1_1IVarNamea6">NLAIAGENT::IVarName::getString()</a>. +<p> +Referenced by <a class="el" href="a05847.html#l00641">NLAISCRIPT::CAgentClass::buildVTable()</a>. +<p> +<div class="fragment"><pre>00897 { +00898 <span class="keyword">const</span> <a class="code" href="a02167.html#NLAISCRIPT_1_1CAgentClassa5">CAgentClass</a> *base_class = (<a class="code" href="a02167.html#NLAISCRIPT_1_1CAgentClassa5">CAgentClass</a> *) <a class="code" href="a02167.html#NLAISCRIPT_1_1CSuccessMsgClassz1842_0">getBaseClass</a>(); +00899 <span class="preprocessor">#ifdef NL_DEBUG</span> +00900 <span class="preprocessor"></span> <span class="keyword">const</span> <span class="keywordtype">char</span> *txt = NULL; +00901 <span class="keywordflow">if</span>(<a class="code" href="a02169.html#NLAISCRIPT_1_1IClassInterpreta18">getName</a>() != NULL) txt = <a class="code" href="a02169.html#NLAISCRIPT_1_1IClassInterpreta18">getName</a>()-><a class="code" href="a02661.html#NLAIAGENT_1_1IVarNamea6">getString</a>(); +00902 <span class="keywordflow">else</span> <span class="keywordflow">if</span>(<a class="code" href="a02169.html#NLAISCRIPT_1_1IClassInterpreta18">getName</a>() != NULL) txt = base_class->getName()->getString(); +00903 <span class="preprocessor">#endif </span> +00904 <span class="preprocessor"></span> <span class="keywordflow">if</span> ( base_class <span class="comment">/*&& !(base_class->getType() == IdAgentClass)*/</span>) +00905 { +00906 base_class->getClassPath( path ); +00907 } +00908 path.push_back( <span class="keyword">this</span> ); +00909 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAISCRIPT_1_1CSuccessMsgClassa13" doxytag="NLAISCRIPT::COperatorClass::getComponent" ></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="a02395.html">CComponent</a> * NLAISCRIPT::CAgentClass::getComponent </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const <a class="el" href="a02661.html">NLAIAGENT::IVarName</a> & </td> + <td class="mdname1" valign="top" nowrap> <em>name</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Returns a <a class="el" href="a02395.html">CComponent</a> struct describing a static component from its name in the class Only the class's own static members are considered, not the inherited ones. +<p> +Implements <a class="el" href="a02169.html#NLAISCRIPT_1_1IClassInterpreta9">NLAISCRIPT::IClassInterpret</a>. +<p> +Definition at line <a class="el" href="a05847.html#l00307">307</a> of file <a class="el" href="a05847.html">interpret_object_agent.cpp</a>. +<p> +References <a class="el" href="a05981.html#l00099">sint32</a>. +<p> +<div class="fragment"><pre>00308 { +00309 <span class="keywordflow">for</span>(<a class="code" href="a04558.html#a10">sint32</a> i = _Components.size() - 1; i >= 0; i --) +00310 { +00311 <span class="keywordflow">if</span> (_Components[i]->ObjectName !=NULL && *_Components[i]->ObjectName == name) +00312 <span class="keywordflow">return</span> _Components[i]; +00313 } +00314 <span class="keywordflow">return</span> NULL; +00315 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAISCRIPT_1_1CSuccessMsgClassa14" doxytag="NLAISCRIPT::COperatorClass::getComponent" ></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="a02395.html">CComponent</a> * NLAISCRIPT::CAgentClass::getComponent </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a10">sint32</a> </td> + <td class="mdname1" valign="top" nowrap> <em>i</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Returns a <a class="el" href="a02395.html">CComponent</a> struct describing a static component from its index in the class Only the class's own static members are considered, not the inherited ones. +<p> +Implements <a class="el" href="a02169.html#NLAISCRIPT_1_1IClassInterpreta8">NLAISCRIPT::IClassInterpret</a>. +<p> +Definition at line <a class="el" href="a05847.html#l00416">416</a> of file <a class="el" href="a05847.html">interpret_object_agent.cpp</a>. +<p> +References <a class="el" href="a05981.html#l00099">sint32</a>. +<p> +Referenced by <a class="el" href="a06030.html#l00353">NLAIAGENT::CMessageScript::getDebugString()</a>, and <a class="el" href="a05847.html#l01024">NLAISCRIPT::CAgentClass::getStaticComponentValue()</a>. +<p> +<div class="fragment"><pre>00417 { +00418 <span class="keywordflow">if</span> ( i < (<a class="code" href="a04558.html#a10">sint32</a>) _Components.size() ) +00419 <span class="keywordflow">return</span> _Components[ i ]; +00420 <span class="keywordflow">else</span> +00421 <span class="keywordflow">return</span> NULL; +00422 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAISCRIPT_1_1CSuccessMsgClassa15" doxytag="NLAISCRIPT::COperatorClass::getComponentIndex" ></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#a10">sint32</a> NLAISCRIPT::CAgentClass::getComponentIndex </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const <a class="el" href="a02661.html">NLAIAGENT::IVarName</a> & </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05847.html#l00290">290</a> of file <a class="el" href="a05847.html">interpret_object_agent.cpp</a>. +<p> +References <a class="el" href="a05646.html#l00649">buffer</a>, <a class="el" href="a02151.html#NLAICHARACTER_1_1IZonea7">NLAIC::IBasicType::getDebugString()</a>, and <a class="el" href="a05981.html#l00099">sint32</a>. +<p> +Referenced by <a class="el" href="a05854.html#l00537">compileFactPattern()</a>, <a class="el" href="a05412.html#l01698">NLAIAGENT::CAgentScript::runMethodBase()</a>, and <a class="el" href="a05854.html#l00698">setGoal()</a>. +<p> +<div class="fragment"><pre>00291 { +00292 <span class="keywordflow">for</span>(<a class="code" href="a04558.html#a10">sint32</a> i = _Components.size() - 1; i >= 0; i --) +00293 { +00294 +00295 <span class="preprocessor">#ifdef NL_DEBUG</span> +00296 <span class="preprocessor"></span> std::string <a class="code" href="a04223.html#a589">buffer</a>; +00297 name.<a class="code" href="a02151.html#NLAICHARACTER_1_1IZonea7">getDebugString</a>( buffer ); +00298 std::string buffer2; +00299 _Components[i]->ObjectName->getDebugString( buffer2 ); +00300 <span class="preprocessor">#endif</span> +00301 <span class="preprocessor"></span> <span class="keywordflow">if</span> (_Components[i]->ObjectName !=NULL && (*_Components[i]->ObjectName) == name) +00302 <span class="keywordflow">return</span> i; +00303 } +00304 <span class="keywordflow">return</span> -1; +00305 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAISCRIPT_1_1CSuccessMsgClassa16" doxytag="NLAISCRIPT::COperatorClass::getComponentName" ></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"> const char * NLAISCRIPT::CAgentClass::getComponentName </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a10">sint32</a> </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Gets the name of the components with an offset reference. +<p> + +<p> +Implements <a class="el" href="a02169.html#NLAISCRIPT_1_1IClassInterpreta10">NLAISCRIPT::IClassInterpret</a>. +<p> +Definition at line <a class="el" href="a05847.html#l00924">924</a> of file <a class="el" href="a05847.html">interpret_object_agent.cpp</a>. +<p> +References <a class="el" href="a05848.html#l00160">NLAISCRIPT::CAgentClass::_VTable</a>, <a class="el" href="a02661.html#NLAIAGENT_1_1IVarNamea6">NLAIAGENT::IVarName::getString()</a>, <a class="el" href="a05846.html#l00049">NLAISCRIPT::CComponent::ObjectName</a>, and <a class="el" href="a05981.html#l00099">sint32</a>. +<p> +Referenced by <a class="el" href="a06030.html#l00353">NLAIAGENT::CMessageScript::getDebugString()</a>, and <a class="el" href="a05412.html#l00664">NLAIAGENT::CAgentScript::getDebugString()</a>. +<p> +<div class="fragment"><pre>00925 { +00926 <a class="code" href="a04558.html#a10">sint32</a> nb_components = 0; +00927 std::vector<const CAgentClass *>::const_iterator it_bc = _VTable.begin(); +00928 <span class="keywordflow">while</span> ( it_bc != _VTable.end() && nb_components <= i ) +00929 { +00930 nb_components = nb_components + (*it_bc)->getStaticMemberSize(); +00931 it_bc++; +00932 } +00933 it_bc--; +00934 CComponent *component = (*it_bc)->getComponent( i - ( nb_components - (*it_bc)->getStaticMemberSize() ) ); +00935 <span class="keywordflow">return</span> component->ObjectName->getString(); +00936 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAISCRIPT_1_1CSuccessMsgClassz1842_2" doxytag="NLAISCRIPT::COperatorClass::getComputeBaseClass" ></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"> const <a class="el" href="a02169.html">IClassInterpret</a> * NLAISCRIPT::CAgentClass::getComputeBaseClass </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Returns the number of base classes. +<p> + +<p> +Implements <a class="el" href="a02169.html#NLAISCRIPT_1_1IClassInterpreta11">NLAISCRIPT::IClassInterpret</a>. +<p> +Definition at line <a class="el" href="a05847.html#l00846">846</a> of file <a class="el" href="a05847.html">interpret_object_agent.cpp</a>. +<p> +References <a class="el" href="a05848.html#l00164">NLAISCRIPT::CAgentClass::_Base_class</a>, <a class="el" href="a05848.html#l00169">NLAISCRIPT::CAgentClass::_Inheritance</a>, <a class="el" href="a06325.html#l00034">NLAIC::getRegistry()</a>, and <a class="el" href="a02661.html#NLAIAGENT_1_1IVarNamea6">NLAIAGENT::IVarName::getString()</a>. +<p> +<div class="fragment"><pre>00847 { +00848 <span class="keywordflow">if</span> ( _Inheritance ) +00849 { +00850 <span class="keywordflow">if</span>(_Base_class == NULL) +00851 { +00852 _Base_class = (<a class="code" href="a02169.html#NLAISCRIPT_1_1IClassInterpretb0">IClassInterpret</a> *)( (CClassInterpretFactory *) <a class="code" href="a05365.html#a10">NLAIC::getRegistry</a>()->getFactory( _Inheritance->getString() ) )->getClass(); +00853 <span class="keywordflow">return</span> _Base_class; +00854 } +00855 <span class="keywordflow">else</span> +00856 { +00857 <span class="keywordflow">return</span> _Base_class; +00858 } +00859 } +00860 <span class="keywordflow">else</span> +00861 { +00862 <span class="keywordflow">return</span> NULL; +00863 } +00864 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAISCRIPT_1_1COperatorClassa40" doxytag="NLAISCRIPT::COperatorClass::getConcs" ></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::vector< <a class="el" href="a02284.html">NLAILOGIC::IBaseAssert</a> *>& NLAISCRIPT::COperatorClass::getConcs </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05856.html#l00213">213</a> of file <a class="el" href="a05856.html">interpret_object_operator.h</a>. +<p> +References <a class="el" href="a05856.html#l00051">_Concs</a>. +<p> +Referenced by <a class="el" href="a06133.html#l00473">NLAIAGENT::COperatorScript::propagate()</a>. +<p> +<div class="fragment"><pre>00214 { +00215 <span class="keywordflow">return</span> <a class="code" href="a03025.html#NLAISCRIPT_1_1COperatorClassr1">_Concs</a>; +00216 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAISCRIPT_1_1COperatorClassa41" doxytag="NLAISCRIPT::COperatorClass::getConds" ></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::vector< <a class="el" href="a02284.html">NLAILOGIC::IBaseAssert</a> *>& NLAISCRIPT::COperatorClass::getConds </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05856.html#l00208">208</a> of file <a class="el" href="a05856.html">interpret_object_operator.h</a>. +<p> +Referenced by <a class="el" href="a06133.html#l00473">NLAIAGENT::COperatorScript::propagate()</a>. +<p> +<div class="fragment"><pre>00209 { +00210 <span class="keywordflow">return</span> <a class="code" href="a03025.html#NLAISCRIPT_1_1COperatorClassr2">_Conds</a>; +00211 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAISCRIPT_1_1CSuccessMsgClassz1838_5" doxytag="NLAISCRIPT::COperatorClass::getConstroctorMethod" ></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#a10">sint32</a> NLAISCRIPT::CAgentClass::getConstroctorMethod </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05847.html#l00948">948</a> of file <a class="el" href="a05847.html">interpret_object_agent.cpp</a>. +<p> +References <a class="el" href="a05848.html#l00166">NLAISCRIPT::CAgentClass::_ConstructorIndex</a>, and <a class="el" href="a05981.html#l00099">sint32</a>. +<p> +<div class="fragment"><pre>00949 { +00950 <span class="keywordflow">return</span> _ConstructorIndex; +00951 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAISCRIPT_1_1CSuccessMsgClassa17" doxytag="NLAISCRIPT::COperatorClass::getConstructorIndex" ></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#a10">sint32</a> NLAISCRIPT::CAgentClass::getConstructorIndex </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + </td> + </tr> +</table> +<a class="anchor" name="NLAISCRIPT_1_1COperatorClassa43" doxytag="NLAISCRIPT::COperatorClass::getDebugString" ></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 NLAISCRIPT::COperatorClass::getDebugString </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">std::string & </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +This is a Debug function, text is an character pointer to receive the debug text output, the debug text containe all think sensible to interset user. +<p> +Reimplemented from <a class="el" href="a02167.html#NLAISCRIPT_1_1CAgentClassa22">NLAISCRIPT::CAgentClass</a>. +<p> +Definition at line <a class="el" href="a05854.html#l00184">184</a> of file <a class="el" href="a05854.html">logic/interpret_object_operator.cpp</a>. +<p> +References <a class="el" href="a05646.html#l00985">t</a>. +<p> +Referenced by <a class="el" href="a05854.html#l00881">RegisterMessage()</a>. +<p> +<div class="fragment"><pre>00185 { +00186 <a class="code" href="a04223.html#a627">t</a> += <span class="stringliteral">"<COperatorClass>"</span>; +00187 <span class="keywordtype">int</span> i; +00188 <span class="keywordflow">for</span> ( i = 0; i < (<span class="keywordtype">int</span>) <a class="code" href="a03025.html#NLAISCRIPT_1_1COperatorClassr17">_Vars</a>.size(); i++ ) +00189 { +00190 std::string buf; +00191 <a class="code" href="a03025.html#NLAISCRIPT_1_1COperatorClassr17">_Vars</a>[i]->getDebugString(buf); +00192 <a class="code" href="a04223.html#a627">t</a> += <span class="stringliteral">" -"</span>; +00193 <a class="code" href="a04223.html#a627">t</a> += buf; +00194 } +00195 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAISCRIPT_1_1COperatorClassa44" doxytag="NLAISCRIPT::COperatorClass::getFuzzySets" ></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::vector<<a class="el" href="a02661.html">NLAIAGENT::IVarName</a> *>& NLAISCRIPT::COperatorClass::getFuzzySets </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05856.html#l00198">198</a> of file <a class="el" href="a05856.html">interpret_object_operator.h</a>. +<p> +References <a class="el" href="a05856.html#l00155">_FuzzySets</a>. +<p> +<div class="fragment"><pre>00199 { +00200 <span class="keywordflow">return</span> <a class="code" href="a03025.html#NLAISCRIPT_1_1COperatorClasso9">_FuzzySets</a>; +00201 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAISCRIPT_1_1COperatorClassa45" doxytag="NLAISCRIPT::COperatorClass::getFuzzyVars" ></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::vector<<a class="el" href="a02661.html">NLAIAGENT::IVarName</a> *>& NLAISCRIPT::COperatorClass::getFuzzyVars </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05856.html#l00193">193</a> of file <a class="el" href="a05856.html">interpret_object_operator.h</a>. +<p> +References <a class="el" href="a05856.html#l00154">_FuzzyVars</a>. +<p> +<div class="fragment"><pre>00194 { +00195 <span class="keywordflow">return</span> <a class="code" href="a03025.html#NLAISCRIPT_1_1COperatorClasso10">_FuzzyVars</a>; +00196 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAISCRIPT_1_1COperatorClassa46" doxytag="NLAISCRIPT::COperatorClass::getGoal" ></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"> const <a class="el" href="a02594.html">NLAILOGIC::CGoal</a> * NLAISCRIPT::COperatorClass::getGoal </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05854.html#l00471">471</a> of file <a class="el" href="a05854.html">logic/interpret_object_operator.cpp</a>. +<p> +References <a class="el" href="a05856.html#l00040">_Goal</a>. +<p> +<div class="fragment"><pre>00472 { +00473 <span class="keywordflow">return</span> <a class="code" href="a03025.html#NLAISCRIPT_1_1COperatorClassr3">_Goal</a>; +00474 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAISCRIPT_1_1COperatorClassa47" doxytag="NLAISCRIPT::COperatorClass::getGoalVarPos" ></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::vector<<a class="el" href="a04558.html#a10">sint32</a>>& NLAISCRIPT::COperatorClass::getGoalVarPos </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05856.html#l00228">228</a> of file <a class="el" href="a05856.html">interpret_object_operator.h</a>. +<p> +References <a class="el" href="a05856.html#l00044">_GoalPosVar</a>. +<p> +<div class="fragment"><pre>00229 { +00230 <span class="keywordflow">return</span> <a class="code" href="a03025.html#NLAISCRIPT_1_1COperatorClassr5">_GoalPosVar</a>; +00231 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1VectorTypea4" doxytag="NLAISCRIPT::COperatorClass::getInfo" ></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"> virtual const std::string NLAIC::IBasicType::getInfo </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline, virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05386.html#l00292">292</a> of file <a class="el" href="a05386.html">abstract_interface.h</a>. +<p> +References <a class="el" href="a02151.html#NLAICHARACTER_1_1IZonea7">NLAIC::IBasicType::getDebugString()</a>, and <a class="el" href="a05646.html#l00977">s</a>. +<p> +<div class="fragment"><pre>00293 { +00294 std::string <a class="code" href="a04223.html#a626">s</a>; +00295 <a class="code" href="a03025.html#NLAISCRIPT_1_1COperatorClassa43">getDebugString</a>(s); +00296 <span class="keywordflow">return</span> <a class="code" href="a04223.html#a626">s</a>; +00297 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAISCRIPT_1_1CSuccessMsgClassa19" doxytag="NLAISCRIPT::COperatorClass::getInheritance" ></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"> const <a class="el" href="a02169.html">IClassInterpret</a> * NLAISCRIPT::CAgentClass::getInheritance </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a10">sint32</a> </td> + <td class="mdname1" valign="top" nowrap> <em>n</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Return a pointer represent the inheritance range n, the inheritance graph are represented by a vector. +<p> + +<p> +Implements <a class="el" href="a02169.html#NLAISCRIPT_1_1IClassInterpreta14">NLAISCRIPT::IClassInterpret</a>. +<p> +Definition at line <a class="el" href="a05847.html#l00716">716</a> of file <a class="el" href="a05847.html">interpret_object_agent.cpp</a>. +<p> +References <a class="el" href="a05848.html#l00160">NLAISCRIPT::CAgentClass::_VTable</a>, and <a class="el" href="a05981.html#l00099">sint32</a>. +<p> +<div class="fragment"><pre>00717 { +00718 <span class="keywordflow">return</span> _VTable[n]; +00719 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAISCRIPT_1_1CSuccessMsgClassz1842_3" doxytag="NLAISCRIPT::COperatorClass::getInheritanceName" ></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"> const <a class="el" href="a02661.html">NLAIAGENT::IVarName</a> * NLAISCRIPT::CAgentClass::getInheritanceName </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Defines the base class of this class. +<p> + +<p> +Implements <a class="el" href="a02169.html#NLAISCRIPT_1_1IClassInterpreta15">NLAISCRIPT::IClassInterpret</a>. +<p> +Definition at line <a class="el" href="a05847.html#l00831">831</a> of file <a class="el" href="a05847.html">interpret_object_agent.cpp</a>. +<p> +References <a class="el" href="a05848.html#l00169">NLAISCRIPT::CAgentClass::_Inheritance</a>. +<p> +<div class="fragment"><pre>00832 { +00833 <span class="keywordflow">return</span> _Inheritance; +00834 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAISCRIPT_1_1CSuccessMsgClassa20" doxytag="NLAISCRIPT::COperatorClass::getInheritedStaticMemberIndex" ></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#a10">sint32</a> NLAISCRIPT::CAgentClass::getInheritedStaticMemberIndex </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const <a class="el" href="a02661.html">NLAIAGENT::IVarName</a> & </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05847.html#l00344">344</a> of file <a class="el" href="a05847.html">interpret_object_agent.cpp</a>. +<p> +References <a class="el" href="a05848.html#l00160">NLAISCRIPT::CAgentClass::_VTable</a>, <a class="el" href="a05646.html#l00649">buffer</a>, <a class="el" href="a02151.html#NLAICHARACTER_1_1IZonea7">NLAIC::IBasicType::getDebugString()</a>, <a class="el" href="a05845.html#l00078">NLAISCRIPT::IClassInterpret::getType()</a>, <a class="el" href="a05646.html#l00225">index</a>, and <a class="el" href="a05981.html#l00099">sint32</a>. +<p> +Referenced by <a class="el" href="a05412.html#l02319">NLAIAGENT::CAgentScript::getStaticMemberIndex()</a>, <a class="el" href="a05854.html#l00881">RegisterMessage()</a>, <a class="el" href="a05412.html#l01006">NLAIAGENT::CAgentScript::runAskGetValue()</a>, and <a class="el" href="a05412.html#l01849">NLAIAGENT::CAgentScript::runMethodBase()</a>. +<p> +<div class="fragment"><pre>00345 { +00346 +00347 <span class="preprocessor">#ifdef NL_DEBUG</span> +00348 <span class="preprocessor"></span> <span class="keyword">const</span> <span class="keywordtype">char</span> *dbg_this_type = (<span class="keyword">const</span> <span class="keywordtype">char</span> *) <a class="code" href="a02169.html#NLAISCRIPT_1_1IClassInterpreta26">getType</a>(); +00349 std::string <a class="code" href="a04223.html#a589">buffer</a>; +00350 name.<a class="code" href="a02151.html#NLAICHARACTER_1_1IZonea7">getDebugString</a>(buffer); +00351 <span class="preprocessor">#endif</span> +00352 <span class="preprocessor"></span> +00353 +00354 <a class="code" href="a04558.html#a10">sint32</a> nb_components = 0; +00355 std::vector<const CAgentClass *>::const_iterator it_bc = _VTable.begin(); +00356 <a class="code" href="a04558.html#a10">sint32</a> <a class="code" href="a04223.html#a566">index</a>; +00357 <span class="keywordflow">while</span> ( it_bc != _VTable.end() && ( ( <a class="code" href="a04223.html#a566">index</a> = (*it_bc)->getComponentIndex( name ) ) == -1 ) ) +00358 { +00359 nb_components += (*it_bc)->getStaticMemberSize(); +00360 it_bc++; +00361 } +00362 +00363 <span class="keywordflow">if</span> ( it_bc != _VTable.end() && <a class="code" href="a04223.html#a566">index</a> != -1) +00364 <span class="keywordflow">return</span> nb_components + <a class="code" href="a04223.html#a566">index</a>; +00365 <span class="keywordflow">else</span> +00366 <span class="keywordflow">return</span> -1; +00367 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1VectorTypea5" doxytag="NLAISCRIPT::COperatorClass::getMethodeMemberDebugString" ></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 NLAIAGENT::IObjectIA::getMethodeMemberDebugString </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a10">sint32</a> </td> + <td class="mdname" nowrap>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a04558.html#a10">sint32</a> </td> + <td class="mdname" nowrap></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"> const<code> [virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +The methode getMethodeMemberDebugString(sint32 heritance, sint32 index) return a string that define the name and the argument of the method +<p> +Reimplemented in <a class="el" href="a02171.html#NLAIAGENT_1_1IMainAgentz1670_0">NLAIAGENT::CAgentScript</a>. +<p> +Definition at line <a class="el" href="a05475.html#l00311">311</a> of file <a class="el" href="a05475.html">baseai.cpp</a>. +<p> +References <a class="el" href="a05981.html#l00099">sint32</a>. +<p> +Referenced by <a class="el" href="a06124.html#l00314">NLAISCRIPT::CCallHeapMethodi::getDebugResult()</a>, <a class="el" href="a06124.html#l00246">NLAISCRIPT::CCallStackMethodi::getDebugResult()</a>, <a class="el" href="a06124.html#l00155">NLAISCRIPT::CCallMethodi::getDebugResult()</a>, <a class="el" href="a06122.html#l00321">NLAISCRIPT::CLibHeapMemberMethod::getDebugResult()</a>, <a class="el" href="a06122.html#l00276">NLAISCRIPT::CLibStackNewMemberMethod::getDebugResult()</a>, <a class="el" href="a06122.html#l00230">NLAISCRIPT::CLibStackMemberMethod::getDebugResult()</a>, <a class="el" href="a06122.html#l00186">NLAISCRIPT::CLibCallMethodi::getDebugResult()</a>, <a class="el" href="a06122.html#l00159">NLAISCRIPT::CLibCallInheritedMethod::getDebugResult()</a>, <a class="el" href="a06122.html#l00132">NLAISCRIPT::CLibCallMethod::getDebugResult()</a>, <a class="el" href="a06122.html#l00087">NLAISCRIPT::CLibMemberMethodi::getDebugResult()</a>, <a class="el" href="a06122.html#l00059">NLAISCRIPT::CLibMemberInheritedMethod::getDebugResult()</a>, and <a class="el" href="a06122.html#l00029">NLAISCRIPT::CLibMemberMethod::getDebugResult()</a>. +<p> +<div class="fragment"><pre>00312 { +00313 <span class="keywordflow">switch</span>(<span class="keywordtype">id</span>) +00314 { +00315 <span class="keywordflow">case</span> 0: +00316 { +00317 <span class="keywordflow">return</span> std::string(<span class="stringliteral">"IObjectIA::sendMessage(IMessage)"</span>); +00318 } +00319 <span class="keywordflow">break</span>; +00320 <span class="keywordflow">case</span> 1: +00321 <span class="keywordflow">break</span>; +00322 <span class="keywordflow">case</span> 2: +00323 <span class="keywordflow">return</span> std::string(<span class="stringliteral">"IObjectIA::run()"</span>); +00324 <span class="keywordflow">break</span>; +00325 +00326 <span class="keywordflow">case</span> 3: +00327 { +00328 <span class="keywordflow">return</span> std::string(<span class="stringliteral">"IObjectIA::getStaticMember(Integer)"</span>); +00329 } +00330 } +00331 <span class="keywordflow">return</span> std::string(<span class="stringliteral">"Mathod_?????(Param_?????)"</span>); +00332 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAISCRIPT_1_1CSuccessMsgClassz1838_6" doxytag="NLAISCRIPT::COperatorClass::getMethodIndexSize" ></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#a10">sint32</a> NLAISCRIPT::CAgentClass::getMethodIndexSize </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +getMethodIndexSize define the nomber of method define in the class. +<p> +Reimplemented from <a class="el" href="a02149.html#NLAICHARACTER_1_1IZonea11">NLAIAGENT::IObjectIA</a>. +<p> +Definition at line <a class="el" href="a05847.html#l00453">453</a> of file <a class="el" href="a05847.html">interpret_object_agent.cpp</a>. +<p> +References <a class="el" href="a05848.html#l00159">NLAISCRIPT::CAgentClass::_Methode</a>, <a class="el" href="a05848.html#l00065">NLAISCRIPT::IAgentMultiClass::getBaseMethodCount()</a>, and <a class="el" href="a05981.html#l00099">sint32</a>. +<p> +Referenced by <a class="el" href="a06030.html#l00088">NLAIAGENT::CMessageScript::getMethode()</a>, <a class="el" href="a05412.html#l00558">NLAIAGENT::CAgentScript::getMethode()</a>, <a class="el" href="a06030.html#l00077">NLAIAGENT::CMessageScript::getMethodIndexSize()</a>, and <a class="el" href="a05847.html#l00506">NLAISCRIPT::CAgentClass::getPrivateMember()</a>. +<p> +<div class="fragment"><pre>00454 { +00455 <span class="keywordflow">return</span> (<a class="code" href="a04558.html#a10">sint32</a>)_Methode.size() + <a class="code" href="a02168.html#NLAISCRIPT_1_1IAgentMultiClassa7">getBaseMethodCount</a>(); +00456 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAISCRIPT_1_1IClassInterpreta18" doxytag="NLAISCRIPT::COperatorClass::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"> const <a class="el" href="a02661.html">NLAIAGENT::IVarName</a>* NLAISCRIPT::IClassInterpret::getName </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">void </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [inline, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05846.html#l00169">169</a> of file <a class="el" href="a05846.html">interpret_object.h</a>. +<p> +Referenced by <a class="el" href="a05847.html#l00592">NLAISCRIPT::CAgentClass::createBaseClassComponents()</a>, and <a class="el" href="a05847.html#l00896">NLAISCRIPT::CAgentClass::getClassPath()</a>. +<p> +<div class="fragment"><pre>00170 { +00171 <span class="keywordflow">return</span> _Name; +00172 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAISCRIPT_1_1CSuccessMsgClassz1842_4" doxytag="NLAISCRIPT::COperatorClass::getNbBaseClass" ></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#a10">sint32</a> NLAISCRIPT::CAgentClass::getNbBaseClass </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Returns the number of base classes (the distance to the super class). +<p> + +<p> +Definition at line <a class="el" href="a05847.html#l00912">912</a> of file <a class="el" href="a05847.html">interpret_object_agent.cpp</a>. +<p> +References <a class="el" href="a05847.html#l00866">NLAISCRIPT::CAgentClass::getBaseClass()</a>, and <a class="el" href="a05981.html#l00099">sint32</a>. +<p> +<div class="fragment"><pre>00913 { +00914 <a class="code" href="a04558.html#a10">sint32</a> dist = 0; +00915 <span class="keyword">const</span> <a class="code" href="a02167.html#NLAISCRIPT_1_1CAgentClassa5">CAgentClass</a> *base_class = <span class="keyword">this</span>; +00916 <span class="keywordflow">while</span> ( base_class->getBaseClass() ) +00917 { +00918 base_class = (<a class="code" href="a02167.html#NLAISCRIPT_1_1CAgentClassa5">CAgentClass</a> *) base_class->getBaseClass(); +00919 dist++; +00920 } +00921 <span class="keywordflow">return</span> dist; +00922 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAISCRIPT_1_1COperatorClassa53" doxytag="NLAISCRIPT::COperatorClass::getPosListBackward" ></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 NLAISCRIPT::COperatorClass::getPosListBackward </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a10">sint32</a> </td> + <td class="mdname" nowrap>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a04558.html#a10">sint32</a> </td> + <td class="mdname" nowrap>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>std::vector< <a class="el" href="a04558.html#a10">sint32</a> > & </td> + <td class="mdname" nowrap></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + </td> + </tr> +</table> +<a class="anchor" name="NLAISCRIPT_1_1COperatorClassa54" doxytag="NLAISCRIPT::COperatorClass::getPosListForward" ></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 NLAISCRIPT::COperatorClass::getPosListForward </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a10">sint32</a> </td> + <td class="mdname" nowrap>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a04558.html#a10">sint32</a> </td> + <td class="mdname" nowrap>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>std::vector< <a class="el" href="a04558.html#a10">sint32</a> > & </td> + <td class="mdname" nowrap></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + </td> + </tr> +</table> +<a class="anchor" name="NLAISCRIPT_1_1COperatorClassa55" doxytag="NLAISCRIPT::COperatorClass::getPosVarsConcs" ></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::vector< std::vector<<a class="el" href="a04558.html#a10">sint32</a>> >& NLAISCRIPT::COperatorClass::getPosVarsConcs </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05856.html#l00223">223</a> of file <a class="el" href="a05856.html">interpret_object_operator.h</a>. +<p> +Referenced by <a class="el" href="a06133.html#l00473">NLAIAGENT::COperatorScript::propagate()</a>. +<p> +<div class="fragment"><pre>00224 { +00225 <span class="keywordflow">return</span> <a class="code" href="a03025.html#NLAISCRIPT_1_1COperatorClassr7">_PosVarsConc</a>; +00226 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAISCRIPT_1_1COperatorClassa56" doxytag="NLAISCRIPT::COperatorClass::getPosVarsConds" ></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::vector< std::vector<<a class="el" href="a04558.html#a10">sint32</a>> >& NLAISCRIPT::COperatorClass::getPosVarsConds </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05856.html#l00218">218</a> of file <a class="el" href="a05856.html">interpret_object_operator.h</a>. +<p> +Referenced by <a class="el" href="a06133.html#l00473">NLAIAGENT::COperatorScript::propagate()</a>. +<p> +<div class="fragment"><pre>00219 { +00220 <span class="keywordflow">return</span> <a class="code" href="a03025.html#NLAISCRIPT_1_1COperatorClassr8">_PosVarsCond</a>; +00221 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAISCRIPT_1_1COperatorClassa57" doxytag="NLAISCRIPT::COperatorClass::getPriority" ></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"> float NLAISCRIPT::COperatorClass::getPriority </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">void </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05856.html#l00248">248</a> of file <a class="el" href="a05856.html">interpret_object_operator.h</a>. +<p> +Referenced by <a class="el" href="a05854.html#l00197">buildNewInstance()</a>. +<p> +<div class="fragment"><pre>00249 { +00250 <span class="keywordflow">return</span> <a class="code" href="a03025.html#NLAISCRIPT_1_1COperatorClassr9">_Priority</a>; +00251 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAISCRIPT_1_1CSuccessMsgClassz1838_7" doxytag="NLAISCRIPT::COperatorClass::getPrivateMember" ></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="a05364.html#a31">NLAIAGENT::TQueue</a> NLAISCRIPT::CAgentClass::getPrivateMember </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const <a class="el" href="a02661.html">NLAIAGENT::IVarName</a> * </td> + <td class="mdname" nowrap>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>const <a class="el" href="a02661.html">NLAIAGENT::IVarName</a> * </td> + <td class="mdname" nowrap>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>const <a class="el" href="a02149.html">NLAIAGENT::IObjectIA</a> & </td> + <td class="mdname" nowrap></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"> const<code> [virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Implements <a class="el" href="a02169.html#NLAISCRIPT_1_1IClassInterpreta19">NLAISCRIPT::IClassInterpret</a>. +<p> +Definition at line <a class="el" href="a05847.html#l00506">506</a> of file <a class="el" href="a05847.html">interpret_object_agent.cpp</a>. +<p> +References <a class="el" href="a05843.html#l00068">NLAISCRIPT::CParam::eval()</a>, <a class="el" href="a05848.html#l00065">NLAISCRIPT::IAgentMultiClass::getBaseMethodCount()</a>, <a class="el" href="a02169.html#NLAISCRIPT_1_1IClassInterpretz1834_3">NLAISCRIPT::IClassInterpret::getBrancheCode()</a>, <a class="el" href="a05847.html#l00453">NLAISCRIPT::CAgentClass::getMethodIndexSize()</a>, <a class="el" href="a05843.html#l00348">NLAISCRIPT::CMethodeName::getName()</a>, <a class="el" href="a05843.html#l00361">NLAISCRIPT::CMethodeName::getParam()</a>, <a class="el" href="a02661.html#NLAIAGENT_1_1IVarNamea6">NLAIAGENT::IVarName::getString()</a>, <a class="el" href="a05843.html#l00383">NLAISCRIPT::CMethodeName::getTypeOfMethode()</a>, <a class="el" href="a05476.html#l00120">NLAIAGENT::CIdMethod::Index</a>, <a class="el" href="a05476.html#l00124">NLAIAGENT::CIdMethod::Method</a>, <a class="el" href="a05646.html#l00683">param</a>, <a class="el" href="a05646.html#l01001">q</a>, <a class="el" href="a05476.html#l00126">NLAIAGENT::CIdMethod::ReturnType</a>, <a class="el" href="a05981.html#l00099">sint32</a>, <a class="el" href="a05646.html#l00985">t</a>, <a class="el" href="a05476.html#l00141">NLAIAGENT::TQueue</a>, and <a class="el" href="a05476.html#l00122">NLAIAGENT::CIdMethod::Weight</a>. +<p> +Referenced by <a class="el" href="a05847.html#l00540">NLAISCRIPT::CAgentClass::isMember()</a>, and <a class="el" href="a05412.html#l02237">NLAIAGENT::CAgentScript::isMember()</a>. +<p> +<div class="fragment"><pre>00507 { +00508 <a class="code" href="a05364.html#a31">NLAIAGENT::TQueue</a> <a class="code" href="a04223.html#a629">q</a>; +00509 <span class="keyword">const</span> <a class="code" href="a02169.html#NLAISCRIPT_1_1IClassInterpretb0">IClassInterpret</a> *classType = <span class="keyword">this</span>; +00510 <a class="code" href="a02652.html">NLAIAGENT::CIdMethod</a> k; +00511 +00512 <span class="keywordflow">for</span>(<a class="code" href="a04558.html#a10">sint32</a> i = 0; i < <a class="code" href="a02167.html#NLAISCRIPT_1_1CSuccessMsgClassz1838_6">getMethodIndexSize</a>() - <a class="code" href="a02168.html#NLAISCRIPT_1_1IAgentMultiClassa7">getBaseMethodCount</a>(); i ++) +00513 { +00514 CMethodeName &m = classType->getBrancheCode(i); +00515 <span class="preprocessor">#ifdef NL_DEBUG</span> +00516 <span class="preprocessor"></span> <span class="keyword">const</span> <span class="keywordtype">char</span> *dbg_this_name = m.getName().getString(); +00517 <span class="keyword">const</span> <span class="keywordtype">char</span> *dbg_func_name = methodName-><a class="code" href="a02661.html#NLAIAGENT_1_1IVarNamea6">getString</a>(); +00518 <span class="preprocessor">#endif</span> +00519 <span class="preprocessor"></span> <span class="keywordflow">if</span>(m.getName() == *methodName ) +00520 { +00521 k.<a class="code" href="a02652.html#NLAIAGENT_1_1CIdMethodo3">Weight</a> = m.getParam().eval((<span class="keyword">const</span> CParam &)param); +00522 <span class="keywordflow">if</span>(k.<a class="code" href="a02652.html#NLAIAGENT_1_1CIdMethodo3">Weight</a> < 0.0) <span class="keywordflow">continue</span>; +00523 k.<a class="code" href="a02652.html#NLAIAGENT_1_1CIdMethodo0">Index</a> = i + <a class="code" href="a02168.html#NLAISCRIPT_1_1IAgentMultiClassa7">getBaseMethodCount</a>(); +00524 k.<a class="code" href="a02652.html#NLAIAGENT_1_1CIdMethodo1">Method</a> = &m; +00525 IOpType *<a class="code" href="a04223.html#a627">t</a> = (IOpType *)m.getTypeOfMethode(); +00526 <a class="code" href="a04223.html#a627">t</a>->incRef(); +00527 +00528 <span class="keywordflow">if</span>(k.<a class="code" href="a02652.html#NLAIAGENT_1_1CIdMethodo2">ReturnType</a> != NULL) +00529 { +00530 k.<a class="code" href="a02652.html#NLAIAGENT_1_1CIdMethodo2">ReturnType</a>->release(); +00531 } +00532 +00533 k.<a class="code" href="a02652.html#NLAIAGENT_1_1CIdMethodo2">ReturnType</a> = <span class="keyword">new</span> CObjectUnknown(t); +00534 <a class="code" href="a04223.html#a629">q</a>.push(k); +00535 } +00536 } +00537 <span class="keywordflow">return</span> <a class="code" href="a04223.html#a629">q</a>; +00538 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1VectorTypea8" doxytag="NLAISCRIPT::COperatorClass::getRef" ></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"> const <a class="el" href="a04558.html#a10">sint32</a>& NLAIC::IPointerGestion::getRef </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [inline, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +get the refence count. +<p> + +<p> +Definition at line <a class="el" href="a05386.html#l00099">99</a> of file <a class="el" href="a05386.html">abstract_interface.h</a>. +<p> +References <a class="el" href="a05386.html#l00066">NLAIC::IPointerGestion::_Ref</a>, and <a class="el" href="a05981.html#l00099">sint32</a>. +<p> +Referenced by <a class="el" href="a05416.html#l00688">NLAIAGENT::CAgentTimerHandle::~CAgentTimerHandle()</a>. +<p> +<div class="fragment"><pre>00100 { +00101 <span class="keywordflow">return</span> _Ref; +00102 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAISCRIPT_1_1CSuccessMsgClassz1838_8" doxytag="NLAISCRIPT::COperatorClass::getRunMethod" ></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#a10">sint32</a> NLAISCRIPT::CAgentClass::getRunMethod </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +return the absolut index of the <a class="el" href="a02167.html#NLAISCRIPT_1_1CSuccessMsgClassa44">run()</a> method of this class. +<p> + +<p> +Implements <a class="el" href="a02169.html#NLAISCRIPT_1_1IClassInterpreta21">NLAISCRIPT::IClassInterpret</a>. +<p> +Definition at line <a class="el" href="a05847.html#l00938">938</a> of file <a class="el" href="a05847.html">interpret_object_agent.cpp</a>. +<p> +References <a class="el" href="a05848.html#l00163">NLAISCRIPT::CAgentClass::_RunIndex</a>, and <a class="el" href="a05981.html#l00099">sint32</a>. +<p> +Referenced by <a class="el" href="a05412.html#l01617">NLAIAGENT::CAgentScript::haveActivity()</a>, <a class="el" href="a05966.html#l00144">NLAIAGENT::CMainAgentScript::run()</a>, and <a class="el" href="a05412.html#l01607">NLAIAGENT::CAgentScript::runActivity()</a>. +<p> +<div class="fragment"><pre>00939 { +00940 <span class="keywordflow">return</span> _RunIndex; +00941 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAISCRIPT_1_1CSuccessMsgClassa24" doxytag="NLAISCRIPT::COperatorClass::getStaticComponentValue" ></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="a02149.html">NLAIAGENT::IObjectIA</a> * NLAISCRIPT::CAgentClass::getStaticComponentValue </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">std::string & </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05847.html#l01024">1024</a> of file <a class="el" href="a05847.html">interpret_object_agent.cpp</a>. +<p> +References <a class="el" href="a05847.html#l00416">NLAISCRIPT::CAgentClass::getComponent()</a>, and <a class="el" href="a05846.html#l00051">NLAISCRIPT::CComponent::StaticValue</a>. +<p> +<div class="fragment"><pre>01025 { +01026 CComponent *component = <a class="code" href="a02167.html#NLAISCRIPT_1_1CSuccessMsgClassa14">getComponent</a>( <a class="code" href="a03455.html">NLAIAGENT::CStringVarName</a>( c_name.c_str() ) ); +01027 <span class="keywordflow">return</span> component->StaticValue; +01028 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1VectorTypea9" doxytag="NLAISCRIPT::COperatorClass::getStaticMember" ></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"> const IObjectIA* NLAIAGENT::IObjectIA::getStaticMember </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const <a class="el" href="a02661.html">IVarName</a> & </td> + <td class="mdname1" valign="top" nowrap> <em>compName</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [inline, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +to get the pointer of a given components referened by an string. +<p> +Definition at line <a class="el" href="a05476.html#l00261">261</a> of file <a class="el" href="a05476.html">baseai.h</a>. +<p> +References <a class="el" href="a05475.html#l00193">NLAIAGENT::IObjectIA::getStaticMember()</a>, and <a class="el" href="a05475.html#l00188">NLAIAGENT::IObjectIA::getStaticMemberIndex()</a>. +<p> +<div class="fragment"><pre>00262 { +00263 <span class="keywordflow">return</span> <a class="code" href="a02167.html#NLAISCRIPT_1_1CSuccessMsgClassa26">getStaticMember</a>(<a class="code" href="a02167.html#NLAISCRIPT_1_1CSuccessMsgClassa28">getStaticMemberIndex</a>(compName)); +00264 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAISCRIPT_1_1CSuccessMsgClassa26" doxytag="NLAISCRIPT::COperatorClass::getStaticMember" ></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"> const <a class="el" href="a02149.html">NLAIAGENT::IObjectIA</a> * NLAISCRIPT::CAgentClass::getStaticMember </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a10">sint32</a> </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +to get the pointer of a given components referened by an index. +<p> +Reimplemented from <a class="el" href="a02149.html#NLAIAGENT_1_1VectorTypea10">NLAIAGENT::IObjectIA</a>. +<p> +Definition at line <a class="el" href="a05847.html#l00369">369</a> of file <a class="el" href="a05847.html">interpret_object_agent.cpp</a>. +<p> +References <a class="el" href="a02169.html#NLAISCRIPT_1_1IClassInterpreta6">NLAISCRIPT::IClassInterpret::getBaseClass()</a>, <a class="el" href="a05847.html#l00866">NLAISCRIPT::CAgentClass::getBaseClass()</a>, <a class="el" href="a02169.html#NLAISCRIPT_1_1IClassInterpreta9">NLAISCRIPT::IClassInterpret::getComponent()</a>, <a class="el" href="a02169.html#NLAISCRIPT_1_1IClassInterpreta25">NLAISCRIPT::IClassInterpret::getStaticMemberSize()</a>, <a class="el" href="a02661.html#NLAIAGENT_1_1IVarNamea6">NLAIAGENT::IVarName::getString()</a>, <a class="el" href="a05646.html#l00221">id</a>, <a class="el" href="a05646.html#l00225">index</a>, <a class="el" href="a05846.html#l00047">NLAISCRIPT::CComponent::RegisterName</a>, and <a class="el" href="a05981.html#l00099">sint32</a>. +<p> +<div class="fragment"><pre>00370 { +00371 <span class="keywordflow">try</span> +00372 { +00373 <span class="comment">/*NLAIC::CIdentType id(_Components[i]->RegisterName->getString());</span> +00374 <span class="comment"> const NLAIAGENT::IObjectIA *o = (const NLAIAGENT::IObjectIA *)id.getFactory()->getClass();</span> +00375 <span class="comment"> return o;*/</span> +00376 <a class="code" href="a04558.html#a10">sint32</a> n = 0; +00377 <span class="keyword">const</span> <a class="code" href="a02169.html#NLAISCRIPT_1_1IClassInterpretb0">IClassInterpret</a> *classType = <a class="code" href="a02167.html#NLAISCRIPT_1_1CSuccessMsgClassz1842_0">getBaseClass</a>(); +00378 <span class="keywordflow">while</span>(classType != NULL) +00379 { +00380 n += classType->getStaticMemberSize(); +00381 classType = classType->getBaseClass(); +00382 } +00383 classType = <span class="keyword">this</span>; +00384 <span class="keywordflow">while</span>(classType != NULL) +00385 { +00386 <span class="keywordflow">for</span>(<a class="code" href="a04558.html#a10">sint32</a> i = classType->getStaticMemberSize() - 1; i >= 0; i --) +00387 { +00388 <span class="keywordflow">if</span>(<a class="code" href="a04223.html#a566">index</a> == i + n) +00389 { +00390 <a class="code" href="a02650.html">NLAIC::CIdentType</a> <a class="code" href="a04223.html#a564">id</a>(classType->getComponent(i)->RegisterName->getString()); +00391 <span class="keyword">const</span> <a class="code" href="a02149.html">NLAIAGENT::IObjectIA</a> *o = (<span class="keyword">const</span> <a class="code" href="a02149.html">NLAIAGENT::IObjectIA</a> *)<span class="keywordtype">id</span>.getFactory()->getClass(); +00392 <span class="keywordflow">return</span> o; +00393 } +00394 <span class="comment">/*if (classType->getComponent(i)->ObjectName != NULL && *classType->getComponent(i)->ObjectName == name) </span> +00395 <span class="comment"> { </span> +00396 <span class="comment"> return i + n;</span> +00397 <span class="comment"> }*/</span> +00398 } +00399 classType = classType->getBaseClass(); +00400 <span class="keywordflow">if</span>(classType != NULL) n -= classType->getStaticMemberSize(); +00401 } +00402 } +00403 <span class="keywordflow">catch</span>(<a class="code" href="a03853.html">NLAIE::IException</a> &) +00404 { +00405 <span class="comment">//throw NLAIE::CExceptionContainer(e.what());</span> +00406 } +00407 +00408 <span class="keywordflow">return</span> NULL; +00409 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1VectorTypea11" doxytag="NLAISCRIPT::COperatorClass::getStaticMemberIndex" ></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#a10">sint32</a> NLAIAGENT::IObjectIA::getStaticMemberIndex </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const <a class="el" href="a02661.html">IVarName</a> & </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +to get the index of a given components name. +<p> +Reimplemented in <a class="el" href="a02782.html#NLAIAGENT_1_1CLocalAgentMailz1638_2">NLAIAGENT::CLocalAgentMail</a>, <a class="el" href="a02171.html#NLAIAGENT_1_1IMainAgentz1670_4">NLAIAGENT::CAgentScript</a>, and <a class="el" href="a02326.html#NLAIAGENT_1_1CSuccessMsgz1708_2">NLAIAGENT::CMessageScript</a>. +<p> +Definition at line <a class="el" href="a05475.html#l00188">188</a> of file <a class="el" href="a05475.html">baseai.cpp</a>. +<p> +References <a class="el" href="a05981.html#l00099">sint32</a>. +<p> +Referenced by <a class="el" href="a06755.html#l00138">NLAISCRIPT::CCompilateur::affectation()</a>, <a class="el" href="a05588.html#l00070">NLAIAGENT::CComponentHandle::getComponent()</a>, <a class="el" href="a05476.html#l00261">NLAIAGENT::IObjectIA::getStaticMember()</a>, <a class="el" href="a05401.html#l00123">NLAIAGENT::CLocalAgentMail::getStaticMemberIndex()</a>, <a class="el" href="a05789.html#l00104">NLAISCRIPT::CCompilateur::getValidateHierarchyBase()</a>, <a class="el" href="a06755.html#l00385">NLAISCRIPT::CCompilateur::isValidateVarName()</a>, <a class="el" href="a05573.html#l00363">NLAISCRIPT::CCodeBrancheRunDebug::printVariable()</a>, <a class="el" href="a06662.html#l00082">NLAISCRIPT::CCompilateur::processingVar()</a>, <a class="el" href="a05605.html#l00067">NLAISCRIPT::CConstraintStackComp::run()</a>, and <a class="el" href="a05476.html#l00268">NLAIAGENT::IObjectIA::setStaticMember()</a>. +<p> +<div class="fragment"><pre>00189 { +00190 <span class="keywordflow">return</span> -1; +00191 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAISCRIPT_1_1CSuccessMsgClassa28" doxytag="NLAISCRIPT::COperatorClass::getStaticMemberIndex" ></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#a10">sint32</a> NLAISCRIPT::CAgentClass::getStaticMemberIndex </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const <a class="el" href="a02661.html">NLAIAGENT::IVarName</a> & </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Returns a <a class="el" href="a02395.html">CComponent</a> struct describing a static component from its name in the class Only the class's own static members are considered, not the inherited ones. +<p> +Definition at line <a class="el" href="a05847.html#l00318">318</a> of file <a class="el" href="a05847.html">interpret_object_agent.cpp</a>. +<p> +References <a class="el" href="a02169.html#NLAISCRIPT_1_1IClassInterpreta6">NLAISCRIPT::IClassInterpret::getBaseClass()</a>, <a class="el" href="a05847.html#l00866">NLAISCRIPT::CAgentClass::getBaseClass()</a>, <a class="el" href="a02169.html#NLAISCRIPT_1_1IClassInterpreta9">NLAISCRIPT::IClassInterpret::getComponent()</a>, <a class="el" href="a02169.html#NLAISCRIPT_1_1IClassInterpreta25">NLAISCRIPT::IClassInterpret::getStaticMemberSize()</a>, <a class="el" href="a05846.html#l00049">NLAISCRIPT::CComponent::ObjectName</a>, and <a class="el" href="a05981.html#l00099">sint32</a>. +<p> +Referenced by <a class="el" href="a06030.html#l00290">NLAIAGENT::CMessageScript::getStaticMemberIndex()</a>. +<p> +<div class="fragment"><pre>00319 { +00320 <a class="code" href="a04558.html#a10">sint32</a> n = 0; +00321 <span class="keyword">const</span> <a class="code" href="a02169.html#NLAISCRIPT_1_1IClassInterpretb0">IClassInterpret</a> *classType = <a class="code" href="a02167.html#NLAISCRIPT_1_1CSuccessMsgClassz1842_0">getBaseClass</a>(); +00322 <span class="keywordflow">while</span>(classType != NULL) +00323 { +00324 n += classType->getStaticMemberSize(); +00325 classType = classType->getBaseClass(); +00326 } +00327 classType = <span class="keyword">this</span>; +00328 <span class="keywordflow">while</span>(classType != NULL) +00329 { +00330 <span class="keywordflow">for</span>(<a class="code" href="a04558.html#a10">sint32</a> i = classType->getStaticMemberSize() - 1; i >= 0; i --) +00331 { +00332 <span class="keywordflow">if</span> (classType->getComponent(i)->ObjectName != NULL && *classType->getComponent(i)->ObjectName == name) +00333 { +00334 <span class="keywordflow">return</span> i + n; +00335 } +00336 } +00337 classType = classType->getBaseClass(); +00338 <span class="keywordflow">if</span>(classType != NULL) n -= classType->getStaticMemberSize(); +00339 } +00340 +00341 <span class="keywordflow">return</span> -1; +00342 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAISCRIPT_1_1CSuccessMsgClassa29" doxytag="NLAISCRIPT::COperatorClass::getStaticMemberSize" ></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#a10">sint32</a> NLAISCRIPT::CAgentClass::getStaticMemberSize </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +returns the number of static members specific to the class (not the inherited ones) +<p> + +<p> +Implements <a class="el" href="a02169.html#NLAISCRIPT_1_1IClassInterpreta25">NLAISCRIPT::IClassInterpret</a>. +<p> +Definition at line <a class="el" href="a05847.html#l00411">411</a> of file <a class="el" href="a05847.html">interpret_object_agent.cpp</a>. +<p> +References <a class="el" href="a05981.html#l00099">sint32</a>. +<p> +<div class="fragment"><pre>00412 { +00413 <span class="keywordflow">return</span> _Components.size(); +00414 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAISCRIPT_1_1CSuccessMsgClassz1842_5" doxytag="NLAISCRIPT::COperatorClass::getSuperClass" ></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"> const <a class="el" href="a02167.html">CAgentClass</a> * NLAISCRIPT::CAgentClass::getSuperClass </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Returns the base class of this class. +<p> + +<p> +Definition at line <a class="el" href="a05847.html#l00884">884</a> of file <a class="el" href="a05847.html">interpret_object_agent.cpp</a>. +<p> +References <a class="el" href="a05847.html#l00866">NLAISCRIPT::CAgentClass::getBaseClass()</a>. +<p> +<div class="fragment"><pre>00885 { +00886 <span class="keyword">const</span> <a class="code" href="a02167.html#NLAISCRIPT_1_1CAgentClassa5">CAgentClass</a> *base_class = <span class="keyword">this</span>; +00887 +00888 <span class="keywordflow">while</span> ( base_class->getBaseClass() ) +00889 { +00890 base_class = (<a class="code" href="a02167.html#NLAISCRIPT_1_1CAgentClassa5">CAgentClass</a> *) base_class->getBaseClass(); +00891 } +00892 <span class="keywordflow">return</span> base_class; +00893 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAISCRIPT_1_1IClassInterpreta26" doxytag="NLAISCRIPT::COperatorClass::getType" ></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"> const <a class="el" href="a02650.html">NLAIC::CIdentType</a> & NLAISCRIPT::IClassInterpret::getType </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +getType return a unique string how represente the class, it can be the name of the class. This function is used for the sytem regstry class (see the definition of the template class Gen::CRegistry). +<p> +Implements <a class="el" href="a02151.html#NLAICHARACTER_1_1IZonea20">NLAIC::IBasicType</a>. +<p> +Reimplemented in <a class="el" href="a03459.html#NLAISCRIPT_1_1CSuccessMsgClassz1822_2">NLAISCRIPT::CSuccessMsgClass</a>, <a class="el" href="a02508.html#NLAISCRIPT_1_1CFailureMsgClassz1824_2">NLAISCRIPT::CFailureMsgClass</a>, <a class="el" href="a02586.html#NLAISCRIPT_1_1CGetValueMsgClassz1826_2">NLAISCRIPT::CGetValueMsgClass</a>, <a class="el" href="a03368.html#NLAISCRIPT_1_1CSetValueMsgClassz1828_2">NLAISCRIPT::CSetValueMsgClass</a>, <a class="el" href="a02329.html#NLAISCRIPT_1_1CMessageClassa32">NLAISCRIPT::CMessageClass</a>, <a class="el" href="a02974.html#NLAISCRIPT_1_1CMsgNotifyParentClassz1848_2">NLAISCRIPT::CMsgNotifyParentClass</a>, <a class="el" href="a02597.html#NLAISCRIPT_1_1CGoalMsgClassz1850_2">NLAISCRIPT::CGoalMsgClass</a>, <a class="el" href="a02328.html#NLAISCRIPT_1_1CCancelGoalMsgClassz1852_2">NLAISCRIPT::CCancelGoalMsgClass</a>, <a class="el" href="a02503.html#NLAISCRIPT_1_1CFactMsgClassz1854_2">NLAISCRIPT::CFactMsgClass</a>, and <a class="el" href="a03014.html#NLAISCRIPT_1_1COnChangeMsgClassz1856_2">NLAISCRIPT::COnChangeMsgClass</a>. +<p> +Definition at line <a class="el" href="a05845.html#l00078">78</a> of file <a class="el" href="a05845.html">interpret_object.cpp</a>. +<p> +References <a class="el" href="a05846.html#l00098">NLAISCRIPT::IClassInterpret::_IdType</a>. +<p> +Referenced by <a class="el" href="a05847.html#l00065">NLAISCRIPT::CAgentClass::CAgentClass()</a>, <a class="el" href="a06588.html#l00034">NLAISCRIPT::IOpType::evalParam()</a>, <a class="el" href="a05845.html#l00139">NLAISCRIPT::CClassInterpretFactory::getDebugString()</a>, <a class="el" href="a05412.html#l00664">NLAIAGENT::CAgentScript::getDebugString()</a>, <a class="el" href="a05847.html#l00344">NLAISCRIPT::CAgentClass::getInheritedStaticMemberIndex()</a>, <a class="el" href="a05412.html#l00574">NLAIAGENT::CAgentScript::getMethode()</a>, <a class="el" href="a06133.html#l00141">NLAIAGENT::COperatorScript::getType()</a>, <a class="el" href="a05845.html#l00155">NLAISCRIPT::CClassInterpretFactory::getType()</a>, <a class="el" href="a05412.html#l01690">NLAIAGENT::CAgentScript::getType()</a>, and <a class="el" href="a06588.html#l00098">NLAISCRIPT::COperationTypeGD::satisfied()</a>. +<p> +<div class="fragment"><pre>00079 { +00080 <span class="keywordflow">return</span> *<a class="code" href="a02169.html#NLAISCRIPT_1_1IClassInterpretp0">_IdType</a>; +00081 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAISCRIPT_1_1CSeqFsmClassa41" doxytag="NLAISCRIPT::COperatorClass::getTypeClass" ></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"> virtual <a class="el" href="a03625.html">NLAIC::CTypeOfObject</a> NLAISCRIPT::CAgentClass::getTypeClass </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [inline, virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Reimplemented from <a class="el" href="a02169.html#NLAISCRIPT_1_1IClassInterpreta27">NLAISCRIPT::IClassInterpret</a>. +<p> +Reimplemented in <a class="el" href="a02329.html#NLAISCRIPT_1_1CSuccessMsgClassa30">NLAISCRIPT::CMessageClass</a>. +<p> +Definition at line <a class="el" href="a05848.html#l00274">274</a> of file <a class="el" href="a05848.html">interpret_object_agent.h</a>. +<p> +References <a class="el" href="a05981.html#l00105">uint</a>. +<p> +<div class="fragment"><pre>00275 { +00276 <a class="code" href="a04558.html#a15">uint</a> b = <a class="code" href="a03625.html#NLAIC_1_1CTypeOfObjectw11NLAIC_1_1CTypeOfObjectw8">NLAIC::CTypeOfObject::tObject</a> | <a class="code" href="a03625.html#NLAIC_1_1CTypeOfObjectw11NLAIC_1_1CTypeOfObjectw1">NLAIC::CTypeOfObject::tAgent</a>; +00277 <span class="keywordflow">return</span> <a class="code" href="a03625.html">NLAIC::CTypeOfObject</a>((<a class="code" href="a04558.html#a15">uint</a>)IClassInterpret::getTypeClass() | b); +00278 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAISCRIPT_1_1COperatorClassa67" doxytag="NLAISCRIPT::COperatorClass::getUpdateEvery" ></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#a10">sint32</a> NLAISCRIPT::COperatorClass::getUpdateEvery </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05856.html#l00238">238</a> of file <a class="el" href="a05856.html">interpret_object_operator.h</a>. +<p> +References <a class="el" href="a05856.html#l00064">_UpdateCycles</a>, and <a class="el" href="a05981.html#l00099">sint32</a>. +<p> +<div class="fragment"><pre>00239 { +00240 <span class="keywordflow">return</span> <a class="code" href="a03025.html#NLAISCRIPT_1_1COperatorClassr16">_UpdateCycles</a>; +00241 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAISCRIPT_1_1COperatorClassa68" doxytag="NLAISCRIPT::COperatorClass::getVarPos" ></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#a10">sint32</a> NLAISCRIPT::COperatorClass::getVarPos </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a02575.html">NLAILOGIC::IBaseVar</a> * </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Looks for a variable in the operator's variables vector and returns its position. +<p> + +<p> +Definition at line <a class="el" href="a05854.html#l00578">578</a> of file <a class="el" href="a05854.html">logic/interpret_object_operator.cpp</a>. +<p> +References <a class="el" href="a06660.html#l00106">NLAILOGIC::IBaseVar::getName()</a>, and <a class="el" href="a05981.html#l00099">sint32</a>. +<p> +<div class="fragment"><pre>00579 { +00580 <span class="keywordflow">if</span> ( <a class="code" href="a03025.html#NLAISCRIPT_1_1COperatorClassr17">_Vars</a>.size() ) +00581 { +00582 <span class="keywordflow">for</span> (<a class="code" href="a04558.html#a10">sint32</a> i = 0; i < (<a class="code" href="a04558.html#a10">sint32</a>)<a class="code" href="a03025.html#NLAISCRIPT_1_1COperatorClassr17">_Vars</a>.size() ; i++ ) +00583 { +00584 <span class="keywordflow">if</span> ( var-><a class="code" href="a02575.html#NLAILOGIC_1_1IBaseVara7">getName</a>() == <a class="code" href="a03025.html#NLAISCRIPT_1_1COperatorClassr17">_Vars</a>[ i ]->getName() ) +00585 { +00586 <span class="keywordflow">return</span> i; +00587 } +00588 } +00589 } +00590 <span class="keywordflow">return</span> -1; +00591 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAISCRIPT_1_1COperatorClassa69" doxytag="NLAISCRIPT::COperatorClass::getVars" ></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::vector<<a class="el" href="a02575.html">NLAILOGIC::IBaseVar</a> *>& NLAISCRIPT::COperatorClass::getVars </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05856.html#l00203">203</a> of file <a class="el" href="a05856.html">interpret_object_operator.h</a>. +<p> +<div class="fragment"><pre>00204 { +00205 <span class="keywordflow">return</span> <a class="code" href="a03025.html#NLAISCRIPT_1_1COperatorClassr17">_Vars</a>; +00206 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1VectorTypea16" doxytag="NLAISCRIPT::COperatorClass::incRef" ></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 NLAIC::IPointerGestion::incRef </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Inc a reference. We use this when we have to conserve a pointer memeory for exemple in a list. +<p> + +<p> +Definition at line <a class="el" href="a05386.html#l00080">80</a> of file <a class="el" href="a05386.html">abstract_interface.h</a>. +<p> +References <a class="el" href="a05386.html#l00066">NLAIC::IPointerGestion::_Ref</a>. +<p> +Referenced by <a class="el" href="a05736.html#l00174">NLAIAGENT::CSeqFsmScript::activate()</a>, <a class="el" href="a05697.html#l00215">NLAILOGIC::CFactBase::addAssert()</a>, <a class="el" href="a05477.html#l00067">NLAIAGENT::IAgentComposite::addChild()</a>, <a class="el" href="a05422.html#l00052">NLAILOGIC::IBaseAssert::addInput()</a>, <a class="el" href="a05499.html#l00118">NLAILOGIC::CBoolOperator::addPostcondition()</a>, <a class="el" href="a05499.html#l00110">NLAILOGIC::CBoolOperator::addPrecondition()</a>, <a class="el" href="a05763.html#l00829">NLAILOGIC::CInternalGoal::addPredecessor()</a>, <a class="el" href="a05763.html#l00502">NLAILOGIC::CGoal::addPredecessor()</a>, <a class="el" href="a05753.html#l00088">NLAIFUZZY::CFuzzyVar::addSet()</a>, <a class="el" href="a06755.html#l00138">NLAISCRIPT::CCompilateur::affectation()</a>, <a class="el" href="a05695.html#l00177">NLAILOGIC::CFact::asValueSet()</a>, <a class="el" href="a05416.html#l00396">NLAIAGENT::CAgentWatchTimer::attach()</a>, <a class="el" href="a06662.html#l00539">NLAISCRIPT::CCompilateur::buildObject()</a>, <a class="el" href="a05847.html#l00649">NLAISCRIPT::CAgentClass::buildVMethode()</a>, <a class="el" href="a06129.html#l00046">NLAIAGENT::CAgentOperation::CAgentOperation()</a>, <a class="el" href="a05416.html#l00676">NLAIAGENT::CAgentTimerHandle::CAgentTimerHandle()</a>, <a class="el" href="a06755.html#l00816">NLAISCRIPT::CCompilateur::callFunction()</a>, <a class="el" href="a05845.html#l00114">NLAISCRIPT::CClassInterpretFactory::CClassInterpretFactory()</a>, <a class="el" href="a05573.html#l00055">NLAISCRIPT::CCodeBrancheRunDebug::CCodeBrancheRunDebug()</a>, <a class="el" href="a05590.html#l00208">NLAISCRIPT::CCompilateur::CCompilateur()</a>, <a class="el" href="a05699.html#l00054">NLAISCRIPT::CFactorType::CFactorType()</a>, <a class="el" href="a05600.html#l00076">NLAISCRIPT::CFunctionTag::CFunctionTag()</a>, <a class="el" href="a06133.html#l00828">NLAIAGENT::COperatorScript::checkTrigMsg()</a>, <a class="el" href="a05804.html#l00140">NLAIC::CIdentType::CIdentType()</a>, <a class="el" href="a05475.html#l00083">NLAIAGENT::CIdMethod::CIdMethod()</a>, <a class="el" href="a05859.html#l00060">NLAIAGENT::CKeyObject::CKeyObject()</a>, <a class="el" href="a06120.html#l00637">NLAISCRIPT::CFindRunMsg::clone()</a>, <a class="el" href="a06114.html#l00079">NLAISCRIPT::CObjectUnknown::clone()</a>, <a class="el" href="a05605.html#l00180">NLAISCRIPT::CConstraintStackComp::clone()</a>, <a class="el" href="a05603.html#l00038">NLAISCRIPT::CConstraintFindRun::clone()</a>, <a class="el" href="a05599.html#l00332">NLAISCRIPT::CConstraintMethode::clone()</a>, <a class="el" href="a05421.html#l00132">NLAILINK::IOTrace::clone()</a>, <a class="el" href="a05843.html#l00313">NLAISCRIPT::CMethodeName::CMethodeName()</a>, <a class="el" href="a05848.html#l00115">NLAISCRIPT::CAgentClass::CMethodType::CMethodType()</a>, <a class="el" href="a06114.html#l00056">NLAISCRIPT::CObjectUnknown::CObjectUnknown()</a>, <a class="el" href="a05407.html#l00178">NLAIAGENT::CPairType::CPairType()</a>, <a class="el" href="a05847.html#l00609">NLAISCRIPT::CAgentClass::createComponents()</a>, <a class="el" href="a06658.html#l00051">NLAILOGIC::CValueSet::CValueSet()</a>, <a class="el" href="a06660.html#l00117">NLAILOGIC::CVar::CVar()</a>, <a class="el" href="a06658.html#l00532">NLAILOGIC::CValueSet::forward()</a>, <a class="el" href="a06065.html#l00124">NLAIAGENT::IMessageBase::IMessageBase()</a>, <a class="el" href="a05412.html#l00092">NLAIAGENT::CAgentScript::initAgentScript()</a>, <a class="el" href="a06755.html#l00999">NLAISCRIPT::CCompilateur::initMessageManager()</a>, <a class="el" href="a05854.html#l00743">isValidFonc()</a>, <a class="el" href="a06658.html#l00399">NLAILOGIC::CValueSet::load()</a>, <a class="el" href="a06131.html#l00122">NLAILOGIC::IBaseOperator::load()</a>, <a class="el" href="a05847.html#l00783">NLAISCRIPT::CAgentClass::load()</a>, <a class="el" href="a05845.html#l00038">NLAISCRIPT::CComponent::load()</a>, <a class="el" href="a05843.html#l00404">NLAISCRIPT::CMethodeName::load()</a>, <a class="el" href="a05770.html#l00683">NLAIAGENT::CVectorGroupType::operator+()</a>, <a class="el" href="a05770.html#l00269">NLAIAGENT::CGroupType::operator+()</a>, <a class="el" href="a06140.html#l00053">NLAISCRIPT::CPramContainer::operator+=()</a>, <a class="el" href="a06065.html#l00150">NLAIAGENT::IMessageBase::operator=()</a>, <a class="el" href="a05859.html#l00079">NLAIAGENT::CKeyObject::operator=()</a>, <a class="el" href="a05848.html#l00122">NLAISCRIPT::CAgentClass::CMethodType::operator=()</a>, <a class="el" href="a05600.html#l00089">NLAISCRIPT::CFunctionTag::operator=()</a>, <a class="el" href="a05475.html#l00068">NLAIAGENT::CIdMethod::operator=()</a>, <a class="el" href="a06662.html#l00082">NLAISCRIPT::CCompilateur::processingVar()</a>, <a class="el" href="a05412.html#l01412">NLAIAGENT::CAgentScript::processMessages()</a>, <a class="el" href="a06662.html#l00389">NLAISCRIPT::CCompilateur::pushParamExpression()</a>, <a class="el" href="a05603.html#l00047">NLAISCRIPT::CConstraintFindRun::run()</a>, <a class="el" href="a05420.html#l00365">NLAIAGENT::IBasicAgent::run()</a>, <a class="el" href="a05412.html#l01006">NLAIAGENT::CAgentScript::runAskGetValue()</a>, <a class="el" href="a05420.html#l00160">NLAIAGENT::IAgent::runChildren()</a>, <a class="el" href="a05966.html#l00096">NLAIAGENT::CMainAgentScript::runExec()</a>, <a class="el" href="a05412.html#l01060">NLAIAGENT::CAgentScript::runInitComponent()</a>, <a class="el" href="a06129.html#l00262">NLAIAGENT::CAgentOperation::runMethodBase()</a>, <a class="el" href="a05416.html#l00441">NLAIAGENT::CAgentWatchTimer::runMethodBase()</a>, <a class="el" href="a05412.html#l01698">NLAIAGENT::CAgentScript::runMethodBase()</a>, <a class="el" href="a05389.html#l00454">NLAIAGENT::CActorScript::runMethodBase()</a>, <a class="el" href="a06065.html#l00371">NLAIAGENT::IMessageBase::runMethodeMember()</a>, <a class="el" href="a05770.html#l00151">NLAIAGENT::IBaseGroupType::runMethodeMember()</a>, <a class="el" href="a05420.html#l00494">NLAIAGENT::IBasicAgent::runMethodeMember()</a>, <a class="el" href="a06126.html#l00235">NLAISCRIPT::CLdbRefOpCode::runOpCode()</a>, <a class="el" href="a06126.html#l00191">NLAISCRIPT::CLdbMemberiOpCode::runOpCode()</a>, <a class="el" href="a06126.html#l00135">NLAISCRIPT::CLdbHeapMemberiOpCode::runOpCode()</a>, <a class="el" href="a06126.html#l00087">NLAISCRIPT::CLdbStackMemberiOpCode::runOpCode()</a>, <a class="el" href="a06124.html#l00278">NLAISCRIPT::CCallStackMethodi::runOpCode()</a>, <a class="el" href="a06124.html#l00214">NLAISCRIPT::CCallStackNewMethodi::runOpCode()</a>, <a class="el" href="a06122.html#l00288">NLAISCRIPT::CLibStackNewMemberMethod::runOpCode()</a>, <a class="el" href="a06122.html#l00242">NLAISCRIPT::CLibStackMemberMethod::runOpCode()</a>, <a class="el" href="a06121.html#l00960">NLAISCRIPT::CAffOpCode::runOpCode()</a>, <a class="el" href="a06120.html#l00724">NLAISCRIPT::CAddParamNameDebug::runOpCode()</a>, <a class="el" href="a06120.html#l00449">NLAISCRIPT::CAffOpCodeDebug::runOpCode()</a>, <a class="el" href="a06120.html#l00413">NLAISCRIPT::CAffHeapMemberiOpCode::runOpCode()</a>, <a class="el" href="a06120.html#l00334">NLAISCRIPT::CAffMemberOpCode::runOpCode()</a>, <a class="el" href="a06120.html#l00317">NLAISCRIPT::CAffMemberiOpCode::runOpCode()</a>, <a class="el" href="a05412.html#l00989">NLAIAGENT::CAgentScript::runTellComponent()</a>, <a class="el" href="a05412.html#l01032">NLAIAGENT::CAgentScript::runTellSetValue()</a>, <a class="el" href="a06124.html#l00080">NLAISCRIPT::CMethodContextDebug::saveContext()</a>, <a class="el" href="a06124.html#l00041">NLAISCRIPT::CMethodContext::saveContext()</a>, <a class="el" href="a05412.html#l01197">NLAIAGENT::CAgentScript::sendBroadCast()</a>, <a class="el" href="a05911.html#l00229">NLAIAGENT::IListManager::sendMessage()</a>, <a class="el" href="a05412.html#l01186">NLAIAGENT::CAgentScript::sendMethodCompoment()</a>, <a class="el" href="a06733.html#l00167">NLAIAGENT::CVolatilMemmory::sendUpdateMessage()</a>, <a class="el" href="a05699.html#l00040">NLAISCRIPT::CFactorType::set()</a>, <a class="el" href="a06131.html#l00150">NLAILOGIC::IBaseOperator::setGoal()</a>, <a class="el" href="a06662.html#l00439">NLAISCRIPT::CCompilateur::setImediateVarNill()</a>, <a class="el" href="a06662.html#l00492">NLAISCRIPT::CCompilateur::setMethodVar()</a>, <a class="el" href="a06662.html#l00337">NLAISCRIPT::CCompilateur::setParamVarName()</a>, <a class="el" href="a05600.html#l00105">NLAISCRIPT::CFunctionTag::setTypeObject()</a>, <a class="el" href="a06660.html#l00147">NLAILOGIC::CVar::setValue()</a>, <a class="el" href="a06658.html#l00140">NLAILOGIC::CValueSet::setValue()</a>, <a class="el" href="a05416.html#l00291">NLAIAGENT::CAgentWatchTimer::tellBroker()</a>, <a class="el" href="a06755.html#l00765">NLAISCRIPT::CCompilateur::typeOfMethod()</a>, <a class="el" href="a06660.html#l00242">NLAILOGIC::CVar::unify()</a>, <a class="el" href="a06658.html#l00155">NLAILOGIC::CValueSet::unify()</a>, and <a class="el" href="a06129.html#l00085">NLAIAGENT::CAgentOperation::update()</a>. +<p> +<div class="fragment"><pre>00081 { +00082 _Ref ++; +00083 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1VectorTypea17" doxytag="NLAISCRIPT::COperatorClass::init" ></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 NLAIAGENT::IObjectIA::init </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a02149.html">IObjectIA</a> * </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Init method alows to init the attribut of an object. the maparmetre is in more time a list of <a class="el" href="a02149.html">IObjectIA</a>. +<p> +Reimplemented in <a class="el" href="a03392.html#NLAIFUZZY_1_1CSimpleFuzzyConda17">NLAIFUZZY::CSimpleFuzzyCond</a>, <a class="el" href="a02570.html#NLAIFUZZY_1_1CFuzzyRulea22">NLAIFUZZY::CFuzzyRule</a>, <a class="el" href="a02573.html#NLAIFUZZY_1_1CFuzzyRuleSeta16">NLAIFUZZY::CFuzzyRuleSet</a>, <a class="el" href="a02568.html#NLAIFUZZY_1_1CFuzzyIntervala21">NLAIFUZZY::CFuzzyInterval</a>, <a class="el" href="a03339.html#NLAIFUZZY_1_1CRightFuzzySeta21">NLAIFUZZY::CRightFuzzySet</a>, <a class="el" href="a03619.html#NLAIFUZZY_1_1CTriangleFuzzySeta21">NLAIFUZZY::CTriangleFuzzySet</a>, <a class="el" href="a03615.html#NLAIFUZZY_1_1CTrapezeFuzzySeta21">NLAIFUZZY::CTrapezeFuzzySet</a>, <a class="el" href="a02730.html#NLAIFUZZY_1_1CLeftFuzzySeta21">NLAIFUZZY::CLeftFuzzySet</a>, <a class="el" href="a02574.html#NLAIFUZZY_1_1CFuzzyVara26">NLAIFUZZY::CFuzzyVar</a>, <a class="el" href="a02531.html#NLAILOGIC_1_1CFirstOrderAsserta30">NLAILOGIC::CFirstOrderAssert</a>, <a class="el" href="a03342.html#NLAILOGIC_1_1CRulea34">NLAILOGIC::CRule</a>, and <a class="el" href="a02505.html#NLAILOGIC_1_1CFactPatterna22">NLAILOGIC::CFactPattern</a>. +<p> +Definition at line <a class="el" href="a05475.html#l00116">116</a> of file <a class="el" href="a05475.html">baseai.cpp</a>. +<p> +Referenced by <a class="el" href="a05749.html#l00304">NLAIFUZZY::IFuzzySet::runMethodeMember()</a>, and <a class="el" href="a06121.html#l00058">NLAISCRIPT::CLdbNewOpCode::runOpCode()</a>. +<p> +<div class="fragment"><pre>00117 { +00118 +00119 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAISCRIPT_1_1COperatorClassa72" doxytag="NLAISCRIPT::COperatorClass::initialiseFactBase" ></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 NLAISCRIPT::COperatorClass::initialiseFactBase </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a02501.html">NLAILOGIC::CFactBase</a> * </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05854.html#l00830">830</a> of file <a class="el" href="a05854.html">logic/interpret_object_operator.cpp</a>. +<p> +References <a class="el" href="a05856.html#l00148">_ClassConcVars</a>, <a class="el" href="a05856.html#l00147">_ClassCondVars</a>, <a class="el" href="a05856.html#l00146">_ConcAsserts</a>, <a class="el" href="a05856.html#l00145">_CondAsserts</a>, <a class="el" href="a05697.html#l00044">NLAILOGIC::CFactBase::addAssert()</a>, <a class="el" href="a05854.html#l00490">addPostcondition()</a>, <a class="el" href="a05854.html#l00476">addPrecondition()</a>, <a class="el" href="a06669.html#l00144">NLAILOGIC::CVarSet::addVar()</a>, <a class="el" href="a05622.html#l00496">assert</a>, and <a class="el" href="a05538.html#l02935">size</a>. +<p> +<div class="fragment"><pre>00831 { +00832 <span class="keywordtype">int</span> i; +00833 <span class="keywordflow">for</span> ( i = 0; i < (<span class="keywordtype">int</span>) <a class="code" href="a03025.html#NLAISCRIPT_1_1COperatorClasso6">_CondAsserts</a>.size() ; i++ ) +00834 { +00835 <a class="code" href="a03455.html">NLAIAGENT::CStringVarName</a> name = *(<a class="code" href="a03455.html">NLAIAGENT::CStringVarName</a> *)<a class="code" href="a03025.html#NLAISCRIPT_1_1COperatorClasso6">_CondAsserts</a>[i]->clone(); +00836 <a class="code" href="a02284.html">NLAILOGIC::IBaseAssert</a> *<a class="code" href="a04199.html#a15">assert</a> = inst__FactBase-><a class="code" href="a02501.html#NLAILOGIC_1_1CFactBasea1">addAssert</a>( name, _ClassCondVars[i]-><a class="code" href="a04115.html#a94">size</a>() ); +00837 <a class="code" href="a02505.html">NLAILOGIC::CFactPattern</a> *pattern = <span class="keyword">new</span> <a class="code" href="a02505.html">NLAILOGIC::CFactPattern</a>( assert ); +00838 std::list<const NLAIAGENT::IVarName *>::iterator it_var = <a class="code" href="a03025.html#NLAISCRIPT_1_1COperatorClasso3">_ClassCondVars</a>[i]->begin(); +00839 <span class="keywordflow">while</span> ( it_var != _ClassCondVars[i]->end() ) +00840 { +00841 <a class="code" href="a03455.html">NLAIAGENT::CStringVarName</a> var_name = *(<a class="code" href="a03455.html">NLAIAGENT::CStringVarName</a> *)(*it_var); +00842 pattern-><a class="code" href="a02351.html#NLAILOGIC_1_1CVarSeta0">addVar</a>( <span class="keyword">new</span> <a class="code" href="a03645.html">NLAILOGIC::CVar</a>( var_name ) ); +00843 it_var++; +00844 } +00845 <a class="code" href="a03025.html#NLAISCRIPT_1_1COperatorClassa9">addPrecondition</a>( pattern ); +00846 } +00847 +00848 <span class="keywordflow">for</span> ( i = 0; i < (<span class="keywordtype">int</span>) <a class="code" href="a03025.html#NLAISCRIPT_1_1COperatorClasso4">_ConcAsserts</a>.size() ; i++ ) +00849 { +00850 <a class="code" href="a03455.html">NLAIAGENT::CStringVarName</a> name = *(<a class="code" href="a03455.html">NLAIAGENT::CStringVarName</a> *)<a class="code" href="a03025.html#NLAISCRIPT_1_1COperatorClasso4">_ConcAsserts</a>[i]->clone(); +00851 <a class="code" href="a02284.html">NLAILOGIC::IBaseAssert</a> *<a class="code" href="a04199.html#a15">assert</a> = inst__FactBase-><a class="code" href="a02501.html#NLAILOGIC_1_1CFactBasea1">addAssert</a>( name, _ClassConcVars[i]-><a class="code" href="a04115.html#a94">size</a>() ); +00852 NLAILOGIC::CFactPattern *pattern = <span class="keyword">new</span> NLAILOGIC::CFactPattern( assert ); +00853 std::list<const NLAIAGENT::IVarName *>::iterator it_var = <a class="code" href="a03025.html#NLAISCRIPT_1_1COperatorClasso2">_ClassConcVars</a>[i]->begin(); +00854 <span class="keywordflow">while</span> ( it_var != _ClassConcVars[i]->end() ) +00855 { +00856 <a class="code" href="a03455.html">NLAIAGENT::CStringVarName</a> var_name = *(<a class="code" href="a03455.html">NLAIAGENT::CStringVarName</a> *)(*it_var); +00857 pattern-><a class="code" href="a02351.html#NLAILOGIC_1_1CVarSeta0">addVar</a>( <span class="keyword">new</span> <a class="code" href="a03645.html">NLAILOGIC::CVar</a>( var_name ) ); +00858 it_var++; +00859 } +00860 <a class="code" href="a03025.html#NLAISCRIPT_1_1COperatorClassa8">addPostcondition</a>( pattern ); +00861 } +00862 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAISCRIPT_1_1CSuccessMsgClassa33" doxytag="NLAISCRIPT::COperatorClass::initStatics" ></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 NLAISCRIPT::CAgentClass::initStatics </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Reimplemented from <a class="el" href="a02169.html#NLAISCRIPT_1_1IClassInterpreta32">NLAISCRIPT::IClassInterpret</a>. +<p> +Definition at line <a class="el" href="a05847.html#l00958">958</a> of file <a class="el" href="a05847.html">interpret_object_agent.cpp</a>. +<p> +References <a class="el" href="a05572.html#l00339">NLAISCRIPT::CCodeContext::Code</a>, <a class="el" href="a05847.html#l00577">NLAISCRIPT::CAgentClass::findMethod()</a>, <a class="el" href="a05847.html#l00447">NLAISCRIPT::CAgentClass::getBrancheCode()</a>, <a class="el" href="a05843.html#l00371">NLAISCRIPT::CMethodeName::getCode()</a>, <a class="el" href="a05571.html#l00112">NLAISCRIPT::CCodeBrancheRun::run()</a>, <a class="el" href="a05572.html#l00341">NLAISCRIPT::CCodeContext::Self</a>, and <a class="el" href="a05981.html#l00099">sint32</a>. +<p> +<div class="fragment"><pre>00959 { +00960 <a class="code" href="a03455.html">NLAIAGENT::CStringVarName</a> staticinit_func_name(<span class="stringliteral">"StaticInit"</span>); +00961 <a class="code" href="a04558.html#a10">sint32</a> id_func = <a class="code" href="a02167.html#NLAISCRIPT_1_1CSuccessMsgClassa8">findMethod</a>( staticinit_func_name, <a class="code" href="a03039.html">NLAISCRIPT::CParam</a>() ); +00962 <span class="keywordflow">if</span> ( id_func != -1 ) +00963 { +00964 <a class="code" href="a03436.html">NLAISCRIPT::CStackPointer</a> stack; +00965 <a class="code" href="a03436.html">NLAISCRIPT::CStackPointer</a> heap; +00966 <a class="code" href="a02374.html">NLAISCRIPT::CCodeContext</a> codeContext(stack,heap,NULL,<span class="keyword">this</span>, NLAISCRIPT::CCallPrint::inputOutput); +00967 codeContext.<a class="code" href="a02374.html#NLAISCRIPT_1_1CCodeContexto5">Self</a> = <span class="keyword">this</span>; +00968 <a class="code" href="a02372.html">NLAISCRIPT::CCodeBrancheRun</a> *o = (<a class="code" href="a02372.html">NLAISCRIPT::CCodeBrancheRun</a> *)<a class="code" href="a02167.html#NLAISCRIPT_1_1CSuccessMsgClassz1838_3">getBrancheCode</a>( id_func ).getCode(); +00969 codeContext.<a class="code" href="a02374.html#NLAISCRIPT_1_1CCodeContexto0">Code</a> = o; +00970 o-><a class="code" href="a02372.html#NLAISCRIPT_1_1CCodeBrancheRunz1796_2">run</a>(codeContext); +00971 } +00972 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAICHARACTER_1_1IZonea25" doxytag="NLAISCRIPT::COperatorClass::isClassInheritedFrom" ></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#a10">sint32</a> NLAIAGENT::IObjectIA::isClassInheritedFrom </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const <a class="el" href="a02661.html">IVarName</a> & </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +isClassInheritedFrom(className) allow us to known if this class have a base class with the name className.<p> +If true the method return the range of the base class, this range is an arbitrary reference id define by the programmer or bay the scrypt. the false return is define by -1. +<p> +Reimplemented in <a class="el" href="a03884.html#NLAIAGENT_1_1VectorTypea18">NLAIAGENT::IVector</a>, <a class="el" href="a02782.html#NLAIAGENT_1_1CLocalAgentMaila18">NLAIAGENT::CLocalAgentMail</a>, <a class="el" href="a02146.html#NLAIAGENT_1_1UInt8Typez1644_1">NLAIAGENT::INombreDefine</a>, <a class="el" href="a02327.html#NLAIAGENT_1_1IMessageBasez1652_0">NLAIAGENT::IBaseGroupType</a>, and <a class="el" href="a02326.html#NLAIAGENT_1_1CSuccessMsgz1708_4">NLAIAGENT::CMessageScript</a>. +<p> +Definition at line <a class="el" href="a05475.html#l00246">246</a> of file <a class="el" href="a05475.html">baseai.cpp</a>. +<p> +References <a class="el" href="a05981.html#l00099">sint32</a>. +<p> +Referenced by <a class="el" href="a05789.html#l00104">NLAISCRIPT::CCompilateur::getValidateHierarchyBase()</a>, <a class="el" href="a05401.html#l00146">NLAIAGENT::CLocalAgentMail::isClassInheritedFrom()</a>, <a class="el" href="a05389.html#l00609">NLAIAGENT::CActorScript::Launch()</a>, <a class="el" href="a05734.html#l00283">NLAIAGENT::CFsmScript::setTopLevel()</a>, and <a class="el" href="a05389.html#l00932">NLAIAGENT::CActorScript::setTopLevel()</a>. +<p> +<div class="fragment"><pre>00247 { +00248 <span class="keywordflow">return</span> -1; +00249 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAISCRIPT_1_1CSuccessMsgClassz1842_6" doxytag="NLAISCRIPT::COperatorClass::isClassInheritedFrom" ></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#a10">sint32</a> NLAISCRIPT::CAgentClass::isClassInheritedFrom </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const <a class="el" href="a02661.html">NLAIAGENT::IVarName</a> & </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Defines the base class of this class. +<p> + +<p> +Definition at line <a class="el" href="a05847.html#l00678">678</a> of file <a class="el" href="a05847.html">interpret_object_agent.cpp</a>. +<p> +References <a class="el" href="a05848.html#l00160">NLAISCRIPT::CAgentClass::_VTable</a>, <a class="el" href="a05845.html#l00106">NLAISCRIPT::IClassInterpret::getClassName()</a>, <a class="el" href="a05386.html#l00116">NLAIC::IPointerGestion::getClassName()</a>, <a class="el" href="a02661.html#NLAIAGENT_1_1IVarNamea6">NLAIAGENT::IVarName::getString()</a>, <a class="el" href="a02151.html#NLAICHARACTER_1_1IZonea20">NLAIC::IBasicType::getType()</a>, and <a class="el" href="a05981.html#l00099">sint32</a>. +<p> +Referenced by <a class="el" href="a05389.html#l00126">NLAIAGENT::CActorScript::activate()</a>, <a class="el" href="a06030.html#l00258">NLAIAGENT::CMessageScript::isClassInheritedFrom()</a>, <a class="el" href="a05412.html#l02314">NLAIAGENT::CAgentScript::isClassInheritedFrom()</a>, <a class="el" href="a05847.html#l00134">NLAISCRIPT::CAgentClass::isMessageFunc()</a>, and <a class="el" href="a05389.html#l00149">NLAIAGENT::CActorScript::unActivate()</a>. +<p> +<div class="fragment"><pre>00679 { +00680 <span class="keywordflow">for</span>(<a class="code" href="a04558.html#a10">sint32</a> i = 0; i < (<a class="code" href="a04558.html#a10">sint32</a>)_VTable.size(); i ++) +00681 { +00682 <span class="preprocessor">#ifdef NL_DEBUG</span> +00683 <span class="preprocessor"></span> <span class="keyword">const</span> <a class="code" href="a02149.html">NLAIAGENT::IObjectIA</a> *o = _VTable[i]; +00684 <span class="preprocessor">#endif</span> +00685 <span class="preprocessor"></span> <span class="keyword">const</span> <a class="code" href="a02661.html">NLAIAGENT::IVarName</a> *thisName = _VTable[i]-><a class="code" href="a02145.html#NLAIAGENT_1_1VectorTypez1764_0">getClassName</a>(); +00686 <span class="keywordflow">if</span>(thisName == NULL) +00687 { +00688 <span class="comment">//thisName = </span> +00689 <span class="keyword">const</span> <a class="code" href="a02650.html">NLAIC::CIdentType</a> *<span class="keywordtype">id</span> = &_VTable[i]-><a class="code" href="a02151.html#NLAICHARACTER_1_1IZonea20">getType</a>(); +00690 <span class="keywordflow">if</span>(<span class="keywordtype">id</span> == NULL) +00691 { +00692 <span class="keywordflow">if</span>(<a class="code" href="a02169.html#NLAISCRIPT_1_1IClassInterpreta7">getClassName</a>() != NULL) +00693 { +00694 <span class="keywordflow">if</span>(*<a class="code" href="a02169.html#NLAISCRIPT_1_1IClassInterpreta7">getClassName</a>() == className) <span class="keywordflow">return</span> i; +00695 <span class="keywordflow">else</span> <span class="keywordflow">return</span> -1; +00696 } +00697 <span class="keywordflow">else</span> <span class="keywordflow">return</span> -1; +00698 } +00699 <span class="keywordflow">else</span> +00700 <span class="keywordflow">if</span>(strcmp((<span class="keyword">const</span> <span class="keywordtype">char</span> *)*<span class="keywordtype">id</span> , className.<a class="code" href="a02661.html#NLAIAGENT_1_1IVarNamea6">getString</a>()) == 0) +00701 { +00702 <span class="keywordflow">return</span> i; +00703 } +00704 } +00705 <span class="keywordflow">else</span> +00706 { +00707 <span class="keywordflow">if</span>(*(_VTable[i]-><a class="code" href="a02650.html#NLAIC_1_1CIdentTypez1766_0">getClassName</a>()) == className) +00708 { +00709 <span class="keywordflow">return</span> i; +00710 } +00711 } +00712 } +00713 <span class="keywordflow">return</span> -1; +00714 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAICHARACTER_1_1IZonea26" doxytag="NLAISCRIPT::COperatorClass::isEqual" ></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"> virtual bool NLAIAGENT::IBasicObjectIA::isEqual </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const <a class="el" href="a02153.html">IBasicObjectIA</a> & </td> + <td class="mdname1" valign="top" nowrap> <em>a</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [pure virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +The bool operator == (const IBasicObjectIA &a) const member method call this function when class 'classType' have the same type of this class, programme have to assume the equality between the memebers of this class and the memeber of the class 'classType'. +<p> +Implemented in <a class="el" href="a02160.html#NLAIAGENT_1_1CActorz1605_4">NLAIAGENT::CActor</a>, <a class="el" href="a02170.html#NLAILOGIC_1_1CGoalPatha40">NLAIAGENT::CActorScript</a>, <a class="el" href="a02163.html#NLAIAGENT_1_1IAgentManagera25">NLAIAGENT::IAgent</a>, <a class="el" href="a03884.html#NLAIAGENT_1_1VectorTypea19">NLAIAGENT::IVector</a>, <a class="el" href="a03833.html#NLAIAGENT_1_1IAgentInputa26">NLAIAGENT::IAgentInput</a>, <a class="el" href="a02782.html#NLAIAGENT_1_1CLocalAgentMailz1640_0">NLAIAGENT::CLocalAgentMail</a>, <a class="el" href="a02148.html#NLAIAGENT_1_1INombrea21">NLAIAGENT::INombre< tNombre ></a>, <a class="el" href="a03453.html#NLAIAGENT_1_1CStringTypea21">NLAIAGENT::CStringType</a>, <a class="el" href="a03036.html#NLAIAGENT_1_1CPairTypea20">NLAIAGENT::CPairType</a>, <a class="el" href="a02602.html#NLAISCRIPT_1_1CPramContainera34">NLAIAGENT::CGroupType</a>, <a class="el" href="a03667.html#NLAIAGENT_1_1CVectorGroupTypea36">NLAIAGENT::CVectorGroupType</a>, <a class="el" href="a03134.html#NLAIAGENT_1_1CProxyAgentMailz1662_1">NLAIAGENT::CProxyAgentMail</a>, <a class="el" href="a02171.html#NLAIAGENT_1_1IMainAgentz1670_9">NLAIAGENT::CAgentScript</a>, <a class="el" href="a02324.html#NLAIAGENT_1_1IListBasicManagerz1705_14">NLAIAGENT::IListBasicManager</a>, <a class="el" href="a03666.html#NLAIAGENT_1_1IListManagera17">NLAIAGENT::IListManager</a>, <a class="el" href="a02785.html#NLAIAGENT_1_1CLocalMailBoxa30">NLAIAGENT::CLocalMailBox</a>, <a class="el" href="a02326.html#NLAIAGENT_1_1CSuccessMsgz1710_0">NLAIAGENT::CMessageScript</a>, <a class="el" href="a02325.html#NLAIAGENT_1_1IMessageBasea22">NLAIAGENT::IMessageBase</a>, <a class="el" href="a02997.html#NLAIAGENT_1_1CObjectIdenta22">NLAIAGENT::CObjectIdent</a>, <a class="el" href="a02998.html#NLAIAGENT_1_1CObjectTypea17">NLAIAGENT::CObjectType</a>, <a class="el" href="a02190.html#NLAIAGENT_1_1CAgentOperationa44">NLAIAGENT::CAgentOperation</a>, <a class="el" href="a02608.html#NLAIAGENT_1_1CHashTimerManagera24">NLAIAGENT::CHashTimerManager</a>, <a class="el" href="a03652.html#NLAIAGENT_1_1CVolatilMemmoryz1758_4">NLAIAGENT::CVolatilMemmory</a>, <a class="el" href="a02564.html#NLAIAGENT_1_1CFsmScripta41">NLAIAGENT::CFsmScript</a>, <a class="el" href="a03363.html#NLAIAGENT_1_1CSeqFsmScripta42">NLAIAGENT::CSeqFsmScript</a>, <a class="el" href="a03026.html#NLAIAGENT_1_1COperatorScripta47">NLAIAGENT::COperatorScript</a>, <a class="el" href="a02148.html#NLAIAGENT_1_1INombrea21">NLAIAGENT::INombre< double ></a>, <a class="el" href="a02148.html#NLAIAGENT_1_1INombrea21">NLAIAGENT::INombre< uint16 ></a>, <a class="el" href="a02148.html#NLAIAGENT_1_1INombrea21">NLAIAGENT::INombre< float ></a>, <a class="el" href="a02148.html#NLAIAGENT_1_1INombrea21">NLAIAGENT::INombre< sint8 ></a>, <a class="el" href="a02148.html#NLAIAGENT_1_1INombrea21">NLAIAGENT::INombre< uint64 ></a>, <a class="el" href="a02148.html#NLAIAGENT_1_1INombrea21">NLAIAGENT::INombre< sint16 ></a>, <a class="el" href="a02148.html#NLAIAGENT_1_1INombrea21">NLAIAGENT::INombre< uint8 ></a>, <a class="el" href="a02148.html#NLAIAGENT_1_1INombrea21">NLAIAGENT::INombre< uint32 ></a>, and <a class="el" href="a02148.html#NLAIAGENT_1_1INombrea21">NLAIAGENT::INombre< sint32 ></a>. +<p> +Referenced by <a class="el" href="a06129.html#l00154">NLAIAGENT::CAgentOperation::isEqual()</a>, <a class="el" href="a06065.html#l00184">NLAIAGENT::IMessageBase::isEqual()</a>, <a class="el" href="a05911.html#l00178">NLAIAGENT::IListBasicManager::isEqual()</a>, <a class="el" href="a05401.html#l00170">NLAIAGENT::CLocalAgentMail::isEqual()</a>, <a class="el" href="a05398.html#l00112">NLAIAGENT::IAgentInput::isEqual()</a>, and <a class="el" href="a05475.html#l00134">NLAIAGENT::IBasicObjectIA::operator==()</a>. </td> + </tr> +</table> +<a class="anchor" name="NLAISCRIPT_1_1CSuccessMsgClassa36" doxytag="NLAISCRIPT::COperatorClass::isEqual" ></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 NLAISCRIPT::CAgentClass::isEqual </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const <a class="el" href="a02153.html">NLAIAGENT::IBasicObjectIA</a> & </td> + <td class="mdname1" valign="top" nowrap> <em>a</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05847.html#l00825">825</a> of file <a class="el" href="a05847.html">interpret_object_agent.cpp</a>. +<p> +References <a class="el" href="a05845.html#l00106">NLAISCRIPT::IClassInterpret::getClassName()</a>. +<p> +<div class="fragment"><pre>00826 { +00827 <span class="keyword">const</span> <a class="code" href="a02167.html#NLAISCRIPT_1_1CAgentClassa5">CAgentClass</a> &i = (<span class="keyword">const</span> <a class="code" href="a02167.html#NLAISCRIPT_1_1CAgentClassa5">CAgentClass</a> &)a; +00828 <span class="keywordflow">return</span> <a class="code" href="a02169.html#NLAISCRIPT_1_1IClassInterpreta7">getClassName</a>() == i.<a class="code" href="a02145.html#NLAIAGENT_1_1VectorTypez1764_0">getClassName</a>(); +00829 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1VectorTypea20" doxytag="NLAISCRIPT::COperatorClass::isLocal" ></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 NLAIAGENT::IObjectIA::isLocal </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +If the result is true the object is loclal else its a representation of an object on the server. By the method return true. +<p> + +<p> +Definition at line <a class="el" href="a05475.html#l00356">356</a> of file <a class="el" href="a05475.html">baseai.cpp</a>. +<p> +<div class="fragment"><pre>00357 { +00358 <span class="keywordflow">return</span> <span class="keyword">true</span>; +00359 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAICHARACTER_1_1IZonea29" doxytag="NLAISCRIPT::COperatorClass::isMember" ></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"> TQueue NLAIAGENT::IObjectIA::isMember </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const <a class="el" href="a02661.html">IVarName</a> * </td> + <td class="mdname" nowrap>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>const <a class="el" href="a02661.html">IVarName</a> * </td> + <td class="mdname" nowrap>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>const <a class="el" href="a02149.html">IObjectIA</a> & </td> + <td class="mdname" nowrap></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"> const<code> [virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +The method isMember(nameSubClass,methodName,param) return the best method correspondent to the search. remember we use the overloadind method.<p> +NameSubClass: if this pointer is not NULL then NameSubClass is the name of the base class were the method are defined.<p> +methodName: is the name of the class.<p> +param: is an <a class="el" href="a02149.html">IObjectIA</a> where it defined the parametre of the method. lot of method use a <a class="el" href="a02149.html">IObjectIA</a> vector object with an <a class="el" href="a02650.html">NLAIC::CIdentType</a> as the the template argm. +<p> +Reimplemented in <a class="el" href="a02162.html#NLAIAGENT_1_1IMainAgentz1609_0">NLAIAGENT::IBasicAgent</a>, <a class="el" href="a03884.html#NLAIAGENT_1_1VectorTypea21">NLAIAGENT::IVector</a>, <a class="el" href="a02782.html#NLAIAGENT_1_1CLocalAgentMaila20">NLAIAGENT::CLocalAgentMail</a>, <a class="el" href="a02146.html#NLAIAGENT_1_1UInt8Typez1644_2">NLAIAGENT::INombreDefine</a>, <a class="el" href="a03036.html#NLAIAGENT_1_1CPairTypea22">NLAIAGENT::CPairType</a>, <a class="el" href="a02327.html#NLAIAGENT_1_1IBaseGroupTypez1652_2">NLAIAGENT::IBaseGroupType</a>, <a class="el" href="a03667.html#NLAIAGENT_1_1CVectorGroupTypea38">NLAIAGENT::CVectorGroupType</a>, <a class="el" href="a03134.html#NLAIAGENT_1_1CProxyAgentMailz1662_2">NLAIAGENT::CProxyAgentMail</a>, <a class="el" href="a02192.html#NLAIAGENT_1_1CAgentTimerHandlea22">NLAIAGENT::CAgentTimerHandle</a>, <a class="el" href="a02324.html#NLAIAGENT_1_1IListManagerz1705_14">NLAIAGENT::IListBasicManager</a>, <a class="el" href="a02326.html#NLAIAGENT_1_1CSuccessMsgz1708_5">NLAIAGENT::CMessageScript</a>, and <a class="el" href="a02325.html#NLAIAGENT_1_1IMessageBasea24">NLAIAGENT::IMessageBase</a>. +<p> +Definition at line <a class="el" href="a05475.html#l00206">206</a> of file <a class="el" href="a05475.html">baseai.cpp</a>. +<p> +References <a class="el" href="a05403.html#l00056">_CONSTRUCTOR_</a>, <a class="el" href="a05403.html#l00058">_RUN_</a>, <a class="el" href="a05403.html#l00031">_SEND_</a>, <a class="el" href="a05646.html#l00683">param</a>, <a class="el" href="a05646.html#l00993">r</a>, <a class="el" href="a02149.html#NLAICHARACTER_1_1IZonea39">NLAIAGENT::IObjectIA::run()</a>, and <a class="el" href="a05476.html#l00141">NLAIAGENT::TQueue</a>. +<p> +Referenced by <a class="el" href="a05416.html#l00308">NLAIAGENT::CAgentWatchTimer::addAttrib()</a>, <a class="el" href="a05589.html#l00124">NLAISCRIPT::CCompilateur::findMethode()</a>, <a class="el" href="a05847.html#l00540">NLAISCRIPT::CAgentClass::isMember()</a>, <a class="el" href="a05400.html#l00073">NLAIAGENT::CLocalAgentMail::isMember()</a>, and <a class="el" href="a06120.html#l00607">NLAISCRIPT::CFindRunMsg::runOpCode()</a>. +<p> +<div class="fragment"><pre>00207 { +00208 <span class="keyword">static</span> CStringVarName send(_SEND_); +00209 <span class="keyword">static</span> CStringVarName constructor(_CONSTRUCTOR_); +00210 <span class="keyword">static</span> CStringVarName <a class="code" href="a02167.html#NLAISCRIPT_1_1CSuccessMsgClassa44">run</a>(_RUN_); +00211 <span class="keyword">static</span> CStringVarName statM(<span class="stringliteral">"GetStaticMember"</span>); +00212 +00213 <span class="keywordflow">if</span>(*methodName == send) +00214 { +00215 <a class="code" href="a05364.html#a31">TQueue</a> <a class="code" href="a04223.html#a628">r</a>; +00216 CObjectType *c = <span class="keyword">new</span> CObjectType(<span class="keyword">new</span> <a class="code" href="a02650.html">NLAIC::CIdentType</a>(NLAIC::CIdentType::VoidType)); +00217 <a class="code" href="a04223.html#a628">r</a>.push(CIdMethod(0,0.0,NULL,c)); +00218 <span class="keywordflow">return</span> <a class="code" href="a04223.html#a628">r</a>; +00219 } +00220 <span class="keywordflow">else</span> +00221 <span class="keywordflow">if</span>(*methodName == constructor && !((<span class="keyword">const</span> <a class="code" href="a03039.html">NLAISCRIPT::CParam</a> &)<a class="code" href="a04223.html#a590">param</a>).size()) +00222 { +00223 <a class="code" href="a05364.html#a31">TQueue</a> <a class="code" href="a04223.html#a628">r</a>; +00224 CObjectType *c = <span class="keyword">new</span> CObjectType(<span class="keyword">new</span> <a class="code" href="a02650.html">NLAIC::CIdentType</a>(NLAIC::CIdentType::VoidType)); +00225 <a class="code" href="a04223.html#a628">r</a>.push(CIdMethod(1,0.0,NULL,c)); +00226 <span class="keywordflow">return</span> <a class="code" href="a04223.html#a628">r</a>; +00227 } +00228 <span class="keywordflow">else</span> +00229 <span class="keywordflow">if</span>(*methodName == run && !((<span class="keyword">const</span> <a class="code" href="a03039.html">NLAISCRIPT::CParam</a> &)<a class="code" href="a04223.html#a590">param</a>).size()) +00230 { +00231 <a class="code" href="a05364.html#a31">TQueue</a> <a class="code" href="a04223.html#a628">r</a>; +00232 CObjectType *c = <span class="keyword">new</span> CObjectType(<span class="keyword">new</span> <a class="code" href="a02650.html">NLAIC::CIdentType</a>(NLAIC::CIdentType::VoidType)); +00233 <a class="code" href="a04223.html#a628">r</a>.push(CIdMethod(2,0.0,NULL,c)); +00234 <span class="keywordflow">return</span> <a class="code" href="a04223.html#a628">r</a>; +00235 } +00236 <span class="keywordflow">if</span>(*methodName == statM && ((<span class="keyword">const</span> <a class="code" href="a03039.html">NLAISCRIPT::CParam</a> &)<a class="code" href="a04223.html#a590">param</a>).size()) +00237 { +00238 <a class="code" href="a05364.html#a31">TQueue</a> <a class="code" href="a04223.html#a628">r</a>; +00239 CObjectType *c = <span class="keyword">new</span> CObjectType(<span class="keyword">new</span> <a class="code" href="a02650.html">NLAIC::CIdentType</a>(*IAgent::IdAgent)); +00240 <a class="code" href="a04223.html#a628">r</a>.push(CIdMethod(3,0.0,NULL,c)); +00241 <span class="keywordflow">return</span> <a class="code" href="a04223.html#a628">r</a>; +00242 } +00243 <span class="keywordflow">return</span> <a class="code" href="a05364.html#a31">TQueue</a>(); +00244 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAISCRIPT_1_1CSuccessMsgClassz1838_9" doxytag="NLAISCRIPT::COperatorClass::isMember" ></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="a05364.html#a31">NLAIAGENT::TQueue</a> NLAISCRIPT::CAgentClass::isMember </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const <a class="el" href="a02661.html">NLAIAGENT::IVarName</a> * </td> + <td class="mdname" nowrap> <em>className</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>const <a class="el" href="a02661.html">NLAIAGENT::IVarName</a> * </td> + <td class="mdname" nowrap> <em>methodName</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>const <a class="el" href="a02149.html">NLAIAGENT::IObjectIA</a> & </td> + <td class="mdname" nowrap> <em>param</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"> const<code> [virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05847.html#l00540">540</a> of file <a class="el" href="a05847.html">interpret_object_agent.cpp</a>. +<p> +References <a class="el" href="a05848.html#l00160">NLAISCRIPT::CAgentClass::_VTable</a>, <a class="el" href="a05848.html#l00077">NLAISCRIPT::IAgentMultiClass::getBaseObjectInstance()</a>, <a class="el" href="a05847.html#l00506">NLAISCRIPT::CAgentClass::getPrivateMember()</a>, <a class="el" href="a02661.html#NLAIAGENT_1_1IVarNamea6">NLAIAGENT::IVarName::getString()</a>, <a class="el" href="a05475.html#l00206">NLAIAGENT::IObjectIA::isMember()</a>, <a class="el" href="a05646.html#l00683">param</a>, <a class="el" href="a05646.html#l01001">q</a>, <a class="el" href="a05981.html#l00099">sint32</a>, and <a class="el" href="a05476.html#l00141">NLAIAGENT::TQueue</a>. +<p> +Referenced by <a class="el" href="a05389.html#l00126">NLAIAGENT::CActorScript::activate()</a>, <a class="el" href="a05389.html#l00985">NLAIAGENT::CActorScript::failure()</a>, <a class="el" href="a05389.html#l00191">NLAIAGENT::CActorScript::pause()</a>, <a class="el" href="a05389.html#l00243">NLAIAGENT::CActorScript::restart()</a>, <a class="el" href="a05389.html#l00966">NLAIAGENT::CActorScript::success()</a>, and <a class="el" href="a05389.html#l00149">NLAIAGENT::CActorScript::unActivate()</a>. +<p> +<div class="fragment"><pre>00541 { +00542 +00543 <span class="preprocessor">#ifdef NL_DEBUG</span> +00544 <span class="preprocessor"></span> <span class="keywordflow">if</span> ( className != NULL ) +00545 <span class="keyword">const</span> <span class="keywordtype">char</span> *dbg_class_name = className-><a class="code" href="a02661.html#NLAIAGENT_1_1IVarNamea6">getString</a>(); +00546 <span class="keyword">const</span> <span class="keywordtype">char</span> *dbg_method_name = methodName-><a class="code" href="a02661.html#NLAIAGENT_1_1IVarNamea6">getString</a>(); +00547 <span class="preprocessor">#endif</span> +00548 <span class="preprocessor"></span> +00549 <a class="code" href="a05364.html#a31">NLAIAGENT::TQueue</a> <a class="code" href="a04223.html#a629">q</a>; +00550 <span class="keyword">const</span> <a class="code" href="a02169.html#NLAISCRIPT_1_1IClassInterpretb0">IClassInterpret</a> *classType = <span class="keyword">this</span>; +00551 <a class="code" href="a02652.html">NLAIAGENT::CIdMethod</a> k; +00552 +00553 <span class="keywordflow">if</span>( className != NULL ) +00554 { +00555 classType = NULL; +00556 <span class="keywordflow">for</span>(<a class="code" href="a04558.html#a10">sint32</a> i = 1; i < (<a class="code" href="a04558.html#a10">sint32</a>)_VTable.size(); i ++) +00557 { +00558 <span class="keywordflow">if</span>(*_VTable[i]->getClassName() == *className) +00559 { +00560 classType = _VTable[i]; +00561 } +00562 } +00563 } +00564 +00565 <span class="keywordflow">if</span>( classType != NULL ) +00566 { +00567 <a class="code" href="a04223.html#a629">q</a>= <a class="code" href="a02167.html#NLAISCRIPT_1_1CSuccessMsgClassz1838_7">getPrivateMember</a>(className,methodName,param); +00568 } +00569 +00570 <span class="keywordflow">if</span>( !<a class="code" href="a04223.html#a629">q</a>.size() ) +00571 { +00572 <span class="keywordflow">return</span> <a class="code" href="a02168.html#NLAISCRIPT_1_1IAgentMultiClassa8">getBaseObjectInstance</a>()-><a class="code" href="a02149.html#NLAICHARACTER_1_1IZonea29">isMember</a>(className,methodName,param); +00573 } +00574 <span class="keywordflow">return</span> <a class="code" href="a04223.html#a629">q</a>; +00575 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAISCRIPT_1_1COperatorClassa79" doxytag="NLAISCRIPT::COperatorClass::isValid" ></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 NLAISCRIPT::COperatorClass::isValid </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a02501.html">NLAILOGIC::CFactBase</a> * </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Verifies if the preconditions are validated. +<p> + +<p> +Definition at line <a class="el" href="a05854.html#l00211">211</a> of file <a class="el" href="a05854.html">logic/interpret_object_operator.cpp</a>. +<p> +References <a class="el" href="a05697.html#l00205">NLAILOGIC::CFactBase::getAssertFacts()</a>, <a class="el" href="a05854.html#l00370">propagate()</a>, <a class="el" href="a05646.html#l01119">res</a>, and <a class="el" href="a05981.html#l00099">sint32</a>. +<p> +<div class="fragment"><pre>00212 { +00213 std::list<NLAILOGIC::CFact *> *facts = <span class="keyword">new</span> std::list<NLAILOGIC::CFact *>; +00214 <span class="keywordflow">for</span> (<a class="code" href="a04558.html#a10">sint32</a> i = 0; i < (<a class="code" href="a04558.html#a10">sint32</a>) <a class="code" href="a03025.html#NLAISCRIPT_1_1COperatorClassr2">_Conds</a>.size(); i++ ) +00215 { +00216 std::list<NLAILOGIC::CFact *> *fa = fb-><a class="code" href="a02501.html#NLAILOGIC_1_1CFactBasea9">getAssertFacts</a>( _Conds[i] ); +00217 <span class="keywordflow">while</span> ( fa->size() ) +00218 { +00219 facts->push_back( fa->front() ); +00220 fa->pop_front(); +00221 } +00222 <span class="keyword">delete</span> fa; +00223 } +00224 std::list<NLAILOGIC::CFact *> *<a class="code" href="a04223.html#a643">res</a> = <a class="code" href="a03025.html#NLAISCRIPT_1_1COperatorClassa86">propagate</a>( *facts ); +00225 <span class="keywordtype">bool</span> is_valid = !<a class="code" href="a04223.html#a643">res</a>->empty(); +00226 <span class="keywordflow">while</span> ( <a class="code" href="a04223.html#a643">res</a>->size() ) +00227 { +00228 <span class="preprocessor">#ifdef NL_DEBUG</span> +00229 <span class="preprocessor"></span> +00230 <span class="preprocessor">#endif</span> +00231 <span class="preprocessor"></span> <a class="code" href="a04223.html#a643">res</a>->front()->release(); +00232 <a class="code" href="a04223.html#a643">res</a>->pop_front(); +00233 } +00234 <span class="keyword">delete</span> <a class="code" href="a04223.html#a643">res</a>; +00235 +00236 <span class="keywordflow">while</span> ( facts->size() ) +00237 { +00238 facts->front()->release(); +00239 facts->pop_front(); +00240 } +00241 <span class="keyword">delete</span> facts; +00242 +00243 <span class="keywordflow">return</span> is_valid; +00244 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAISCRIPT_1_1COperatorClassa80" doxytag="NLAISCRIPT::COperatorClass::isValidFonc" ></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 NLAISCRIPT::COperatorClass::isValidFonc </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a02149.html">NLAIAGENT::IObjectIA</a> * </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05854.html#l00743">743</a> of file <a class="el" href="a05854.html">logic/interpret_object_operator.cpp</a>. +<p> +References <a class="el" href="a05856.html#l00149">_CondCode</a>, <a class="el" href="a05572.html#l00339">NLAISCRIPT::CCodeContext::Code</a>, <a class="el" href="a02151.html#NLAICHARACTER_1_1IZonea20">NLAIC::IBasicType::getType()</a>, <a class="el" href="a05386.html#l00080">NLAIC::IPointerGestion::incRef()</a>, <a class="el" href="a05409.html#l00275">NLAIAGENT::IObjetOp::isTrue()</a>, <a class="el" href="a05646.html#l00993">r</a>, <a class="el" href="a05386.html#l00086">NLAIC::IPointerGestion::release()</a>, <a class="el" href="a05981.html#l00104">sint</a>, <a class="el" href="a05572.html#l00335">NLAISCRIPT::CCodeContext::Stack</a>, and <a class="el" href="a05981.html#l00100">uint32</a>. +<p> +<div class="fragment"><pre>00744 { +00745 <a class="code" href="a02374.html">NLAISCRIPT::CCodeContext</a> &context = (<a class="code" href="a02374.html">NLAISCRIPT::CCodeContext</a> &)*c; +00746 +00747 <span class="keywordflow">for</span> ( <span class="keywordtype">int</span> i = 0; i < (<span class="keywordtype">int</span>) <a class="code" href="a03025.html#NLAISCRIPT_1_1COperatorClasso7">_CondCode</a>.size(); i++ ) +00748 { +00749 <a class="code" href="a03846.html">NLAISCRIPT::IOpCode</a> *opPtr = <a class="code" href="a03025.html#NLAISCRIPT_1_1COperatorClasso7">_CondCode</a>[ i ]; +00750 +00751 IObjectIA::CProcessResult <a class="code" href="a04223.html#a628">r</a>; +00752 <span class="keywordflow">if</span>(opPtr != NULL) +00753 { +00754 <a class="code" href="a03846.html">NLAISCRIPT::IOpCode</a> &op = *opPtr; +00755 <a class="code" href="a02372.html">NLAISCRIPT::CCodeBrancheRun</a> *opTmp = context.<a class="code" href="a02374.html#NLAISCRIPT_1_1CCodeContexto0">Code</a>; +00756 <span class="keywordtype">int</span> ip; +00757 <span class="keywordflow">if</span>(context.<a class="code" href="a02374.html#NLAISCRIPT_1_1CCodeContexto0">Code</a> != NULL) ip = (<a class="code" href="a04558.html#a11">uint32</a>)*context.<a class="code" href="a02374.html#NLAISCRIPT_1_1CCodeContexto0">Code</a>; +00758 <span class="keywordflow">else</span> ip =0; +00759 context.<a class="code" href="a02374.html#NLAISCRIPT_1_1CCodeContexto0">Code</a> = (<a class="code" href="a02372.html">NLAISCRIPT::CCodeBrancheRun</a> *)&op; +00760 *context.<a class="code" href="a02374.html#NLAISCRIPT_1_1CCodeContexto0">Code</a> = 0; +00761 +00762 <span class="preprocessor">#ifdef NL_DEBUG</span> +00763 <span class="preprocessor"></span> <a class="code" href="a04558.html#a14">sint</a> sp = context.<a class="code" href="a02374.html#NLAISCRIPT_1_1CCodeContexto6">Stack</a>.CIndexStackPointer::operator int (); +00764 <span class="preprocessor">#endif</span> +00765 <span class="preprocessor"></span> <a class="code" href="a04223.html#a628">r</a> = ((<a class="code" href="a03847.html">NLAISCRIPT::ICodeBranche</a> *)opPtr)->run(context); +00766 +00767 *context.<a class="code" href="a02374.html#NLAISCRIPT_1_1CCodeContexto0">Code</a> = ip; +00768 context.<a class="code" href="a02374.html#NLAISCRIPT_1_1CCodeContexto0">Code</a> = opTmp; +00769 +00770 <a class="code" href="a02147.html">NLAIAGENT::IObjetOp</a> *result = (<a class="code" href="a02147.html">NLAIAGENT::IObjetOp</a> *)context.<a class="code" href="a02374.html#NLAISCRIPT_1_1CCodeContexto6">Stack</a>[(<span class="keywordtype">int</span>)context.<a class="code" href="a02374.html#NLAISCRIPT_1_1CCodeContexto6">Stack</a>]; +00771 result-><a class="code" href="a02145.html#NLAIAGENT_1_1VectorTypea16">incRef</a>(); +00772 context.<a class="code" href="a02374.html#NLAISCRIPT_1_1CCodeContexto6">Stack</a>--; +00773 +00774 <span class="preprocessor">#ifdef NL_DEBUG</span> +00775 <span class="preprocessor"></span> <a class="code" href="a04558.html#a14">sint</a> u = context.<a class="code" href="a02374.html#NLAISCRIPT_1_1CCodeContexto6">Stack</a>.CIndexStackPointer::operator int (); +00776 <span class="keywordflow">if</span>(sp != u) +00777 { +00778 +00779 <span class="keywordflow">throw</span>; +00780 } +00781 <span class="preprocessor">#endif</span> +00782 <span class="preprocessor"></span> +00783 <span class="keywordflow">if</span> ( result != NULL) +00784 { +00785 <span class="preprocessor">#ifdef NL_DEBUG</span> +00786 <span class="preprocessor"></span> <span class="keyword">const</span> <span class="keywordtype">char</span> *dbg_return_type = (<span class="keyword">const</span> <span class="keywordtype">char</span> *) result-><a class="code" href="a02151.html#NLAICHARACTER_1_1IZonea20">getType</a>(); +00787 +00788 <span class="preprocessor">#endif</span> +00789 <span class="preprocessor"></span> <span class="keywordtype">bool</span> br = !result-><a class="code" href="a02147.html#NLAIAGENT_1_1IObjetOpa21">isTrue</a>(); +00790 result-><a class="code" href="a02145.html#NLAIAGENT_1_1VectorTypea46">release</a>(); +00791 +00792 <span class="keywordflow">if</span> ( br ) +00793 <span class="keywordflow">return</span> <span class="keyword">false</span>; +00794 } +00795 +00796 } +00797 } +00798 <span class="keywordflow">return</span> <span class="keyword">true</span>; +00799 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAISCRIPT_1_1CSuccessMsgClassa39" doxytag="NLAISCRIPT::COperatorClass::load" ></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 NLAISCRIPT::CAgentClass::load </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a02270.html">NLMISC::IStream</a> & </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Load the class from a stream. +<p> +Implements <a class="el" href="a02154.html#NLAIAGENT_1_1IWordNumRefa10">NLAIC::IBasicInterface</a>. +<p> +Definition at line <a class="el" href="a05847.html#l00783">783</a> of file <a class="el" href="a05847.html">interpret_object_agent.cpp</a>. +<p> +References <a class="el" href="a05848.html#l00169">NLAISCRIPT::CAgentClass::_Inheritance</a>, <a class="el" href="a05848.html#l00159">NLAISCRIPT::CAgentClass::_Methode</a>, <a class="el" href="a05386.html#l00080">NLAIC::IPointerGestion::incRef()</a>, <a class="el" href="a05386.html#l00350">NLAIC::IBasicInterface::load()</a>, <a class="el" href="a05843.html#l00404">NLAISCRIPT::CMethodeName::load()</a>, <a class="el" href="a05845.html#l00038">NLAISCRIPT::CComponent::load()</a>, <a class="el" href="a06462.html#l00232">NLMISC::IStream::serial()</a>, and <a class="el" href="a05981.html#l00099">sint32</a>. +<p> +<div class="fragment"><pre>00784 { +00785 <span class="comment">// Saves static components</span> +00786 <a class="code" href="a04558.html#a10">sint32</a> _NbComponents; +00787 is.<a class="code" href="a02270.html#NLMISC_1_1IStreama5">serial</a>( _NbComponents ); +00788 <a class="code" href="a04558.html#a10">sint32</a> i; +00789 <span class="keywordflow">for</span> ( i = 0; i < (<a class="code" href="a04558.html#a10">sint32</a>) _NbComponents ; i++ ) +00790 { +00791 <a class="code" href="a02651.html">NLAIC::CIdentTypeAlloc</a> <span class="keywordtype">id</span>; +00792 is.<a class="code" href="a02270.html#NLMISC_1_1IStreama5">serial</a>( <span class="keywordtype">id</span> ); +00793 CComponent *comp = (CComponent *)<span class="keywordtype">id</span>.allocClass(); +00794 comp->load(is); +00795 _Components.push_back( comp ); +00796 } +00797 +00798 <span class="keywordflow">for</span> ( i = 0; i < (<a class="code" href="a04558.html#a10">sint32</a>) _Methode.size(); i++) +00799 { +00800 _Methode[i].Method->release(); +00801 } +00802 _Methode.clear(); +00803 +00804 <span class="comment">// Loads class methods</span> +00805 <a class="code" href="a04558.html#a10">sint32</a> nb_methods; +00806 is.<a class="code" href="a02270.html#NLMISC_1_1IStreama5">serial</a>( nb_methods ); +00807 <span class="keywordflow">for</span> ( i = 0; i < (<a class="code" href="a04558.html#a10">sint32</a>) nb_methods; i++) +00808 { +00809 <a class="code" href="a02651.html">NLAIC::CIdentTypeAlloc</a> <span class="keywordtype">id</span>; +00810 is.<a class="code" href="a02270.html#NLMISC_1_1IStreama5">serial</a>( <span class="keywordtype">id</span> ); +00811 CMethodeName *methode = (CMethodeName *)<span class="keywordtype">id</span>.allocClass(); +00812 methode->load(is); +00813 methode->incRef(); +00814 _Methode.push_back( CMethodType(methode)); +00815 } +00816 +00817 <a class="code" href="a02651.html">NLAIC::CIdentTypeAlloc</a> <span class="keywordtype">id</span>; +00818 is.<a class="code" href="a02270.html#NLMISC_1_1IStreama5">serial</a>( <span class="keywordtype">id</span> ); +00819 _Inheritance = (<a class="code" href="a02661.html">NLAIAGENT::IVarName</a> *) <span class="keywordtype">id</span>.allocClass(); +00820 _Inheritance->load( is ); +00821 _Inheritance->incRef(); +00822 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAISCRIPT_1_1COperatorClassa82" doxytag="NLAISCRIPT::COperatorClass::NbMsgTrigger" ></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#a10">sint32</a> NLAISCRIPT::COperatorClass::NbMsgTrigger </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05856.html#l00255">255</a> of file <a class="el" href="a05856.html">interpret_object_operator.h</a>. +<p> +References <a class="el" href="a05856.html#l00054">_TrigMsgPerf</a>, and <a class="el" href="a05981.html#l00099">sint32</a>. +<p> +<div class="fragment"><pre>00256 { +00257 <span class="keywordflow">return</span> <a class="code" href="a03025.html#NLAISCRIPT_1_1COperatorClassr13">_TrigMsgPerf</a>.size(); +00258 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAISCRIPT_1_1COperatorClassa83" doxytag="NLAISCRIPT::COperatorClass::newInstance" ></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"> const <a class="el" href="a02151.html">NLAIC::IBasicType</a> * NLAISCRIPT::COperatorClass::newInstance </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +This function allow a new instance, that mean that the class is a class factory. +<p> +Reimplemented from <a class="el" href="a02167.html#NLAISCRIPT_1_1CAgentClassa46">NLAISCRIPT::CAgentClass</a>. +<p> +Definition at line <a class="el" href="a05854.html#l00178">178</a> of file <a class="el" href="a05854.html">logic/interpret_object_operator.cpp</a>. +<p> +References <a class="el" href="a05854.html#l00083">COperatorClass()</a>. +<p> +<div class="fragment"><pre>00179 { +00180 <a class="code" href="a02151.html">NLAIC::IBasicType</a> *instance = <span class="keyword">new</span> <a class="code" href="a03025.html#NLAISCRIPT_1_1COperatorClassa19">COperatorClass</a>(); +00181 <span class="keywordflow">return</span> instance; +00182 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1VectorTypea42" doxytag="NLAISCRIPT::COperatorClass::operator==" ></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 NLAIAGENT::IBasicObjectIA::operator== </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const <a class="el" href="a02153.html">IBasicObjectIA</a> & </td> + <td class="mdname1" valign="top" nowrap> <em>classType</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Lot of algo use this function to determine the equality between 2 class, in particular the extraction from stl list. the == operator call the bool isEqual(const IBasicObjectIA &a) const member method to determine the equality between tow class. +<p> +Definition at line <a class="el" href="a05475.html#l00134">134</a> of file <a class="el" href="a05475.html">baseai.cpp</a>. +<p> +References <a class="el" href="a02151.html#NLAICHARACTER_1_1IZonea20">NLAIC::IBasicType::getType()</a>, and <a class="el" href="a02153.html#NLAICHARACTER_1_1IZonea26">NLAIAGENT::IBasicObjectIA::isEqual()</a>. +<p> +<div class="fragment"><pre>00135 { +00136 <span class="keywordflow">if</span>(a.getType() == <a class="code" href="a02169.html#NLAISCRIPT_1_1IClassInterpreta26">getType</a>() ) <span class="keywordflow">return</span> <a class="code" href="a02167.html#NLAISCRIPT_1_1CSuccessMsgClassa36">isEqual</a>(a); +00137 <span class="keywordflow">return</span> <span class="keyword">false</span>; +00138 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAISCRIPT_1_1COperatorClassa85" doxytag="NLAISCRIPT::COperatorClass::priority" ></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"> float NLAISCRIPT::COperatorClass::priority </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Priority of the operator. +<p> + +<p> +Definition at line <a class="el" href="a05854.html#l00450">450</a> of file <a class="el" href="a05854.html">logic/interpret_object_operator.cpp</a>. +<p> +<div class="fragment"><pre>00451 { +00452 <span class="keywordflow">return</span> 0.0; +00453 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAISCRIPT_1_1COperatorClassa86" doxytag="NLAISCRIPT::COperatorClass::propagate" ></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::list< <a class="el" href="a02499.html">NLAILOGIC::CFact</a> * > * NLAISCRIPT::COperatorClass::propagate </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">std::list< <a class="el" href="a02499.html">NLAILOGIC::CFact</a> * > & </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05854.html#l00370">370</a> of file <a class="el" href="a05854.html">logic/interpret_object_operator.cpp</a>. +<p> +References <a class="el" href="a05854.html#l00441">getAssertPos()</a>, and <a class="el" href="a05981.html#l00099">sint32</a>. +<p> +Referenced by <a class="el" href="a05854.html#l00211">isValid()</a>. +<p> +<div class="fragment"><pre>00371 { +00372 std::list<NLAILOGIC::CFact *> *conflicts = <span class="keyword">new</span> std::list<NLAILOGIC::CFact *>; +00373 std::list< NLAILOGIC::CValueSet *> liaisons; +00374 <a class="code" href="a02500.html">NLAILOGIC::CValueSet</a> *empty = <span class="keyword">new</span> <a class="code" href="a02500.html">NLAILOGIC::CValueSet</a>( <a class="code" href="a03025.html#NLAISCRIPT_1_1COperatorClassr17">_Vars</a>.size() ); +00375 liaisons.push_back( empty ); +00376 +00377 std::list<NLAILOGIC::CFact *>::iterator it_f = facts.begin(); +00378 <span class="keywordflow">while</span> ( it_f != facts.end() ) +00379 { +00380 std::vector<sint32> pos_asserts; +00381 <a class="code" href="a03025.html#NLAISCRIPT_1_1COperatorClassa31">getAssertPos</a>( (*it_f)->getAssert() , <a class="code" href="a03025.html#NLAISCRIPT_1_1COperatorClassr2">_Conds</a>, pos_asserts); +00382 <span class="keywordflow">for</span> (<a class="code" href="a04558.html#a10">sint32</a> i = 0; i < (<a class="code" href="a04558.html#a10">sint32</a>) pos_asserts.size(); i++ ) +00383 { +00384 <span class="comment">/* std::list<NLAILOGIC::CValueSet *> *links = propagate( liaisons, *it_f, _PosVarsCond[ pos_asserts[i] ] );</span> +00385 <span class="comment"> if ( links )</span> +00386 <span class="comment"> {</span> +00387 <span class="comment"> while ( links->size() )</span> +00388 <span class="comment"> {</span> +00389 <span class="comment"> for (sint32 i = 0; i < (sint32) _Concs.size(); i++ )</span> +00390 <span class="comment"> {</span> +00391 <span class="comment"> NLAILOGIC::CFact *r = buildFromVars( _Concs[i], _PosVarsConc[i], links->front() );</span> +00392 <span class="comment"> char buf[1024];</span> +00393 <span class="comment"> r->getDebugString( buf );</span> +00394 <span class="comment"> // Tests if the fact is already in the conflicts list</span> +00395 <span class="comment"> bool found = false;</span> +00396 <span class="comment"> std::list<NLAILOGIC::CFact *>::iterator it_c = conflicts->begin();</span> +00397 <span class="comment"> while ( ! found && it_c != conflicts->end() )</span> +00398 <span class="comment"> {</span> +00399 <span class="comment"> found = (**it_c) == *r;</span> +00400 <span class="comment"> it_c++;</span> +00401 <span class="comment"> }</span> +00402 <span class="comment"> if ( !found )</span> +00403 <span class="comment"> {</span> +00404 <span class="comment"> char buf[1024];</span> +00405 <span class="comment"> r->getDebugString( buf );</span> +00406 <span class="comment"> conflicts->push_back( r );</span> +00407 <span class="comment"> }</span> +00408 <span class="comment"> }</span> +00409 <span class="comment"> links->front()->release();</span> +00410 <span class="comment"> links->pop_front();</span> +00411 <span class="comment"> }</span> +00412 <span class="comment"> delete links;</span> +00413 <span class="comment"> }</span> +00414 <span class="comment"> */</span> +00415 } +00416 it_f++; +00417 } +00418 +00419 <span class="keywordflow">while</span> ( liaisons.size() ) +00420 { +00421 liaisons.front()->release(); +00422 liaisons.pop_front(); +00423 } +00424 +00425 <span class="keywordflow">return</span> conflicts; +00426 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAISCRIPT_1_1CSuccessMsgClassa41" doxytag="NLAISCRIPT::COperatorClass::registerComponent" ></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#a10">sint32</a> NLAISCRIPT::CAgentClass::registerComponent </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const <a class="el" href="a02661.html">NLAIAGENT::IVarName</a> & </td> + <td class="mdname" nowrap> <em>type_name</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>const <a class="el" href="a03455.html">NLAIAGENT::CStringVarName</a> & </td> + <td class="mdname" nowrap> <em>field_name</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Adds a static component to an agent. +<p> + +<p> +Definition at line <a class="el" href="a05847.html#l00280">280</a> of file <a class="el" href="a05847.html">interpret_object_agent.cpp</a>. +<p> +References <a class="el" href="a05415.html#l00236">NLAIAGENT::CStringVarName::clone()</a>, <a class="el" href="a02151.html#NLAICHARACTER_1_1IZonea4">NLAIC::IBasicType::clone()</a>, <a class="el" href="a05846.html#l00049">NLAISCRIPT::CComponent::ObjectName</a>, <a class="el" href="a05846.html#l00047">NLAISCRIPT::CComponent::RegisterName</a>, and <a class="el" href="a05981.html#l00099">sint32</a>. +<p> +<div class="fragment"><pre>00281 { +00282 CComponent *c = <span class="keyword">new</span> CComponent(); +00283 c->RegisterName = (<a class="code" href="a02661.html">NLAIAGENT::IVarName</a> *)type_name.<a class="code" href="a02151.html#NLAICHARACTER_1_1IZonea4">clone</a>(); +00284 c->ObjectName = (<a class="code" href="a02661.html">NLAIAGENT::IVarName</a> *)field_name.<a class="code" href="a03455.html#NLAIAGENT_1_1CStringVarNamea1">clone</a>(); +00285 _Components.push_back(c); +00286 <span class="keywordflow">return</span> _Components.size() - 1; +00287 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAISCRIPT_1_1CSuccessMsgClassa42" doxytag="NLAISCRIPT::COperatorClass::registerComponent" ></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#a10">sint32</a> NLAISCRIPT::CAgentClass::registerComponent </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const <a class="el" href="a02661.html">NLAIAGENT::IVarName</a> & </td> + <td class="mdname1" valign="top" nowrap> <em>type_name</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Adds a static component to an agent. +<p> + +<p> +Implements <a class="el" href="a02169.html#NLAISCRIPT_1_1IClassInterpreta40">NLAISCRIPT::IClassInterpret</a>. +<p> +Definition at line <a class="el" href="a05847.html#l00264">264</a> of file <a class="el" href="a05847.html">interpret_object_agent.cpp</a>. +<p> +References <a class="el" href="a02151.html#NLAICHARACTER_1_1IZonea4">NLAIC::IBasicType::clone()</a>, <a class="el" href="a05846.html#l00049">NLAISCRIPT::CComponent::ObjectName</a>, <a class="el" href="a05846.html#l00047">NLAISCRIPT::CComponent::RegisterName</a>, and <a class="el" href="a05981.html#l00099">sint32</a>. +<p> +Referenced by <a class="el" href="a05852.html#l00229">NLAISCRIPT::CCancelGoalMsgClass::CCancelGoalMsgClass()</a>, <a class="el" href="a05852.html#l00281">NLAISCRIPT::CFactMsgClass::CFactMsgClass()</a>, <a class="el" href="a05836.html#l00087">NLAISCRIPT::CFailureMsgClass::CFailureMsgClass()</a>, <a class="el" href="a05852.html#l00177">NLAISCRIPT::CGoalMsgClass::CGoalMsgClass()</a>, <a class="el" href="a05852.html#l00123">NLAISCRIPT::CMsgNotifyParentClass::CMsgNotifyParentClass()</a>, <a class="el" href="a05854.html#l00537">compileFactPattern()</a>, <a class="el" href="a05836.html#l00037">NLAISCRIPT::CSuccessMsgClass::CSuccessMsgClass()</a>, <a class="el" href="a05854.html#l00881">RegisterMessage()</a>, and <a class="el" href="a05854.html#l00698">setGoal()</a>. +<p> +<div class="fragment"><pre>00265 { +00266 <span class="comment">/*#ifdef NL_DEBUG</span> +00267 <span class="comment"> std::string dbugS;</span> +00268 <span class="comment"> type_name.getDebugString(dbugS);</span> +00269 <span class="comment"> NLAIC::Out("registerComponent<%s>\n", dbugS.c_str());</span> +00270 <span class="comment">#endif*/</span> +00271 CComponent *c = <span class="keyword">new</span> CComponent(); +00272 c->RegisterName = (<a class="code" href="a02661.html">NLAIAGENT::IVarName</a> *)type_name.<a class="code" href="a02151.html#NLAICHARACTER_1_1IZonea4">clone</a>(); +00273 c->ObjectName = NULL; +00274 _Components.push_back(c); +00275 +00276 <span class="keywordflow">return</span> _Components.size() - 1; +00277 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAISCRIPT_1_1COperatorClassa89" doxytag="NLAISCRIPT::COperatorClass::RegisterMessage" ></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 NLAISCRIPT::COperatorClass::RegisterMessage </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a02325.html#NLAIAGENT_1_1IMessageBasew24">NLAIAGENT::IMessageBase::TPerformatif</a> </td> + <td class="mdname" nowrap>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>const std::string & </td> + <td class="mdname" nowrap>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>const std::string & </td> + <td class="mdname" nowrap></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05854.html#l00881">881</a> of file <a class="el" href="a05854.html">logic/interpret_object_operator.cpp</a>. +<p> +References <a class="el" href="a05856.html#l00055">_TrigMsgClass</a>, <a class="el" href="a05856.html#l00054">_TrigMsgPerf</a>, <a class="el" href="a05856.html#l00057">_TrigMsgPos</a>, <a class="el" href="a05856.html#l00056">_TrigMsgVarname</a>, <a class="el" href="a05854.html#l00184">getDebugString()</a>, <a class="el" href="a05847.html#l00344">NLAISCRIPT::CAgentClass::getInheritedStaticMemberIndex()</a>, <a class="el" href="a05847.html#l00264">NLAISCRIPT::CAgentClass::registerComponent()</a>, <a class="el" href="a05981.html#l00099">sint32</a>, and <a class="el" href="a05804.html#l00079">NLAIC::stringGetBuild()</a>. +<p> +<div class="fragment"><pre>00882 { +00883 <span class="keywordflow">try</span> +00884 { +00885 +00886 <span class="comment">// Checks if a trigger with the same message or var doesn't already exist</span> +00887 std::vector<std::string>::iterator it_s = <a class="code" href="a03025.html#NLAISCRIPT_1_1COperatorClassr15">_TrigMsgVarname</a>.begin(); +00888 <span class="keywordflow">while</span> ( it_s != <a class="code" href="a03025.html#NLAISCRIPT_1_1COperatorClassr15">_TrigMsgVarname</a>.end() ) +00889 { +00890 <span class="keywordflow">if</span> ( msg_varname == *it_s ) +00891 { +00892 std::string debugString; +00893 std::string text; +00894 <a class="code" href="a03025.html#NLAISCRIPT_1_1COperatorClassa43">getDebugString</a>(debugString); +00895 text += <a class="code" href="a05365.html#a8">NLAIC::stringGetBuild</a>(<span class="stringliteral">"MessageCond(%s) defined twice in operator class '%s'"</span>,msg_varname.c_str(), debugString.c_str()); +00896 <span class="keywordflow">throw</span> <a class="code" href="a02487.html">NLAIE::CExceptionNotImplemented</a>(text.c_str()); +00897 } +00898 it_s++; +00899 } +00900 +00901 <a class="code" href="a02650.html">NLAIC::CIdentType</a> id_class( msg_class.c_str() ); +00902 <a class="code" href="a03025.html#NLAISCRIPT_1_1COperatorClassr12">_TrigMsgClass</a>.push_back( id_class ); +00903 <a class="code" href="a03025.html#NLAISCRIPT_1_1COperatorClassr13">_TrigMsgPerf</a>.push_back( perf ); +00904 <a class="code" href="a03025.html#NLAISCRIPT_1_1COperatorClassr15">_TrigMsgVarname</a>.push_back( msg_varname ); +00905 +00906 <span class="comment">// Looks in the class components if the var already exists</span> +00907 <a class="code" href="a04558.html#a10">sint32</a> id_var = <a class="code" href="a02167.html#NLAISCRIPT_1_1CSuccessMsgClassa20">getInheritedStaticMemberIndex</a>( <a class="code" href="a03455.html">NLAIAGENT::CStringVarName</a>((<span class="keyword">const</span> <span class="keywordtype">char</span> *) msg_varname.c_str()) ); +00908 +00909 <span class="keywordflow">if</span> ( id_var != -1 ) +00910 { +00911 <span class="comment">// If it exists, stores its index</span> +00912 <a class="code" href="a03025.html#NLAISCRIPT_1_1COperatorClassr14">_TrigMsgPos</a>.push_back( id_var ); +00913 } +00914 <span class="keywordflow">else</span> +00915 { +00916 <span class="comment">// If it doesn't exist, registers the var as a component of the class</span> +00917 <a class="code" href="a03455.html">NLAIAGENT::CStringVarName</a> class_name( (<span class="keyword">const</span> <span class="keywordtype">char</span> *) msg_class.c_str() ); +00918 <a class="code" href="a03455.html">NLAIAGENT::CStringVarName</a> var_name( (<span class="keyword">const</span> <span class="keywordtype">char</span> *) msg_varname.c_str() ); +00919 <a class="code" href="a02167.html#NLAISCRIPT_1_1CSuccessMsgClassa42">registerComponent</a>( class_name, var_name ); +00920 <a class="code" href="a03025.html#NLAISCRIPT_1_1COperatorClassr14">_TrigMsgPos</a>.push_back( <a class="code" href="a02167.html#NLAISCRIPT_1_1CSuccessMsgClassa20">getInheritedStaticMemberIndex</a>( <a class="code" href="a03455.html">NLAIAGENT::CStringVarName</a>((<span class="keyword">const</span> <span class="keywordtype">char</span> *) msg_varname.c_str()) ) ); +00921 } +00922 } +00923 <span class="keywordflow">catch</span> (<a class="code" href="a03853.html">NLAIE::IException</a> &err) +00924 { +00925 <span class="keywordflow">throw</span> CExceptionHaveNoType( err.what() ); +00926 } +00927 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1VectorTypea46" doxytag="NLAISCRIPT::COperatorClass::release" ></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"> virtual void NLAIC::IPointerGestion::release </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">void </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline, virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Release allow to release the pointer. The last release when the _Ref is nul delete the object. +<p> + +<p> +Definition at line <a class="el" href="a05386.html#l00086">86</a> of file <a class="el" href="a05386.html">abstract_interface.h</a>. +<p> +References <a class="el" href="a05386.html#l00093">NLAIC::IPointerGestion::decRef()</a>. +<p> +Referenced by <a class="el" href="a05736.html#l00174">NLAIAGENT::CSeqFsmScript::activate()</a>, <a class="el" href="a05847.html#l00458">NLAISCRIPT::CAgentClass::addBrancheCode()</a>, <a class="el" href="a05601.html#l00047">NLAISCRIPT::CConstraintDebug::addIndex()</a>, <a class="el" href="a06755.html#l00138">NLAISCRIPT::CCompilateur::affectation()</a>, <a class="el" href="a06755.html#l00327">NLAISCRIPT::CCompilateur::affectationMember()</a>, <a class="el" href="a05854.html#l00334">backward()</a>, <a class="el" href="a05718.html#l00313">NLAILOGIC::CFirstOrderOperator::backward()</a>, <a class="el" href="a05716.html#l00235">NLAILOGIC::CFirstOrderAssert::backward()</a>, <a class="el" href="a06662.html#l00539">NLAISCRIPT::CCompilateur::buildObject()</a>, <a class="el" href="a05421.html#l00161">NLAILINK::buildScript()</a>, <a class="el" href="a06755.html#l00816">NLAISCRIPT::CCompilateur::callFunction()</a>, <a class="el" href="a05804.html#l00117">NLAIC::CIdentType::CIdentType()</a>, <a class="el" href="a05589.html#l00366">NLAISCRIPT::CCompilateur::clean()</a>, <a class="el" href="a05843.html#l00185">NLAISCRIPT::CParam::clear()</a>, <a class="el" href="a05770.html#l01076">NLAIAGENT::CVectorGroupType::clear()</a>, <a class="el" href="a05770.html#l00664">NLAIAGENT::CGroupType::clear()</a>, <a class="el" href="a06733.html#l00075">NLAIAGENT::CVolatilMemmory::CVolatilMemmory()</a>, <a class="el" href="a05699.html#l00030">NLAISCRIPT::CFactorType::del()</a>, <a class="el" href="a05477.html#l00126">NLAIAGENT::IAgentComposite::deleteListe()</a>, <a class="el" href="a06294.html#l00251">NLAIPYSERVER::endPythonInterface()</a>, <a class="el" href="a05770.html#l00962">NLAIAGENT::CVectorGroupType::erase()</a>, <a class="el" href="a05770.html#l00545">NLAIAGENT::CGroupType::erase()</a>, <a class="el" href="a05770.html#l00946">NLAIAGENT::CVectorGroupType::eraseAll()</a>, <a class="el" href="a05770.html#l00529">NLAIAGENT::CGroupType::eraseAll()</a>, <a class="el" href="a05589.html#l00340">NLAISCRIPT::CCompilateur::errorMethodConstraint()</a>, <a class="el" href="a05589.html#l00325">NLAISCRIPT::CCompilateur::errorTypeConstraint()</a>, <a class="el" href="a05589.html#l00160">NLAISCRIPT::CCompilateur::findMethode()</a>, <a class="el" href="a05854.html#l00350">forward()</a>, <a class="el" href="a05718.html#l00330">NLAILOGIC::CFirstOrderOperator::forward()</a>, <a class="el" href="a05588.html#l00070">NLAIAGENT::CComponentHandle::getComponent()</a>, <a class="el" href="a06133.html#l00091">NLAIAGENT::COperatorScript::getDebugString()</a>, <a class="el" href="a05412.html#l00664">NLAIAGENT::CAgentScript::getDebugString()</a>, <a class="el" href="a06131.html#l00046">NLAILOGIC::IBaseOperator::IBaseOperator()</a>, <a class="el" href="a06755.html#l00063">NLAISCRIPT::CCompilateur::ifInterrogation()</a>, <a class="el" href="a06755.html#l00097">NLAISCRIPT::CCompilateur::ifInterrogationEnd()</a>, <a class="el" href="a06669.html#l00361">NLAILOGIC::CFactPattern::init()</a>, <a class="el" href="a06343.html#l00197">NLAILOGIC::CRule::init()</a>, <a class="el" href="a05749.html#l00679">NLAIFUZZY::CTrapezeFuzzySet::init()</a>, <a class="el" href="a05749.html#l00563">NLAIFUZZY::CLeftFuzzySet::init()</a>, <a class="el" href="a05749.html#l00442">NLAIFUZZY::CTriangleFuzzySet::init()</a>, <a class="el" href="a05749.html#l00177">NLAIFUZZY::CRightFuzzySet::init()</a>, <a class="el" href="a05749.html#l00074">NLAIFUZZY::CFuzzyInterval::init()</a>, <a class="el" href="a05745.html#l00214">NLAIFUZZY::CFuzzyRule::init()</a>, <a class="el" href="a05741.html#l00068">NLAIFUZZY::CSimpleFuzzyCond::init()</a>, <a class="el" href="a06755.html#l00036">NLAISCRIPT::CCompilateur::interrogationEnd()</a>, <a class="el" href="a05854.html#l00743">isValidFonc()</a>, <a class="el" href="a05420.html#l00057">NLAIAGENT::IAgent::Kill()</a>, <a class="el" href="a06660.html#l00190">NLAILOGIC::CVar::load()</a>, <a class="el" href="a06658.html#l00399">NLAILOGIC::CValueSet::load()</a>, <a class="el" href="a06127.html#l00072">NLAISCRIPT::CLdbOpCode::load()</a>, <a class="el" href="a06123.html#l00370">NLAISCRIPT::CLibCallMethodi::load()</a>, <a class="el" href="a06123.html#l00303">NLAISCRIPT::CLibCallInheritedMethod::load()</a>, <a class="el" href="a06123.html#l00241">NLAISCRIPT::CLibCallMethod::load()</a>, <a class="el" href="a06121.html#l00102">NLAISCRIPT::CLdbNewOpCode::load()</a>, <a class="el" href="a06120.html#l00758">NLAISCRIPT::CAddParamNameDebug::load()</a>, <a class="el" href="a06120.html#l00658">NLAISCRIPT::CFindRunMsg::load()</a>, <a class="el" href="a05911.html#l00061">NLAIAGENT::IListBasicManager::load()</a>, <a class="el" href="a05770.html#l01055">NLAIAGENT::CVectorGroupType::load()</a>, <a class="el" href="a05770.html#l00643">NLAIAGENT::CGroupType::load()</a>, <a class="el" href="a05412.html#l00605">NLAIAGENT::CAgentScript::load()</a>, <a class="el" href="a05407.html#l00087">NLAIAGENT::CStringType::load()</a>, <a class="el" href="a05401.html#l00070">NLAIAGENT::CLocalAgentMail::load()</a>, <a class="el" href="a06124.html#l00103">NLAISCRIPT::CMethodContextDebug::loadContext()</a>, <a class="el" href="a05589.html#l00052">NLAISCRIPT::CCompilateur::onEndClass()</a>, <a class="el" href="a05964.html#l00143">NLAIAGENT::CLocalMailBox::onKill()</a>, <a class="el" href="a05420.html#l00081">NLAIAGENT::IAgent::onKill()</a>, <a class="el" href="a05400.html#l00058">NLAIAGENT::CLocalAgentMail::onKill()</a>, <a class="el" href="a05770.html#l00698">NLAIAGENT::CVectorGroupType::operator-()</a>, <a class="el" href="a05770.html#l00284">NLAIAGENT::CGroupType::operator-()</a>, <a class="el" href="a05859.html#l00079">NLAIAGENT::CKeyObject::operator=()</a>, <a class="el" href="a05600.html#l00089">NLAISCRIPT::CFunctionTag::operator=()</a>, <a class="el" href="a05475.html#l00068">NLAIAGENT::CIdMethod::operator=()</a>, <a class="el" href="a06755.html#l00358">NLAISCRIPT::CCompilateur::PrivateError()</a>, <a class="el" href="a06662.html#l00082">NLAISCRIPT::CCompilateur::processingVar()</a>, <a class="el" href="a05412.html#l01412">NLAIAGENT::CAgentScript::processMessages()</a>, <a class="el" href="a05475.html#l00433">NLAIAGENT::IRefrence::refLoadStream()</a>, <a class="el" href="a06755.html#l00608">NLAISCRIPT::CCompilateur::registerMethod()</a>, <a class="el" href="a05477.html#l00108">NLAIAGENT::IAgentComposite::removeChild()</a>, <a class="el" href="a05716.html#l00095">NLAILOGIC::CFirstOrderAssert::removeFact()</a>, <a class="el" href="a05605.html#l00067">NLAISCRIPT::CConstraintStackComp::run()</a>, <a class="el" href="a05603.html#l00047">NLAISCRIPT::CConstraintFindRun::run()</a>, <a class="el" href="a05599.html#l00050">NLAISCRIPT::CConstraintMethode::run()</a>, <a class="el" href="a05420.html#l00365">NLAIAGENT::IBasicAgent::run()</a>, <a class="el" href="a05412.html#l01060">NLAIAGENT::CAgentScript::runInitComponent()</a>, <a class="el" href="a06733.html#l00218">NLAIAGENT::CVolatilMemmory::runMessage()</a>, <a class="el" href="a06129.html#l00262">NLAIAGENT::CAgentOperation::runMethodBase()</a>, <a class="el" href="a05589.html#l00286">NLAISCRIPT::CCompilateur::runMethodConstraint()</a>, <a class="el" href="a05763.html#l00773">NLAILOGIC::CInternalGoal::runMethodeMember()</a>, <a class="el" href="a05763.html#l00439">NLAILOGIC::CGoal::runMethodeMember()</a>, <a class="el" href="a05695.html#l00222">NLAILOGIC::CFact::runMethodeMember()</a>, <a class="el" href="a05475.html#l00266">NLAIAGENT::IObjectIA::runMethodeMember()</a>, <a class="el" href="a06126.html#l00087">NLAISCRIPT::CLdbStackMemberiOpCode::runOpCode()</a>, <a class="el" href="a06124.html#l00278">NLAISCRIPT::CCallStackMethodi::runOpCode()</a>, <a class="el" href="a06122.html#l00333">NLAISCRIPT::CLibHeapMemberMethod::runOpCode()</a>, <a class="el" href="a06121.html#l00960">NLAISCRIPT::CAffOpCode::runOpCode()</a>, <a class="el" href="a06121.html#l00819">NLAISCRIPT::CJFalseOpCode::runOpCode()</a>, <a class="el" href="a06120.html#l00449">NLAISCRIPT::CAffOpCodeDebug::runOpCode()</a>, <a class="el" href="a06120.html#l00274">NLAISCRIPT::CDiffOpCode::runOpCode()</a>, <a class="el" href="a06120.html#l00250">NLAISCRIPT::CInfEqOpCode::runOpCode()</a>, <a class="el" href="a06120.html#l00226">NLAISCRIPT::CSupEqOpCode::runOpCode()</a>, <a class="el" href="a06120.html#l00202">NLAISCRIPT::CEqOpCode::runOpCode()</a>, <a class="el" href="a06120.html#l00177">NLAISCRIPT::CInfOpCode::runOpCode()</a>, <a class="el" href="a06120.html#l00150">NLAISCRIPT::CSupOpCode::runOpCode()</a>, <a class="el" href="a06120.html#l00126">NLAISCRIPT::CMulOpCode::runOpCode()</a>, <a class="el" href="a06120.html#l00101">NLAISCRIPT::CDivOpCode::runOpCode()</a>, <a class="el" href="a06120.html#l00077">NLAISCRIPT::CSubOpCode::runOpCode()</a>, <a class="el" href="a06120.html#l00053">NLAISCRIPT::CAddOpCode::runOpCode()</a>, <a class="el" href="a06120.html#l00034">NLAISCRIPT::CNegOpCode::runOpCode()</a>, <a class="el" href="a05412.html#l00953">NLAIAGENT::CAgentScript::runTellParentNotify()</a>, <a class="el" href="a05589.html#l00260">NLAISCRIPT::CCompilateur::runTypeConstraint()</a>, <a class="el" href="a06734.html#l00092">NLAIAGENT::CHashTimerManager::sendMessage()</a>, <a class="el" href="a06733.html#l00202">NLAIAGENT::CVolatilMemmory::sendMessage()</a>, <a class="el" href="a05964.html#l00093">NLAIAGENT::CLocalMailBox::sendMessage()</a>, <a class="el" href="a05911.html#l00229">NLAIAGENT::IListManager::sendMessage()</a>, <a class="el" href="a05416.html#l00741">NLAIAGENT::CAgentTimerHandle::sendMessage()</a>, <a class="el" href="a05412.html#l01250">NLAIAGENT::CAgentScript::sendMessage()</a>, <a class="el" href="a05412.html#l01177">NLAIAGENT::CAgentScript::sendMethod()</a>, <a class="el" href="a06589.html#l00283">NLAISCRIPT::COperandSimple::serial()</a>, <a class="el" href="a06114.html#l00142">NLAISCRIPT::CObjectUnknown::setBaseType()</a>, <a class="el" href="a06662.html#l00471">NLAISCRIPT::CCompilateur::setChaineVar()</a>, <a class="el" href="a05845.html#l00133">NLAISCRIPT::CClassInterpretFactory::setClass()</a>, <a class="el" href="a05386.html#l00437">NLAIC::CSelfClassFactory::setClass()</a>, <a class="el" href="a05845.html#l00096">NLAISCRIPT::IClassInterpret::setClassName()</a>, <a class="el" href="a06114.html#l00136">NLAISCRIPT::CObjectUnknown::setClassType()</a>, <a class="el" href="a06065.html#l00177">NLAIAGENT::IMessageBase::setContinuation()</a>, <a class="el" href="a06131.html#l00150">NLAILOGIC::IBaseOperator::setGoal()</a>, <a class="el" href="a05854.html#l00698">setGoal()</a>, <a class="el" href="a06662.html#l00452">NLAISCRIPT::CCompilateur::setImediateVar()</a>, <a class="el" href="a06662.html#l00439">NLAISCRIPT::CCompilateur::setImediateVarNill()</a>, <a class="el" href="a05843.html#l00278">NLAISCRIPT::CParam::setInfo()</a>, <a class="el" href="a05847.html#l00836">NLAISCRIPT::CAgentClass::setInheritanceName()</a>, <a class="el" href="a06662.html#l00463">NLAISCRIPT::CCompilateur::setListVar()</a>, <a class="el" href="a06066.html#l00106">NLAIAGENT::IMessageBase::setMessageGroup()</a>, <a class="el" href="a06662.html#l00492">NLAISCRIPT::CCompilateur::setMethodVar()</a>, <a class="el" href="a06660.html#l00098">NLAILOGIC::IBaseVar::setName()</a>, <a class="el" href="a06130.html#l00087">NLAIAGENT::CAgentOperation::setName()</a>, <a class="el" href="a05843.html#l00339">NLAISCRIPT::CMethodeName::setName()</a>, <a class="el" href="a05475.html#l00461">NLAIAGENT::IRefrence::setNumRef()</a>, <a class="el" href="a05603.html#l00114">NLAISCRIPT::CConstraintFindRun::setOpCode()</a>, <a class="el" href="a05599.html#l00285">NLAISCRIPT::CConstraintMethode::setOpCode()</a>, <a class="el" href="a06662.html#l00401">NLAISCRIPT::CCompilateur::setPerformative()</a>, <a class="el" href="a05763.html#l00891">NLAILOGIC::CInternalGoal::setProperty()</a>, <a class="el" href="a06065.html#l00170">NLAIAGENT::IMessageBase::setReceiver()</a>, <a class="el" href="a06065.html#l00163">NLAIAGENT::IMessageBase::setSender()</a>, <a class="el" href="a06658.html#l00550">NLAILOGIC::CValueSet::setSize()</a>, <a class="el" href="a06662.html#l00482">NLAISCRIPT::CCompilateur::setStackVar()</a>, <a class="el" href="a06030.html#l00263">NLAIAGENT::CMessageScript::setStaticMember()</a>, <a class="el" href="a05412.html#l00517">NLAIAGENT::CAgentScript::setStaticMember()</a>, <a class="el" href="a05845.html#l00083">NLAISCRIPT::IClassInterpret::setType()</a>, <a class="el" href="a05600.html#l00105">NLAISCRIPT::CFunctionTag::setTypeObject()</a>, <a class="el" href="a05843.html#l00376">NLAISCRIPT::CMethodeName::setTypeOfMethode()</a>, <a class="el" href="a06660.html#l00147">NLAILOGIC::CVar::setValue()</a>, <a class="el" href="a06130.html#l00075">NLAIAGENT::CAgentOperation::setValue()</a>, <a class="el" href="a05398.html#l00075">NLAIAGENT::IAgentInput::setValue()</a>, <a class="el" href="a06658.html#l00155">NLAILOGIC::CValueSet::unify()</a>, <a class="el" href="a05854.html#l00246">unifyBackward()</a>, <a class="el" href="a05718.html#l00225">NLAILOGIC::CFirstOrderOperator::unifyBackward()</a>, <a class="el" href="a05854.html#l00285">unifyForward()</a>, <a class="el" href="a05718.html#l00264">NLAILOGIC::CFirstOrderOperator::unifyForward()</a>, <a class="el" href="a06343.html#l00402">NLAILOGIC::CRule::unifyLiaisonBack()</a>, <a class="el" href="a06120.html#l00719">NLAISCRIPT::CAddParamNameDebug::~CAddParamNameDebug()</a>, <a class="el" href="a05847.html#l00105">NLAISCRIPT::CAgentClass::~CAgentClass()</a>, <a class="el" href="a06129.html#l00062">NLAIAGENT::CAgentOperation::~CAgentOperation()</a>, <a class="el" href="a05412.html#l00476">NLAIAGENT::CAgentScript::~CAgentScript()</a>, <a class="el" href="a05416.html#l00688">NLAIAGENT::CAgentTimerHandle::~CAgentTimerHandle()</a>, <a class="el" href="a05416.html#l00253">NLAIAGENT::CAgentWatchTimer::~CAgentWatchTimer()</a>, <a class="el" href="a05845.html#l00128">NLAISCRIPT::CClassInterpretFactory::~CClassInterpretFactory()</a>, <a class="el" href="a05573.html#l00083">NLAISCRIPT::CCodeBrancheRunDebug::~CCodeBrancheRunDebug()</a>, <a class="el" href="a05590.html#l00317">NLAISCRIPT::CCompilateur::~CCompilateur()</a>, <a class="el" href="a05588.html#l00052">NLAIAGENT::CComponentHandle::~CComponentHandle()</a>, <a class="el" href="a05607.html#l00085">NLAISCRIPT::CConstraintChkMethodeType::~CConstraintChkMethodeType()</a>, <a class="el" href="a05600.html#l00372">NLAISCRIPT::CConstraintMethode::~CConstraintMethode()</a>, <a class="el" href="a05605.html#l00060">NLAISCRIPT::CConstraintStackComp::~CConstraintStackComp()</a>, <a class="el" href="a05695.html#l00110">NLAILOGIC::CFact::~CFact()</a>, <a class="el" href="a06120.html#l00599">NLAISCRIPT::CFindRunMsg::~CFindRunMsg()</a>, <a class="el" href="a05716.html#l00052">NLAILOGIC::CFirstOrderAssert::~CFirstOrderAssert()</a>, <a class="el" href="a05600.html#l00112">NLAISCRIPT::CFunctionTag::~CFunctionTag()</a>, <a class="el" href="a05804.html#l00093">NLAIC::CIdentType::~CIdentType()</a>, <a class="el" href="a05475.html#l00107">NLAIAGENT::CIdMethod::~CIdMethod()</a>, <a class="el" href="a05763.html#l00569">NLAILOGIC::CInternalGoal::~CInternalGoal()</a>, <a class="el" href="a05859.html#l00074">NLAIAGENT::CKeyObject::~CKeyObject()</a>, <a class="el" href="a06121.html#l00113">NLAISCRIPT::CLdbNewOpCode::~CLdbNewOpCode()</a>, <a class="el" href="a06127.html#l00081">NLAISCRIPT::CLdbOpCode::~CLdbOpCode()</a>, <a class="el" href="a06123.html#l00319">NLAISCRIPT::CLibCallInheritedMethod::~CLibCallInheritedMethod()</a>, <a class="el" href="a06123.html#l00254">NLAISCRIPT::CLibCallMethod::~CLibCallMethod()</a>, <a class="el" href="a06123.html#l00386">NLAISCRIPT::CLibCallMethodi::~CLibCallMethodi()</a>, <a class="el" href="a05964.html#l00060">NLAIAGENT::CLocalMailBox::~CLocalMailBox()</a>, <a class="el" href="a05966.html#l00061">NLAIAGENT::CMainAgentScript::~CMainAgentScript()</a>, <a class="el" href="a06500.html#l00076">NLAISCRIPT::CLibTest::CMethodCall::~CMethodCall()</a>, <a class="el" href="a05413.html#l00114">NLAIAGENT::CAgentScript::CMethodCall::~CMethodCall()</a>, <a class="el" href="a05843.html#l00299">NLAISCRIPT::CMethodeName::~CMethodeName()</a>, <a class="el" href="a05848.html#l00136">NLAISCRIPT::CAgentClass::CMethodType::~CMethodType()</a>, <a class="el" href="a06114.html#l00149">NLAISCRIPT::CObjectUnknown::~CObjectUnknown()</a>, <a class="el" href="a06589.html#l00300">NLAISCRIPT::COperandSimple::~COperandSimple()</a>, <a class="el" href="a06589.html#l00552">NLAISCRIPT::COperandUnknown::~COperandUnknown()</a>, <a class="el" href="a06589.html#l00679">NLAISCRIPT::COperationType::~COperationType()</a>, <a class="el" href="a06589.html#l00813">NLAISCRIPT::COperationTypeGD::~COperationTypeGD()</a>, <a class="el" href="a05854.html#l00094">~COperatorClass()</a>, <a class="el" href="a05407.html#l00243">NLAIAGENT::CPairType::~CPairType()</a>, <a class="el" href="a05386.html#l00444">NLAIC::CSelfClassFactory::~CSelfClassFactory()</a>, <a class="el" href="a05407.html#l00128">NLAIAGENT::CStringType::~CStringType()</a>, <a class="el" href="a06658.html#l00132">NLAILOGIC::CValueSet::~CValueSet()</a>, <a class="el" href="a06660.html#l00141">NLAILOGIC::CVar::~CVar()</a>, <a class="el" href="a06733.html#l00080">NLAIAGENT::CVolatilMemmory::~CVolatilMemmory()</a>, <a class="el" href="a05398.html#l00043">NLAIAGENT::IAgentInput::~IAgentInput()</a>, <a class="el" href="a05422.html#l00039">NLAILOGIC::IBaseAssert::~IBaseAssert()</a>, <a class="el" href="a06131.html#l00068">NLAILOGIC::IBaseOperator::~IBaseOperator()</a>, <a class="el" href="a06660.html#l00111">NLAILOGIC::IBaseVar::~IBaseVar()</a>, <a class="el" href="a05420.html#l00303">NLAIAGENT::IBasicAgent::~IBasicAgent()</a>, <a class="el" href="a06039.html#l00091">NLAISCRIPT::IBlock::~IBlock()</a>, <a class="el" href="a05845.html#l00065">NLAISCRIPT::IClassInterpret::~IClassInterpret()</a>, <a class="el" href="a05763.html#l00059">NLAILOGIC::IGoal::~IGoal()</a>, <a class="el" href="a05911.html#l00050">NLAIAGENT::IListBasicManager::~IListBasicManager()</a>, <a class="el" href="a06065.html#l00142">NLAIAGENT::IMessageBase::~IMessageBase()</a>, <a class="el" href="a05475.html#l00467">NLAIAGENT::IRefrence::~IRefrence()</a>, and <a class="el" href="a06759.html#l00041">NLAICHARACTER::IZone::~IZone()</a>. +<p> +<div class="fragment"><pre>00087 { +00088 <span class="keywordflow">if</span>(<a class="code" href="a02145.html#NLAIAGENT_1_1VectorTypea2">decRef</a>() == 0) +00089 <span class="keyword">delete</span> <span class="keyword">this</span>; +00090 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAISCRIPT_1_1CSuccessMsgClassa44" doxytag="NLAISCRIPT::COperatorClass::run" ></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"> const <a class="el" href="a03869.html">NLAIAGENT::IObjectIA::CProcessResult</a> & NLAISCRIPT::CAgentClass::run </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Some where Run method define the process of the agen. +<p> +Implements <a class="el" href="a02149.html#NLAICHARACTER_1_1IZonea39">NLAIAGENT::IObjectIA</a>. +<p> +Definition at line <a class="el" href="a05847.html#l00034">34</a> of file <a class="el" href="a05847.html">interpret_object_agent.cpp</a>. +<p> +<div class="fragment"><pre>00035 { +00036 <span class="keywordflow">return</span> <a class="code" href="a02149.html#NLAIAGENT_1_1VectorTypes7">NLAIAGENT::IObjectIA::ProcessRun</a>; +00037 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAICHARACTER_1_1IZonea40" doxytag="NLAISCRIPT::COperatorClass::runMethodeMember" ></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"> IObjectIA::CProcessResult NLAIAGENT::IObjectIA::runMethodeMember </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a10">sint32</a> </td> + <td class="mdname" nowrap> <em>index</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a02149.html">IObjectIA</a> * </td> + <td class="mdname" nowrap></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +The methode <a class="el" href="a02149.html#NLAICHARACTER_1_1IZonea40">runMethodeMember(sint32 index,IObjectIA *param)</a> allow us to run a own member method.<p> +index: is the method id return by the <a class="el" href="a02149.html#NLAICHARACTER_1_1IZonea29">isMember(const IVarName *,const IVarName *,const IObjectIA &) const</a> method. param: is the parametre for the method. +<p> +Reimplemented in <a class="el" href="a02160.html#NLAIAGENT_1_1CActorz1605_10">NLAIAGENT::CActor</a>, <a class="el" href="a02162.html#NLAIAGENT_1_1IBasicAgentz1609_2">NLAIAGENT::IBasicAgent</a>, <a class="el" href="a03884.html#NLAIAGENT_1_1VectorTypea48">NLAIAGENT::IVector</a>, <a class="el" href="a02782.html#NLAIAGENT_1_1CLocalAgentMaila27">NLAIAGENT::CLocalAgentMail</a>, <a class="el" href="a02148.html#NLAIAGENT_1_1INombrez1646_0">NLAIAGENT::INombre< tNombre ></a>, <a class="el" href="a03036.html#NLAIAGENT_1_1CPairTypea44">NLAIAGENT::CPairType</a>, <a class="el" href="a02327.html#NLAIAGENT_1_1IBaseGroupTypez1652_3">NLAIAGENT::IBaseGroupType</a>, <a class="el" href="a03667.html#NLAIAGENT_1_1CVectorGroupTypea65">NLAIAGENT::CVectorGroupType</a>, <a class="el" href="a03134.html#NLAIAGENT_1_1CProxyAgentMailz1662_4">NLAIAGENT::CProxyAgentMail</a>, <a class="el" href="a02171.html#NLAIAGENT_1_1IMainAgentz1670_21">NLAIAGENT::CAgentScript</a>, <a class="el" href="a02742.html#NLAIAGENT_1_1CLibTimerManagera23">NLAIAGENT::CLibTimerManager</a>, <a class="el" href="a02184.html#NLAIAGENT_1_1CAgentWatchTimera55">NLAIAGENT::CAgentWatchTimer</a>, <a class="el" href="a02192.html#NLAIAGENT_1_1CAgentTimerHandlea28">NLAIAGENT::CAgentTimerHandle</a>, <a class="el" href="a02599.html#NLAILOGIC_1_1CGoalStackz1214_1">NLAILOGIC::CGoalStack</a>, <a class="el" href="a02324.html#NLAIAGENT_1_1IListManagerz1705_26">NLAIAGENT::IListBasicManager</a>, <a class="el" href="a02326.html#NLAIAGENT_1_1COnChangeMsgz1708_7">NLAIAGENT::CMessageScript</a>, <a class="el" href="a02325.html#NLAIAGENT_1_1IMessageBasea44">NLAIAGENT::IMessageBase</a>, <a class="el" href="a03458.html#NLAIAGENT_1_1CSuccessMsgz1722_7">NLAIAGENT::CSuccessMsg</a>, <a class="el" href="a02507.html#NLAIAGENT_1_1CFailureMsgz1724_7">NLAIAGENT::CFailureMsg</a>, <a class="el" href="a02502.html#NLAIAGENT_1_1CFactMsgz1726_7">NLAIAGENT::CFactMsg</a>, <a class="el" href="a02585.html#NLAIAGENT_1_1CGetValueMsgz1728_7">NLAIAGENT::CGetValueMsg</a>, <a class="el" href="a02596.html#NLAIAGENT_1_1CGoalMsgz1730_7">NLAIAGENT::CGoalMsg</a>, <a class="el" href="a02323.html#NLAIAGENT_1_1CCancelGoalMsgz1732_7">NLAIAGENT::CCancelGoalMsg</a>, <a class="el" href="a03367.html#NLAIAGENT_1_1CSetValueMsgz1738_7">NLAIAGENT::CSetValueMsg</a>, <a class="el" href="a02569.html#NLAIFUZZY_1_1IFuzzySeta34">NLAIFUZZY::IFuzzySet</a>, <a class="el" href="a02574.html#NLAIFUZZY_1_1CFuzzyVara59">NLAIFUZZY::CFuzzyVar</a>, <a class="el" href="a02499.html#NLAILOGIC_1_1CFactz1208_2">NLAILOGIC::CFact</a>, <a class="el" href="a02594.html#NLAILOGIC_1_1CGoalz1210_1">NLAILOGIC::CGoal</a>, <a class="el" href="a02687.html#NLAILOGIC_1_1CInternalGoalz1212_1">NLAILOGIC::CInternalGoal</a>, <a class="el" href="a02599.html#NLAILOGIC_1_1CGoalStacka56">NLAILOGIC::CGoalStack</a>, <a class="el" href="a02575.html#NLAILOGIC_1_1IBaseVara48">NLAILOGIC::IBaseVar</a>, <a class="el" href="a02312.html#NLAISCRIPT_1_1CCallPrintz1858_4">NLAISCRIPT::CCallPrint</a>, <a class="el" href="a02740.html#NLAISCRIPT_1_1CLibTestz1884_7">NLAISCRIPT::CLibTest</a>, <a class="el" href="a02148.html#NLAIAGENT_1_1INombrez1646_0">NLAIAGENT::INombre< double ></a>, <a class="el" href="a02148.html#NLAIAGENT_1_1INombrez1646_0">NLAIAGENT::INombre< uint16 ></a>, <a class="el" href="a02148.html#NLAIAGENT_1_1INombrez1646_0">NLAIAGENT::INombre< float ></a>, <a class="el" href="a02148.html#NLAIAGENT_1_1INombrez1646_0">NLAIAGENT::INombre< sint8 ></a>, <a class="el" href="a02148.html#NLAIAGENT_1_1INombrez1646_0">NLAIAGENT::INombre< uint64 ></a>, <a class="el" href="a02148.html#NLAIAGENT_1_1INombrez1646_0">NLAIAGENT::INombre< sint16 ></a>, <a class="el" href="a02148.html#NLAIAGENT_1_1INombrez1646_0">NLAIAGENT::INombre< uint8 ></a>, <a class="el" href="a02148.html#NLAIAGENT_1_1INombrez1646_0">NLAIAGENT::INombre< uint32 ></a>, and <a class="el" href="a02148.html#NLAIAGENT_1_1INombrez1646_0">NLAIAGENT::INombre< sint32 ></a>. +<p> +Definition at line <a class="el" href="a05475.html#l00266">266</a> of file <a class="el" href="a05475.html">baseai.cpp</a>. +<p> +References <a class="el" href="a05405.html#l00354">NLAIAGENT::IDigital< sint32 >::getNumber()</a>, <a class="el" href="a05475.html#l00193">NLAIAGENT::IObjectIA::getStaticMember()</a>, <a class="el" href="a05407.html#l00102">NLAIAGENT::CStringType::getStr()</a>, <a class="el" href="a05646.html#l00683">param</a>, <a class="el" href="a05911.html#l00127">NLAIAGENT::IListBasicManager::pop()</a>, <a class="el" href="a05646.html#l00993">r</a>, <a class="el" href="a05386.html#l00086">NLAIC::IPointerGestion::release()</a>, <a class="el" href="a02149.html#NLAICHARACTER_1_1IZonea39">NLAIAGENT::IObjectIA::run()</a>, <a class="el" href="a05475.html#l00342">NLAIAGENT::IObjectIA::sendMessage()</a>, <a class="el" href="a06066.html#l00126">NLAIAGENT::IMessageBase::setPerformatif()</a>, <a class="el" href="a06065.html#l00170">NLAIAGENT::IMessageBase::setReceiver()</a>, <a class="el" href="a05981.html#l00104">sint</a>, and <a class="el" href="a05981.html#l00099">sint32</a>. +<p> +<div class="fragment"><pre>00267 { +00268 +00269 <span class="keywordflow">switch</span>(<span class="keywordtype">id</span>) +00270 { +00271 <span class="keywordflow">case</span> 0: +00272 { +00273 IMessageBase *msg; +00274 +00275 IPerformative *p; +00276 msg = (IMessageBase *)((IBaseGroupType *)a)->pop(); +00277 <span class="comment">//this->incRef();</span> +00278 msg->setReceiver(<span class="keyword">this</span>); +00279 p = (IPerformative *)((IBaseGroupType *)a)->pop(); +00280 msg->setPerformatif((IMessageBase::TPerformatif)(<a class="code" href="a04558.html#a14">sint</a>)p->getNumber()); +00281 p->release(); +00282 <span class="keywordflow">if</span>(((IBaseGroupType *)a)->size()) +00283 { +00284 CStringType *name = (CStringType *)((IBaseGroupType *)a)->pop(); +00285 IObjectIA::CProcessResult <a class="code" href="a04223.html#a628">r</a> = <a class="code" href="a02149.html#NLAIAGENT_1_1VectorTypea53">sendMessage</a>(name->getStr(),msg); +00286 name->release(); +00287 <span class="keywordflow">return</span> <a class="code" href="a04223.html#a628">r</a>; +00288 +00289 } +00290 <span class="keywordflow">return</span> <a class="code" href="a02149.html#NLAIAGENT_1_1VectorTypea53">sendMessage</a>(msg); +00291 } +00292 <span class="keywordflow">break</span>; +00293 <span class="keywordflow">case</span> 1: +00294 <span class="keywordflow">break</span>; +00295 <span class="keywordflow">case</span> 2: +00296 <span class="keywordflow">return</span> <a class="code" href="a02167.html#NLAISCRIPT_1_1CSuccessMsgClassa44">run</a>(); +00297 <span class="keywordflow">break</span>; +00298 +00299 <span class="keywordflow">case</span> 3: +00300 { +00301 CProcessResult <a class="code" href="a04223.html#a628">r</a>; +00302 <a class="code" href="a02327.html">NLAIAGENT::IBaseGroupType</a> *<a class="code" href="a04223.html#a590">param</a> = (<a class="code" href="a02327.html">NLAIAGENT::IBaseGroupType</a> *)a; +00303 <a class="code" href="a04223.html#a628">r</a>.Result = (<a class="code" href="a02149.html#NLAIAGENT_1_1IObjectIAb0">IObjectIA</a> *)<a class="code" href="a02167.html#NLAISCRIPT_1_1CSuccessMsgClassa26">getStaticMember</a>((<a class="code" href="a04558.html#a14">sint</a>)((<a class="code" href="a02146.html">NLAIAGENT::INombreDefine</a> *)<a class="code" href="a04223.html#a590">param</a>->get())->getNumber()); +00304 <a class="code" href="a04223.html#a628">r</a>.Result->incRef(); +00305 <span class="keywordflow">return</span> <a class="code" href="a04223.html#a628">r</a>; +00306 } +00307 } +00308 <span class="keywordflow">return</span> CProcessResult(); +00309 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAICHARACTER_1_1IZonea41" doxytag="NLAISCRIPT::COperatorClass::runMethodeMember" ></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"> IObjectIA::CProcessResult NLAIAGENT::IObjectIA::runMethodeMember </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a10">sint32</a> </td> + <td class="mdname" nowrap>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a04558.html#a10">sint32</a> </td> + <td class="mdname" nowrap>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a02149.html">IObjectIA</a> * </td> + <td class="mdname" nowrap></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +The methode <a class="el" href="a02149.html#NLAICHARACTER_1_1IZonea41">runMethodeMember(sint32 heritance, sint32 index, IObjectIA *param)</a> allow us to run a member method.<p> +heritance: is the id returned by the methodisClassInheritedFrom(const IVarName &). index: is the method id return by the <a class="el" href="a02149.html#NLAICHARACTER_1_1IZonea29">isMember(const IVarName *,const IVarName *,const IObjectIA &) const</a> method. param: is the parametre for the method. +<p> +Reimplemented in <a class="el" href="a02162.html#NLAIAGENT_1_1IBasicAgentz1609_3">NLAIAGENT::IBasicAgent</a>, <a class="el" href="a03884.html#NLAIAGENT_1_1VectorTypea49">NLAIAGENT::IVector</a>, <a class="el" href="a02782.html#NLAIAGENT_1_1CLocalAgentMaila28">NLAIAGENT::CLocalAgentMail</a>, <a class="el" href="a02148.html#NLAIAGENT_1_1INombrez1646_1">NLAIAGENT::INombre< tNombre ></a>, <a class="el" href="a03036.html#NLAIAGENT_1_1CPairTypea45">NLAIAGENT::CPairType</a>, <a class="el" href="a02327.html#NLAIAGENT_1_1IBaseGroupTypez1652_4">NLAIAGENT::IBaseGroupType</a>, <a class="el" href="a03667.html#NLAIAGENT_1_1CVectorGroupTypea66">NLAIAGENT::CVectorGroupType</a>, <a class="el" href="a03134.html#NLAIAGENT_1_1CProxyAgentMailz1662_5">NLAIAGENT::CProxyAgentMail</a>, <a class="el" href="a02171.html#NLAIAGENT_1_1IMainAgentz1670_22">NLAIAGENT::CAgentScript</a>, <a class="el" href="a02192.html#NLAIAGENT_1_1CAgentTimerHandlea29">NLAIAGENT::CAgentTimerHandle</a>, <a class="el" href="a02599.html#NLAILOGIC_1_1CGoalStackz1214_2">NLAILOGIC::CGoalStack</a>, <a class="el" href="a02324.html#NLAIAGENT_1_1IListManagerz1705_27">NLAIAGENT::IListBasicManager</a>, <a class="el" href="a02326.html#NLAIAGENT_1_1COnChangeMsgz1708_8">NLAIAGENT::CMessageScript</a>, <a class="el" href="a02325.html#NLAIAGENT_1_1IMessageBasea45">NLAIAGENT::IMessageBase</a>, <a class="el" href="a03458.html#NLAIAGENT_1_1CSuccessMsgz1722_6">NLAIAGENT::CSuccessMsg</a>, <a class="el" href="a02507.html#NLAIAGENT_1_1CFailureMsgz1724_6">NLAIAGENT::CFailureMsg</a>, <a class="el" href="a02502.html#NLAIAGENT_1_1CFactMsgz1726_6">NLAIAGENT::CFactMsg</a>, <a class="el" href="a02585.html#NLAIAGENT_1_1CGetValueMsgz1728_6">NLAIAGENT::CGetValueMsg</a>, <a class="el" href="a02596.html#NLAIAGENT_1_1CGoalMsgz1730_6">NLAIAGENT::CGoalMsg</a>, <a class="el" href="a02323.html#NLAIAGENT_1_1CCancelGoalMsgz1732_6">NLAIAGENT::CCancelGoalMsg</a>, <a class="el" href="a03367.html#NLAIAGENT_1_1CSetValueMsgz1738_6">NLAIAGENT::CSetValueMsg</a>, <a class="el" href="a02574.html#NLAIFUZZY_1_1CFuzzyVara58">NLAIFUZZY::CFuzzyVar</a>, <a class="el" href="a02499.html#NLAILOGIC_1_1CFactz1208_3">NLAILOGIC::CFact</a>, <a class="el" href="a02594.html#NLAILOGIC_1_1CGoalz1210_2">NLAILOGIC::CGoal</a>, <a class="el" href="a02687.html#NLAILOGIC_1_1CInternalGoalz1212_2">NLAILOGIC::CInternalGoal</a>, <a class="el" href="a02599.html#NLAILOGIC_1_1CGoalStacka57">NLAILOGIC::CGoalStack</a>, <a class="el" href="a02312.html#NLAISCRIPT_1_1CCallPrintz1858_5">NLAISCRIPT::CCallPrint</a>, <a class="el" href="a02740.html#NLAISCRIPT_1_1CLibTestz1884_8">NLAISCRIPT::CLibTest</a>, <a class="el" href="a02148.html#NLAIAGENT_1_1INombrez1646_1">NLAIAGENT::INombre< double ></a>, <a class="el" href="a02148.html#NLAIAGENT_1_1INombrez1646_1">NLAIAGENT::INombre< uint16 ></a>, <a class="el" href="a02148.html#NLAIAGENT_1_1INombrez1646_1">NLAIAGENT::INombre< float ></a>, <a class="el" href="a02148.html#NLAIAGENT_1_1INombrez1646_1">NLAIAGENT::INombre< sint8 ></a>, <a class="el" href="a02148.html#NLAIAGENT_1_1INombrez1646_1">NLAIAGENT::INombre< uint64 ></a>, <a class="el" href="a02148.html#NLAIAGENT_1_1INombrez1646_1">NLAIAGENT::INombre< sint16 ></a>, <a class="el" href="a02148.html#NLAIAGENT_1_1INombrez1646_1">NLAIAGENT::INombre< uint8 ></a>, <a class="el" href="a02148.html#NLAIAGENT_1_1INombrez1646_1">NLAIAGENT::INombre< uint32 ></a>, and <a class="el" href="a02148.html#NLAIAGENT_1_1INombrez1646_1">NLAIAGENT::INombre< sint32 ></a>. +<p> +Definition at line <a class="el" href="a05475.html#l00257">257</a> of file <a class="el" href="a05475.html">baseai.cpp</a>. +<p> +References <a class="el" href="a05981.html#l00099">sint32</a>. +<p> +Referenced by <a class="el" href="a06122.html#l00333">NLAISCRIPT::CLibHeapMemberMethod::runOpCode()</a>, <a class="el" href="a06122.html#l00288">NLAISCRIPT::CLibStackNewMemberMethod::runOpCode()</a>, <a class="el" href="a06122.html#l00242">NLAISCRIPT::CLibStackMemberMethod::runOpCode()</a>, <a class="el" href="a06122.html#l00198">NLAISCRIPT::CLibCallMethodi::runOpCode()</a>, <a class="el" href="a06122.html#l00164">NLAISCRIPT::CLibCallInheritedMethod::runOpCode()</a>, <a class="el" href="a06122.html#l00137">NLAISCRIPT::CLibCallMethod::runOpCode()</a>, and <a class="el" href="a06122.html#l00099">NLAISCRIPT::CLibMemberMethodi::runOpCode()</a>. +<p> +<div class="fragment"><pre>00258 { +00259 <span class="comment">/*char text[2048*8];</span> +00260 <span class="comment"> sprintf(text,"method runMethodeMember(sint32 h, sint32 id,const IObjectIA &) not implemented for the '%s' interface",(const char *)getType());</span> +00261 <span class="comment"> throw NLAIE::CExceptionNotImplemented(text);</span> +00262 <span class="comment"> return CProcessResult();*/</span> +00263 <span class="keywordflow">return</span> IObjectIA::runMethodeMember(<span class="keywordtype">id</span>,a); +00264 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1VectorTypea50" doxytag="NLAISCRIPT::COperatorClass::runStep" ></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"> const IObjectIA::CProcessResult & NLAIAGENT::IObjectIA::runStep </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Some where Run method define the process of the agen. +<p> +Reimplemented in <a class="el" href="a02163.html#NLAIAGENT_1_1IAgentManagerz1619_2">NLAIAGENT::IAgent</a>, and <a class="el" href="a02171.html#NLAIAGENT_1_1IMainAgentz1670_23">NLAIAGENT::CAgentScript</a>. +<p> +Definition at line <a class="el" href="a05475.html#l00163">163</a> of file <a class="el" href="a05475.html">baseai.cpp</a>. +<p> +References <a class="el" href="a02151.html#NLAICHARACTER_1_1IZonea20">NLAIC::IBasicType::getType()</a>, and <a class="el" href="a05804.html#l00079">NLAIC::stringGetBuild()</a>. +<p> +Referenced by <a class="el" href="a05420.html#l00137">NLAIAGENT::IAgent::runChildrenStepByStep()</a>. +<p> +<div class="fragment"><pre>00164 { +00165 std::string text; +00166 text = <a class="code" href="a05365.html#a8">NLAIC::stringGetBuild</a>(<span class="stringliteral">"const CProcessResult &IObjectIA::runStep() note implementaited for the '%s' interface"</span>,(<span class="keyword">const</span> <span class="keywordtype">char</span> *)<a class="code" href="a02169.html#NLAISCRIPT_1_1IClassInterpreta26">getType</a>()); +00167 <span class="keywordflow">throw</span> <a class="code" href="a02487.html">NLAIE::CExceptionNotImplemented</a>(text.c_str()); +00168 <span class="keywordflow">return</span> IObjectIA::ProcessNotComplit; +00169 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAISCRIPT_1_1CSuccessMsgClassa48" doxytag="NLAISCRIPT::COperatorClass::save" ></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 NLAISCRIPT::CAgentClass::save </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a02270.html">NLMISC::IStream</a> & </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Save the class in a stream. +<p> +Implements <a class="el" href="a02154.html#NLAIAGENT_1_1IWordNumRefa14">NLAIC::IBasicInterface</a>. +<p> +Definition at line <a class="el" href="a05847.html#l00760">760</a> of file <a class="el" href="a05847.html">interpret_object_agent.cpp</a>. +<p> +References <a class="el" href="a05848.html#l00169">NLAISCRIPT::CAgentClass::_Inheritance</a>, <a class="el" href="a05848.html#l00159">NLAISCRIPT::CAgentClass::_Methode</a>, <a class="el" href="a02151.html#NLAICHARACTER_1_1IZonea20">NLAIC::IBasicType::getType()</a>, <a class="el" href="a05386.html#l00346">NLAIC::IBasicInterface::save()</a>, <a class="el" href="a06462.html#l00232">NLMISC::IStream::serial()</a>, <a class="el" href="a05981.html#l00099">sint32</a>, and <a class="el" href="a05646.html#l00645">size</a>. +<p> +<div class="fragment"><pre>00761 { +00762 <span class="comment">// Saves static components</span> +00763 <a class="code" href="a04558.html#a10">sint32</a> <a class="code" href="a04223.html#a587">size</a> = _Components.size(); +00764 os.<a class="code" href="a02270.html#NLMISC_1_1IStreama5">serial</a>( size ); +00765 <a class="code" href="a04558.html#a10">sint32</a> i; +00766 <span class="keywordflow">for</span> ( i = 0; i < (<a class="code" href="a04558.html#a10">sint32</a>) _Components.size() ; i++ ) +00767 { +00768 _Components[i]->save( os ); +00769 } +00770 +00771 <span class="comment">// Saves class methods</span> +00772 <a class="code" href="a04223.html#a587">size</a> = _Methode.size(); +00773 os.<a class="code" href="a02270.html#NLMISC_1_1IStreama5">serial</a>( size ); +00774 <span class="keywordflow">for</span> ( i = 0; i < (<a class="code" href="a04558.html#a10">sint32</a>) _Methode.size(); i++) +00775 { +00776 os.<a class="code" href="a02270.html#NLMISC_1_1IStreama5">serial</a>( (<a class="code" href="a02650.html">NLAIC::CIdentType</a> &)_Methode[i].Method->getType() ); +00777 _Methode[i].Method->save( os ); +00778 } +00779 os.<a class="code" href="a02270.html#NLMISC_1_1IStreama5">serial</a>( (<a class="code" href="a02650.html">NLAIC::CIdentType</a> &) _Inheritance->getType() ); +00780 _Inheritance->save( os ); +00781 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1VectorTypea52" doxytag="NLAISCRIPT::COperatorClass::sendMessage" ></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"> IObjectIA::CProcessResult NLAIAGENT::IObjectIA::sendMessage </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const <a class="el" href="a02661.html">IVarName</a> & </td> + <td class="mdname" nowrap>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a02149.html">IObjectIA</a> * </td> + <td class="mdname" nowrap></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +This method allow to send a message to an compoment given by an string <a class="el" href="a02661.html">IVarName</a>. +<p> +Reimplemented in <a class="el" href="a03134.html#NLAIAGENT_1_1CProxyAgentMailz1664_8">NLAIAGENT::CProxyAgentMail</a>, <a class="el" href="a02171.html#NLAIAGENT_1_1IMainAgentz1670_24">NLAIAGENT::CAgentScript</a>, and <a class="el" href="a02325.html#NLAIAGENT_1_1IMessageBasea49">NLAIAGENT::IMessageBase</a>. +<p> +Definition at line <a class="el" href="a05475.html#l00334">334</a> of file <a class="el" href="a05475.html">baseai.cpp</a>. +<p> +References <a class="el" href="a02661.html#NLAIAGENT_1_1IVarNamea6">NLAIAGENT::IVarName::getString()</a>, <a class="el" href="a02151.html#NLAICHARACTER_1_1IZonea20">NLAIC::IBasicType::getType()</a>, and <a class="el" href="a05804.html#l00079">NLAIC::stringGetBuild()</a>. +<p> +<div class="fragment"><pre>00335 { +00336 std::string text; +00337 text = <a class="code" href="a05365.html#a8">NLAIC::stringGetBuild</a>(<span class="stringliteral">"method 'sendMessage(%s,const IObjectIA &)' '%s' interface"</span>,name.getString(), (<span class="keyword">const</span> <span class="keywordtype">char</span> *)<a class="code" href="a02169.html#NLAISCRIPT_1_1IClassInterpreta26">getType</a>()); +00338 <span class="keywordflow">throw</span> <a class="code" href="a02487.html">NLAIE::CExceptionNotImplemented</a>(text.c_str()); +00339 <span class="keywordflow">return</span> CProcessResult(); +00340 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1VectorTypea53" doxytag="NLAISCRIPT::COperatorClass::sendMessage" ></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"> IObjectIA::CProcessResult NLAIAGENT::IObjectIA::sendMessage </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a02149.html">IObjectIA</a> * </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +The method sendMessage(const IObjectIA &msg) allow us to achive a message defined in msg. +<p> +Reimplemented in <a class="el" href="a02170.html#NLAIAGENT_1_1CSeqFsmScripta76">NLAIAGENT::CActorScript</a>, <a class="el" href="a02782.html#NLAIAGENT_1_1CLocalAgentMailz1642_8">NLAIAGENT::CLocalAgentMail</a>, <a class="el" href="a03134.html#NLAIAGENT_1_1CProxyAgentMailz1664_9">NLAIAGENT::CProxyAgentMail</a>, <a class="el" href="a02171.html#NLAIAGENT_1_1IMainAgentz1670_25">NLAIAGENT::CAgentScript</a>, <a class="el" href="a02192.html#NLAIAGENT_1_1CAgentTimerHandlea33">NLAIAGENT::CAgentTimerHandle</a>, <a class="el" href="a02164.html#NLAIAGENT_1_1IMailBoxa48">NLAIAGENT::IConnectIA</a>, <a class="el" href="a03666.html#NLAIAGENT_1_1IListManagera37">NLAIAGENT::IListManager</a>, <a class="el" href="a02831.html#NLAIAGENT_1_1CMainAgentScripta50">NLAIAGENT::CMainAgentScript</a>, and <a class="el" href="a02325.html#NLAIAGENT_1_1IMessageBasea50">NLAIAGENT::IMessageBase</a>. +<p> +Definition at line <a class="el" href="a05475.html#l00342">342</a> of file <a class="el" href="a05475.html">baseai.cpp</a>. +<p> +References <a class="el" href="a02151.html#NLAICHARACTER_1_1IZonea20">NLAIC::IBasicType::getType()</a>, and <a class="el" href="a05804.html#l00079">NLAIC::stringGetBuild()</a>. +<p> +Referenced by <a class="el" href="a05475.html#l00266">NLAIAGENT::IObjectIA::runMethodeMember()</a>, <a class="el" href="a05412.html#l01197">NLAIAGENT::CAgentScript::sendBroadCast()</a>, <a class="el" href="a06065.html#l00356">NLAIAGENT::IMessageBase::sendMessage()</a>, <a class="el" href="a05911.html#l00229">NLAIAGENT::IListManager::sendMessage()</a>, and <a class="el" href="a05412.html#l01250">NLAIAGENT::CAgentScript::sendMessage()</a>. +<p> +<div class="fragment"><pre>00343 { +00344 std::string text; +00345 text = <a class="code" href="a05365.html#a8">NLAIC::stringGetBuild</a>(<span class="stringliteral">"method 'sendMessage(const IObjectIA &)' '%s' interface"</span>, (<span class="keyword">const</span> <span class="keywordtype">char</span> *)<a class="code" href="a02169.html#NLAISCRIPT_1_1IClassInterpreta26">getType</a>()); +00346 <span class="keywordflow">throw</span> <a class="code" href="a02487.html">NLAIE::CExceptionNotImplemented</a>(text.c_str()); +00347 <span class="keywordflow">return</span> CProcessResult(); +00348 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1VectorTypea54" doxytag="NLAISCRIPT::COperatorClass::serial" ></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"> virtual void NLAIC::IBasicInterface::serial </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a02270.html">NLMISC::IStream</a> & </td> + <td class="mdname1" valign="top" nowrap> <em>f</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> throw (<a class="el" href="a03781.html">NLMISC::EStream</a>)<code> [inline, virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Reimplemented from <a class="el" href="a02145.html#NLAIC_1_1IPointerGestionz1764_1">NLAIC::IPointerGestion</a>. +<p> +Definition at line <a class="el" href="a05386.html#l00328">328</a> of file <a class="el" href="a05386.html">abstract_interface.h</a>. +<p> +References <a class="el" href="a05386.html#l00350">NLAIC::IBasicInterface::load()</a>, and <a class="el" href="a05386.html#l00346">NLAIC::IBasicInterface::save()</a>. +<p> +<div class="fragment"><pre>00329 { +00330 <span class="keywordflow">if</span> ( f.<a class="code" href="a02270.html#NLMISC_1_1IStreama0">isReading</a>() ) +00331 <a class="code" href="a02167.html#NLAISCRIPT_1_1CSuccessMsgClassa39">load</a>( f ); +00332 <span class="keywordflow">else</span> +00333 <a class="code" href="a02167.html#NLAISCRIPT_1_1CSuccessMsgClassa48">save</a>( f ); +00334 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAISCRIPT_1_1IAgentMultiClassa51" doxytag="NLAISCRIPT::COperatorClass::setBaseMethodCount" ></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 NLAISCRIPT::IAgentMultiClass::setBaseMethodCount </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a10">sint32</a> </td> + <td class="mdname1" valign="top" nowrap> <em>n</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Set the base method count. +<p> + +<p> +Definition at line <a class="el" href="a05848.html#l00071">71</a> of file <a class="el" href="a05848.html">interpret_object_agent.h</a>. +<p> +References <a class="el" href="a05848.html#l00050">NLAISCRIPT::IAgentMultiClass::_BaseMethodCount</a>, and <a class="el" href="a05981.html#l00099">sint32</a>. +<p> +Referenced by <a class="el" href="a05830.html#l00010">NLAISCRIPT::CActorClass::CActorClass()</a>, <a class="el" href="a05847.html#l00039">NLAISCRIPT::CAgentClass::CAgentClass()</a>, <a class="el" href="a05832.html#l00014">NLAISCRIPT::CFsmClass::CFsmClass()</a>, <a class="el" href="a05850.html#l00033">NLAISCRIPT::CManagerClass::CManagerClass()</a>, <a class="el" href="a05852.html#l00040">NLAISCRIPT::CMessageClass::CMessageClass()</a>, <a class="el" href="a05854.html#l00023">COperatorClass()</a>, and <a class="el" href="a05832.html#l00121">NLAISCRIPT::CSeqFsmClass::CSeqFsmClass()</a>. +<p> +<div class="fragment"><pre>00072 { +00073 _BaseMethodCount = n; +00074 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAISCRIPT_1_1IAgentMultiClassa52" doxytag="NLAISCRIPT::COperatorClass::setBaseObjectInstance" ></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 NLAISCRIPT::IAgentMultiClass::setBaseObjectInstance </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a02149.html">NLAIAGENT::IObjectIA</a> * </td> + <td class="mdname1" valign="top" nowrap> <em>o</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Set the C++ base class representative pointer. We have to <a class="el" href="a02145.html#NLAIAGENT_1_1VectorTypea16">incRef()</a> before. +<p> + +<p> +Definition at line <a class="el" href="a05848.html#l00083">83</a> of file <a class="el" href="a05848.html">interpret_object_agent.h</a>. +<p> +References <a class="el" href="a05848.html#l00052">NLAISCRIPT::IAgentMultiClass::_BaseObjectInstance</a>. +<p> +Referenced by <a class="el" href="a05830.html#l00010">NLAISCRIPT::CActorClass::CActorClass()</a>, <a class="el" href="a05847.html#l00039">NLAISCRIPT::CAgentClass::CAgentClass()</a>, <a class="el" href="a05852.html#l00229">NLAISCRIPT::CCancelGoalMsgClass::CCancelGoalMsgClass()</a>, <a class="el" href="a05852.html#l00281">NLAISCRIPT::CFactMsgClass::CFactMsgClass()</a>, <a class="el" href="a05836.html#l00087">NLAISCRIPT::CFailureMsgClass::CFailureMsgClass()</a>, <a class="el" href="a05832.html#l00014">NLAISCRIPT::CFsmClass::CFsmClass()</a>, <a class="el" href="a05839.html#l00034">NLAISCRIPT::CGetValueMsgClass::CGetValueMsgClass()</a>, <a class="el" href="a05852.html#l00177">NLAISCRIPT::CGoalMsgClass::CGoalMsgClass()</a>, <a class="el" href="a05850.html#l00033">NLAISCRIPT::CManagerClass::CManagerClass()</a>, <a class="el" href="a05852.html#l00040">NLAISCRIPT::CMessageClass::CMessageClass()</a>, <a class="el" href="a05852.html#l00123">NLAISCRIPT::CMsgNotifyParentClass::CMsgNotifyParentClass()</a>, <a class="el" href="a05852.html#l00332">NLAISCRIPT::COnChangeMsgClass::COnChangeMsgClass()</a>, <a class="el" href="a05854.html#l00023">COperatorClass()</a>, <a class="el" href="a05832.html#l00121">NLAISCRIPT::CSeqFsmClass::CSeqFsmClass()</a>, <a class="el" href="a05841.html#l00033">NLAISCRIPT::CSetValueMsgClass::CSetValueMsgClass()</a>, and <a class="el" href="a05836.html#l00037">NLAISCRIPT::CSuccessMsgClass::CSuccessMsgClass()</a>. +<p> +<div class="fragment"><pre>00084 { +00085 _BaseObjectInstance = o; +00086 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAISCRIPT_1_1IClassInterpreta50" doxytag="NLAISCRIPT::COperatorClass::setClassName" ></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 NLAISCRIPT::IClassInterpret::setClassName </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const <a class="el" href="a02661.html">NLAIAGENT::IVarName</a> & </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05845.html#l00096">96</a> of file <a class="el" href="a05845.html">interpret_object.cpp</a>. +<p> +References <a class="el" href="a02151.html#NLAICHARACTER_1_1IZonea4">NLAIC::IBasicType::clone()</a>, and <a class="el" href="a05386.html#l00086">NLAIC::IPointerGestion::release()</a>. +<p> +Referenced by <a class="el" href="a05852.html#l00229">NLAISCRIPT::CCancelGoalMsgClass::CCancelGoalMsgClass()</a>, <a class="el" href="a05852.html#l00281">NLAISCRIPT::CFactMsgClass::CFactMsgClass()</a>, <a class="el" href="a05836.html#l00087">NLAISCRIPT::CFailureMsgClass::CFailureMsgClass()</a>, <a class="el" href="a05839.html#l00034">NLAISCRIPT::CGetValueMsgClass::CGetValueMsgClass()</a>, <a class="el" href="a05852.html#l00177">NLAISCRIPT::CGoalMsgClass::CGoalMsgClass()</a>, <a class="el" href="a05852.html#l00123">NLAISCRIPT::CMsgNotifyParentClass::CMsgNotifyParentClass()</a>, <a class="el" href="a05841.html#l00033">NLAISCRIPT::CSetValueMsgClass::CSetValueMsgClass()</a>, and <a class="el" href="a05836.html#l00037">NLAISCRIPT::CSuccessMsgClass::CSuccessMsgClass()</a>. +<p> +<div class="fragment"><pre>00097 { +00098 <span class="keywordflow">if</span>(_Name != NULL) +00099 { +00100 _Name->release(); +00101 } +00102 _Name = (<a class="code" href="a02661.html">NLAIAGENT::IVarName</a> *)name.<a class="code" href="a02151.html#NLAICHARACTER_1_1IZonea4">clone</a>(); +00103 +00104 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAISCRIPT_1_1COperatorClassa102" doxytag="NLAISCRIPT::COperatorClass::setComment" ></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 NLAISCRIPT::COperatorClass::setComment </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">char * </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Sets the comment for the operator. +<p> + +<p> +Definition at line <a class="el" href="a05854.html#l00865">865</a> of file <a class="el" href="a05854.html">logic/interpret_object_operator.cpp</a>. +<p> +<div class="fragment"><pre>00866 { +00867 <span class="keywordflow">if</span> ( <a class="code" href="a03025.html#NLAISCRIPT_1_1COperatorClassr0">_Comment</a> != NULL ) +00868 { +00869 <span class="keyword">delete</span>[] <a class="code" href="a03025.html#NLAISCRIPT_1_1COperatorClassr0">_Comment</a>; +00870 } +00871 <a class="code" href="a03025.html#NLAISCRIPT_1_1COperatorClassr0">_Comment</a> = <span class="keyword">new</span> <span class="keywordtype">char</span>[ strlen(c) + 1]; +00872 strcpy(_Comment, c); +00873 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAISCRIPT_1_1CSuccessMsgClassz1838_10" doxytag="NLAISCRIPT::COperatorClass::setConstroctorMethod" ></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 NLAISCRIPT::CAgentClass::setConstroctorMethod </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a10">sint32</a> </td> + <td class="mdname1" valign="top" nowrap> <em>index</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05847.html#l00953">953</a> of file <a class="el" href="a05847.html">interpret_object_agent.cpp</a>. +<p> +References <a class="el" href="a05848.html#l00166">NLAISCRIPT::CAgentClass::_ConstructorIndex</a>, <a class="el" href="a05848.html#l00065">NLAISCRIPT::IAgentMultiClass::getBaseMethodCount()</a>, <a class="el" href="a05646.html#l00225">index</a>, and <a class="el" href="a05981.html#l00099">sint32</a>. +<p> +<div class="fragment"><pre>00954 { +00955 _ConstructorIndex = <a class="code" href="a04223.html#a566">index</a> + <a class="code" href="a02168.html#NLAISCRIPT_1_1IAgentMultiClassa7">getBaseMethodCount</a>(); +00956 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAISCRIPT_1_1COperatorClassa103" doxytag="NLAISCRIPT::COperatorClass::setGoal" ></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 NLAISCRIPT::COperatorClass::setGoal </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const <a class="el" href="a02661.html">NLAIAGENT::IVarName</a> * </td> + <td class="mdname" nowrap>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>std::list< const <a class="el" href="a02661.html">NLAIAGENT::IVarName</a> * > & </td> + <td class="mdname" nowrap></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05854.html#l00698">698</a> of file <a class="el" href="a05854.html">logic/interpret_object_operator.cpp</a>. +<p> +References <a class="el" href="a05856.html#l00040">_Goal</a>, <a class="el" href="a05856.html#l00042">_GoalAssert</a>, <a class="el" href="a05856.html#l00044">_GoalPosVar</a>, <a class="el" href="a05856.html#l00043">_GoalVars</a>, <a class="el" href="a05622.html#l00496">assert</a>, <a class="el" href="a05847.html#l00290">NLAISCRIPT::CAgentClass::getComponentIndex()</a>, <a class="el" href="a05847.html#l00264">NLAISCRIPT::CAgentClass::registerComponent()</a>, <a class="el" href="a05386.html#l00086">NLAIC::IPointerGestion::release()</a>, <a class="el" href="a05763.html#l00373">NLAILOGIC::CGoal::setArgs()</a>, and <a class="el" href="a05981.html#l00099">sint32</a>. +<p> +<div class="fragment"><pre>00699 { +00700 <a class="code" href="a03025.html#NLAISCRIPT_1_1COperatorClassr4">_GoalAssert</a> = (<span class="keyword">const</span> <a class="code" href="a02661.html">NLAIAGENT::IVarName</a> *) <a class="code" href="a04199.html#a15">assert</a>->clone(); +00701 <a class="code" href="a03025.html#NLAISCRIPT_1_1COperatorClassr6">_GoalVars</a> = args; +00702 +00703 <span class="keywordflow">if</span> ( <a class="code" href="a03025.html#NLAISCRIPT_1_1COperatorClassr3">_Goal</a> != NULL ) +00704 { +00705 <a class="code" href="a03025.html#NLAISCRIPT_1_1COperatorClassr3">_Goal</a>-><a class="code" href="a02145.html#NLAIAGENT_1_1VectorTypea46">release</a>(); +00706 } +00707 +00708 <a class="code" href="a03025.html#NLAISCRIPT_1_1COperatorClassr3">_Goal</a> = <span class="keyword">new</span> <a class="code" href="a02594.html">NLAILOGIC::CGoal</a>( *(<a class="code" href="a03455.html">NLAIAGENT::CStringVarName</a> *) <a class="code" href="a04199.html#a15">assert</a>->clone() ); +00709 +00710 std::list<const NLAIAGENT::IVarName *>::iterator it_var = args.begin(); +00711 <span class="keywordflow">while</span> ( it_var != args.end() ) +00712 { +00713 <span class="comment">// Looks in the class components if the var already exists</span> +00714 <a class="code" href="a04558.html#a10">sint32</a> id_var = <a class="code" href="a02167.html#NLAISCRIPT_1_1CSuccessMsgClassa15">getComponentIndex</a>( **it_var ); +00715 +00716 <span class="keywordflow">if</span> ( id_var != -1 ) +00717 { +00718 <span class="comment">// If it exists, stores its index</span> +00719 <a class="code" href="a03025.html#NLAISCRIPT_1_1COperatorClassr5">_GoalPosVar</a>.push_back( id_var ); +00720 } +00721 <span class="keywordflow">else</span> +00722 { +00723 <span class="comment">// If it doesn't exist, registers the var as a component of the class</span> +00724 <a class="code" href="a03455.html">NLAIAGENT::CStringVarName</a> var_name(<span class="stringliteral">"Var"</span>); +00725 <a class="code" href="a02167.html#NLAISCRIPT_1_1CSuccessMsgClassa42">registerComponent</a>( var_name , (<span class="keyword">const</span> <a class="code" href="a03455.html">NLAIAGENT::CStringVarName</a> &) **it_var ); +00726 <span class="comment">// _Vars.push_back( (NLAILOGIC::IBaseVar *)(*it_cond)->clone() );</span> +00727 <a class="code" href="a03025.html#NLAISCRIPT_1_1COperatorClassr5">_GoalPosVar</a>.push_back( <a class="code" href="a02167.html#NLAISCRIPT_1_1CSuccessMsgClassa15">getComponentIndex</a>(**it_var) ); +00728 } +00729 it_var++; +00730 } +00731 +00732 std::list<NLAIAGENT::IObjectIA *> arg_list; +00733 <span class="keywordflow">while</span> ( !args.empty() ) +00734 { +00735 arg_list.push_back( (<a class="code" href="a02149.html">NLAIAGENT::IObjectIA</a> *) args.front()->clone() ); +00736 ( (<a class="code" href="a02149.html">NLAIAGENT::IObjectIA</a> *)args.front() )->release(); +00737 args.pop_front(); +00738 } +00739 +00740 <a class="code" href="a03025.html#NLAISCRIPT_1_1COperatorClassr3">_Goal</a>-><a class="code" href="a02594.html#NLAILOGIC_1_1CGoala71">setArgs</a>( arg_list ); +00741 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAISCRIPT_1_1COperatorClassa104" doxytag="NLAISCRIPT::COperatorClass::setGoal" ></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 NLAISCRIPT::COperatorClass::setGoal </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const <a class="el" href="a03455.html">NLAIAGENT::CStringVarName</a> & </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Sets the goal the operator tries to achieve. +<p> + +<p> +Definition at line <a class="el" href="a05854.html#l00692">692</a> of file <a class="el" href="a05854.html">logic/interpret_object_operator.cpp</a>. +<p> +References <a class="el" href="a05856.html#l00040">_Goal</a>, and <a class="el" href="a05415.html#l00236">NLAIAGENT::CStringVarName::clone()</a>. +<p> +<div class="fragment"><pre>00693 { +00694 +00695 <a class="code" href="a03025.html#NLAISCRIPT_1_1COperatorClassr3">_Goal</a> = <span class="keyword">new</span> <a class="code" href="a02594.html">NLAILOGIC::CGoal</a>( *(<a class="code" href="a03455.html">NLAIAGENT::CStringVarName</a> *) g.<a class="code" href="a03455.html#NLAIAGENT_1_1CStringVarNamea1">clone</a>()); +00696 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAISCRIPT_1_1CSuccessMsgClassz1842_7" doxytag="NLAISCRIPT::COperatorClass::setInheritanceName" ></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 NLAISCRIPT::CAgentClass::setInheritanceName </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const <a class="el" href="a02661.html">NLAIAGENT::IVarName</a> & </td> + <td class="mdname1" valign="top" nowrap> <em>name</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Returns the name of the base class of this class. +<p> + +<p> +Implements <a class="el" href="a02169.html#NLAISCRIPT_1_1IClassInterpreta51">NLAISCRIPT::IClassInterpret</a>. +<p> +Definition at line <a class="el" href="a05847.html#l00836">836</a> of file <a class="el" href="a05847.html">interpret_object_agent.cpp</a>. +<p> +References <a class="el" href="a05848.html#l00169">NLAISCRIPT::CAgentClass::_Inheritance</a>, <a class="el" href="a02151.html#NLAICHARACTER_1_1IZonea4">NLAIC::IBasicType::clone()</a>, and <a class="el" href="a05386.html#l00086">NLAIC::IPointerGestion::release()</a>. +<p> +Referenced by <a class="el" href="a05852.html#l00229">NLAISCRIPT::CCancelGoalMsgClass::CCancelGoalMsgClass()</a>, <a class="el" href="a05852.html#l00281">NLAISCRIPT::CFactMsgClass::CFactMsgClass()</a>, <a class="el" href="a05836.html#l00087">NLAISCRIPT::CFailureMsgClass::CFailureMsgClass()</a>, <a class="el" href="a05832.html#l00014">NLAISCRIPT::CFsmClass::CFsmClass()</a>, <a class="el" href="a05839.html#l00034">NLAISCRIPT::CGetValueMsgClass::CGetValueMsgClass()</a>, <a class="el" href="a05852.html#l00177">NLAISCRIPT::CGoalMsgClass::CGoalMsgClass()</a>, <a class="el" href="a05852.html#l00123">NLAISCRIPT::CMsgNotifyParentClass::CMsgNotifyParentClass()</a>, <a class="el" href="a05852.html#l00332">NLAISCRIPT::COnChangeMsgClass::COnChangeMsgClass()</a>, <a class="el" href="a05841.html#l00033">NLAISCRIPT::CSetValueMsgClass::CSetValueMsgClass()</a>, and <a class="el" href="a05836.html#l00037">NLAISCRIPT::CSuccessMsgClass::CSuccessMsgClass()</a>. +<p> +<div class="fragment"><pre>00837 { +00838 <span class="keywordflow">if</span>(_Inheritance != NULL) +00839 { +00840 _Inheritance->release(); +00841 } +00842 _Inheritance = (<a class="code" href="a02661.html">NLAIAGENT::IVarName</a> *)name.<a class="code" href="a02151.html#NLAICHARACTER_1_1IZonea4">clone</a>(); +00843 +00844 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAISCRIPT_1_1COperatorClassa105" doxytag="NLAISCRIPT::COperatorClass::setPriority" ></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 NLAISCRIPT::COperatorClass::setPriority </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">float </td> + <td class="mdname1" valign="top" nowrap> <em>p</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05856.html#l00243">243</a> of file <a class="el" href="a05856.html">interpret_object_operator.h</a>. +<p> +<div class="fragment"><pre>00244 { +00245 <a class="code" href="a03025.html#NLAISCRIPT_1_1COperatorClassr9">_Priority</a> = p; +00246 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAISCRIPT_1_1CSuccessMsgClassz1838_11" doxytag="NLAISCRIPT::COperatorClass::setRunMethod" ></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 NLAISCRIPT::CAgentClass::setRunMethod </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a10">sint32</a> </td> + <td class="mdname1" valign="top" nowrap> <em>index</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +set the absolut index of the <a class="el" href="a02167.html#NLAISCRIPT_1_1CSuccessMsgClassa44">run()</a> method of this class. +<p> + +<p> +Implements <a class="el" href="a02169.html#NLAISCRIPT_1_1IClassInterpreta52">NLAISCRIPT::IClassInterpret</a>. +<p> +Definition at line <a class="el" href="a05847.html#l00943">943</a> of file <a class="el" href="a05847.html">interpret_object_agent.cpp</a>. +<p> +References <a class="el" href="a05848.html#l00163">NLAISCRIPT::CAgentClass::_RunIndex</a>, <a class="el" href="a05848.html#l00065">NLAISCRIPT::IAgentMultiClass::getBaseMethodCount()</a>, <a class="el" href="a05646.html#l00225">index</a>, and <a class="el" href="a05981.html#l00099">sint32</a>. +<p> +<div class="fragment"><pre>00944 { +00945 _RunIndex = <a class="code" href="a04223.html#a566">index</a> + <a class="code" href="a02168.html#NLAISCRIPT_1_1IAgentMultiClassa7">getBaseMethodCount</a>(); +00946 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1VectorTypea56" doxytag="NLAISCRIPT::COperatorClass::setStaticMember" ></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 NLAIAGENT::IObjectIA::setStaticMember </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const <a class="el" href="a02661.html">IVarName</a> & </td> + <td class="mdname" nowrap> <em>compName</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a02149.html">IObjectIA</a> * </td> + <td class="mdname" nowrap> <em>change</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [inline, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +to cahnge a given components given by an index. +<p> +Definition at line <a class="el" href="a05476.html#l00268">268</a> of file <a class="el" href="a05476.html">baseai.h</a>. +<p> +References <a class="el" href="a05475.html#l00188">NLAIAGENT::IObjectIA::getStaticMemberIndex()</a>. +<p> +Referenced by <a class="el" href="a06120.html#l00413">NLAISCRIPT::CAffHeapMemberiOpCode::runOpCode()</a>, <a class="el" href="a06120.html#l00317">NLAISCRIPT::CAffMemberiOpCode::runOpCode()</a>, and <a class="el" href="a05401.html#l00133">NLAIAGENT::CLocalAgentMail::setStaticMember()</a>. +<p> +<div class="fragment"><pre>00269 { +00270 <span class="keywordflow">return</span> <a class="code" href="a02167.html#NLAISCRIPT_1_1CSuccessMsgClassa56">setStaticMember</a>(<a class="code" href="a02167.html#NLAISCRIPT_1_1CSuccessMsgClassa28">getStaticMemberIndex</a>(compName),change); +00271 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAISCRIPT_1_1CSuccessMsgClassa56" doxytag="NLAISCRIPT::COperatorClass::setStaticMember" ></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 NLAISCRIPT::CAgentClass::setStaticMember </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a10">sint32</a> </td> + <td class="mdname" nowrap>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a02149.html">NLAIAGENT::IObjectIA</a> * </td> + <td class="mdname" nowrap></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +to cahnge a given components given by a string. +<p> +Reimplemented from <a class="el" href="a02149.html#NLAIAGENT_1_1VectorTypea55">NLAIAGENT::IObjectIA</a>. +<p> +Definition at line <a class="el" href="a05847.html#l00974">974</a> of file <a class="el" href="a05847.html">interpret_object_agent.cpp</a>. +<p> +References <a class="el" href="a05848.html#l00160">NLAISCRIPT::CAgentClass::_VTable</a>, <a class="el" href="a02151.html#NLAICHARACTER_1_1IZonea7">NLAIC::IBasicType::getDebugString()</a>, <a class="el" href="a05646.html#l00225">index</a>, <a class="el" href="a05846.html#l00049">NLAISCRIPT::CComponent::ObjectName</a>, <a class="el" href="a05846.html#l00047">NLAISCRIPT::CComponent::RegisterName</a>, <a class="el" href="a05981.html#l00099">sint32</a>, and <a class="el" href="a05846.html#l00051">NLAISCRIPT::CComponent::StaticValue</a>. +<p> +<div class="fragment"><pre>00975 { +00976 <span class="preprocessor">#ifdef NL_DEBUG</span> +00977 <span class="preprocessor"></span> std::string buf; +00978 obj-><a class="code" href="a02151.html#NLAICHARACTER_1_1IZonea7">getDebugString</a>(buf); +00979 <span class="preprocessor">#endif</span> +00980 <span class="preprocessor"></span> <a class="code" href="a04558.html#a10">sint32</a> nb_components = 0; +00981 std::vector<const CAgentClass *>::const_iterator it_bc = _VTable.begin(); +00982 <span class="keywordflow">while</span> ( it_bc != _VTable.end() && nb_components <= <a class="code" href="a04223.html#a566">index</a> ) +00983 { +00984 nb_components = nb_components + (*it_bc)->getStaticMemberSize(); +00985 it_bc++; +00986 } +00987 it_bc--; +00988 CComponent *component = (*it_bc)->getComponent( index - ( nb_components - (*it_bc)->getStaticMemberSize() ) ); +00989 <span class="preprocessor">#ifdef NL_DEBUG</span> +00990 <span class="preprocessor"></span> std::string buf2, buf3; +00991 component->RegisterName->getDebugString(buf2); +00992 component->ObjectName->getDebugString(buf3); +00993 <span class="preprocessor">#endif</span> +00994 <span class="preprocessor"></span> +00995 <span class="keywordflow">if</span>(component->StaticValue != obj ) component->StaticValue = obj; +00996 <span class="keywordflow">return</span> <span class="keyword">false</span>; +00997 <span class="keywordflow">return</span> <span class="keyword">true</span>; +00998 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAISCRIPT_1_1IClassInterpreta55" doxytag="NLAISCRIPT::COperatorClass::setType" ></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 NLAISCRIPT::IClassInterpret::setType </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const <a class="el" href="a02661.html">NLAIAGENT::IVarName</a> & </td> + <td class="mdname" nowrap>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>const <a class="el" href="a02169.html">IClassInterpret</a> & </td> + <td class="mdname" nowrap></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05845.html#l00090">90</a> of file <a class="el" href="a05845.html">interpret_object.cpp</a>. +<p> +References <a class="el" href="a05846.html#l00098">NLAISCRIPT::IClassInterpret::_IdType</a>, <a class="el" href="a02661.html#NLAIAGENT_1_1IVarNamea6">NLAIAGENT::IVarName::getString()</a>, and <a class="el" href="a05386.html#l00086">NLAIC::IPointerGestion::release()</a>. +<p> +<div class="fragment"><pre>00091 { +00092 <span class="keywordflow">if</span>(<a class="code" href="a02169.html#NLAISCRIPT_1_1IClassInterpretp0">_IdType</a> != NULL) <a class="code" href="a02169.html#NLAISCRIPT_1_1IClassInterpretp0">_IdType</a>-><a class="code" href="a02145.html#NLAIAGENT_1_1VectorTypea46">release</a>(); +00093 <a class="code" href="a02169.html#NLAISCRIPT_1_1IClassInterpretp0">_IdType</a> = <span class="keyword">new</span> <a class="code" href="a02650.html">NLAIC::CIdentType</a>( name.<a class="code" href="a02661.html#NLAIAGENT_1_1IVarNamea6">getString</a>(), CClassInterpretFactory( <span class="keyword">this</span> ), <a class="code" href="a03625.html#NLAIC_1_1CTypeOfObjectw11NLAIC_1_1CTypeOfObjectw1">NLAIC::CTypeOfObject::tAgent</a>, 0); +00094 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAISCRIPT_1_1IClassInterpreta56" doxytag="NLAISCRIPT::COperatorClass::setType" ></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 NLAISCRIPT::IClassInterpret::setType </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a02650.html">NLAIC::CIdentType</a> * </td> + <td class="mdname1" valign="top" nowrap> <em>idType</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05845.html#l00083">83</a> of file <a class="el" href="a05845.html">interpret_object.cpp</a>. +<p> +References <a class="el" href="a05846.html#l00098">NLAISCRIPT::IClassInterpret::_IdType</a>, and <a class="el" href="a05386.html#l00086">NLAIC::IPointerGestion::release()</a>. +<p> +Referenced by <a class="el" href="a05847.html#l00039">NLAISCRIPT::CAgentClass::CAgentClass()</a>, and <a class="el" href="a06755.html#l00539">NLAISCRIPT::CCompilateur::RegisterClass()</a>. +<p> +<div class="fragment"><pre>00084 { +00085 <span class="keywordflow">if</span>(<a class="code" href="a02169.html#NLAISCRIPT_1_1IClassInterpretp0">_IdType</a> != NULL) <a class="code" href="a02169.html#NLAISCRIPT_1_1IClassInterpretp0">_IdType</a>-><a class="code" href="a02145.html#NLAIAGENT_1_1VectorTypea46">release</a>(); +00086 <a class="code" href="a02169.html#NLAISCRIPT_1_1IClassInterpretp0">_IdType</a> = idType; +00087 <span class="comment">//_IdType->incRef();</span> +00088 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAISCRIPT_1_1COperatorClassa110" doxytag="NLAISCRIPT::COperatorClass::setUpdateEvery" ></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"> virtual void NLAISCRIPT::COperatorClass::setUpdateEvery </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a10">sint32</a> </td> + <td class="mdname1" valign="top" nowrap> <em>cycles</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline, virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05856.html#l00233">233</a> of file <a class="el" href="a05856.html">interpret_object_operator.h</a>. +<p> +References <a class="el" href="a05856.html#l00064">_UpdateCycles</a>, and <a class="el" href="a05981.html#l00099">sint32</a>. +<p> +<div class="fragment"><pre>00234 { +00235 <a class="code" href="a03025.html#NLAISCRIPT_1_1COperatorClassr16">_UpdateCycles</a> = cycles; +00236 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAISCRIPT_1_1CSuccessMsgClassz1840_3" doxytag="NLAISCRIPT::COperatorClass::sizeVTable" ></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#a10">sint32</a> NLAISCRIPT::CAgentClass::sizeVTable </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Build the table that translates an agent's message processing function index into it's child equivalent message processing function index.<p> +Builds components included inherited ones<p> +Counts the number of scripted components +<p> +Implements <a class="el" href="a02169.html#NLAISCRIPT_1_1IClassInterpreta57">NLAISCRIPT::IClassInterpret</a>. +<p> +Definition at line <a class="el" href="a05847.html#l00721">721</a> of file <a class="el" href="a05847.html">interpret_object_agent.cpp</a>. +<p> +References <a class="el" href="a05848.html#l00160">NLAISCRIPT::CAgentClass::_VTable</a>, and <a class="el" href="a05981.html#l00099">sint32</a>. +<p> +Referenced by <a class="el" href="a05847.html#l00649">NLAISCRIPT::CAgentClass::buildVMethode()</a>, <a class="el" href="a06030.html#l00088">NLAIAGENT::CMessageScript::getMethode()</a>, and <a class="el" href="a05412.html#l00558">NLAIAGENT::CAgentScript::getMethode()</a>. +<p> +<div class="fragment"><pre>00722 { +00723 <span class="keywordflow">return</span> _VTable.size(); +00724 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAISCRIPT_1_1COperatorClassa111" doxytag="NLAISCRIPT::COperatorClass::success" ></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 NLAISCRIPT::COperatorClass::success </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a02288.html">NLAILOGIC::IBaseOperator</a> * </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Dependencies failure and success notification These functions are called by other operators or goals who failed or succeeded +<p> +Definition at line <a class="el" href="a05854.html#l00463">463</a> of file <a class="el" href="a05854.html">logic/interpret_object_operator.cpp</a>. +<p> +<div class="fragment"><pre>00464 { +00465 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAISCRIPT_1_1COperatorClassa112" doxytag="NLAISCRIPT::COperatorClass::success" ></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 NLAISCRIPT::COperatorClass::success </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Own success and failure functions These functions tell other operators and goals that might be waiting for the completion of this one +<p> +Definition at line <a class="el" href="a05854.html#l00455">455</a> of file <a class="el" href="a05854.html">logic/interpret_object_operator.cpp</a>. +<p> +<div class="fragment"><pre>00456 { +00457 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAISCRIPT_1_1COperatorClassa113" doxytag="NLAISCRIPT::COperatorClass::test" ></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"> virtual std::list<<a class="el" href="a02499.html">NLAILOGIC::CFact</a> *>* NLAISCRIPT::COperatorClass::test </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">std::list< <a class="el" href="a02499.html">NLAILOGIC::CFact</a> * > & </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline, virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05856.html#l00101">101</a> of file <a class="el" href="a05856.html">interpret_object_operator.h</a>. +<p> +<div class="fragment"><pre>00101 {<span class="keywordflow">return</span> NULL;} +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAISCRIPT_1_1COperatorClassa114" doxytag="NLAISCRIPT::COperatorClass::unifyBackward" ></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="a02500.html">NLAILOGIC::CValueSet</a> * NLAISCRIPT::COperatorClass::unifyBackward </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">std::list< <a class="el" href="a02499.html">NLAILOGIC::CFact</a> * > & </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05854.html#l00246">246</a> of file <a class="el" href="a05854.html">logic/interpret_object_operator.cpp</a>. +<p> +References <a class="el" href="a05856.html#l00051">_Concs</a>, <a class="el" href="a05854.html#l00441">getAssertPos()</a>, <a class="el" href="a05386.html#l00086">NLAIC::IPointerGestion::release()</a>, and <a class="el" href="a05981.html#l00099">sint32</a>. +<p> +Referenced by <a class="el" href="a05854.html#l00334">backward()</a>. +<p> +<div class="fragment"><pre>00247 { +00248 <a class="code" href="a02500.html">NLAILOGIC::CValueSet</a> *unified = <span class="keyword">new</span> <a class="code" href="a02500.html">NLAILOGIC::CValueSet</a>( <a class="code" href="a03025.html#NLAISCRIPT_1_1COperatorClassr17">_Vars</a>.size() ); +00249 std::list<NLAILOGIC::CFact *>::iterator it_f = facts.begin(); +00250 <span class="keywordflow">while</span> ( it_f != facts.end() ) +00251 { +00252 std::vector<sint32> pos_assert; +00253 <a class="code" href="a03025.html#NLAISCRIPT_1_1COperatorClassa31">getAssertPos</a>( (*it_f)->getAssert(), <a class="code" href="a03025.html#NLAISCRIPT_1_1COperatorClassr1">_Concs</a>, pos_assert ); +00254 <span class="keywordflow">for</span> (<a class="code" href="a04558.html#a10">sint32</a> pos = 0; pos < (<a class="code" href="a04558.html#a10">sint32</a>) pos_assert.size(); pos++) +00255 { +00256 <span class="keywordflow">for</span> ( <a class="code" href="a04558.html#a10">sint32</a> ivar = 0; ivar < (<a class="code" href="a04558.html#a10">sint32</a>) <a class="code" href="a03025.html#NLAISCRIPT_1_1COperatorClassr7">_PosVarsConc</a>[ pos_assert[pos] ].size(); ivar++ ) +00257 { +00258 <a class="code" href="a04558.html#a10">sint32</a> l_pos = <a class="code" href="a03025.html#NLAISCRIPT_1_1COperatorClassr7">_PosVarsConc</a>[ pos_assert[pos] ][ivar]; +00259 +00260 <a class="code" href="a02149.html">NLAIAGENT::IObjectIA</a> *l_val = (*unified)[ l_pos ]; +00261 <a class="code" href="a02149.html">NLAIAGENT::IObjectIA</a> *r_val = (**it_f)[ ivar ]; +00262 +00263 <span class="keywordflow">if</span> ( !l_val ) +00264 { +00265 <span class="keywordflow">if</span> ( r_val ) +00266 { +00267 unified->setValue( l_pos, r_val ); +00268 } +00269 } +00270 <span class="keywordflow">else</span> +00271 { +00272 <span class="keywordflow">if</span> ( r_val && ( l_val != r_val ) ) +00273 { +00274 unified-><a class="code" href="a02145.html#NLAIAGENT_1_1VectorTypea46">release</a>(); +00275 <span class="keywordflow">return</span> NULL; +00276 } +00277 } +00278 } +00279 } +00280 it_f++; +00281 } +00282 <span class="keywordflow">return</span> unified; +00283 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAISCRIPT_1_1COperatorClassa115" doxytag="NLAISCRIPT::COperatorClass::unifyForward" ></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="a02500.html">NLAILOGIC::CValueSet</a> * NLAISCRIPT::COperatorClass::unifyForward </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">std::list< <a class="el" href="a02499.html">NLAILOGIC::CFact</a> * > & </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05854.html#l00285">285</a> of file <a class="el" href="a05854.html">logic/interpret_object_operator.cpp</a>. +<p> +References <a class="el" href="a05854.html#l00441">getAssertPos()</a>, <a class="el" href="a05386.html#l00086">NLAIC::IPointerGestion::release()</a>, and <a class="el" href="a05981.html#l00099">sint32</a>. +<p> +Referenced by <a class="el" href="a05854.html#l00350">forward()</a>. +<p> +<div class="fragment"><pre>00286 { +00287 <a class="code" href="a02500.html">NLAILOGIC::CValueSet</a> *unified = <span class="keyword">new</span> <a class="code" href="a02500.html">NLAILOGIC::CValueSet</a>( <a class="code" href="a03025.html#NLAISCRIPT_1_1COperatorClassr17">_Vars</a>.size() ); +00288 std::list<NLAILOGIC::CFact *>::iterator it_f = facts.begin(); +00289 <span class="keywordflow">while</span> ( it_f != facts.end() ) +00290 { +00291 std::vector<sint32> pos_assert; +00292 <a class="code" href="a03025.html#NLAISCRIPT_1_1COperatorClassa31">getAssertPos</a>( (*it_f)->getAssert(), <a class="code" href="a03025.html#NLAISCRIPT_1_1COperatorClassr2">_Conds</a>, pos_assert ); +00293 <span class="keywordflow">for</span> (<a class="code" href="a04558.html#a10">sint32</a> pos = 0; pos < (<a class="code" href="a04558.html#a10">sint32</a>) pos_assert.size(); pos++) +00294 { +00295 <span class="keywordflow">for</span> ( <a class="code" href="a04558.html#a10">sint32</a> ivar = 0; ivar < (<a class="code" href="a04558.html#a10">sint32</a>) <a class="code" href="a03025.html#NLAISCRIPT_1_1COperatorClassr8">_PosVarsCond</a>[ pos_assert[pos] ].size(); ivar++ ) +00296 { +00297 <a class="code" href="a04558.html#a10">sint32</a> l_pos = <a class="code" href="a03025.html#NLAISCRIPT_1_1COperatorClassr8">_PosVarsCond</a>[ pos_assert[pos] ][ivar]; +00298 +00299 <a class="code" href="a02149.html">NLAIAGENT::IObjectIA</a> *l_val = (*unified)[ l_pos ]; +00300 <a class="code" href="a02149.html">NLAIAGENT::IObjectIA</a> *r_val = (**it_f)[ ivar ]; +00301 +00302 <span class="keywordflow">if</span> ( !l_val ) +00303 { +00304 <span class="keywordflow">if</span> ( r_val ) +00305 { +00306 unified->setValue( l_pos, r_val ); +00307 } +00308 } +00309 <span class="keywordflow">else</span> +00310 { +00311 <span class="keywordflow">if</span> ( r_val && ( l_val != r_val ) ) +00312 { +00313 unified-><a class="code" href="a02145.html#NLAIAGENT_1_1VectorTypea46">release</a>(); +00314 <span class="keywordflow">return</span> NULL; +00315 } +00316 } +00317 } +00318 } +00319 it_f++; +00320 } +00321 <span class="keywordflow">return</span> unified; +00322 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAISCRIPT_1_1COperatorClassa116" doxytag="NLAISCRIPT::COperatorClass::unifyLiaison" ></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="a02500.html">NLAILOGIC::CValueSet</a> * NLAISCRIPT::COperatorClass::unifyLiaison </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const <a class="el" href="a02500.html">NLAILOGIC::CValueSet</a> * </td> + <td class="mdname" nowrap>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a02500.html">NLAILOGIC::CValueSet</a> * </td> + <td class="mdname" nowrap>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>std::vector< <a class="el" href="a04558.html#a10">sint32</a> > & </td> + <td class="mdname" nowrap></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Tries to unify an instaciation of the operator's variables with a new CFact. +<p> + +<p> +Definition at line <a class="el" href="a05854.html#l00428">428</a> of file <a class="el" href="a05854.html">logic/interpret_object_operator.cpp</a>. +<p> +References <a class="el" href="a06658.html#l00155">NLAILOGIC::CValueSet::unify()</a>. +<p> +<div class="fragment"><pre>00429 { +00430 <a class="code" href="a02500.html">NLAILOGIC::CValueSet</a> *result; +00431 +00432 <span class="keywordflow">if</span> ( (result = fp-><a class="code" href="a02500.html#NLAILOGIC_1_1CValueSeta69">unify</a>( vals, pos_vals )) ) +00433 <span class="keywordflow">return</span> result; +00434 <span class="keywordflow">else</span> +00435 { +00436 <span class="keyword">delete</span> result; +00437 <span class="keywordflow">return</span> NULL; +00438 } +00439 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAISCRIPT_1_1CSuccessMsgClassa59" doxytag="NLAISCRIPT::COperatorClass::updateStaticMember" ></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 NLAISCRIPT::CAgentClass::updateStaticMember </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a10">sint32</a> </td> + <td class="mdname" nowrap>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a02149.html">NLAIAGENT::IObjectIA</a> * </td> + <td class="mdname" nowrap></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05847.html#l01000">1000</a> of file <a class="el" href="a05847.html">interpret_object_agent.cpp</a>. +<p> +References <a class="el" href="a05848.html#l00160">NLAISCRIPT::CAgentClass::_VTable</a>, <a class="el" href="a02151.html#NLAICHARACTER_1_1IZonea7">NLAIC::IBasicType::getDebugString()</a>, <a class="el" href="a05646.html#l00225">index</a>, <a class="el" href="a05846.html#l00049">NLAISCRIPT::CComponent::ObjectName</a>, <a class="el" href="a05846.html#l00047">NLAISCRIPT::CComponent::RegisterName</a>, <a class="el" href="a05981.html#l00099">sint32</a>, and <a class="el" href="a05846.html#l00051">NLAISCRIPT::CComponent::StaticValue</a>. +<p> +Referenced by <a class="el" href="a05412.html#l01698">NLAIAGENT::CAgentScript::runMethodBase()</a>. +<p> +<div class="fragment"><pre>01001 { +01002 <span class="preprocessor">#ifdef NL_DEBUG</span> +01003 <span class="preprocessor"></span> std::string buf; +01004 obj-><a class="code" href="a02151.html#NLAICHARACTER_1_1IZonea7">getDebugString</a>(buf); +01005 <span class="preprocessor">#endif</span> +01006 <span class="preprocessor"></span> <a class="code" href="a04558.html#a10">sint32</a> nb_components = 0; +01007 std::vector<const CAgentClass *>::const_iterator it_bc = _VTable.begin(); +01008 <span class="keywordflow">while</span> ( it_bc != _VTable.end() && nb_components <= <a class="code" href="a04223.html#a566">index</a> ) +01009 { +01010 nb_components = nb_components + (*it_bc)->getStaticMemberSize(); +01011 it_bc++; +01012 } +01013 it_bc--; +01014 CComponent *component = (*it_bc)->getComponent( index - ( nb_components - (*it_bc)->getStaticMemberSize() ) ); +01015 <span class="preprocessor">#ifdef NL_DEBUG</span> +01016 <span class="preprocessor"></span> std::string buf2, buf3; +01017 component->RegisterName->getDebugString(buf2); +01018 component->ObjectName->getDebugString(buf3); +01019 <span class="preprocessor">#endif</span> +01020 <span class="preprocessor"></span> +01021 (*component->StaticValue) = *obj; +01022 } +</pre></div> </td> + </tr> +</table> +<hr><h2>Field Documentation</h2> +<a class="anchor" name="NLAISCRIPT_1_1COperatorClasso0" doxytag="NLAISCRIPT::COperatorClass::_BooleanConcs" ></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::list<const <a class="el" href="a02661.html">NLAIAGENT::IVarName</a> *> <a class="el" href="a03025.html#NLAISCRIPT_1_1COperatorClasso0">NLAISCRIPT::COperatorClass::_BooleanConcs</a> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05856.html#l00144">144</a> of file <a class="el" href="a05856.html">interpret_object_operator.h</a>. +<p> +Referenced by <a class="el" href="a05854.html#l00638">addBoolConc()</a>. </td> + </tr> +</table> +<a class="anchor" name="NLAISCRIPT_1_1COperatorClasso1" doxytag="NLAISCRIPT::COperatorClass::_BooleanConds" ></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::list<const <a class="el" href="a02661.html">NLAIAGENT::IVarName</a> *> <a class="el" href="a03025.html#NLAISCRIPT_1_1COperatorClasso1">NLAISCRIPT::COperatorClass::_BooleanConds</a> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Initialisation from the grammar +<p> +Definition at line <a class="el" href="a05856.html#l00143">143</a> of file <a class="el" href="a05856.html">interpret_object_operator.h</a>. +<p> +Referenced by <a class="el" href="a05854.html#l00633">addBoolCond()</a>. </td> + </tr> +</table> +<a class="anchor" name="NLAISCRIPT_1_1COperatorClasso2" doxytag="NLAISCRIPT::COperatorClass::_ClassConcVars" ></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::vector< std::list<const <a class="el" href="a02661.html">NLAIAGENT::IVarName</a> *> *> <a class="el" href="a03025.html#NLAISCRIPT_1_1COperatorClasso2">NLAISCRIPT::COperatorClass::_ClassConcVars</a> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05856.html#l00148">148</a> of file <a class="el" href="a05856.html">interpret_object_operator.h</a>. +<p> +Referenced by <a class="el" href="a05854.html#l00620">addFirstOrderConc()</a>, <a class="el" href="a05854.html#l00657">buildLogicTables()</a>, and <a class="el" href="a05854.html#l00830">initialiseFactBase()</a>. </td> + </tr> +</table> +<a class="anchor" name="NLAISCRIPT_1_1COperatorClasso3" doxytag="NLAISCRIPT::COperatorClass::_ClassCondVars" ></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::vector< std::list<const <a class="el" href="a02661.html">NLAIAGENT::IVarName</a> *> *> <a class="el" href="a03025.html#NLAISCRIPT_1_1COperatorClasso3">NLAISCRIPT::COperatorClass::_ClassCondVars</a> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05856.html#l00147">147</a> of file <a class="el" href="a05856.html">interpret_object_operator.h</a>. +<p> +Referenced by <a class="el" href="a05854.html#l00657">buildLogicTables()</a>, and <a class="el" href="a05854.html#l00830">initialiseFactBase()</a>. </td> + </tr> +</table> +<a class="anchor" name="NLAISCRIPT_1_1COperatorClassr0" doxytag="NLAISCRIPT::COperatorClass::_Comment" ></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"> char* <a class="el" href="a03025.html#NLAISCRIPT_1_1COperatorClassr0">NLAISCRIPT::COperatorClass::_Comment</a><code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05856.html#l00059">59</a> of file <a class="el" href="a05856.html">interpret_object_operator.h</a>. +<p> +Referenced by <a class="el" href="a05854.html#l00056">COperatorClass()</a>. </td> + </tr> +</table> +<a class="anchor" name="NLAISCRIPT_1_1COperatorClasso4" doxytag="NLAISCRIPT::COperatorClass::_ConcAsserts" ></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::vector<const <a class="el" href="a02661.html">NLAIAGENT::IVarName</a> *> <a class="el" href="a03025.html#NLAISCRIPT_1_1COperatorClasso4">NLAISCRIPT::COperatorClass::_ConcAsserts</a> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05856.html#l00146">146</a> of file <a class="el" href="a05856.html">interpret_object_operator.h</a>. +<p> +Referenced by <a class="el" href="a05854.html#l00620">addFirstOrderConc()</a>, <a class="el" href="a05854.html#l00657">buildLogicTables()</a>, and <a class="el" href="a05854.html#l00830">initialiseFactBase()</a>. </td> + </tr> +</table> +<a class="anchor" name="NLAISCRIPT_1_1COperatorClasso5" doxytag="NLAISCRIPT::COperatorClass::_ConcCode" ></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::vector< <a class="el" href="a03846.html">IOpCode</a> *> <a class="el" href="a03025.html#NLAISCRIPT_1_1COperatorClasso5">NLAISCRIPT::COperatorClass::_ConcCode</a> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05856.html#l00150">150</a> of file <a class="el" href="a05856.html">interpret_object_operator.h</a>. +<p> +Referenced by <a class="el" href="a05854.html#l00801">activatePostConditions()</a>, <a class="el" href="a05854.html#l00651">addCodeConc()</a>, and <a class="el" href="a05854.html#l00094">~COperatorClass()</a>. </td> + </tr> +</table> +<a class="anchor" name="NLAISCRIPT_1_1COperatorClassr1" doxytag="NLAISCRIPT::COperatorClass::_Concs" ></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::vector<<a class="el" href="a02284.html">NLAILOGIC::IBaseAssert</a> *> <a class="el" href="a03025.html#NLAISCRIPT_1_1COperatorClassr1">NLAISCRIPT::COperatorClass::_Concs</a><code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Pos of a precondition pattern's vars in the operator's vars table. +<p> + +<p> +Definition at line <a class="el" href="a05856.html#l00051">51</a> of file <a class="el" href="a05856.html">interpret_object_operator.h</a>. +<p> +Referenced by <a class="el" href="a05854.html#l00490">addPostcondition()</a>, <a class="el" href="a05854.html#l00350">forward()</a>, <a class="el" href="a05856.html#l00213">getConcs()</a>, and <a class="el" href="a05854.html#l00246">unifyBackward()</a>. </td> + </tr> +</table> +<a class="anchor" name="NLAISCRIPT_1_1COperatorClasso6" doxytag="NLAISCRIPT::COperatorClass::_CondAsserts" ></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::vector<const <a class="el" href="a02661.html">NLAIAGENT::IVarName</a> *> <a class="el" href="a03025.html#NLAISCRIPT_1_1COperatorClasso6">NLAISCRIPT::COperatorClass::_CondAsserts</a> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05856.html#l00145">145</a> of file <a class="el" href="a05856.html">interpret_object_operator.h</a>. +<p> +Referenced by <a class="el" href="a05854.html#l00657">buildLogicTables()</a>, and <a class="el" href="a05854.html#l00830">initialiseFactBase()</a>. </td> + </tr> +</table> +<a class="anchor" name="NLAISCRIPT_1_1COperatorClasso7" doxytag="NLAISCRIPT::COperatorClass::_CondCode" ></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::vector< <a class="el" href="a03846.html">IOpCode</a> *> <a class="el" href="a03025.html#NLAISCRIPT_1_1COperatorClasso7">NLAISCRIPT::COperatorClass::_CondCode</a> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05856.html#l00149">149</a> of file <a class="el" href="a05856.html">interpret_object_operator.h</a>. +<p> +Referenced by <a class="el" href="a05854.html#l00645">addCodeCond()</a>, <a class="el" href="a05854.html#l00743">isValidFonc()</a>, and <a class="el" href="a05854.html#l00094">~COperatorClass()</a>. </td> + </tr> +</table> +<a class="anchor" name="NLAISCRIPT_1_1COperatorClassr2" doxytag="NLAISCRIPT::COperatorClass::_Conds" ></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::vector< <a class="el" href="a02284.html">NLAILOGIC::IBaseAssert</a> *> <a class="el" href="a03025.html#NLAISCRIPT_1_1COperatorClassr2">NLAISCRIPT::COperatorClass::_Conds</a><code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Variables of the operator. +<p> + +<p> +Definition at line <a class="el" href="a05856.html#l00048">48</a> of file <a class="el" href="a05856.html">interpret_object_operator.h</a>. </td> + </tr> +</table> +<a class="anchor" name="NLAISCRIPT_1_1COperatorClasso8" doxytag="NLAISCRIPT::COperatorClass::_FactBase" ></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="a02501.html">NLAILOGIC::CFactBase</a>* <a class="el" href="a03025.html#NLAISCRIPT_1_1COperatorClasso8">NLAISCRIPT::COperatorClass::_FactBase</a> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05856.html#l00152">152</a> of file <a class="el" href="a05856.html">interpret_object_operator.h</a>. +<p> +Referenced by <a class="el" href="a05854.html#l00056">COperatorClass()</a>. </td> + </tr> +</table> +<a class="anchor" name="NLAISCRIPT_1_1COperatorClasso9" doxytag="NLAISCRIPT::COperatorClass::_FuzzySets" ></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::vector<<a class="el" href="a02661.html">NLAIAGENT::IVarName</a> *> <a class="el" href="a03025.html#NLAISCRIPT_1_1COperatorClasso9">NLAISCRIPT::COperatorClass::_FuzzySets</a> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05856.html#l00155">155</a> of file <a class="el" href="a05856.html">interpret_object_operator.h</a>. +<p> +Referenced by <a class="el" href="a05854.html#l00875">addFuzzyCond()</a>, <a class="el" href="a05856.html#l00198">getFuzzySets()</a>, and <a class="el" href="a05854.html#l00094">~COperatorClass()</a>. </td> + </tr> +</table> +<a class="anchor" name="NLAISCRIPT_1_1COperatorClasso10" doxytag="NLAISCRIPT::COperatorClass::_FuzzyVars" ></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::vector<<a class="el" href="a02661.html">NLAIAGENT::IVarName</a> *> <a class="el" href="a03025.html#NLAISCRIPT_1_1COperatorClasso10">NLAISCRIPT::COperatorClass::_FuzzyVars</a> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05856.html#l00154">154</a> of file <a class="el" href="a05856.html">interpret_object_operator.h</a>. +<p> +Referenced by <a class="el" href="a05854.html#l00875">addFuzzyCond()</a>, <a class="el" href="a05856.html#l00193">getFuzzyVars()</a>, and <a class="el" href="a05854.html#l00094">~COperatorClass()</a>. </td> + </tr> +</table> +<a class="anchor" name="NLAISCRIPT_1_1COperatorClassr3" doxytag="NLAISCRIPT::COperatorClass::_Goal" ></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="a02594.html">NLAILOGIC::CGoal</a>* <a class="el" href="a03025.html#NLAISCRIPT_1_1COperatorClassr3">NLAISCRIPT::COperatorClass::_Goal</a><code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05856.html#l00040">40</a> of file <a class="el" href="a05856.html">interpret_object_operator.h</a>. +<p> +Referenced by <a class="el" href="a05854.html#l00023">COperatorClass()</a>, <a class="el" href="a05854.html#l00471">getGoal()</a>, <a class="el" href="a05854.html#l00692">setGoal()</a>, and <a class="el" href="a05854.html#l00094">~COperatorClass()</a>. </td> + </tr> +</table> +<a class="anchor" name="NLAISCRIPT_1_1COperatorClassr4" doxytag="NLAISCRIPT::COperatorClass::_GoalAssert" ></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"> const <a class="el" href="a02661.html">NLAIAGENT::IVarName</a>* <a class="el" href="a03025.html#NLAISCRIPT_1_1COperatorClassr4">NLAISCRIPT::COperatorClass::_GoalAssert</a><code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Goal the operator tris to validate. +<p> + +<p> +Definition at line <a class="el" href="a05856.html#l00042">42</a> of file <a class="el" href="a05856.html">interpret_object_operator.h</a>. +<p> +Referenced by <a class="el" href="a05854.html#l00698">setGoal()</a>. </td> + </tr> +</table> +<a class="anchor" name="NLAISCRIPT_1_1COperatorClassr5" doxytag="NLAISCRIPT::COperatorClass::_GoalPosVar" ></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::vector<<a class="el" href="a04558.html#a10">sint32</a>> <a class="el" href="a03025.html#NLAISCRIPT_1_1COperatorClassr5">NLAISCRIPT::COperatorClass::_GoalPosVar</a><code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Name of the goal's vars. +<p> + +<p> +Definition at line <a class="el" href="a05856.html#l00044">44</a> of file <a class="el" href="a05856.html">interpret_object_operator.h</a>. +<p> +Referenced by <a class="el" href="a05856.html#l00228">getGoalVarPos()</a>, and <a class="el" href="a05854.html#l00698">setGoal()</a>. </td> + </tr> +</table> +<a class="anchor" name="NLAISCRIPT_1_1COperatorClassr6" doxytag="NLAISCRIPT::COperatorClass::_GoalVars" ></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::list<const <a class="el" href="a02661.html">NLAIAGENT::IVarName</a> *> <a class="el" href="a03025.html#NLAISCRIPT_1_1COperatorClassr6">NLAISCRIPT::COperatorClass::_GoalVars</a><code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Name of the goal's assert. +<p> + +<p> +Definition at line <a class="el" href="a05856.html#l00043">43</a> of file <a class="el" href="a05856.html">interpret_object_operator.h</a>. +<p> +Referenced by <a class="el" href="a05854.html#l00698">setGoal()</a>. </td> + </tr> +</table> +<a class="anchor" name="NLAISCRIPT_1_1IClassInterpretp0" doxytag="NLAISCRIPT::COperatorClass::_IdType" ></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="a02650.html">NLAIC::CIdentType</a>* <a class="el" href="a02169.html#NLAISCRIPT_1_1IClassInterpretp0">NLAISCRIPT::IClassInterpret::_IdType</a><code> [protected, inherited]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Type of the class. +<p> + +<p> +Definition at line <a class="el" href="a05846.html#l00098">98</a> of file <a class="el" href="a05846.html">interpret_object.h</a>. +<p> +Referenced by <a class="el" href="a05845.html#l00078">NLAISCRIPT::IClassInterpret::getType()</a>, <a class="el" href="a05845.html#l00056">NLAISCRIPT::IClassInterpret::IClassInterpret()</a>, <a class="el" href="a05845.html#l00083">NLAISCRIPT::IClassInterpret::setType()</a>, and <a class="el" href="a05845.html#l00065">NLAISCRIPT::IClassInterpret::~IClassInterpret()</a>. </td> + </tr> +</table> +<a class="anchor" name="NLAISCRIPT_1_1COperatorClassr7" doxytag="NLAISCRIPT::COperatorClass::_PosVarsConc" ></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::vector< std::vector<<a class="el" href="a04558.html#a10">sint32</a>> > <a class="el" href="a03025.html#NLAISCRIPT_1_1COperatorClassr7">NLAISCRIPT::COperatorClass::_PosVarsConc</a><code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Postconditions asserts. +<p> + +<p> +Definition at line <a class="el" href="a05856.html#l00052">52</a> of file <a class="el" href="a05856.html">interpret_object_operator.h</a>. </td> + </tr> +</table> +<a class="anchor" name="NLAISCRIPT_1_1COperatorClassr8" doxytag="NLAISCRIPT::COperatorClass::_PosVarsCond" ></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::vector< std::vector<<a class="el" href="a04558.html#a10">sint32</a>> > <a class="el" href="a03025.html#NLAISCRIPT_1_1COperatorClassr8">NLAISCRIPT::COperatorClass::_PosVarsCond</a><code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Preconditions asserts. +<p> + +<p> +Definition at line <a class="el" href="a05856.html#l00049">49</a> of file <a class="el" href="a05856.html">interpret_object_operator.h</a>. </td> + </tr> +</table> +<a class="anchor" name="NLAISCRIPT_1_1COperatorClassr9" doxytag="NLAISCRIPT::COperatorClass::_Priority" ></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"> float <a class="el" href="a03025.html#NLAISCRIPT_1_1COperatorClassr9">NLAISCRIPT::COperatorClass::_Priority</a><code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05856.html#l00066">66</a> of file <a class="el" href="a05856.html">interpret_object_operator.h</a>. +<p> +Referenced by <a class="el" href="a05854.html#l00056">COperatorClass()</a>. </td> + </tr> +</table> +<a class="anchor" name="NLAISCRIPT_1_1COperatorClassr10" doxytag="NLAISCRIPT::COperatorClass::_Steps" ></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::vector<<a class="el" href="a02594.html">NLAILOGIC::CGoal</a>> <a class="el" href="a03025.html#NLAISCRIPT_1_1COperatorClassr10">NLAISCRIPT::COperatorClass::_Steps</a><code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Description of the operator. +<p> + +<p> +Definition at line <a class="el" href="a05856.html#l00061">61</a> of file <a class="el" href="a05856.html">interpret_object_operator.h</a>. </td> + </tr> +</table> +<a class="anchor" name="NLAISCRIPT_1_1COperatorClassr11" doxytag="NLAISCRIPT::COperatorClass::_StepsMode" ></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::vector<<a class="el" href="a04558.html#a10">sint32</a>> <a class="el" href="a03025.html#NLAISCRIPT_1_1COperatorClassr11">NLAISCRIPT::COperatorClass::_StepsMode</a><code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05856.html#l00062">62</a> of file <a class="el" href="a05856.html">interpret_object_operator.h</a>. </td> + </tr> +</table> +<a class="anchor" name="NLAISCRIPT_1_1COperatorClassr12" doxytag="NLAISCRIPT::COperatorClass::_TrigMsgClass" ></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::vector<<a class="el" href="a02650.html">NLAIC::CIdentType</a>> <a class="el" href="a03025.html#NLAISCRIPT_1_1COperatorClassr12">NLAISCRIPT::COperatorClass::_TrigMsgClass</a><code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05856.html#l00055">55</a> of file <a class="el" href="a05856.html">interpret_object_operator.h</a>. +<p> +Referenced by <a class="el" href="a05854.html#l00930">checkTriggerMsg()</a>, and <a class="el" href="a05854.html#l00881">RegisterMessage()</a>. </td> + </tr> +</table> +<a class="anchor" name="NLAISCRIPT_1_1COperatorClassr13" doxytag="NLAISCRIPT::COperatorClass::_TrigMsgPerf" ></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::vector<<a class="el" href="a02325.html#NLAIAGENT_1_1IMessageBasew24">NLAIAGENT::IMessageBase::TPerformatif</a>> <a class="el" href="a03025.html#NLAISCRIPT_1_1COperatorClassr13">NLAISCRIPT::COperatorClass::_TrigMsgPerf</a><code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Pos of a postcondition pattern's vars in the operator's vars table. +<p> + +<p> +Definition at line <a class="el" href="a05856.html#l00054">54</a> of file <a class="el" href="a05856.html">interpret_object_operator.h</a>. +<p> +Referenced by <a class="el" href="a05854.html#l00930">checkTriggerMsg()</a>, <a class="el" href="a05856.html#l00255">NbMsgTrigger()</a>, and <a class="el" href="a05854.html#l00881">RegisterMessage()</a>. </td> + </tr> +</table> +<a class="anchor" name="NLAISCRIPT_1_1COperatorClassr14" doxytag="NLAISCRIPT::COperatorClass::_TrigMsgPos" ></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::vector<<a class="el" href="a04558.html#a10">sint32</a>> <a class="el" href="a03025.html#NLAISCRIPT_1_1COperatorClassr14">NLAISCRIPT::COperatorClass::_TrigMsgPos</a><code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05856.html#l00057">57</a> of file <a class="el" href="a05856.html">interpret_object_operator.h</a>. +<p> +Referenced by <a class="el" href="a05854.html#l00930">checkTriggerMsg()</a>, and <a class="el" href="a05854.html#l00881">RegisterMessage()</a>. </td> + </tr> +</table> +<a class="anchor" name="NLAISCRIPT_1_1COperatorClassr15" doxytag="NLAISCRIPT::COperatorClass::_TrigMsgVarname" ></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::vector<std::string> <a class="el" href="a03025.html#NLAISCRIPT_1_1COperatorClassr15">NLAISCRIPT::COperatorClass::_TrigMsgVarname</a><code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05856.html#l00056">56</a> of file <a class="el" href="a05856.html">interpret_object_operator.h</a>. +<p> +Referenced by <a class="el" href="a05854.html#l00881">RegisterMessage()</a>. </td> + </tr> +</table> +<a class="anchor" name="NLAISCRIPT_1_1COperatorClassr16" doxytag="NLAISCRIPT::COperatorClass::_UpdateCycles" ></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#a10">sint32</a> <a class="el" href="a03025.html#NLAISCRIPT_1_1COperatorClassr16">NLAISCRIPT::COperatorClass::_UpdateCycles</a><code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05856.html#l00064">64</a> of file <a class="el" href="a05856.html">interpret_object_operator.h</a>. +<p> +Referenced by <a class="el" href="a05854.html#l00023">COperatorClass()</a>, <a class="el" href="a05856.html#l00238">getUpdateEvery()</a>, and <a class="el" href="a05856.html#l00233">setUpdateEvery()</a>. </td> + </tr> +</table> +<a class="anchor" name="NLAISCRIPT_1_1COperatorClassr17" doxytag="NLAISCRIPT::COperatorClass::_Vars" ></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::vector<<a class="el" href="a02575.html">NLAILOGIC::IBaseVar</a> *> <a class="el" href="a03025.html#NLAISCRIPT_1_1COperatorClassr17">NLAISCRIPT::COperatorClass::_Vars</a><code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Pos of the goal's var in the operato's static components. +<p> + +<p> +Definition at line <a class="el" href="a05856.html#l00046">46</a> of file <a class="el" href="a05856.html">interpret_object_operator.h</a>. </td> + </tr> +</table> +<a class="anchor" name="NLAISCRIPT_1_1CSuccessMsgClasss0" doxytag="NLAISCRIPT::COperatorClass::IdAgentClass" ></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"> const <a class="el" href="a02650.html">NLAIC::CIdentType</a> <a class="el" href="a02167.html#NLAISCRIPT_1_1CSuccessMsgClasss0">NLAISCRIPT::CAgentClass::IdAgentClass</a><code> [static, inherited]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + </td> + </tr> +</table> +<a class="anchor" name="NLAISCRIPT_1_1COperatorClasss1" doxytag="NLAISCRIPT::COperatorClass::IdOperatorClass" ></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"> const <a class="el" href="a02650.html">NLAIC::CIdentType</a> <a class="el" href="a03025.html#NLAISCRIPT_1_1COperatorClasss1">NLAISCRIPT::COperatorClass::IdOperatorClass</a><code> [static]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1VectorTypes1" doxytag="NLAISCRIPT::COperatorClass::ProcessBuzzy" ></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"> TProcessStatement <a class="el" href="a02149.html#NLAIAGENT_1_1VectorTypes1">NLAIAGENT::IObjectIA::ProcessBuzzy</a> = processBuzzy<code> [static, inherited]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Define the an buzzy state for an agent all time in this state. +<p> +Definition at line <a class="el" href="a05475.html#l00147">147</a> of file <a class="el" href="a05475.html">baseai.cpp</a>. </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1VectorTypes2" doxytag="NLAISCRIPT::COperatorClass::ProcessEnd" ></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"> TProcessStatement <a class="el" href="a02149.html#NLAIAGENT_1_1VectorTypes2">NLAIAGENT::IObjectIA::ProcessEnd</a> = processEnd<code> [static, inherited]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Define the an end state for an agent all time in this state. +<p> +Definition at line <a class="el" href="a05475.html#l00148">148</a> of file <a class="el" href="a05475.html">baseai.cpp</a>. </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1VectorTypes3" doxytag="NLAISCRIPT::COperatorClass::ProcessError" ></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"> TProcessStatement <a class="el" href="a02149.html#NLAIAGENT_1_1VectorTypes3">NLAIAGENT::IObjectIA::ProcessError</a> = processError<code> [static, inherited]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Define the an error state for an agent all time in this state. +<p> +Definition at line <a class="el" href="a05475.html#l00149">149</a> of file <a class="el" href="a05475.html">baseai.cpp</a>. </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1VectorTypes4" doxytag="NLAISCRIPT::COperatorClass::ProcessIdle" ></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"> TProcessStatement <a class="el" href="a02149.html#NLAIAGENT_1_1VectorTypes4">NLAIAGENT::IObjectIA::ProcessIdle</a> = processIdle<code> [static, inherited]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Define the an idle state for an agent all time in this state. +<p> +Definition at line <a class="el" href="a05475.html#l00145">145</a> of file <a class="el" href="a05475.html">baseai.cpp</a>. </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1VectorTypes5" doxytag="NLAISCRIPT::COperatorClass::ProcessLocked" ></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"> TProcessStatement <a class="el" href="a02149.html#NLAIAGENT_1_1VectorTypes5">NLAIAGENT::IObjectIA::ProcessLocked</a> = processLocked<code> [static, inherited]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Define the an locked state for an agent all time in this state. +<p> +Definition at line <a class="el" href="a05475.html#l00146">146</a> of file <a class="el" href="a05475.html">baseai.cpp</a>. </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1VectorTypes6" doxytag="NLAISCRIPT::COperatorClass::ProcessNotComplit" ></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"> IObjectIA::CProcessResult <a class="el" href="a02149.html#NLAIAGENT_1_1VectorTypes6">NLAIAGENT::IObjectIA::ProcessNotComplit</a> = IObjectIA::CProcessResult(processNotComplete)<code> [static, inherited]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05475.html#l00144">144</a> of file <a class="el" href="a05475.html">baseai.cpp</a>. </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1VectorTypes7" doxytag="NLAISCRIPT::COperatorClass::ProcessRun" ></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"> IObjectIA::CProcessResult <a class="el" href="a02149.html#NLAIAGENT_1_1VectorTypes7">NLAIAGENT::IObjectIA::ProcessRun</a> = IObjectIA::CProcessResult()<code> [static, inherited]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05475.html#l00143">143</a> of file <a class="el" href="a05475.html">baseai.cpp</a>. </td> + </tr> +</table> +<hr>The documentation for this class was generated from the following files:<ul> +<li><a class="el" href="a05856.html">interpret_object_operator.h</a><li><a class="el" href="a05854.html">logic/interpret_object_operator.cpp</a><li><a class="el" href="a06432.html">static_def_init.cpp</a></ul> +<hr size="1"><address style="align: right;"><small>Generated on Tue Mar 16 12:19:04 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> |