diff options
Diffstat (limited to '')
-rw-r--r-- | docs/doxygen/nel/a03368.html | 5044 |
1 files changed, 5044 insertions, 0 deletions
diff --git a/docs/doxygen/nel/a03368.html b/docs/doxygen/nel/a03368.html new file mode 100644 index 00000000..49aa78df --- /dev/null +++ b/docs/doxygen/nel/a03368.html @@ -0,0 +1,5044 @@ +<!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::CSetValueMsgClass 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::CSetValueMsgClass Class Reference</h1><code>#include <<a class="el" href="a05842.html">interpret_message_setvalue.h</a>></code> +<p> +<p>Inheritance diagram for NLAISCRIPT::CSetValueMsgClass: +<p><center><img src="a03368.png" usemap="#NLAISCRIPT::CSetValueMsgClass_map" border="0" alt=""></center> +<map name="NLAISCRIPT::CSetValueMsgClass_map"> +<area href="a02329.html" alt="NLAISCRIPT::CMessageClass" shape="rect" coords="0,560,204,584"> +<area href="a02167.html" alt="NLAISCRIPT::CAgentClass" shape="rect" coords="0,504,204,528"> +<area href="a02168.html" alt="NLAISCRIPT::IAgentMultiClass" shape="rect" coords="0,448,204,472"> +<area href="a02169.html" alt="NLAISCRIPT::IClassInterpret" shape="rect" coords="0,392,204,416"> +<area href="a02149.html" alt="NLAIAGENT::IObjectIA" shape="rect" coords="0,336,204,360"> +<area href="a02153.html" alt="NLAIAGENT::IBasicObjectIA" shape="rect" coords="0,280,204,304"> +<area href="a02154.html" alt="NLAIC::IBasicInterface" shape="rect" coords="0,224,204,248"> +<area href="a02151.html" alt="NLAIC::IBasicType" shape="rect" coords="0,168,204,192"> +<area href="a02145.html" alt="NLAIC::IPointerGestion" shape="rect" coords="0,112,204,136"> +<area href="a02867.html" alt="NLMISC::IStreamable" shape="rect" coords="0,56,204,80"> +<area href="a02540.html" alt="NLMISC::IClassable" shape="rect" coords="0,0,204,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>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 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>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> </td><td class="memItemRight" valign=bottom><a class="el" href="a03368.html#NLAISCRIPT_1_1CSetValueMsgClassa4">CSetValueMsgClass</a> ()</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="a03368.html#NLAISCRIPT_1_1CSetValueMsgClassa5">CSetValueMsgClass</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="a03368.html#NLAISCRIPT_1_1CSetValueMsgClassa6">CSetValueMsgClass</a> (const <a class="el" href="a02661.html">NLAIAGENT::IVarName</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="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><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><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><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 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>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 <a class="el" href="a03625.html">NLAIC::CTypeOfObject</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02329.html#NLAISCRIPT_1_1CSuccessMsgClassa30">getTypeClass</a> () const </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>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 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>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 <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>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>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="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="a03368.html#NLAISCRIPT_1_1CSetValueMsgClassa60">~CSetValueMsgClass</a> ()</td></tr> + +<tr><td colspan="2"><div class="groupHeader">CAgentClass method.</div></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="a03368.html#NLAISCRIPT_1_1CSetValueMsgClassz1828_0">buildNewInstance</a> () const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Instanciates an object of the class. <a href="#NLAISCRIPT_1_1CSetValueMsgClassz1828_0"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual const <a class="el" href="a02151.html">NLAIC::IBasicType</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="a03368.html#NLAISCRIPT_1_1CSetValueMsgClassz1828_1">clone</a> () const </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="a03368.html#NLAISCRIPT_1_1CSetValueMsgClassz1828_2">getType</a> () const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual const <a class="el" href="a02151.html">NLAIC::IBasicType</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="a03368.html#NLAISCRIPT_1_1CSetValueMsgClassz1828_3">newInstance</a> () const </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="a02329.html#NLAISCRIPT_1_1CSuccessMsgClasss1">IdMessageClass</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="a03368.html#NLAISCRIPT_1_1CSetValueMsgClasss2">IdSetValueMsgClass</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> +</table> +<hr><h2>Constructor & Destructor Documentation</h2> +<a class="anchor" name="NLAISCRIPT_1_1CSetValueMsgClassa6" doxytag="NLAISCRIPT::CSetValueMsgClass::CSetValueMsgClass" ></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::CSetValueMsgClass::CSetValueMsgClass </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="a05841.html#l00033">33</a> of file <a class="el" href="a05841.html">interpret_message_setvalue.cpp</a>. +<p> +References <a class="el" href="a05847.html#l00641">NLAISCRIPT::CAgentClass::buildVTable()</a>, <a class="el" href="a05646.html#l00977">s</a>, <a class="el" href="a05848.html#l00083">NLAISCRIPT::IAgentMultiClass::setBaseObjectInstance()</a>, <a class="el" href="a05845.html#l00096">NLAISCRIPT::IClassInterpret::setClassName()</a>, and <a class="el" href="a05847.html#l00836">NLAISCRIPT::CAgentClass::setInheritanceName()</a>. +<p> +<div class="fragment"><pre>00033 :<a class="code" href="a02329.html#NLAISCRIPT_1_1CMessageClassa2">CMessageClass</a>(s) +00034 { +00035 <a class="code" href="a02168.html#NLAISCRIPT_1_1IAgentMultiClassa52">setBaseObjectInstance</a>((<a class="code" href="a02149.html">NLAIAGENT::IObjectIA</a> *)NLAIAGENT::CSetValueMsg::IdSetValueMsg.getFactory()->getClass()); +00036 <a class="code" href="a02167.html#NLAISCRIPT_1_1CSuccessMsgClassz1842_7">setInheritanceName</a>(<a class="code" href="a03455.html">NLAIAGENT::CStringVarName</a>(<span class="stringliteral">"Message"</span>)); +00037 <a class="code" href="a02169.html#NLAISCRIPT_1_1IClassInterpreta50">setClassName</a>(<a class="code" href="a03455.html">NLAIAGENT::CStringVarName</a>(<span class="stringliteral">"CSetValueMsgClass"</span>)); +00038 <a class="code" href="a02167.html#NLAISCRIPT_1_1CSuccessMsgClassz1840_2">buildVTable</a>(); +00039 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAISCRIPT_1_1CSetValueMsgClassa5" doxytag="NLAISCRIPT::CSetValueMsgClass::CSetValueMsgClass" ></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::CSetValueMsgClass::CSetValueMsgClass </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="a05841.html#l00041">41</a> of file <a class="el" href="a05841.html">interpret_message_setvalue.cpp</a>. +<p> +References <a class="el" href="a05847.html#l00641">NLAISCRIPT::CAgentClass::buildVTable()</a>, <a class="el" href="a05646.html#l00221">id</a>, <a class="el" href="a05848.html#l00083">NLAISCRIPT::IAgentMultiClass::setBaseObjectInstance()</a>, <a class="el" href="a05845.html#l00096">NLAISCRIPT::IClassInterpret::setClassName()</a>, and <a class="el" href="a05847.html#l00836">NLAISCRIPT::CAgentClass::setInheritanceName()</a>. +<p> +<div class="fragment"><pre>00041 :<a class="code" href="a02329.html#NLAISCRIPT_1_1CMessageClassa2">CMessageClass</a>(<span class="keywordtype">id</span>) +00042 { +00043 <a class="code" href="a02168.html#NLAISCRIPT_1_1IAgentMultiClassa52">setBaseObjectInstance</a>((<a class="code" href="a02149.html">NLAIAGENT::IObjectIA</a> *)NLAIAGENT::CSetValueMsg::IdSetValueMsg.getFactory()->getClass()); +00044 <a class="code" href="a02167.html#NLAISCRIPT_1_1CSuccessMsgClassz1842_7">setInheritanceName</a>(<a class="code" href="a03455.html">NLAIAGENT::CStringVarName</a>(<span class="stringliteral">"Message"</span>)); +00045 <a class="code" href="a02169.html#NLAISCRIPT_1_1IClassInterpreta50">setClassName</a>(<a class="code" href="a03455.html">NLAIAGENT::CStringVarName</a>(<span class="stringliteral">"CSetValueMsgClass"</span>)); +00046 <a class="code" href="a02167.html#NLAISCRIPT_1_1CSuccessMsgClassz1840_2">buildVTable</a>(); +00047 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAISCRIPT_1_1CSetValueMsgClassa4" doxytag="NLAISCRIPT::CSetValueMsgClass::CSetValueMsgClass" ></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::CSetValueMsgClass::CSetValueMsgClass </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="a05841.html#l00049">49</a> of file <a class="el" href="a05841.html">interpret_message_setvalue.cpp</a>. +<p> +References <a class="el" href="a05847.html#l00641">NLAISCRIPT::CAgentClass::buildVTable()</a>, <a class="el" href="a05848.html#l00083">NLAISCRIPT::IAgentMultiClass::setBaseObjectInstance()</a>, <a class="el" href="a05845.html#l00096">NLAISCRIPT::IClassInterpret::setClassName()</a>, and <a class="el" href="a05847.html#l00836">NLAISCRIPT::CAgentClass::setInheritanceName()</a>. +<p> +Referenced by <a class="el" href="a05841.html#l00057">clone()</a>, and <a class="el" href="a05841.html#l00062">newInstance()</a>. +<p> +<div class="fragment"><pre>00049 : <a class="code" href="a02329.html#NLAISCRIPT_1_1CMessageClassa2">CMessageClass</a>() +00050 { +00051 <a class="code" href="a02168.html#NLAISCRIPT_1_1IAgentMultiClassa52">setBaseObjectInstance</a>((<a class="code" href="a02149.html">NLAIAGENT::IObjectIA</a> *)NLAIAGENT::CSetValueMsg::IdSetValueMsg.getFactory()->getClass()); +00052 <a class="code" href="a02167.html#NLAISCRIPT_1_1CSuccessMsgClassz1842_7">setInheritanceName</a>(<a class="code" href="a03455.html">NLAIAGENT::CStringVarName</a>(<span class="stringliteral">"Message"</span>)); +00053 <a class="code" href="a02169.html#NLAISCRIPT_1_1IClassInterpreta50">setClassName</a>(<a class="code" href="a03455.html">NLAIAGENT::CStringVarName</a>(<span class="stringliteral">"CSetValueMsgClass"</span>)); +00054 <a class="code" href="a02167.html#NLAISCRIPT_1_1CSuccessMsgClassz1840_2">buildVTable</a>(); +00055 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAISCRIPT_1_1CSetValueMsgClassa60" doxytag="NLAISCRIPT::CSetValueMsgClass::~CSetValueMsgClass" ></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 NLAISCRIPT::CSetValueMsgClass::~<a class="el" href="a03368.html">CSetValueMsgClass</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> [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="a05842.html#l00038">38</a> of file <a class="el" href="a05842.html">interpret_message_setvalue.h</a>. +<p> +<div class="fragment"><pre>00038 {} +</pre></div> </td> + </tr> +</table> +<hr><h2>Member Function Documentation</h2> +<a class="anchor" name="NLAISCRIPT_1_1CSuccessMsgClassz1838_0" doxytag="NLAISCRIPT::CSetValueMsgClass::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_1CSuccessMsgClassz1840_0" doxytag="NLAISCRIPT::CSetValueMsgClass::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_1CSetValueMsgClassz1828_0" doxytag="NLAISCRIPT::CSetValueMsgClass::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::CSetValueMsgClass::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="a02329.html#NLAISCRIPT_1_1CMessageClassz1846_0">NLAISCRIPT::CMessageClass</a>. +<p> +Definition at line <a class="el" href="a05841.html#l00067">67</a> of file <a class="el" href="a05841.html">interpret_message_setvalue.cpp</a>. +<p> +References <a class="el" href="a05646.html#l01126">components</a>, <a class="el" href="a05847.html#l00592">NLAISCRIPT::CAgentClass::createBaseClassComponents()</a>, and <a class="el" href="a05646.html#l00236">x</a>. +<p> +<div class="fragment"><pre>00068 { +00069 std::list<NLAIAGENT::IObjectIA *> <a class="code" href="a04223.html#a656">components</a>; +00070 <a class="code" href="a02167.html#NLAISCRIPT_1_1CSuccessMsgClassa2">createBaseClassComponents</a>( components ); +00071 +00072 <a class="code" href="a02149.html">NLAIAGENT::IObjectIA</a> *<a class="code" href="a04223.html#a572">x</a> = <span class="keyword">new</span> <a class="code" href="a03367.html">NLAIAGENT::CSetValueMsg</a>( components, (CMessageClass *) <span class="keyword">this</span> ); +00073 <span class="keywordflow">return</span> <a class="code" href="a04223.html#a572">x</a>; +00074 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAISCRIPT_1_1CSuccessMsgClassz1840_1" doxytag="NLAISCRIPT::CSetValueMsgClass::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::CSetValueMsgClass::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">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::CSetValueMsgClass::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_1CSuccessMsgClassa1" doxytag="NLAISCRIPT::CSetValueMsgClass::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_1CSetValueMsgClassz1828_1" doxytag="NLAISCRIPT::CSetValueMsgClass::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::CSetValueMsgClass::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="a02329.html#NLAISCRIPT_1_1CMessageClassz1846_1">NLAISCRIPT::CMessageClass</a>. +<p> +Definition at line <a class="el" href="a05841.html#l00057">57</a> of file <a class="el" href="a05841.html">interpret_message_setvalue.cpp</a>. +<p> +References <a class="el" href="a05841.html#l00049">CSetValueMsgClass()</a>. +<p> +<div class="fragment"><pre>00058 { +00059 <span class="keywordflow">return</span> <span class="keyword">new</span> <a class="code" href="a03368.html#NLAISCRIPT_1_1CSetValueMsgClassa4">CSetValueMsgClass</a>(); +00060 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAISCRIPT_1_1CSuccessMsgClassa2" doxytag="NLAISCRIPT::CSetValueMsgClass::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">NLAISCRIPT::COperatorClass::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">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::CSetValueMsgClass::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::CSetValueMsgClass::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_1CSuccessMsgClassa8" doxytag="NLAISCRIPT::CSetValueMsgClass::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_1CSuccessMsgClassz1842_0" doxytag="NLAISCRIPT::CSetValueMsgClass::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::CSetValueMsgClass::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">NLAISCRIPT::COperatorClass::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::CSetValueMsgClass::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::CSetValueMsgClass::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::CSetValueMsgClass::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::CSetValueMsgClass::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::CSetValueMsgClass::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::CSetValueMsgClass::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::CSetValueMsgClass::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::CSetValueMsgClass::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::CSetValueMsgClass::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::CSetValueMsgClass::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::CSetValueMsgClass::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::CSetValueMsgClass::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">NLAISCRIPT::COperatorClass::compileFactPattern()</a>, <a class="el" href="a05412.html#l01698">NLAIAGENT::CAgentScript::runMethodBase()</a>, and <a class="el" href="a05854.html#l00698">NLAISCRIPT::COperatorClass::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::CSetValueMsgClass::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::CSetValueMsgClass::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_1CSuccessMsgClassz1838_5" doxytag="NLAISCRIPT::CSetValueMsgClass::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::CSetValueMsgClass::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_1CSuccessMsgClassz1846_0" doxytag="NLAISCRIPT::CSetValueMsgClass::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::CMessageClass::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, inherited]</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="a05852.html#l00093">93</a> of file <a class="el" href="a05852.html">interpret_object_message.cpp</a>. +<p> +References <a class="el" href="a05646.html#l00985">t</a>. +<p> +<div class="fragment"><pre>00094 { +00095 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1VectorTypea4" doxytag="NLAISCRIPT::CSetValueMsgClass::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="a02329.html#NLAISCRIPT_1_1CSuccessMsgClassz1846_0">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::CSetValueMsgClass::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::CSetValueMsgClass::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::CSetValueMsgClass::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">NLAISCRIPT::COperatorClass::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="a03368.html#NLAISCRIPT_1_1CSetValueMsgClassz1828_2">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::CSetValueMsgClass::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::CSetValueMsgClass::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::CSetValueMsgClass::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::CSetValueMsgClass::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_1CSuccessMsgClassz1838_7" doxytag="NLAISCRIPT::CSetValueMsgClass::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::CSetValueMsgClass::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::CSetValueMsgClass::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::CSetValueMsgClass::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::CSetValueMsgClass::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::CSetValueMsgClass::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::CSetValueMsgClass::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::CSetValueMsgClass::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::CSetValueMsgClass::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::CSetValueMsgClass::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_1CSetValueMsgClassz1828_2" doxytag="NLAISCRIPT::CSetValueMsgClass::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"> virtual const <a class="el" href="a02650.html">NLAIC::CIdentType</a>& NLAISCRIPT::CSetValueMsgClass::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> [inline, virtual]</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> +Reimplemented from <a class="el" href="a02329.html#NLAISCRIPT_1_1CMessageClassa32">NLAISCRIPT::CMessageClass</a>. +<p> +Definition at line <a class="el" href="a05842.html#l00044">44</a> of file <a class="el" href="a05842.html">interpret_message_setvalue.h</a>. +<p> +References <a class="el" href="a03368.html#NLAISCRIPT_1_1CSetValueMsgClasss2">IdSetValueMsgClass</a>. +<p> +<div class="fragment"><pre>00045 { +00046 <span class="keywordflow">return</span> <a class="code" href="a03368.html#NLAISCRIPT_1_1CSetValueMsgClasss2">IdSetValueMsgClass</a>; +00047 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAISCRIPT_1_1CSuccessMsgClassa30" doxytag="NLAISCRIPT::CSetValueMsgClass::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::CMessageClass::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="a02167.html#NLAISCRIPT_1_1CSeqFsmClassa41">NLAISCRIPT::CAgentClass</a>. +<p> +Definition at line <a class="el" href="a05853.html#l00053">53</a> of file <a class="el" href="a05853.html">interpret_object_message.h</a>. +<p> +References <a class="el" href="a05981.html#l00105">uint</a>. +<p> +<div class="fragment"><pre>00054 { +00055 <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_1CTypeOfObjectw6">NLAIC::CTypeOfObject::tMessage</a>; +00056 <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); +00057 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1VectorTypea16" doxytag="NLAISCRIPT::CSetValueMsgClass::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">NLAISCRIPT::COperatorClass::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::CSetValueMsgClass::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_1CSuccessMsgClassa33" doxytag="NLAISCRIPT::CSetValueMsgClass::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::CSetValueMsgClass::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::CSetValueMsgClass::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::CSetValueMsgClass::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::CSetValueMsgClass::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::CSetValueMsgClass::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::CSetValueMsgClass::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::CSetValueMsgClass::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_1CSuccessMsgClassa39" doxytag="NLAISCRIPT::CSetValueMsgClass::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_1CSetValueMsgClassz1828_3" doxytag="NLAISCRIPT::CSetValueMsgClass::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::CSetValueMsgClass::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="a02329.html#NLAISCRIPT_1_1CMessageClassz1846_3">NLAISCRIPT::CMessageClass</a>. +<p> +Definition at line <a class="el" href="a05841.html#l00062">62</a> of file <a class="el" href="a05841.html">interpret_message_setvalue.cpp</a>. +<p> +References <a class="el" href="a05841.html#l00049">CSetValueMsgClass()</a>. +<p> +<div class="fragment"><pre>00063 { +00064 <span class="keywordflow">return</span> <span class="keyword">new</span> <a class="code" href="a03368.html#NLAISCRIPT_1_1CSetValueMsgClassa4">CSetValueMsgClass</a>(); +00065 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1VectorTypea42" doxytag="NLAISCRIPT::CSetValueMsgClass::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="a03368.html#NLAISCRIPT_1_1CSetValueMsgClassz1828_2">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_1CSuccessMsgClassa41" doxytag="NLAISCRIPT::CSetValueMsgClass::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::CSetValueMsgClass::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">NLAISCRIPT::COperatorClass::compileFactPattern()</a>, <a class="el" href="a05836.html#l00037">NLAISCRIPT::CSuccessMsgClass::CSuccessMsgClass()</a>, <a class="el" href="a05854.html#l00881">NLAISCRIPT::COperatorClass::RegisterMessage()</a>, and <a class="el" href="a05854.html#l00698">NLAISCRIPT::COperatorClass::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="NLAIAGENT_1_1VectorTypea46" doxytag="NLAISCRIPT::CSetValueMsgClass::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">NLAISCRIPT::COperatorClass::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">NLAISCRIPT::COperatorClass::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">NLAISCRIPT::COperatorClass::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">NLAISCRIPT::COperatorClass::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">NLAISCRIPT::COperatorClass::unifyBackward()</a>, <a class="el" href="a05718.html#l00225">NLAILOGIC::CFirstOrderOperator::unifyBackward()</a>, <a class="el" href="a05854.html#l00285">NLAISCRIPT::COperatorClass::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">NLAISCRIPT::COperatorClass::~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::CSetValueMsgClass::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::CSetValueMsgClass::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::CSetValueMsgClass::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::CSetValueMsgClass::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="a03368.html#NLAISCRIPT_1_1CSetValueMsgClassz1828_2">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::CSetValueMsgClass::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::CSetValueMsgClass::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="a03368.html#NLAISCRIPT_1_1CSetValueMsgClassz1828_2">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::CSetValueMsgClass::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="a03368.html#NLAISCRIPT_1_1CSetValueMsgClassz1828_2">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::CSetValueMsgClass::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::CSetValueMsgClass::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">NLAISCRIPT::COperatorClass::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::CSetValueMsgClass::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">NLAISCRIPT::COperatorClass::COperatorClass()</a>, <a class="el" href="a05832.html#l00121">NLAISCRIPT::CSeqFsmClass::CSeqFsmClass()</a>, <a class="el" href="a05841.html#l00033">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::CSetValueMsgClass::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">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_1CSuccessMsgClassz1838_10" doxytag="NLAISCRIPT::CSetValueMsgClass::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_1CSuccessMsgClassz1842_7" doxytag="NLAISCRIPT::CSetValueMsgClass::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">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_1CSuccessMsgClassz1838_11" doxytag="NLAISCRIPT::CSetValueMsgClass::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::CSetValueMsgClass::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::CSetValueMsgClass::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::CSetValueMsgClass::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::CSetValueMsgClass::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_1CSuccessMsgClassz1840_3" doxytag="NLAISCRIPT::CSetValueMsgClass::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_1CSuccessMsgClassa59" doxytag="NLAISCRIPT::CSetValueMsgClass::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_1IClassInterpretp0" doxytag="NLAISCRIPT::CSetValueMsgClass::_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_1CSuccessMsgClasss0" doxytag="NLAISCRIPT::CSetValueMsgClass::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_1CSuccessMsgClasss1" doxytag="NLAISCRIPT::CSetValueMsgClass::IdMessageClass" ></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="a02329.html#NLAISCRIPT_1_1CSuccessMsgClasss1">NLAISCRIPT::CMessageClass::IdMessageClass</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_1CSetValueMsgClasss2" doxytag="NLAISCRIPT::CSetValueMsgClass::IdSetValueMsgClass" ></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="a03368.html#NLAISCRIPT_1_1CSetValueMsgClasss2">NLAISCRIPT::CSetValueMsgClass::IdSetValueMsgClass</a><code> [static]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Referenced by <a class="el" href="a05842.html#l00044">getType()</a>. </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1VectorTypes1" doxytag="NLAISCRIPT::CSetValueMsgClass::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::CSetValueMsgClass::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::CSetValueMsgClass::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::CSetValueMsgClass::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::CSetValueMsgClass::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::CSetValueMsgClass::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::CSetValueMsgClass::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="a05842.html">interpret_message_setvalue.h</a><li><a class="el" href="a05841.html">interpret_message_setvalue.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:25:09 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> |