diff options
Diffstat (limited to 'docs/doxygen/nel/a02188.html')
-rw-r--r-- | docs/doxygen/nel/a02188.html | 2113 |
1 files changed, 2113 insertions, 0 deletions
diff --git a/docs/doxygen/nel/a02188.html b/docs/doxygen/nel/a02188.html new file mode 100644 index 00000000..d0bcd026 --- /dev/null +++ b/docs/doxygen/nel/a02188.html @@ -0,0 +1,2113 @@ +<!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: NLAIAGENT::CAgentNumber struct 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>NLAIAGENT::CAgentNumber Struct Reference</h1><code>#include <<a class="el" href="a05805.html">identtype.h</a>></code> +<p> +<p>Inheritance diagram for NLAIAGENT::CAgentNumber: +<p><center><img src="a02188.png" usemap="#NLAIAGENT::CAgentNumber_map" border="0" alt=""></center> +<map name="NLAIAGENT::CAgentNumber_map"> +<area href="a02189.html" alt="NLMISC::CEntityId" shape="rect" coords="0,0,174,24"> +<area href="a02649.html" alt="NLAIAGENT::CIdent" shape="rect" coords="0,112,174,136"> +</map> +<table border=0 cellpadding=0 cellspacing=0> +<tr><td></td></tr> +<tr><td colspan=2><br><h2>Public Types</h2></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>enum </td><td class="memItemRight" valign=bottom>{ <br> + <a class="el" href="a02189.html#NLAIAGENT_1_1CIdentw0NLAIAGENT_1_1CIdentw2">DYNAMIC_ID_SIZE</a> = 11, +<a class="el" href="a02189.html#NLAIAGENT_1_1CIdentw0NLAIAGENT_1_1CIdentw1">CREATOR_ID_SIZE</a> = 8, +<a class="el" href="a02189.html#NLAIAGENT_1_1CIdentw0NLAIAGENT_1_1CIdentw4">TYPE_SIZE</a> = 5, +<a class="el" href="a02189.html#NLAIAGENT_1_1CIdentw0NLAIAGENT_1_1CIdentw3">ID_SIZE</a> = 40, +<br> + <a class="el" href="a02189.html#NLAIAGENT_1_1CIdentw0NLAIAGENT_1_1CIdentw5">UNKNOWN_TYPE</a> = (1 << TYPE_SIZE)-1 +<br> + }</td></tr> + +<tr><td colspan=2><br><h2>Public Member Functions</h2></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a13">uint64</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02189.html#NLAIAGENT_1_1CIdenta0">asUint64</a> () const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="a02188.html#NLAIAGENT_1_1CAgentNumbera1">CAgentNumber</a> (const char *<a class="el" href="a04223.html#a564">id</a>)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="a02188.html#NLAIAGENT_1_1CAgentNumbera2">CAgentNumber</a> (<a class="el" href="a02270.html">NLMISC::IStream</a> &is)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="a02188.html#NLAIAGENT_1_1CAgentNumbera3">CAgentNumber</a> (const <a class="el" href="a02188.html">CAgentNumber</a> &a)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="a02188.html#NLAIAGENT_1_1CAgentNumbera4">CAgentNumber</a> (<a class="el" href="a02189.html">NLMISC::CEntityId</a> p)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="a02188.html#NLAIAGENT_1_1CAgentNumbera5">CAgentNumber</a> (<a class="el" href="a04558.html#a13">uint64</a> p)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="a02188.html#NLAIAGENT_1_1CAgentNumbera6">CAgentNumber</a> (<a class="el" href="a04558.html#a13">uint64</a> <a class="el" href="a04223.html#a564">id</a>, <a class="el" href="a04558.html#a7">uint8</a> <a class="el" href="a04223.html#a627">t</a>, <a class="el" href="a04558.html#a7">uint8</a> creator, <a class="el" href="a04558.html#a7">uint8</a> dyn)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="a02188.html#NLAIAGENT_1_1CAgentNumbera7">CAgentNumber</a> (<a class="el" href="a04558.html#a13">uint64</a> <a class="el" href="a04223.html#a564">id</a>, <a class="el" href="a04558.html#a7">uint8</a> creator, <a class="el" href="a04558.html#a7">uint8</a> dyn)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="a02188.html#NLAIAGENT_1_1CAgentNumbera8">CAgentNumber</a> ()</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a02189.html#NLAIAGENT_1_1CIdenta6">fromString</a> (const char *str)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Read from a debug string, use the same format as <a class="el" href="a02189.html#NLAIAGENT_1_1CIdenta31">toString()</a> (id:type:creator:dynamic) in hexadecimal. <a href="#NLAIAGENT_1_1CIdenta6"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a7">uint8</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02189.html#NLAIAGENT_1_1CIdenta7">getCreatorId</a> () const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Get the persistent creator id. <a href="#NLAIAGENT_1_1CIdenta7"></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="a02189.html#NLMISC_1_1CEntityIda3">getDebugString</a> (std::string &str) const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Have a debug string. <a href="#NLMISC_1_1CEntityIda3"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a7">uint8</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02189.html#NLAIAGENT_1_1CIdenta9">getDynamicId</a> () const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Get the variable routing info. <a href="#NLAIAGENT_1_1CIdenta9"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a13">uint64</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02189.html#NLAIAGENT_1_1CIdenta10">getRawId</a> () const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Get the full id. <a href="#NLAIAGENT_1_1CIdenta10"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a13">uint64</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02189.html#NLAIAGENT_1_1CIdenta11">getShortId</a> () const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Get the local entity number. <a href="#NLAIAGENT_1_1CIdenta11"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a7">uint8</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02189.html#NLAIAGENT_1_1CIdenta12">getType</a> () const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Get the entity type. <a href="#NLAIAGENT_1_1CIdenta12"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a13">uint64</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02189.html#NLAIAGENT_1_1CIdenta14">getUniqueId</a> () const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Get the persistent part of the entity id (the dynamic part in the returned id is 0). <a href="#NLAIAGENT_1_1CIdenta14"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="a02188.html#NLAIAGENT_1_1CIdenta15">isAgentId</a> () const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="a02189.html#NLAIAGENT_1_1CIdenta16">isUnknownId</a> () const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Test if the entity id is Unknown. <a href="#NLAIAGENT_1_1CIdenta16"></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="a02189.html#NLMISC_1_1CEntityIda10">load</a> (<a class="el" href="a02270.html">NLMISC::IStream</a> &is)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Load the number from an input stream. <a href="#NLMISC_1_1CEntityIda10"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>const CEntityId & </td><td class="memItemRight" valign=bottom><a class="el" href="a02189.html#NLAIAGENT_1_1CIdenta18">operator++</a> (int)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual bool </td><td class="memItemRight" valign=bottom><a class="el" href="a02188.html#NLAIAGENT_1_1CIdenta19">operator<</a> (const <a class="el" href="a02189.html">NLMISC::CEntityId</a> &a) const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a02189.html#NLMISC_1_1CEntityIda14">save</a> (<a class="el" href="a02270.html">NLMISC::IStream</a> &os)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Save the Id into an output stream. <a href="#NLMISC_1_1CEntityIda14"></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="a02189.html#NLAIAGENT_1_1CIdenta25">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="a02189.html#NLAIAGENT_1_1CIdenta26">setCreatorId</a> (<a class="el" href="a04558.html#a7">uint8</a> creatorId)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Set the persistent creator id. <a href="#NLAIAGENT_1_1CIdenta26"></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="a02189.html#NLAIAGENT_1_1CIdenta27">setDynamicId</a> (<a class="el" href="a04558.html#a7">uint8</a> dynId)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Set the variable routing info. <a href="#NLAIAGENT_1_1CIdenta27"></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="a02189.html#NLAIAGENT_1_1CIdenta28">setShortId</a> (<a class="el" href="a04558.html#a13">uint64</a> shortId)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Set the local entity number. <a href="#NLAIAGENT_1_1CIdenta28"></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="a02189.html#NLAIAGENT_1_1CIdenta29">setType</a> (<a class="el" href="a04558.html#a7">uint8</a> <a class="el" href="a04223.html#a581">type</a>)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Set the entity type. <a href="#NLAIAGENT_1_1CIdenta29"></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="a02188.html#NLAIAGENT_1_1CIdenta30">setTypeAt</a> (<a class="el" href="a04558.html#a13">uint64</a> <a class="el" href="a04223.html#a627">t</a>)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">That function allow user to change the 7 bit of the type field in the sid agent number; We don't touche at the 8e bits. <a href="#NLAIAGENT_1_1CIdenta30"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>std::string </td><td class="memItemRight" valign=bottom><a class="el" href="a02189.html#NLAIAGENT_1_1CIdenta31">toString</a> () const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">return a string in form "(a:b:c:d)" where a,b,c,d are components of entity id. <a href="#NLAIAGENT_1_1CIdenta31"></a><br><br></td></tr> +<tr><td colspan=2><br><h2>Static Public Member Functions</h2></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>CEntityId </td><td class="memItemRight" valign=bottom><a class="el" href="a02189.html#NLAIAGENT_1_1CIdente0">getNewEntityId</a> (<a class="el" href="a04558.html#a7">uint8</a> <a class="el" href="a04223.html#a581">type</a>)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Generator of entity ids. <a href="#NLAIAGENT_1_1CIdente0"></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="a02189.html#NLAIAGENT_1_1CIdente1">setServiceId</a> (<a class="el" href="a04558.html#a7">uint8</a> sid)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Set the service id for the generator. <a href="#NLAIAGENT_1_1CIdente1"></a><br><br></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="a04558.html#a7">uint8</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02188.html#NLAIAGENT_1_1CIdents0">AgentTypeBit</a> = 0x80</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="a04558.html#a13">uint64</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02189.html#NLAIAGENT_1_1CIdents1">MaxEntityId</a> = ((<a class="el" href="a04558.html#a13">uint64</a>)1 << (CEntityId::ID_SIZE + 1)) - (<a class="el" href="a04558.html#a13">uint64</a>)1</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">The maximume of number that we could generate without generate an overtaking exception. <a href="#NLAIAGENT_1_1CIdents1"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>const CEntityId </td><td class="memItemRight" valign=bottom><a class="el" href="a02189.html#NLAIAGENT_1_1CIdents2">Unknown</a></td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Unknow <a class="el" href="a02189.html">CEntityId</a> is similar as an NULL pointer. <a href="#NLAIAGENT_1_1CIdents2"></a><br><br></td></tr> +<tr><td colspan=2><br><h2>Static Protected Attributes</h2></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a02189.html">NLMISC::CEntityId</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02189.html#NLAIAGENT_1_1CIdentt0">_NextEntityId</a></td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Counter for generation of unique entity ids. <a href="#NLAIAGENT_1_1CIdentt0"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a7">uint8</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02189.html#NLAIAGENT_1_1CIdentt1">_ServerId</a> = 0</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">The local num service id of the local machin. <a href="#NLAIAGENT_1_1CIdentt1"></a><br><br></td></tr> +</table> +<hr><h2>Member Enumeration Documentation</h2> +<a class="anchor" name="NLAIAGENT_1_1CIdentw0" doxytag="NLAIAGENT::CAgentNumber::@67" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> anonymous enum<code> [inherited]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +<dl compact><dt><b>Enumeration values: </b></dt><dd> +<table border=0 cellspacing=2 cellpadding=0> +<tr><td valign=top><em><a class="anchor" name="NLAIAGENT_1_1CIdentw0NLAIAGENT_1_1CIdentw2" doxytag="DYNAMIC_ID_SIZE" ></a>DYNAMIC_ID_SIZE</em> </td><td> +</td></tr> +<tr><td valign=top><em><a class="anchor" name="NLAIAGENT_1_1CIdentw0NLAIAGENT_1_1CIdentw1" doxytag="CREATOR_ID_SIZE" ></a>CREATOR_ID_SIZE</em> </td><td> +</td></tr> +<tr><td valign=top><em><a class="anchor" name="NLAIAGENT_1_1CIdentw0NLAIAGENT_1_1CIdentw4" doxytag="TYPE_SIZE" ></a>TYPE_SIZE</em> </td><td> +</td></tr> +<tr><td valign=top><em><a class="anchor" name="NLAIAGENT_1_1CIdentw0NLAIAGENT_1_1CIdentw3" doxytag="ID_SIZE" ></a>ID_SIZE</em> </td><td> +</td></tr> +<tr><td valign=top><em><a class="anchor" name="NLAIAGENT_1_1CIdentw0NLAIAGENT_1_1CIdentw5" doxytag="UNKNOWN_TYPE" ></a>UNKNOWN_TYPE</em> </td><td> +</td></tr> +</table> +</dl> + +<p> +Definition at line <a class="el" href="a05673.html#l00045">45</a> of file <a class="el" href="a05673.html">entity_id.h</a>. +<p> +<div class="fragment"><pre>00046 { +00047 <a class="code" href="a02189.html#NLAIAGENT_1_1CIdentw0NLAIAGENT_1_1CIdentw2">DYNAMIC_ID_SIZE</a> = 11, +00048 <a class="code" href="a02189.html#NLAIAGENT_1_1CIdentw0NLAIAGENT_1_1CIdentw1">CREATOR_ID_SIZE</a> = 8, +00049 <a class="code" href="a02189.html#NLAIAGENT_1_1CIdentw0NLAIAGENT_1_1CIdentw4">TYPE_SIZE</a> = 5, +00050 <a class="code" href="a02189.html#NLAIAGENT_1_1CIdentw0NLAIAGENT_1_1CIdentw3">ID_SIZE</a> = 40, +00051 <a class="code" href="a02189.html#NLAIAGENT_1_1CIdentw0NLAIAGENT_1_1CIdentw5">UNKNOWN_TYPE</a> = (1 << TYPE_SIZE)-1 +00052 }; +</pre></div> </td> + </tr> +</table> +<hr><h2>Constructor & Destructor Documentation</h2> +<a class="anchor" name="NLAIAGENT_1_1CAgentNumbera8" doxytag="NLAIAGENT::CAgentNumber::CAgentNumber" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> NLAIAGENT::CAgentNumber::CAgentNumber </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05805.html#l00053">53</a> of file <a class="el" href="a05805.html">identtype.h</a>. +<p> +References <a class="el" href="a05673.html#l00263">NLMISC::CEntityId::setType()</a>. +<p> +<div class="fragment"><pre>00054 { +00055 <a class="code" href="a02189.html#NLAIAGENT_1_1CIdenta29">setType</a>( CAgentNumber::AgentTypeBit ); +00056 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1CAgentNumbera7" doxytag="NLAIAGENT::CAgentNumber::CAgentNumber" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> NLAIAGENT::CAgentNumber::CAgentNumber </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a13">uint64</a> </td> + <td class="mdname" nowrap> <em>id</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a04558.html#a7">uint8</a> </td> + <td class="mdname" nowrap> <em>creator</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a04558.html#a7">uint8</a> </td> + <td class="mdname" nowrap> <em>dyn</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05805.html#l00057">57</a> of file <a class="el" href="a05805.html">identtype.h</a>. +<p> +References <a class="el" href="a05802.html#l00028">AgentTypeBit</a>, <a class="el" href="a05646.html#l00221">id</a>, <a class="el" href="a05981.html#l00102">uint64</a>, and <a class="el" href="a05981.html#l00096">uint8</a>. +<p> +<div class="fragment"><pre>00057 :<a class="code" href="a02189.html">NLMISC::CEntityId</a>(AgentTypeBit,<span class="keywordtype">id</span>,creator,dyn) +00058 { +00059 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1CAgentNumbera6" doxytag="NLAIAGENT::CAgentNumber::CAgentNumber" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> NLAIAGENT::CAgentNumber::CAgentNumber </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a13">uint64</a> </td> + <td class="mdname" nowrap> <em>id</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a04558.html#a7">uint8</a> </td> + <td class="mdname" nowrap> <em>t</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a04558.html#a7">uint8</a> </td> + <td class="mdname" nowrap> <em>creator</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a04558.html#a7">uint8</a> </td> + <td class="mdname" nowrap> <em>dyn</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05805.html#l00061">61</a> of file <a class="el" href="a05805.html">identtype.h</a>. +<p> +References <a class="el" href="a05646.html#l00221">id</a>, <a class="el" href="a05646.html#l00985">t</a>, <a class="el" href="a05981.html#l00102">uint64</a>, and <a class="el" href="a05981.html#l00096">uint8</a>. +<p> +<div class="fragment"><pre>00061 :<a class="code" href="a02189.html">NLMISC::CEntityId</a>(t,<span class="keywordtype">id</span>,creator,dyn) +00062 { +00063 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1CAgentNumbera5" doxytag="NLAIAGENT::CAgentNumber::CAgentNumber" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> NLAIAGENT::CAgentNumber::CAgentNumber </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a13">uint64</a> </td> + <td class="mdname1" valign="top" nowrap> <em>p</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05805.html#l00065">65</a> of file <a class="el" href="a05805.html">identtype.h</a>. +<p> +References <a class="el" href="a05981.html#l00102">uint64</a>. +<p> +<div class="fragment"><pre>00065 :<a class="code" href="a02189.html">NLMISC::CEntityId</a>(p) +00066 { +00067 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1CAgentNumbera4" doxytag="NLAIAGENT::CAgentNumber::CAgentNumber" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> NLAIAGENT::CAgentNumber::CAgentNumber </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a02189.html">NLMISC::CEntityId</a> </td> + <td class="mdname1" valign="top" nowrap> <em>p</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05805.html#l00069">69</a> of file <a class="el" href="a05805.html">identtype.h</a>. +<p> +<div class="fragment"><pre>00069 :<a class="code" href="a02189.html">NLMISC::CEntityId</a>(p) +00070 { +00071 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1CAgentNumbera3" doxytag="NLAIAGENT::CAgentNumber::CAgentNumber" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> NLAIAGENT::CAgentNumber::CAgentNumber </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const <a class="el" href="a02188.html">CAgentNumber</a> & </td> + <td class="mdname1" valign="top" nowrap> <em>a</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05805.html#l00073">73</a> of file <a class="el" href="a05805.html">identtype.h</a>. +<p> +<div class="fragment"><pre>00073 :<a class="code" href="a02189.html">NLMISC::CEntityId</a>(a) +00074 { +00075 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1CAgentNumbera2" doxytag="NLAIAGENT::CAgentNumber::CAgentNumber" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> NLAIAGENT::CAgentNumber::CAgentNumber </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>is</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05805.html#l00077">77</a> of file <a class="el" href="a05805.html">identtype.h</a>. +<p> +<div class="fragment"><pre>00077 :<a class="code" href="a02189.html">NLMISC::CEntityId</a>(is) +00078 { +00079 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1CAgentNumbera1" doxytag="NLAIAGENT::CAgentNumber::CAgentNumber" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> NLAIAGENT::CAgentNumber::CAgentNumber </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const char * </td> + <td class="mdname1" valign="top" nowrap> <em>id</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05805.html#l00081">81</a> of file <a class="el" href="a05805.html">identtype.h</a>. +<p> +References <a class="el" href="a05646.html#l00221">id</a>. +<p> +<div class="fragment"><pre>00081 :<a class="code" href="a02189.html">NLMISC::CEntityId</a>(<span class="keywordtype">id</span>) +00082 { +00083 } +</pre></div> </td> + </tr> +</table> +<hr><h2>Member Function Documentation</h2> +<a class="anchor" name="NLAIAGENT_1_1CIdenta0" doxytag="NLAIAGENT::CAgentNumber::asUint64" ></a><p> +<table class="mdTable" 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#a13">uint64</a> NLMISC::CEntityId::asUint64 </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> + +<p> +Definition at line <a class="el" href="a05673.html#l00401">401</a> of file <a class="el" href="a05673.html">entity_id.h</a>. +<p> +References <a class="el" href="a05673.html#l00073">NLMISC::CEntityId::FullId</a>, and <a class="el" href="a05981.html#l00102">uint64</a>. +<p> +<div class="fragment"><pre>00402 { +00403 <span class="keywordflow">return</span> <a class="code" href="a02189.html#NLAIAGENT_1_1CIdentp3">FullId</a>; +00404 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1CIdenta6" doxytag="NLAIAGENT::CAgentNumber::fromString" ></a><p> +<table class="mdTable" 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 NLMISC::CEntityId::fromString </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const char * </td> + <td class="mdname1" valign="top" nowrap> <em>str</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> +Read from a debug string, use the same format as <a class="el" href="a02189.html#NLAIAGENT_1_1CIdenta31">toString()</a> (id:type:creator:dynamic) in hexadecimal. +<p> + +<p> +Definition at line <a class="el" href="a05673.html#l00488">488</a> of file <a class="el" href="a05673.html">entity_id.h</a>. +<p> +References <a class="el" href="a02189.html#NLAIAGENT_1_1CIdentp1">NLMISC::CEntityId::DetailedId</a>, <a class="el" href="a05981.html#l00107">NL_I64</a>, <a class="el" href="a05646.html#l00244">type</a>, <a class="el" href="a05981.html#l00105">uint</a>, and <a class="el" href="a05981.html#l00102">uint64</a>. +<p> +Referenced by <a class="el" href="a05673.html#l00195">NLMISC::CEntityId::CEntityId()</a>, and <a class="el" href="a06645.html#l01892">NLNET::createMessage()</a>. +<p> +<div class="fragment"><pre>00490 { +00491 <a class="code" href="a04558.html#a13">uint64</a> <span class="keywordtype">id</span>; +00492 <a class="code" href="a04558.html#a15">uint</a> <a class="code" href="a04223.html#a581">type</a>; +00493 <a class="code" href="a04558.html#a15">uint</a> creatorId; +00494 <a class="code" href="a04558.html#a15">uint</a> dynamicId; +00495 +00496 <span class="keywordflow">if</span> (sscanf(str, <span class="stringliteral">"(%"</span>NL_I64<span class="stringliteral">"x:%x:%x:%x)"</span>, &<span class="keywordtype">id</span>, &type, &creatorId, &dynamicId) != 4) +00497 { +00498 *<span class="keyword">this</span> = <a class="code" href="a02189.html#NLAIAGENT_1_1CIdents2">Unknown</a>; +00499 <span class="keywordflow">return</span>; +00500 } +00501 +00502 <a class="code" href="a02189.html#NLAIAGENT_1_1CIdentp1">DetailedId</a>.Id = <span class="keywordtype">id</span>; +00503 <a class="code" href="a02189.html#NLAIAGENT_1_1CIdentp1">DetailedId</a>.Type = <a class="code" href="a04223.html#a581">type</a>; +00504 <a class="code" href="a02189.html#NLAIAGENT_1_1CIdentp1">DetailedId</a>.CreatorId = creatorId; +00505 <a class="code" href="a02189.html#NLAIAGENT_1_1CIdentp1">DetailedId</a>.DynamicId = dynamicId; +00506 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1CIdenta7" doxytag="NLAIAGENT::CAgentNumber::getCreatorId" ></a><p> +<table class="mdTable" 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#a7">uint8</a> NLMISC::CEntityId::getCreatorId </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 persistent creator id. +<p> + +<p> +Definition at line <a class="el" href="a05673.html#l00245">245</a> of file <a class="el" href="a05673.html">entity_id.h</a>. +<p> +References <a class="el" href="a02189.html#NLAIAGENT_1_1CIdentp1">NLMISC::CEntityId::DetailedId</a>, and <a class="el" href="a05981.html#l00096">uint8</a>. +<p> +Referenced by <a class="el" href="a05805.html#l00090">operator<()</a>. +<p> +<div class="fragment"><pre>00246 { +00247 <span class="keywordflow">return</span> <a class="code" href="a02189.html#NLAIAGENT_1_1CIdentp1">DetailedId</a>.CreatorId; +00248 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1CEntityIda3" doxytag="NLAIAGENT::CAgentNumber::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 NLMISC::CEntityId::getDebugString </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">std::string & </td> + <td class="mdname1" valign="top" nowrap> <em>str</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> +Have a debug string. +<p> + +<p> +Reimplemented in <a class="el" href="a02649.html#NLAIAGENT_1_1CIdenta8">NLAIAGENT::CIdent</a>. +<p> +Definition at line <a class="el" href="a05673.html#l00509">509</a> of file <a class="el" href="a05673.html">entity_id.h</a>. +<p> +References <a class="el" href="a02189.html#NLAIAGENT_1_1CIdentp1">NLMISC::CEntityId::DetailedId</a>, <a class="el" href="a05981.html#l00104">sint</a>, <a class="el" href="a05981.html#l00102">uint64</a>, and <a class="el" href="a05646.html#l00236">x</a>. +<p> +Referenced by <a class="el" href="a05803.html#l00403">NLAIAGENT::CNumericIndex::getDebugString()</a>, <a class="el" href="a05411.html#l00096">NLAIAGENT::CProxyAgentMail::getDebugString()</a>, and <a class="el" href="a05673.html#l00480">NLMISC::CEntityId::toString()</a>. +<p> +<div class="fragment"><pre>00511 { +00512 <span class="keywordtype">char</span> b[256]; +00513 memset(b,0,255); +00514 memset(b,<span class="charliteral">'0'</span>,19); +00515 <a class="code" href="a04558.html#a14">sint</a> n; +00516 +00517 <a class="code" href="a04558.html#a13">uint64</a> <a class="code" href="a04223.html#a572">x</a> = <a class="code" href="a02189.html#NLAIAGENT_1_1CIdentp1">DetailedId</a>.Id; +00518 <span class="keywordtype">char</span> baseTable[] = <span class="stringliteral">"0123456789abcdef"</span>; +00519 <span class="keywordflow">for</span>(n = 10; n < 20; n ++) +00520 { +00521 b[19 - n] = baseTable[(<a class="code" href="a04223.html#a572">x</a> & 15)]; +00522 <a class="code" href="a04223.html#a572">x</a> >>= 4; +00523 } +00524 b[19 - 9] = <span class="charliteral">':'</span>; +00525 +00526 <a class="code" href="a04223.html#a572">x</a> = <a class="code" href="a02189.html#NLAIAGENT_1_1CIdentp1">DetailedId</a>.Type; +00527 <span class="keywordflow">for</span>(n = 7; n < 9; n ++) +00528 { +00529 b[19 - n] = baseTable[(<a class="code" href="a04223.html#a572">x</a> & 15)]; +00530 <a class="code" href="a04223.html#a572">x</a> >>= 4; +00531 } +00532 b[19 - 6] = <span class="charliteral">':'</span>; +00533 +00534 <a class="code" href="a04223.html#a572">x</a> = <a class="code" href="a02189.html#NLAIAGENT_1_1CIdentp1">DetailedId</a>.CreatorId; +00535 <span class="keywordflow">for</span>(n = 4; n < 6; n ++) +00536 { +00537 b[19 - n] = baseTable[(<a class="code" href="a04223.html#a572">x</a> & 15)]; +00538 <a class="code" href="a04223.html#a572">x</a> >>= 4; +00539 } +00540 b[19 - 3] = <span class="charliteral">':'</span>; +00541 +00542 <a class="code" href="a04223.html#a572">x</a> = <a class="code" href="a02189.html#NLAIAGENT_1_1CIdentp1">DetailedId</a>.DynamicId; +00543 <span class="keywordflow">for</span>(n = 1; n < 3; n ++) +00544 { +00545 b[19 - n] = baseTable[(<a class="code" href="a04223.html#a572">x</a> & 15)]; +00546 <a class="code" href="a04223.html#a572">x</a> >>= 4; +00547 } +00548 str += <span class="stringliteral">"0x"</span> + std::string(b); +00549 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1CIdenta9" doxytag="NLAIAGENT::CAgentNumber::getDynamicId" ></a><p> +<table class="mdTable" 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#a7">uint8</a> NLMISC::CEntityId::getDynamicId </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 variable routing info. +<p> + +<p> +Definition at line <a class="el" href="a05673.html#l00233">233</a> of file <a class="el" href="a05673.html">entity_id.h</a>. +<p> +References <a class="el" href="a02189.html#NLAIAGENT_1_1CIdentp1">NLMISC::CEntityId::DetailedId</a>, and <a class="el" href="a05981.html#l00096">uint8</a>. +<p> +Referenced by <a class="el" href="a05805.html#l00090">operator<()</a>. +<p> +<div class="fragment"><pre>00234 { +00235 <span class="keywordflow">return</span> <a class="code" href="a02189.html#NLAIAGENT_1_1CIdentp1">DetailedId</a>.DynamicId; +00236 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1CIdente0" doxytag="NLAIAGENT::CAgentNumber::getNewEntityId" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> CEntityId NLMISC::CEntityId::getNewEntityId </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a7">uint8</a> </td> + <td class="mdname1" valign="top" nowrap> <em>type</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline, static, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Generator of entity ids. +<p> + +<p> +Definition at line <a class="el" href="a05673.html#l00109">109</a> of file <a class="el" href="a05673.html">entity_id.h</a>. +<p> +References <a class="el" href="a05672.html#l00036">NLMISC::CEntityId::_NextEntityId</a>, <a class="el" href="a05622.html#l00290">nlassert</a>, <a class="el" href="a05673.html#l00263">NLMISC::CEntityId::setType()</a>, <a class="el" href="a05646.html#l00244">type</a>, and <a class="el" href="a05981.html#l00096">uint8</a>. +<p> +<div class="fragment"><pre>00110 { +00111 <a class="code" href="a04199.html#a6">nlassert</a>(_NextEntityId != Unknown ); <span class="comment">// type may be Unknown, so isUnknownId() would return true</span> +00112 <a class="code" href="a02189.html">NLMISC::CEntityId</a> <span class="keywordtype">id</span> = <a class="code" href="a02189.html#NLAIAGENT_1_1CIdentt0">_NextEntityId</a>++; +00113 <span class="keywordtype">id</span>.<a class="code" href="a02189.html#NLAIAGENT_1_1CIdenta29">setType</a>( type ); +00114 <span class="keywordflow">return</span> <span class="keywordtype">id</span>; +00115 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1CIdenta10" doxytag="NLAIAGENT::CAgentNumber::getRawId" ></a><p> +<table class="mdTable" 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#a13">uint64</a> NLMISC::CEntityId::getRawId </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 full id. +<p> + +<p> +Definition at line <a class="el" href="a05673.html#l00212">212</a> of file <a class="el" href="a05673.html">entity_id.h</a>. +<p> +References <a class="el" href="a05673.html#l00073">NLMISC::CEntityId::FullId</a>, and <a class="el" href="a05981.html#l00102">uint64</a>. +<p> +<div class="fragment"><pre>00213 { +00214 <span class="keywordflow">return</span> <a class="code" href="a02189.html#NLAIAGENT_1_1CIdentp3">FullId</a>; +00215 <span class="comment">/*</span> +00216 <span class="comment"> return (uint64)*this;</span> +00217 <span class="comment"> */</span> +00218 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1CIdenta11" doxytag="NLAIAGENT::CAgentNumber::getShortId" ></a><p> +<table class="mdTable" 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#a13">uint64</a> NLMISC::CEntityId::getShortId </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 local entity number. +<p> + +<p> +Definition at line <a class="el" href="a05673.html#l00221">221</a> of file <a class="el" href="a05673.html">entity_id.h</a>. +<p> +References <a class="el" href="a02189.html#NLAIAGENT_1_1CIdentp1">NLMISC::CEntityId::DetailedId</a>, and <a class="el" href="a05981.html#l00102">uint64</a>. +<p> +Referenced by <a class="el" href="a05805.html#l00090">operator<()</a>. +<p> +<div class="fragment"><pre>00222 { +00223 <span class="keywordflow">return</span> <a class="code" href="a02189.html#NLAIAGENT_1_1CIdentp1">DetailedId</a>.Id; +00224 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1CIdenta12" doxytag="NLAIAGENT::CAgentNumber::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"> <a class="el" href="a04558.html#a7">uint8</a> NLMISC::CEntityId::getType </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> +Get the entity type. +<p> + +<p> +Definition at line <a class="el" href="a05673.html#l00257">257</a> of file <a class="el" href="a05673.html">entity_id.h</a>. +<p> +References <a class="el" href="a02189.html#NLAIAGENT_1_1CIdentp1">NLMISC::CEntityId::DetailedId</a>, and <a class="el" href="a05981.html#l00096">uint8</a>. +<p> +Referenced by <a class="el" href="a05475.html#l00473">NLAIAGENT::IRefrence::IRefrence()</a>, <a class="el" href="a05805.html#l00085">isAgentId()</a>, and <a class="el" href="a05805.html#l00121">setTypeAt()</a>. +<p> +<div class="fragment"><pre>00258 { +00259 <span class="keywordflow">return</span> (<a class="code" href="a04558.html#a7">uint8</a>)<a class="code" href="a02189.html#NLAIAGENT_1_1CIdentp1">DetailedId</a>.Type; +00260 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1CIdenta14" doxytag="NLAIAGENT::CAgentNumber::getUniqueId" ></a><p> +<table class="mdTable" 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#a13">uint64</a> NLMISC::CEntityId::getUniqueId </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 persistent part of the entity id (the dynamic part in the returned id is 0). +<p> + +<p> +Definition at line <a class="el" href="a05673.html#l00269">269</a> of file <a class="el" href="a05673.html">entity_id.h</a>. +<p> +References <a class="el" href="a05673.html#l00073">NLMISC::CEntityId::FullId</a>, and <a class="el" href="a05981.html#l00102">uint64</a>. +<p> +Referenced by <a class="el" href="a05673.html#l00306">NLMISC::CEntityId::operator<()</a>, and <a class="el" href="a05673.html#l00331">NLMISC::CEntityId::operator>()</a>. +<p> +<div class="fragment"><pre>00270 { +00271 <a class="code" href="a02189.html#NLMISC_1_1CEntityIdz1939_7">CEntityId</a> <span class="keywordtype">id</span>; +00272 <span class="keywordtype">id</span>.FullId = <a class="code" href="a02189.html#NLAIAGENT_1_1CIdentp3">FullId</a>; +00273 <span class="keywordtype">id</span>.DetailedId.DynamicId = 0; +00274 <span class="keywordflow">return</span> <span class="keywordtype">id</span>.FullId; +00275 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1CIdenta15" doxytag="NLAIAGENT::CAgentNumber::isAgentId" ></a><p> +<table class="mdTable" 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::CAgentNumber::isAgentId </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]</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="a05805.html#l00085">85</a> of file <a class="el" href="a05805.html">identtype.h</a>. +<p> +References <a class="el" href="a05802.html#l00028">AgentTypeBit</a>, and <a class="el" href="a05673.html#l00257">NLMISC::CEntityId::getType()</a>. +<p> +Referenced by <a class="el" href="a05805.html#l00090">operator<()</a>. +<p> +<div class="fragment"><pre>00086 { +00087 <span class="keywordflow">return</span> (<a class="code" href="a02189.html#NLAIAGENT_1_1CIdenta12">getType</a>() & <a class="code" href="a02188.html#NLAIAGENT_1_1CIdents0">AgentTypeBit</a>) != 0; +00088 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1CIdenta16" doxytag="NLAIAGENT::CAgentNumber::isUnknownId" ></a><p> +<table class="mdTable" 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 NLMISC::CEntityId::isUnknownId </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> +Test if the entity id is Unknown. +<p> + +<p> +Definition at line <a class="el" href="a05673.html#l00278">278</a> of file <a class="el" href="a05673.html">entity_id.h</a>. +<p> +References <a class="el" href="a02189.html#NLAIAGENT_1_1CIdentp1">NLMISC::CEntityId::DetailedId</a>, and <a class="el" href="a02189.html#NLAIAGENT_1_1CIdentw0NLAIAGENT_1_1CIdentw5">NLMISC::CEntityId::UNKNOWN_TYPE</a>. +<p> +<div class="fragment"><pre>00279 { +00280 <span class="keywordflow">return</span> <a class="code" href="a02189.html#NLAIAGENT_1_1CIdentp1">DetailedId</a>.Type == <a class="code" href="a02189.html#NLAIAGENT_1_1CIdentw0NLAIAGENT_1_1CIdentw5">UNKNOWN_TYPE</a>; +00281 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1CEntityIda10" doxytag="NLAIAGENT::CAgentNumber::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 NLMISC::CEntityId::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> <em>is</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> +Load the number from an input stream. +<p> + +<p> +Reimplemented in <a class="el" href="a02649.html#NLAIAGENT_1_1CIdenta17">NLAIAGENT::CIdent</a>. +<p> +Definition at line <a class="el" href="a05673.html#l00443">443</a> of file <a class="el" href="a05673.html">entity_id.h</a>. +<p> +References <a class="el" href="a05673.html#l00073">NLMISC::CEntityId::FullId</a>, and <a class="el" href="a06462.html#l00232">NLMISC::IStream::serial()</a>. +<p> +Referenced by <a class="el" href="a05803.html#l00398">NLAIAGENT::CNumericIndex::load()</a>, and <a class="el" href="a05673.html#l00462">NLMISC::CEntityId::serial()</a>. +<p> +<div class="fragment"><pre>00445 { +00446 is.<a class="code" href="a02270.html#NLMISC_1_1IStreama5">serial</a>(FullId); +00447 <span class="comment">/*</span> +00448 <span class="comment"> uint64 p;</span> +00449 <span class="comment"> is.serial(p);</span> +00450 <span class="comment"></span> +00451 <span class="comment"> DynamicId = (uint64)(p & 0xff);</span> +00452 <span class="comment"> p >>= 8;</span> +00453 <span class="comment"> CreatorId = (uint64)(p & 0xff);</span> +00454 <span class="comment"> p >>= 8;</span> +00455 <span class="comment"> Type = (uint64)(p & 0xff);</span> +00456 <span class="comment"> p >>= 8;</span> +00457 <span class="comment"> Id = (uint64)(p);</span> +00458 <span class="comment"> */</span> +00459 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1CIdentz1941_0" doxytag="NLAIAGENT::CAgentNumber::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 NLMISC::CEntityId::operator!= </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const <a class="el" href="a02189.html">CEntityId</a> & </td> + <td class="mdname1" valign="top" nowrap> <em>a</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> + +<p> +Definition at line <a class="el" href="a05673.html#l00301">301</a> of file <a class="el" href="a05673.html">entity_id.h</a>. +<p> +<div class="fragment"><pre>00302 { +00303 <span class="keywordflow">return</span> !((*this) == a); +00304 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1CIdenta18" doxytag="NLAIAGENT::CAgentNumber::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"> const CEntityId& NLMISC::CEntityId::operator++ </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">int </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> + +<p> +Definition at line <a class="el" href="a05673.html#l00358">358</a> of file <a class="el" href="a05673.html">entity_id.h</a>. +<p> +References <a class="el" href="a02189.html#NLAIAGENT_1_1CIdentp1">NLMISC::CEntityId::DetailedId</a>, <a class="el" href="a05672.html#l00034">NLMISC::CEntityId::MaxEntityId</a>, <a class="el" href="a05981.html#l00107">NL_I64</a>, and <a class="el" href="a05622.html#l00154">nlerror</a>. +<p> +<div class="fragment"><pre>00359 { +00360 <span class="keywordflow">if</span>(<a class="code" href="a02189.html#NLAIAGENT_1_1CIdentp1">DetailedId</a>.Id < <a class="code" href="a02189.html#NLAIAGENT_1_1CIdents1">MaxEntityId</a>) +00361 { +00362 <a class="code" href="a02189.html#NLAIAGENT_1_1CIdentp1">DetailedId</a>.Id ++; +00363 } +00364 <span class="keywordflow">else</span> +00365 { +00366 <a class="code" href="a04199.html#a3">nlerror</a> (<span class="stringliteral">"CEntityId looped (max was %"</span>NL_I64<span class="stringliteral">"d"</span>, MaxEntityId); +00367 } +00368 <span class="keywordflow">return</span> *<span class="keyword">this</span>; +00369 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1CIdentz1941_1" doxytag="NLAIAGENT::CAgentNumber::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 NLMISC::CEntityId::operator< </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const <a class="el" href="a02189.html">CEntityId</a> & </td> + <td class="mdname1" valign="top" nowrap> <em>a</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> + +<p> +Definition at line <a class="el" href="a05673.html#l00306">306</a> of file <a class="el" href="a05673.html">entity_id.h</a>. +<p> +References <a class="el" href="a05673.html#l00269">NLMISC::CEntityId::getUniqueId()</a>. +<p> +<div class="fragment"><pre>00308 { +00309 <span class="keywordflow">return</span> <a class="code" href="a02189.html#NLAIAGENT_1_1CIdenta14">getUniqueId</a>() < a.getUniqueId(); +00310 +00311 <span class="comment">/*</span> +00312 <span class="comment"> if (Type < a.Type)</span> +00313 <span class="comment"> {</span> +00314 <span class="comment"> return true;</span> +00315 <span class="comment"> }</span> +00316 <span class="comment"> else if (Type == a.Type)</span> +00317 <span class="comment"> {</span> +00318 <span class="comment"> if (Id < a.Id)</span> +00319 <span class="comment"> {</span> +00320 <span class="comment"> return true;</span> +00321 <span class="comment"> }</span> +00322 <span class="comment"> else if (Id == a.Id)</span> +00323 <span class="comment"> {</span> +00324 <span class="comment"> return (CreatorId < a.CreatorId);</span> +00325 <span class="comment"> }</span> +00326 <span class="comment"> } </span> +00327 <span class="comment"> return false;</span> +00328 <span class="comment"> */</span> +00329 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1CIdenta19" doxytag="NLAIAGENT::CAgentNumber::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"> virtual bool NLAIAGENT::CAgentNumber::operator< </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const <a class="el" href="a02189.html">NLMISC::CEntityId</a> & </td> + <td class="mdname1" valign="top" nowrap> <em>a</em> </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> + +<p> +Definition at line <a class="el" href="a05805.html#l00090">90</a> of file <a class="el" href="a05805.html">identtype.h</a>. +<p> +References <a class="el" href="a05673.html#l00245">NLMISC::CEntityId::getCreatorId()</a>, <a class="el" href="a05673.html#l00233">NLMISC::CEntityId::getDynamicId()</a>, <a class="el" href="a05673.html#l00221">NLMISC::CEntityId::getShortId()</a>, <a class="el" href="a05805.html#l00085">isAgentId()</a>, and <a class="el" href="a06367.html#l00112">operator<()</a>. +<p> +<div class="fragment"><pre>00091 { +00092 +00093 <span class="keywordflow">if</span>(<a class="code" href="a02188.html#NLAIAGENT_1_1CIdenta15">isAgentId</a>()) +00094 { +00095 <span class="keywordflow">if</span> (<a class="code" href="a02189.html#NLAIAGENT_1_1CIdenta11">getShortId</a>() < a.<a class="code" href="a02189.html#NLAIAGENT_1_1CIdenta11">getShortId</a>()) +00096 { +00097 <span class="keywordflow">return</span> <span class="keyword">true</span>; +00098 } +00099 <span class="keywordflow">else</span> +00100 <span class="keywordflow">if</span> (<a class="code" href="a02189.html#NLAIAGENT_1_1CIdenta11">getShortId</a>() == a.<a class="code" href="a02189.html#NLAIAGENT_1_1CIdenta11">getShortId</a>()) +00101 { +00102 <span class="keywordflow">if</span>(<a class="code" href="a02189.html#NLAIAGENT_1_1CIdenta7">getCreatorId</a>() < a.<a class="code" href="a02189.html#NLAIAGENT_1_1CIdenta7">getCreatorId</a>()) +00103 { +00104 <span class="keywordflow">return</span> <span class="keyword">true</span>; +00105 } +00106 <span class="keywordflow">else</span> +00107 <span class="keywordflow">if</span>(<a class="code" href="a02189.html#NLAIAGENT_1_1CIdenta7">getCreatorId</a>() == a.<a class="code" href="a02189.html#NLAIAGENT_1_1CIdenta7">getCreatorId</a>()) +00108 { +00109 <span class="keywordflow">return</span> <a class="code" href="a02189.html#NLAIAGENT_1_1CIdenta9">getDynamicId</a>() < a.<a class="code" href="a02189.html#NLAIAGENT_1_1CIdenta9">getDynamicId</a>(); +00110 } +00111 } +00112 <span class="keywordflow">return</span> <span class="keyword">false</span>; +00113 } +00114 <span class="keywordflow">else</span> +00115 { +00116 <span class="keywordflow">return</span> <a class="code" href="a04944.html#a0">CEntityId::operator < </a>(a); +00117 } +00118 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1CIdentz1941_2" doxytag="NLAIAGENT::CAgentNumber::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 NLMISC::CEntityId::operator== </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const <a class="el" href="a02189.html">CEntityId</a> & </td> + <td class="mdname1" valign="top" nowrap> <em>a</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> + +<p> +Definition at line <a class="el" href="a05673.html#l00289">289</a> of file <a class="el" href="a05673.html">entity_id.h</a>. +<p> +References <a class="el" href="a02189.html#NLAIAGENT_1_1CIdentp1">NLMISC::CEntityId::DetailedId</a>, and <a class="el" href="a05673.html#l00073">NLMISC::CEntityId::FullId</a>. +<p> +<div class="fragment"><pre>00291 { +00292 +00293 <a class="code" href="a02189.html#NLMISC_1_1CEntityIdz1939_7">CEntityId</a> testId ( FullId ^ a.FullId ); +00294 testId.DetailedId.DynamicId = 0; +00295 <span class="keywordflow">return</span> testId.FullId == 0; +00296 +00297 <span class="comment">/*</span> +00298 <span class="comment"> return (Id == a.DetailedId.Id && DetailedId.CreatorId == a.DetailedId.CreatorId && DetailedId.Type == a.DetailedId.Type);</span> +00299 <span class="comment"> */</span> +00300 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1CIdentz1941_3" doxytag="NLAIAGENT::CAgentNumber::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 NLMISC::CEntityId::operator> </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const <a class="el" href="a02189.html">CEntityId</a> & </td> + <td class="mdname1" valign="top" nowrap> <em>a</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> + +<p> +Definition at line <a class="el" href="a05673.html#l00331">331</a> of file <a class="el" href="a05673.html">entity_id.h</a>. +<p> +References <a class="el" href="a05673.html#l00269">NLMISC::CEntityId::getUniqueId()</a>. +<p> +<div class="fragment"><pre>00333 { +00334 <span class="keywordflow">return</span> <a class="code" href="a02189.html#NLAIAGENT_1_1CIdenta14">getUniqueId</a>() > a.getUniqueId(); +00335 +00336 <span class="comment">/*</span> +00337 <span class="comment"> if (Type > a.Type)</span> +00338 <span class="comment"> {</span> +00339 <span class="comment"> return true;</span> +00340 <span class="comment"> }</span> +00341 <span class="comment"> else if (Type == a.Type)</span> +00342 <span class="comment"> {</span> +00343 <span class="comment"> if (Id > a.Id)</span> +00344 <span class="comment"> {</span> +00345 <span class="comment"> return true;</span> +00346 <span class="comment"> }</span> +00347 <span class="comment"> else if (Id == a.Id)</span> +00348 <span class="comment"> {</span> +00349 <span class="comment"> return (CreatorId > a.CreatorId);</span> +00350 <span class="comment"> }</span> +00351 <span class="comment"> }</span> +00352 <span class="comment"> // lesser</span> +00353 <span class="comment"> return false;</span> +00354 <span class="comment"> */</span> +00355 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1CEntityIda14" doxytag="NLAIAGENT::CAgentNumber::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 NLMISC::CEntityId::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> <em>os</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> +Save the Id into an output stream. +<p> + +<p> +Reimplemented in <a class="el" href="a02649.html#NLAIAGENT_1_1CIdenta24">NLAIAGENT::CIdent</a>. +<p> +Definition at line <a class="el" href="a05673.html#l00426">426</a> of file <a class="el" href="a05673.html">entity_id.h</a>. +<p> +References <a class="el" href="a05673.html#l00073">NLMISC::CEntityId::FullId</a>, and <a class="el" href="a06462.html#l00232">NLMISC::IStream::serial()</a>. +<p> +Referenced by <a class="el" href="a05803.html#l00392">NLAIAGENT::CNumericIndex::save()</a>, <a class="el" href="a05411.html#l00066">NLAIAGENT::CProxyAgentMail::save()</a>, and <a class="el" href="a05673.html#l00462">NLMISC::CEntityId::serial()</a>. +<p> +<div class="fragment"><pre>00428 { +00429 os.<a class="code" href="a02270.html#NLMISC_1_1IStreama5">serial</a>(FullId); +00430 <span class="comment">/*</span> +00431 <span class="comment"> uint64 p = Id;</span> +00432 <span class="comment"> p <<= 8;</span> +00433 <span class="comment"> p |= (uint64)Type;</span> +00434 <span class="comment"> p <<= 8;</span> +00435 <span class="comment"> p |= (uint64)CreatorId;</span> +00436 <span class="comment"> p <<= 8;</span> +00437 <span class="comment"> p |= (uint64)DynamicId;</span> +00438 <span class="comment"> os.serial(p);</span> +00439 <span class="comment"> */</span> +00440 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1CIdenta25" doxytag="NLAIAGENT::CAgentNumber::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"> void NLMISC::CEntityId::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, 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="a05673.html#l00462">462</a> of file <a class="el" href="a05673.html">entity_id.h</a>. +<p> +References <a class="el" href="a05673.html#l00443">NLMISC::CEntityId::load()</a>, and <a class="el" href="a05673.html#l00426">NLMISC::CEntityId::save()</a>. +<p> +<div class="fragment"><pre>00464 { +00465 <span class="keywordflow">if</span> (f.<a class="code" href="a02270.html#NLMISC_1_1IStreama0">isReading</a> ()) +00466 { +00467 <a class="code" href="a02189.html#NLMISC_1_1CEntityIda10">load</a> (f); +00468 } +00469 <span class="keywordflow">else</span> +00470 { +00471 <a class="code" href="a02189.html#NLMISC_1_1CEntityIda14">save</a> (f); +00472 } +00473 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1CIdenta26" doxytag="NLAIAGENT::CAgentNumber::setCreatorId" ></a><p> +<table class="mdTable" 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 NLMISC::CEntityId::setCreatorId </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a7">uint8</a> </td> + <td class="mdname1" valign="top" nowrap> <em>creatorId</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 persistent creator id. +<p> + +<p> +Definition at line <a class="el" href="a05673.html#l00251">251</a> of file <a class="el" href="a05673.html">entity_id.h</a>. +<p> +References <a class="el" href="a02189.html#NLAIAGENT_1_1CIdentp1">NLMISC::CEntityId::DetailedId</a>, and <a class="el" href="a05981.html#l00096">uint8</a>. +<p> +Referenced by <a class="el" href="a05668.html#l00313">NLMISC::CEntityIdTranslator::checkEntity()</a>, <a class="el" href="a05949.html#l00076">NLLOGIC::CLogicEventMessage::CLogicEventMessage()</a>, <a class="el" href="a05954.html#l00316">NLLOGIC::CLogicStateMachine::displayVariables()</a>, <a class="el" href="a05668.html#l00126">NLMISC::CEntityIdTranslator::getByEntity()</a>, <a class="el" href="a05668.html#l00493">NLMISC::CEntityIdTranslator::getEntityIdInfo()</a>, <a class="el" href="a05668.html#l00535">NLMISC::CEntityIdTranslator::getEntityNameStringId()</a>, <a class="el" href="a05668.html#l00571">NLMISC::CEntityIdTranslator::isEntityOnline()</a>, <a class="el" href="a05668.html#l00687">NLMISC::NLMISC_COMMAND()</a>, <a class="el" href="a05668.html#l00267">NLMISC::CEntityIdTranslator::registerEntity()</a>, <a class="el" href="a05668.html#l00553">NLMISC::CEntityIdTranslator::setEntityOnline()</a>, <a class="el" href="a05421.html#l00072">NLAILINK::setLocalServerID()</a>, <a class="el" href="a05673.html#l00101">NLMISC::CEntityId::setServiceId()</a>, and <a class="el" href="a05668.html#l00292">NLMISC::CEntityIdTranslator::unregisterEntity()</a>. +<p> +<div class="fragment"><pre>00252 { +00253 <a class="code" href="a02189.html#NLAIAGENT_1_1CIdentp1">DetailedId</a>.CreatorId = creatorId; +00254 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1CIdenta27" doxytag="NLAIAGENT::CAgentNumber::setDynamicId" ></a><p> +<table class="mdTable" 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 NLMISC::CEntityId::setDynamicId </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a7">uint8</a> </td> + <td class="mdname1" valign="top" nowrap> <em>dynId</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 variable routing info. +<p> + +<p> +Definition at line <a class="el" href="a05673.html#l00239">239</a> of file <a class="el" href="a05673.html">entity_id.h</a>. +<p> +References <a class="el" href="a02189.html#NLAIAGENT_1_1CIdentp1">NLMISC::CEntityId::DetailedId</a>, and <a class="el" href="a05981.html#l00096">uint8</a>. +<p> +Referenced by <a class="el" href="a05668.html#l00313">NLMISC::CEntityIdTranslator::checkEntity()</a>, <a class="el" href="a05949.html#l00076">NLLOGIC::CLogicEventMessage::CLogicEventMessage()</a>, <a class="el" href="a05954.html#l00316">NLLOGIC::CLogicStateMachine::displayVariables()</a>, <a class="el" href="a05668.html#l00126">NLMISC::CEntityIdTranslator::getByEntity()</a>, <a class="el" href="a05668.html#l00493">NLMISC::CEntityIdTranslator::getEntityIdInfo()</a>, <a class="el" href="a05668.html#l00535">NLMISC::CEntityIdTranslator::getEntityNameStringId()</a>, <a class="el" href="a05668.html#l00571">NLMISC::CEntityIdTranslator::isEntityOnline()</a>, <a class="el" href="a05668.html#l00687">NLMISC::NLMISC_COMMAND()</a>, <a class="el" href="a05668.html#l00267">NLMISC::CEntityIdTranslator::registerEntity()</a>, <a class="el" href="a05668.html#l00553">NLMISC::CEntityIdTranslator::setEntityOnline()</a>, <a class="el" href="a05421.html#l00072">NLAILINK::setLocalServerID()</a>, <a class="el" href="a05673.html#l00101">NLMISC::CEntityId::setServiceId()</a>, and <a class="el" href="a05668.html#l00292">NLMISC::CEntityIdTranslator::unregisterEntity()</a>. +<p> +<div class="fragment"><pre>00240 { +00241 <a class="code" href="a02189.html#NLAIAGENT_1_1CIdentp1">DetailedId</a>.DynamicId = dynId; +00242 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1CIdente1" doxytag="NLAIAGENT::CAgentNumber::setServiceId" ></a><p> +<table class="mdTable" 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 NLMISC::CEntityId::setServiceId </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a7">uint8</a> </td> + <td class="mdname1" valign="top" nowrap> <em>sid</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline, static, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Set the service id for the generator. +<p> + +<p> +Definition at line <a class="el" href="a05673.html#l00101">101</a> of file <a class="el" href="a05673.html">entity_id.h</a>. +<p> +References <a class="el" href="a05672.html#l00036">NLMISC::CEntityId::_NextEntityId</a>, <a class="el" href="a05672.html#l00038">NLMISC::CEntityId::_ServerId</a>, <a class="el" href="a05673.html#l00251">NLMISC::CEntityId::setCreatorId()</a>, <a class="el" href="a05673.html#l00239">NLMISC::CEntityId::setDynamicId()</a>, and <a class="el" href="a05981.html#l00096">uint8</a>. +<p> +Referenced by <a class="el" href="a06364.html#l00419">NLNET::IService::main()</a>, and <a class="el" href="a05421.html#l00072">NLAILINK::setLocalServerID()</a>. +<p> +<div class="fragment"><pre>00102 { +00103 <a class="code" href="a02189.html#NLAIAGENT_1_1CIdentt0">_NextEntityId</a>.<a class="code" href="a02189.html#NLAIAGENT_1_1CIdenta27">setDynamicId</a>( sid ); +00104 <a class="code" href="a02189.html#NLAIAGENT_1_1CIdentt0">_NextEntityId</a>.<a class="code" href="a02189.html#NLAIAGENT_1_1CIdenta26">setCreatorId</a>( sid ); +00105 <a class="code" href="a02189.html#NLAIAGENT_1_1CIdentt1">_ServerId</a> = sid; +00106 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1CIdenta28" doxytag="NLAIAGENT::CAgentNumber::setShortId" ></a><p> +<table class="mdTable" 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 NLMISC::CEntityId::setShortId </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a13">uint64</a> </td> + <td class="mdname1" valign="top" nowrap> <em>shortId</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 local entity number. +<p> + +<p> +Definition at line <a class="el" href="a05673.html#l00227">227</a> of file <a class="el" href="a05673.html">entity_id.h</a>. +<p> +References <a class="el" href="a02189.html#NLAIAGENT_1_1CIdentp1">NLMISC::CEntityId::DetailedId</a>, and <a class="el" href="a05981.html#l00102">uint64</a>. +<p> +<div class="fragment"><pre>00228 { +00229 <a class="code" href="a02189.html#NLAIAGENT_1_1CIdentp1">DetailedId</a>.Id = shortId; +00230 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1CIdenta29" doxytag="NLAIAGENT::CAgentNumber::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 NLMISC::CEntityId::setType </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a7">uint8</a> </td> + <td class="mdname1" valign="top" nowrap> <em>type</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 entity type. +<p> + +<p> +Definition at line <a class="el" href="a05673.html#l00263">263</a> of file <a class="el" href="a05673.html">entity_id.h</a>. +<p> +References <a class="el" href="a02189.html#NLAIAGENT_1_1CIdentp1">NLMISC::CEntityId::DetailedId</a>, <a class="el" href="a05646.html#l00244">type</a>, and <a class="el" href="a05981.html#l00096">uint8</a>. +<p> +Referenced by <a class="el" href="a05805.html#l00053">CAgentNumber()</a>, <a class="el" href="a05949.html#l00076">NLLOGIC::CLogicEventMessage::CLogicEventMessage()</a>, <a class="el" href="a05954.html#l00316">NLLOGIC::CLogicStateMachine::displayVariables()</a>, <a class="el" href="a05673.html#l00109">NLMISC::CEntityId::getNewEntityId()</a>, and <a class="el" href="a05805.html#l00121">setTypeAt()</a>. +<p> +<div class="fragment"><pre>00264 { +00265 <a class="code" href="a02189.html#NLAIAGENT_1_1CIdentp1">DetailedId</a>.Type = <a class="code" href="a04223.html#a581">type</a>; +00266 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1CIdenta30" doxytag="NLAIAGENT::CAgentNumber::setTypeAt" ></a><p> +<table class="mdTable" 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::CAgentNumber::setTypeAt </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a13">uint64</a> </td> + <td class="mdname1" valign="top" nowrap> <em>t</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +That function allow user to change the 7 bit of the type field in the sid agent number; We don't touche at the 8e bits. +<p> + +<p> +Definition at line <a class="el" href="a05805.html#l00121">121</a> of file <a class="el" href="a05805.html">identtype.h</a>. +<p> +References <a class="el" href="a05673.html#l00257">NLMISC::CEntityId::getType()</a>, <a class="el" href="a05673.html#l00263">NLMISC::CEntityId::setType()</a>, <a class="el" href="a05646.html#l00985">t</a>, <a class="el" href="a05646.html#l00244">type</a>, <a class="el" href="a05981.html#l00102">uint64</a>, and <a class="el" href="a05981.html#l00096">uint8</a>. +<p> +Referenced by <a class="el" href="a05803.html#l00368">NLAIAGENT::CNumericIndex::setTypeAt()</a>. +<p> +<div class="fragment"><pre>00122 { +00123 <a class="code" href="a04558.html#a7">uint8</a> <a class="code" href="a04223.html#a581">type</a> = <a class="code" href="a02189.html#NLAIAGENT_1_1CIdenta12">getType</a>(); +00124 <a class="code" href="a04223.html#a581">type</a> |= (<a class="code" href="a04223.html#a627">t</a> & 0x7f); +00125 <a class="code" href="a02189.html#NLAIAGENT_1_1CIdenta29">setType</a>( type ); +00126 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1CIdenta31" doxytag="NLAIAGENT::CAgentNumber::toString" ></a><p> +<table class="mdTable" 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 NLMISC::CEntityId::toString </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> +return a string in form "(a:b:c:d)" where a,b,c,d are components of entity id. +<p> + +<p> +Definition at line <a class="el" href="a05673.html#l00480">480</a> of file <a class="el" href="a05673.html">entity_id.h</a>. +<p> +References <a class="el" href="a05673.html#l00509">NLMISC::CEntityId::getDebugString()</a>. +<p> +Referenced by <a class="el" href="a05668.html#l00313">NLMISC::CEntityIdTranslator::checkEntity()</a>, <a class="el" href="a05668.html#l00493">NLMISC::CEntityIdTranslator::getEntityIdInfo()</a>, <a class="el" href="a05668.html#l00571">NLMISC::CEntityIdTranslator::isEntityOnline()</a>, <a class="el" href="a05668.html#l00633">NLMISC::NLMISC_COMMAND()</a>, <a class="el" href="a05668.html#l00267">NLMISC::CEntityIdTranslator::registerEntity()</a>, <a class="el" href="a05668.html#l00553">NLMISC::CEntityIdTranslator::setEntityOnline()</a>, and <a class="el" href="a05668.html#l00292">NLMISC::CEntityIdTranslator::unregisterEntity()</a>. +<p> +<div class="fragment"><pre>00481 { +00482 std::string <span class="keywordtype">id</span>; +00483 <a class="code" href="a02189.html#NLMISC_1_1CEntityIda3">getDebugString</a> (<span class="keywordtype">id</span>); +00484 <span class="keywordflow">return</span> <span class="stringliteral">"("</span> + <span class="keywordtype">id</span> + <span class="stringliteral">")"</span>; +00485 } +</pre></div> </td> + </tr> +</table> +<hr><h2>Field Documentation</h2> +<a class="anchor" name="NLAIAGENT_1_1CIdentt0" doxytag="NLAIAGENT::CAgentNumber::_NextEntityId" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> CEntityId <a class="el" href="a02189.html#NLAIAGENT_1_1CIdentt0">NLMISC::CEntityId::_NextEntityId</a><code> [static, protected, inherited]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Counter for generation of unique entity ids. +<p> + +<p> +Definition at line <a class="el" href="a05672.html#l00036">36</a> of file <a class="el" href="a05672.html">entity_id.cpp</a>. +<p> +Referenced by <a class="el" href="a05673.html#l00109">NLMISC::CEntityId::getNewEntityId()</a>, and <a class="el" href="a05673.html#l00101">NLMISC::CEntityId::setServiceId()</a>. </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1CIdentt1" doxytag="NLAIAGENT::CAgentNumber::_ServerId" ></a><p> +<table class="mdTable" 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#a7">uint8</a> <a class="el" href="a02189.html#NLAIAGENT_1_1CIdentt1">NLMISC::CEntityId::_ServerId</a> = 0<code> [static, protected, inherited]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +The local num service id of the local machin. +<p> + +<p> +Definition at line <a class="el" href="a05672.html#l00038">38</a> of file <a class="el" href="a05672.html">entity_id.cpp</a>. +<p> +Referenced by <a class="el" href="a05673.html#l00144">NLMISC::CEntityId::CEntityId()</a>, and <a class="el" href="a05673.html#l00101">NLMISC::CEntityId::setServiceId()</a>. </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1CIdents0" doxytag="NLAIAGENT::CAgentNumber::AgentTypeBit" ></a><p> +<table class="mdTable" 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#a7">uint8</a> <a class="el" href="a02188.html#NLAIAGENT_1_1CIdents0">NLAIAGENT::CAgentNumber::AgentTypeBit</a> = 0x80<code> [static]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +All agents id'S numbers have the 8th bit reserved on <a class="el" href="a02189.html#NLAIAGENT_1_1CIdentp5">NLMISC::CEntityId::Type</a> byte The CEntityId::Type field is for AI an user bits field becarful we dont't touch at the 8e bits. +<p> +Definition at line <a class="el" href="a05802.html#l00028">28</a> of file <a class="el" href="a05802.html">ident.cpp</a>. +<p> +Referenced by <a class="el" href="a05805.html#l00057">CAgentNumber()</a>, and <a class="el" href="a05805.html#l00085">isAgentId()</a>. </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1CIdentp0" doxytag="NLAIAGENT::CAgentNumber::CreatorId" ></a><p> +<table class="mdTable" 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#a13">uint64</a> <a class="el" href="a02189.html#NLAIAGENT_1_1CIdentp0">NLMISC::CEntityId::CreatorId</a><code> [protected, inherited]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Id of the service who created the entity (persistent). +<p> + +<p> +Definition at line <a class="el" href="a05673.html#l00066">66</a> of file <a class="el" href="a05673.html">entity_id.h</a>. </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1CIdentp1" doxytag="NLAIAGENT::CAgentNumber::DetailedId" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> struct { ... } <a class="el" href="a02189.html#NLAIAGENT_1_1CIdentp1">NLMISC::CEntityId::DetailedId</a><code> [protected, inherited]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Referenced by <a class="el" href="a05673.html#l00123">NLMISC::CEntityId::CEntityId()</a>, <a class="el" href="a05673.html#l00488">NLMISC::CEntityId::fromString()</a>, <a class="el" href="a05673.html#l00245">NLMISC::CEntityId::getCreatorId()</a>, <a class="el" href="a05673.html#l00509">NLMISC::CEntityId::getDebugString()</a>, <a class="el" href="a05673.html#l00233">NLMISC::CEntityId::getDynamicId()</a>, <a class="el" href="a05673.html#l00221">NLMISC::CEntityId::getShortId()</a>, <a class="el" href="a05673.html#l00257">NLMISC::CEntityId::getType()</a>, <a class="el" href="a05673.html#l00278">NLMISC::CEntityId::isUnknownId()</a>, <a class="el" href="a05673.html#l00358">NLMISC::CEntityId::operator++()</a>, <a class="el" href="a05673.html#l00289">NLMISC::CEntityId::operator==()</a>, <a class="el" href="a05673.html#l00251">NLMISC::CEntityId::setCreatorId()</a>, <a class="el" href="a05673.html#l00239">NLMISC::CEntityId::setDynamicId()</a>, <a class="el" href="a05673.html#l00227">NLMISC::CEntityId::setShortId()</a>, and <a class="el" href="a05673.html#l00263">NLMISC::CEntityId::setType()</a>. </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1CIdentp2" doxytag="NLAIAGENT::CAgentNumber::DynamicId" ></a><p> +<table class="mdTable" 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#a13">uint64</a> <a class="el" href="a02189.html#NLAIAGENT_1_1CIdentp2">NLMISC::CEntityId::DynamicId</a><code> [protected, inherited]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Id of the service where the entity is (variable routing info). +<p> + +<p> +Definition at line <a class="el" href="a05673.html#l00064">64</a> of file <a class="el" href="a05673.html">entity_id.h</a>. </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1CIdentp3" doxytag="NLAIAGENT::CAgentNumber::FullId" ></a><p> +<table class="mdTable" 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#a13">uint64</a> <a class="el" href="a02189.html#NLAIAGENT_1_1CIdentp3">NLMISC::CEntityId::FullId</a><code> [protected, 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="a05673.html#l00073">73</a> of file <a class="el" href="a05673.html">entity_id.h</a>. +<p> +Referenced by <a class="el" href="a05673.html#l00401">NLMISC::CEntityId::asUint64()</a>, <a class="el" href="a05673.html#l00123">NLMISC::CEntityId::CEntityId()</a>, <a class="el" href="a05673.html#l00212">NLMISC::CEntityId::getRawId()</a>, <a class="el" href="a05673.html#l00269">NLMISC::CEntityId::getUniqueId()</a>, <a class="el" href="a05673.html#l00443">NLMISC::CEntityId::load()</a>, <a class="el" href="a05673.html#l00371">NLMISC::CEntityId::operator=()</a>, <a class="el" href="a05673.html#l00289">NLMISC::CEntityId::operator==()</a>, and <a class="el" href="a05673.html#l00426">NLMISC::CEntityId::save()</a>. </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1CIdentp4" doxytag="NLAIAGENT::CAgentNumber::Id" ></a><p> +<table class="mdTable" 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#a13">uint64</a> <a class="el" href="a02189.html#NLAIAGENT_1_1CIdentp4">NLMISC::CEntityId::Id</a><code> [protected, inherited]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Local entity number (persistent). +<p> + +<p> +Definition at line <a class="el" href="a05673.html#l00070">70</a> of file <a class="el" href="a05673.html">entity_id.h</a>. </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1CIdents1" doxytag="NLAIAGENT::CAgentNumber::MaxEntityId" ></a><p> +<table class="mdTable" 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#a13">uint64</a> <a class="el" href="a02189.html#NLAIAGENT_1_1CIdents1">NLMISC::CEntityId::MaxEntityId</a> = ((<a class="el" href="a04558.html#a13">uint64</a>)1 << (CEntityId::ID_SIZE + 1)) - (<a class="el" href="a04558.html#a13">uint64</a>)1<code> [static, inherited]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +The maximume of number that we could generate without generate an overtaking exception. +<p> + +<p> +Definition at line <a class="el" href="a05672.html#l00034">34</a> of file <a class="el" href="a05672.html">entity_id.cpp</a>. +<p> +Referenced by <a class="el" href="a05673.html#l00358">NLMISC::CEntityId::operator++()</a>. </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1CIdentp5" doxytag="NLAIAGENT::CAgentNumber::Type" ></a><p> +<table class="mdTable" 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#a13">uint64</a> <a class="el" href="a02189.html#NLAIAGENT_1_1CIdentp5">NLMISC::CEntityId::Type</a><code> [protected, inherited]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Type of the entity (persistent). +<p> + +<p> +Definition at line <a class="el" href="a05673.html#l00068">68</a> of file <a class="el" href="a05673.html">entity_id.h</a>. </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1CIdents2" doxytag="NLAIAGENT::CAgentNumber::Unknown" ></a><p> +<table class="mdTable" 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 CEntityId <a class="el" href="a02189.html#NLAIAGENT_1_1CIdents2">NLMISC::CEntityId::Unknown</a><code> [static, inherited]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Unknow <a class="el" href="a02189.html">CEntityId</a> is similar as an NULL pointer. +<p> + </td> + </tr> +</table> +<hr>The documentation for this struct was generated from the following files:<ul> +<li><a class="el" href="a05805.html">identtype.h</a><li><a class="el" href="a05802.html">ident.cpp</a></ul> +<hr size="1"><address style="align: right;"><small>Generated on Tue Mar 16 09:01:30 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> |