diff options
Diffstat (limited to '')
-rw-r--r-- | docs/doxygen/nel/a05912.html | 154 |
1 files changed, 154 insertions, 0 deletions
diff --git a/docs/doxygen/nel/a05912.html b/docs/doxygen/nel/a05912.html new file mode 100644 index 00000000..e8252f2e --- /dev/null +++ b/docs/doxygen/nel/a05912.html @@ -0,0 +1,154 @@ +<!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: list_manager.h Source File</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>list_manager.h</h1><a href="a04489.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 +00007 <span class="comment">/* Copyright, 2000 Nevrax Ltd.</span> +00008 <span class="comment"> *</span> +00009 <span class="comment"> * This file is part of NEVRAX NEL.</span> +00010 <span class="comment"> * NEVRAX NEL is free software; you can redistribute it and/or modify</span> +00011 <span class="comment"> * it under the terms of the GNU General Public License as published by</span> +00012 <span class="comment"> * the Free Software Foundation; either version 2, or (at your option)</span> +00013 <span class="comment"> * any later version.</span> +00014 <span class="comment"></span> +00015 <span class="comment"> * NEVRAX NEL is distributed in the hope that it will be useful, but</span> +00016 <span class="comment"> * WITHOUT ANY WARRANTY; without even the implied warranty of</span> +00017 <span class="comment"> * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU</span> +00018 <span class="comment"> * General Public License for more details.</span> +00019 <span class="comment"></span> +00020 <span class="comment"> * You should have received a copy of the GNU General Public License</span> +00021 <span class="comment"> * along with NEVRAX NEL; see the file COPYING. If not, write to the</span> +00022 <span class="comment"> * Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,</span> +00023 <span class="comment"> * MA 02111-1307, USA.</span> +00024 <span class="comment"> */</span> +00025 <span class="preprocessor">#ifndef NL_LIST_MANAGER_H</span> +00026 <span class="preprocessor"></span><span class="preprocessor">#define NL_LIST_MANAGER_H</span> +00027 <span class="preprocessor"></span> +00028 <span class="preprocessor">#include "<a class="code" href="a03984.html">nel/ai/agent/agent_object.h</a>"</span> +00029 +00030 <span class="keyword">namespace </span>NLAIAGENT +00031 { +00032 <span class="keyword">class </span>CObjectIdent; +00033 +<a name="l00039"></a><a class="code" href="a02324.html">00039</a> <span class="keyword">class </span><a class="code" href="a02324.html">IListBasicManager</a> : <span class="keyword">public</span> <a class="code" href="a02327.html">IBaseGroupType</a> +00040 { +00041 <span class="keyword">protected</span>: +<a name="l00042"></a><a class="code" href="a02324.html#NLAIAGENT_1_1IMessageBasep0">00042</a> <a class="code" href="a02327.html">IBaseGroupType</a> *_List; +00043 <span class="keyword">public</span>: +00044 <a class="code" href="a02324.html#NLAIAGENT_1_1IListBasicManagera14">IListBasicManager</a>(); +00045 <a class="code" href="a02324.html#NLAIAGENT_1_1IListBasicManagera14">IListBasicManager</a>(<a class="code" href="a02327.html">IBaseGroupType</a> *); +00046 <a class="code" href="a02324.html#NLAIAGENT_1_1IListBasicManagera14">IListBasicManager</a>(<span class="keyword">const</span> <a class="code" href="a02324.html">IListBasicManager</a> &); +00047 <span class="keyword">virtual</span> <a class="code" href="a02324.html#NLAIAGENT_1_1IListBasicManagera40">~IListBasicManager</a>(); +00048 +00049 +00051 +00052 <span class="keyword">virtual</span> <a class="code" href="a02147.html">IObjetOp</a> &<a class="code" href="a02324.html#NLAIAGENT_1_1IMessageBasez1705_14">operator += </a>(<span class="keyword">const</span> <a class="code" href="a02147.html">IObjetOp</a> &a); +00053 <span class="keyword">virtual</span> <a class="code" href="a02147.html">IObjetOp</a> &<a class="code" href="a02324.html#NLAIAGENT_1_1IMessageBasez1705_15">operator -= </a>(<span class="keyword">const</span> <a class="code" href="a02147.html">IObjetOp</a> &a); +00054 <span class="keyword">virtual</span> <a class="code" href="a02149.html">IObjectIA</a> &<a class="code" href="a02324.html#NLAIAGENT_1_1IListBasicManagerz1705_21">operator = </a>(<span class="keyword">const</span> <a class="code" href="a02149.html">IObjectIA</a> &a); +00055 +00056 <span class="keyword">virtual</span> <span class="keyword">const</span> <a class="code" href="a02149.html">IObjectIA</a> *<a class="code" href="a02324.html#NLAIAGENT_1_1IMessageBasez1705_16">operator[] </a>(<a class="code" href="a04558.html#a10">sint32</a>) <span class="keyword">const</span>; +00057 +<a name="l00058"></a><a class="code" href="a02324.html#NLAIAGENT_1_1IMessageBasez1705_22">00058</a> <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="a02324.html#NLAIAGENT_1_1IMessageBasez1705_22">set</a>(<span class="keywordtype">int</span> i,<a class="code" href="a02149.html">IObjectIA</a> *o) +00059 { +00060 _List-><a class="code" href="a02327.html#NLAIAGENT_1_1IBaseGroupTypez1654_17">set</a>(i,o); +00061 } +00062 +00063 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="a02324.html#NLAIAGENT_1_1IMessageBasez1705_12">isTrue</a>() <span class="keyword">const</span>; +00064 +00065 <span class="keyword">virtual</span> <a class="code" href="a02147.html">IObjetOp</a> *<a class="code" href="a02324.html#NLAIAGENT_1_1IMessageBasez1705_13">operator ! </a>() <span class="keyword">const</span>; +00066 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="a02324.html#NLAIAGENT_1_1IMessageBasez1705_19">push</a>(<span class="keyword">const</span> <a class="code" href="a02149.html">IObjectIA</a> *o); +00067 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="a02324.html#NLAIAGENT_1_1IMessageBasez1705_20">pushFront</a>(<span class="keyword">const</span> <a class="code" href="a02149.html">IObjectIA</a> *o); +<a name="l00068"></a><a class="code" href="a02324.html#NLAIAGENT_1_1IMessageBasez1705_11">00068</a> <span class="keyword">virtual</span> <a class="code" href="a02692.html">CIteratorContener</a> <a class="code" href="a02324.html#NLAIAGENT_1_1IMessageBasez1705_11">getIterator</a>() +00069 { +00070 <span class="keywordflow">return</span> _List-><a class="code" href="a02327.html#NLAIAGENT_1_1IBaseGroupTypez1654_10">getIterator</a>(); +00071 } +00072 +<a name="l00073"></a><a class="code" href="a02324.html#NLAIAGENT_1_1IMessageBasez1705_9">00073</a> <span class="keyword">virtual</span> <a class="code" href="a02403.html">CConstIteratorContener</a> <a class="code" href="a02324.html#NLAIAGENT_1_1IMessageBasez1705_9">getConstIterator</a>()<span class="keyword"> const</span> +00074 <span class="keyword"> </span>{ +00075 <span class="keywordflow">return</span> _List-><a class="code" href="a02327.html#NLAIAGENT_1_1IBaseGroupTypez1654_8">getConstIterator</a>(); +00076 } +00077 +00078 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="a02324.html#NLAIAGENT_1_1IMessageBasez1705_1">cpy</a>(<span class="keyword">const</span> <a class="code" href="a02149.html">IObjectIA</a> &o); +00079 <span class="keyword">virtual</span> <span class="keyword">const</span> <a class="code" href="a02149.html">IObjectIA</a> *<a class="code" href="a02324.html#NLAIAGENT_1_1IMessageBasez1705_17">pop</a>(); +00080 <span class="keyword">virtual</span> <span class="keyword">const</span> <a class="code" href="a02149.html">IObjectIA</a> *<a class="code" href="a02324.html#NLAIAGENT_1_1IMessageBasez1705_8">get</a>() <span class="keyword">const</span>; +00081 <span class="keyword">virtual</span> <span class="keyword">const</span> <a class="code" href="a02149.html">IObjectIA</a> *<a class="code" href="a02324.html#NLAIAGENT_1_1IMessageBasez1705_18">popFront</a>(); +00082 <span class="keyword">virtual</span> <span class="keyword">const</span> <a class="code" href="a02149.html">IObjectIA</a> *<a class="code" href="a02324.html#NLAIAGENT_1_1IMessageBasez1705_10">getFront</a>() <span class="keyword">const</span>; +00083 <span class="keyword">virtual</span> <a class="code" href="a04558.html#a10">sint32</a> <a class="code" href="a02324.html#NLAIAGENT_1_1IMessageBasez1705_23">size</a>() <span class="keyword">const</span>; +00084 <span class="keyword">virtual</span> <span class="keyword">const</span> <a class="code" href="a02149.html">IObjectIA</a> *<a class="code" href="a02324.html#NLAIAGENT_1_1IMessageBasez1705_7">find</a>(<span class="keyword">const</span> <a class="code" href="a02149.html">IObjectIA</a> &obj) <span class="keyword">const</span>; +00085 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="a02324.html#NLAIAGENT_1_1IMessageBasez1705_6">eraseFirst</a>(<span class="keyword">const</span> <a class="code" href="a02149.html">IObjectIA</a> &obj); +00086 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="a02324.html#NLAIAGENT_1_1IMessageBasez1705_5">eraseAll</a>(<span class="keyword">const</span> <a class="code" href="a02149.html">IObjectIA</a> &obj); +00087 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="a02324.html#NLAIAGENT_1_1IMessageBasez1705_4">erase</a>(<span class="keyword">const</span> <a class="code" href="a02149.html">IObjectIA</a> *o); +00088 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="a02324.html#NLAIAGENT_1_1IMessageBasez1705_4">erase</a>(<span class="keyword">const</span> <a class="code" href="a02149.html">IObjectIA</a> &obj); +00089 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="a02324.html#NLAIAGENT_1_1IMessageBasez1705_4">erase</a>(std::list<const IObjectIA *> &l); +00090 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="a02324.html#NLAIAGENT_1_1IMessageBasez1705_0">clear</a>(); +00091 +00092 <span class="keyword">virtual</span> <a class="code" href="a04558.html#a10">sint32</a> <a class="code" href="a02324.html#NLAIAGENT_1_1IListManagerz1705_13">getMethodIndexSize</a>() <span class="keyword">const</span>; +00093 <span class="keyword">virtual</span> <a class="code" href="a05364.html#a31">TQueue</a> <a class="code" href="a02324.html#NLAIAGENT_1_1IListManagerz1705_14">isMember</a>(<span class="keyword">const</span> <a class="code" href="a02661.html">IVarName</a> *className,<span class="keyword">const</span> <a class="code" href="a02661.html">IVarName</a> *methodName,<span class="keyword">const</span> <a class="code" href="a02149.html">IObjectIA</a> &p) <span class="keyword">const</span>; +00094 <span class="keyword">virtual</span> <a class="code" href="a03869.html">IObjectIA::CProcessResult</a> <a class="code" href="a02324.html#NLAIAGENT_1_1IListManagerz1705_27">runMethodeMember</a>(<a class="code" href="a04558.html#a10">sint32</a>, <a class="code" href="a04558.html#a10">sint32</a>,<a class="code" href="a02149.html">IObjectIA</a> *); +00095 <span class="keyword">virtual</span> <a class="code" href="a03869.html">IObjectIA::CProcessResult</a> <a class="code" href="a02324.html#NLAIAGENT_1_1IListManagerz1705_27">runMethodeMember</a>(<a class="code" href="a04558.html#a10">sint32</a>,<a class="code" href="a02149.html">IObjectIA</a> *); +00096 +00097 +<a name="l00098"></a><a class="code" href="a02324.html#NLAIAGENT_1_1IMessageBasez1705_21">00098</a> <span class="keyword">virtual</span> <span class="keyword">const</span> CProcessResult &<a class="code" href="a02324.html#NLAIAGENT_1_1IMessageBasez1705_21">run</a>(){<span class="keywordflow">return</span> IObjectIA::ProcessRun;} +00099 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="a02324.html#NLAIAGENT_1_1IListBasicManagerz1705_14">isEqual</a>(<span class="keyword">const</span> <a class="code" href="a02153.html">IBasicObjectIA</a> &a) <span class="keyword">const</span>; +00100 +00101 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="a02324.html#NLAIAGENT_1_1IListManagerz1705_28">save</a>(<a class="code" href="a02270.html">NLMISC::IStream</a> &os); +00102 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="a02324.html#NLAIAGENT_1_1IListManagerz1705_16">load</a>(<a class="code" href="a02270.html">NLMISC::IStream</a> &is); +00103 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="a02324.html#NLAIAGENT_1_1IListManagerz1705_10">getDebugString</a>(std::string &<a class="code" href="a04223.html#a627">t</a>) <span class="keyword">const</span>; +00105 +<a name="l00107"></a><a class="code" href="a02324.html#NLAIAGENT_1_1IMessageBasea29">00107</a> <a class="code" href="a02324.html#NLAIAGENT_1_1IMessageBasea29">operator const IBaseGroupType *</a>()<span class="keyword"> const</span> +00108 <span class="keyword"> </span>{ +00109 <span class="keywordflow">return</span> _List; +00110 } +00111 }; +00112 +00113 +<a name="l00117"></a><a class="code" href="a03666.html">00117</a> <span class="keyword">class </span><a class="code" href="a03666.html">IListManager</a> : <span class="keyword">public</span> <a class="code" href="a02324.html">IListBasicManager</a> +00118 { +00119 <span class="keyword">public</span>: +00120 <a class="code" href="a03666.html#NLAIAGENT_1_1IListManagera14">IListManager</a>(<a class="code" href="a02327.html">IBaseGroupType</a> *); +00121 <a class="code" href="a03666.html#NLAIAGENT_1_1IListManagera14">IListManager</a>(<span class="keyword">const</span> <a class="code" href="a03666.html">IListManager</a> &); +00122 +00123 +00124 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="a03666.html#NLAIAGENT_1_1IListManagera17">isEqual</a>(<span class="keyword">const</span> <a class="code" href="a02153.html">IBasicObjectIA</a> &a) <span class="keyword">const</span>; +00125 <span class="keyword">virtual</span> CProcessResult <a class="code" href="a03666.html#NLAIAGENT_1_1IListManagera37">sendMessage</a>(<a class="code" href="a02149.html">IObjectIA</a> *); +00126 +00127 +00128 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="a03666.html#NLAIAGENT_1_1IListManagera41">trie</a>() = 0; +00129 <span class="keyword">virtual</span> <span class="keyword">const</span> <a class="code" href="a02149.html">IObjectIA</a> *<a class="code" href="a03666.html#NLAIAGENT_1_1IListManagera6">getObject</a>(<span class="keyword">const</span> <a class="code" href="a02997.html">CObjectIdent</a> &) <span class="keyword">const</span> = 0; +00130 +00131 <span class="keyword">virtual</span> <a class="code" href="a03666.html#NLAIAGENT_1_1IListManagera42">~IListManager</a>(); +00132 +00133 }; +00134 +<a name="l00138"></a><a class="code" href="a03665.html">00138</a> <span class="keyword">class </span><a class="code" href="a03665.html">CVectorGroupManager</a>: <span class="keyword">public</span> <a class="code" href="a03666.html">IListManager</a> +00139 { +00140 <span class="keyword">public</span>: +00141 <span class="keyword">static</span> <span class="keyword">const</span> <a class="code" href="a02650.html">NLAIC::CIdentType</a> <a class="code" href="a03665.html#NLAIAGENT_1_1CVectorGroupManagers1">IdVectorGroupManager</a>; +00142 +00143 <span class="keyword">public</span>: +00144 <a class="code" href="a03665.html#NLAIAGENT_1_1CVectorGroupManagera3">CVectorGroupManager</a>(<a class="code" href="a04558.html#a10">sint32</a>); +00145 <a class="code" href="a03665.html#NLAIAGENT_1_1CVectorGroupManagera3">CVectorGroupManager</a>(); +00146 <a class="code" href="a03665.html#NLAIAGENT_1_1CVectorGroupManagera3">CVectorGroupManager</a>(<span class="keyword">const</span> <a class="code" href="a03665.html">CVectorGroupManager</a> &); +00147 +00148 <span class="keyword">virtual</span> <span class="keyword">const</span> <a class="code" href="a02650.html">NLAIC::CIdentType</a> &<a class="code" href="a03665.html#NLAIAGENT_1_1CVectorGroupManagera15">getType</a>() <span class="keyword">const</span>; +00149 <span class="keyword">virtual</span> <span class="keyword">const</span> <a class="code" href="a02151.html">NLAIC::IBasicType</a> *<a class="code" href="a03665.html#NLAIAGENT_1_1CVectorGroupManagera1">clone</a>() <span class="keyword">const</span>; +00150 <span class="keyword">virtual</span> <span class="keyword">const</span> <a class="code" href="a02151.html">NLAIC::IBasicType</a> *<a class="code" href="a03665.html#NLAIAGENT_1_1CVectorGroupManagera20">newInstance</a>() <span class="keyword">const</span>; +00151 +00152 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="a03665.html#NLAIAGENT_1_1CVectorGroupManagera42">trie</a>(); +00153 <span class="keyword">virtual</span> <span class="keyword">const</span> <a class="code" href="a02149.html">IObjectIA</a> *<a class="code" href="a03665.html#NLAIAGENT_1_1CVectorGroupManagera9">getObject</a>(<span class="keyword">const</span> <a class="code" href="a02997.html">CObjectIdent</a> &) <span class="keyword">const</span>; +00154 +00155 <span class="keyword">virtual</span> <a class="code" href="a03665.html#NLAIAGENT_1_1CVectorGroupManagera43">~CVectorGroupManager</a>(); +00156 }; +00157 +00158 } +00159 <span class="preprocessor">#endif</span> +</pre></div><hr size="1"><address style="align: right;"><small>Generated on Tue Mar 16 06:27:45 2004 for NeL by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border=0 > +</a>1.3.6 </small></address> +</body> +</html> |