aboutsummaryrefslogtreecommitdiff
path: root/docs/doxygen/nel/a03450.html
diff options
context:
space:
mode:
authorneodarz <neodarz@neodarz.net>2018-08-11 20:21:34 +0200
committerneodarz <neodarz@neodarz.net>2018-08-11 20:21:34 +0200
commit0ea5fc66924303d1bf73ba283a383e2aadee02f2 (patch)
tree2568e71a7ccc44ec23b8bb3f0ff97fb6bf2ed709 /docs/doxygen/nel/a03450.html
downloadnevrax-website-self-hostable-0ea5fc66924303d1bf73ba283a383e2aadee02f2.tar.xz
nevrax-website-self-hostable-0ea5fc66924303d1bf73ba283a383e2aadee02f2.zip
Initial commit
Diffstat (limited to '')
-rw-r--r--docs/doxygen/nel/a03450.html597
1 files changed, 597 insertions, 0 deletions
diff --git a/docs/doxygen/nel/a03450.html b/docs/doxygen/nel/a03450.html
new file mode 100644
index 00000000..43b089d0
--- /dev/null
+++ b/docs/doxygen/nel/a03450.html
@@ -0,0 +1,597 @@
+<!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: NLMISC::CStringMapper class Reference</title>
+<link href="doxygen.css" rel="stylesheet" type="text/css">
+</head><body>
+<!-- Generated by Doxygen 1.3.6 -->
+<div class="qindex"> <form class="search" action="search.php" method="get">
+<a class="qindex" href="main.html">Main&nbsp;Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class&nbsp;Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical&nbsp;List</a> | <a class="qindex" href="annotated.html">Data&nbsp;Structures</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="namespacemembers.html">Namespace&nbsp;Members</a> | <a class="qindex" href="functions.html">Data&nbsp;Fields</a> | <a class="qindex" href="globals.html">Globals</a> | <a class="qindex" href="pages.html">Related&nbsp;Pages</a> | <span class="search"><u>S</u>earch&nbsp;for&nbsp;<input class="search" type="text" name="query" value="" size="20" accesskey="s"/></span></form></div>
+<h1>NLMISC::CStringMapper Class Reference</h1><code>#include &lt;<a class="el" href="a06470.html">string_mapper.h</a>&gt;</code>
+<p>
+<hr><a name="_details"></a><h2>Detailed Description</h2>
+A static class that map string to integer and vice-versa Each different string is tranformed into an unique integer identifier. If the same string is submited twice, the same id is returned. The class can also return the string associated with an id.<p>
+<dl compact><dt><b>Author:</b></dt><dd>Boris Boucher <p>
+Nevrax France </dd></dl>
+<dl compact><dt><b>Date:</b></dt><dd>2003 </dd></dl>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="a06470.html#l00054">54</a> of file <a class="el" href="a06470.html">string_mapper.h</a>.<table border=0 cellpadding=0 cellspacing=0>
+<tr><td></td></tr>
+<tr><td colspan=2><br><h2>Public Member Functions</h2></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03450.html#NLMISC_1_1CStringMappera0">localClear</a> ()</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a05378.html#a236">TStringId</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03450.html#NLMISC_1_1CStringMappera1">localEmptyId</a> ()</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Return the local id for the empty string (helper function). <a href="#NLMISC_1_1CStringMappera1"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a05378.html#a236">TStringId</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03450.html#NLMISC_1_1CStringMappera2">localMap</a> (const std::string &amp;str)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Localy map a string into a unique Id. <a href="#NLMISC_1_1CStringMappera2"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>const std::string &amp;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03450.html#NLMISC_1_1CStringMappera3">localUnmap</a> (const <a class="el" href="a05378.html#a236">TStringId</a> &amp;stringId)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Localy unmap a string. <a href="#NLMISC_1_1CStringMappera3"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03450.html#NLMISC_1_1CStringMappera4">~CStringMapper</a> ()</td></tr>
+
+<tr><td colspan=2><br><h2>Static Public Member Functions</h2></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03450.html#NLMISC_1_1CStringMappere0">clear</a> ()</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03450.html">CStringMapper</a> *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03450.html#NLMISC_1_1CStringMappere1">createLocalMapper</a> ()</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Create a local mapper. You can dispose of it by deleting it. <a href="#NLMISC_1_1CStringMappere1"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a05378.html#a236">TStringId</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03450.html#NLMISC_1_1CStringMappere2">emptyId</a> ()</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Return the global id for the empty string (helper function). <a href="#NLMISC_1_1CStringMappere2"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a05378.html#a236">TStringId</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03450.html#NLMISC_1_1CStringMappere3">map</a> (const std::string &amp;str)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Globaly map a string into a unique Id. <a href="#NLMISC_1_1CStringMappere3"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>const std::string &amp;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03450.html#NLMISC_1_1CStringMappere4">unmap</a> (const <a class="el" href="a05378.html#a236">TStringId</a> &amp;stringId)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Globaly unmap a string. <a href="#NLMISC_1_1CStringMappere4"></a><br><br></td></tr>
+<tr><td colspan=2><br><h2>Private Member Functions</h2></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03450.html#NLMISC_1_1CStringMapperd0">CStringMapper</a> ()</td></tr>
+
+<tr><td colspan=2><br><h2>Private Attributes</h2></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>std::string *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03450.html#NLMISC_1_1CStringMapperr0">_EmptyId</a></td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>std::set&lt; std::string *, <a class="el" href="a03451.html">CCharComp</a> &gt;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03450.html#NLMISC_1_1CStringMapperr1">_StringTable</a></td></tr>
+
+<tr><td colspan=2><br><h2>Static Private Attributes</h2></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03450.html">CStringMapper</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03450.html#NLMISC_1_1CStringMapperv0">_GlobalMapper</a></td></tr>
+
+</table>
+<hr><h2>Constructor &amp; Destructor Documentation</h2>
+<a class="anchor" name="NLMISC_1_1CStringMapperd0" doxytag="NLMISC::CStringMapper::CStringMapper" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> NLMISC::CStringMapper::CStringMapper </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap><code> [private]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="a06469.html#l00045">45</a> of file <a class="el" href="a06469.html">string_mapper.cpp</a>.
+<p>
+References <a class="el" href="a06470.html#l00068">_EmptyId</a>.
+<p>
+<div class="fragment"><pre>00046 {
+00047 <a class="code" href="a03450.html#NLMISC_1_1CStringMapperr0">_EmptyId</a> = <span class="keyword">new</span> string;
+00048 *<a class="code" href="a03450.html#NLMISC_1_1CStringMapperr0">_EmptyId</a> = <span class="stringliteral">""</span>;
+00049 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NLMISC_1_1CStringMappera4" doxytag="NLMISC::CStringMapper::~CStringMapper" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> NLMISC::CStringMapper::~<a class="el" href="a03450.html">CStringMapper</a> </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap><code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="a06470.html#l00075">75</a> of file <a class="el" href="a06470.html">string_mapper.h</a>.
+<p>
+References <a class="el" href="a06469.html#l00081">localClear()</a>.
+<p>
+<div class="fragment"><pre>00076 {
+00077 <a class="code" href="a03450.html#NLMISC_1_1CStringMappera0">localClear</a>();
+00078 }
+</pre></div> </td>
+ </tr>
+</table>
+<hr><h2>Member Function Documentation</h2>
+<a class="anchor" name="NLMISC_1_1CStringMappere0" doxytag="NLMISC::CStringMapper::clear" ></a><p>
+<table class="mdTable" 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::CStringMapper::clear </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">void&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap><code> [inline, static]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="a06470.html#l00087">87</a> of file <a class="el" href="a06470.html">string_mapper.h</a>.
+<p>
+References <a class="el" href="a06469.html#l00041">_GlobalMapper</a>, and <a class="el" href="a06469.html#l00081">localClear()</a>.
+<p>
+<div class="fragment"><pre>00087 { <a class="code" href="a03450.html#NLMISC_1_1CStringMapperv0">_GlobalMapper</a>.localClear(); }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NLMISC_1_1CStringMappere1" doxytag="NLMISC::CStringMapper::createLocalMapper" ></a><p>
+<table class="mdTable" 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="a03450.html">CStringMapper</a> * NLMISC::CStringMapper::createLocalMapper </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap><code> [static]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Create a local mapper. You can dispose of it by deleting it.
+<p>
+
+<p>
+Definition at line <a class="el" href="a06469.html#l00052">52</a> of file <a class="el" href="a06469.html">string_mapper.cpp</a>.
+<p>
+<div class="fragment"><pre>00053 {
+00054 <span class="keywordflow">return</span> <span class="keyword">new</span> <a class="code" href="a03450.html#NLMISC_1_1CStringMapperd0">CStringMapper</a>;
+00055 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NLMISC_1_1CStringMappere2" doxytag="NLMISC::CStringMapper::emptyId" ></a><p>
+<table class="mdTable" 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="a05378.html#a236">TStringId</a> NLMISC::CStringMapper::emptyId </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap><code> [inline, static]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Return the global id for the empty string (helper function).
+<p>
+
+<p>
+Definition at line <a class="el" href="a06470.html#l00085">85</a> of file <a class="el" href="a06470.html">string_mapper.h</a>.
+<p>
+Referenced by <a class="el" href="a06281.html#l00042">NL3D::CPSSound::CPSSound()</a>.
+<p>
+<div class="fragment"><pre>00085 { <span class="keywordflow">return</span> 0; }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NLMISC_1_1CStringMappera0" doxytag="NLMISC::CStringMapper::localClear" ></a><p>
+<table class="mdTable" 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::CStringMapper::localClear </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="a06469.html#l00081">81</a> of file <a class="el" href="a06469.html">string_mapper.cpp</a>.
+<p>
+References <a class="el" href="a06470.html#l00068">_EmptyId</a>, and <a class="el" href="a06470.html#l00065">_StringTable</a>.
+<p>
+Referenced by <a class="el" href="a06470.html#l00087">clear()</a>, and <a class="el" href="a06470.html#l00075">~CStringMapper()</a>.
+<p>
+<div class="fragment"><pre>00082 {
+00083 std::set&lt;string*,CCharComp&gt;::iterator it = <a class="code" href="a03450.html#NLMISC_1_1CStringMapperr1">_StringTable</a>.begin();
+00084 <span class="keywordflow">while</span> (it != <a class="code" href="a03450.html#NLMISC_1_1CStringMapperr1">_StringTable</a>.end())
+00085 {
+00086 string *ptrTmp = (*it);
+00087 <span class="keyword">delete</span> ptrTmp;
+00088 it++;
+00089 }
+00090 <a class="code" href="a03450.html#NLMISC_1_1CStringMapperr1">_StringTable</a>.clear();
+00091 <span class="keyword">delete</span> <a class="code" href="a03450.html#NLMISC_1_1CStringMapperr0">_EmptyId</a>;
+00092 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NLMISC_1_1CStringMappera1" doxytag="NLMISC::CStringMapper::localEmptyId" ></a><p>
+<table class="mdTable" 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="a05378.html#a236">TStringId</a> NLMISC::CStringMapper::localEmptyId </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap><code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Return the local id for the empty string (helper function).
+<p>
+
+<p>
+Definition at line <a class="el" href="a06470.html#l00096">96</a> of file <a class="el" href="a06470.html">string_mapper.h</a>.
+<p>
+<div class="fragment"><pre>00096 { <span class="keywordflow">return</span> 0; }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NLMISC_1_1CStringMappera2" doxytag="NLMISC::CStringMapper::localMap" ></a><p>
+<table class="mdTable" 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="a05378.html#a236">TStringId</a> NLMISC::CStringMapper::localMap </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">const std::string &amp;&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>str</em> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Localy map a string into a unique Id.
+<p>
+
+<p>
+Definition at line <a class="el" href="a06469.html#l00058">58</a> of file <a class="el" href="a06469.html">string_mapper.cpp</a>.
+<p>
+References <a class="el" href="a06470.html#l00065">_StringTable</a>.
+<p>
+Referenced by <a class="el" href="a06470.html#l00081">map()</a>.
+<p>
+<div class="fragment"><pre>00059 {
+00060 <span class="keywordflow">if</span> (str.size() == 0)
+00061 <span class="keywordflow">return</span> 0;
+00062
+00063 string *pStr = <span class="keyword">new</span> string;
+00064 *pStr = str;
+00065
+00066 std::set&lt;string*,CCharComp&gt;::iterator it = <a class="code" href="a03450.html#NLMISC_1_1CStringMapperr1">_StringTable</a>.find(pStr);
+00067
+00068 <span class="keywordflow">if</span> (it == <a class="code" href="a03450.html#NLMISC_1_1CStringMapperr1">_StringTable</a>.end())
+00069 {
+00070 <a class="code" href="a03450.html#NLMISC_1_1CStringMapperr1">_StringTable</a>.insert(pStr);
+00071 }
+00072 <span class="keywordflow">else</span>
+00073 {
+00074 <span class="keyword">delete</span> pStr;
+00075 pStr = (*it);
+00076 }
+00077 <span class="keywordflow">return</span> (<a class="code" href="a05378.html#a236">TStringId</a>)pStr;
+00078 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NLMISC_1_1CStringMappera3" doxytag="NLMISC::CStringMapper::localUnmap" ></a><p>
+<table class="mdTable" 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 std::string&amp; NLMISC::CStringMapper::localUnmap </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">const <a class="el" href="a05378.html#a236">TStringId</a> &amp;&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>stringId</em> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap><code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Localy unmap a string.
+<p>
+
+<p>
+Definition at line <a class="el" href="a06470.html#l00094">94</a> of file <a class="el" href="a06470.html">string_mapper.h</a>.
+<p>
+References <a class="el" href="a06470.html#l00068">_EmptyId</a>.
+<p>
+Referenced by <a class="el" href="a06470.html#l00083">unmap()</a>.
+<p>
+<div class="fragment"><pre>00094 { <span class="keywordflow">return</span> (stringId==0)?*<a class="code" href="a03450.html#NLMISC_1_1CStringMapperr0">_EmptyId</a>:*((std::string*)stringId); }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NLMISC_1_1CStringMappere3" doxytag="NLMISC::CStringMapper::map" ></a><p>
+<table class="mdTable" 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="a05378.html#a236">TStringId</a> NLMISC::CStringMapper::map </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">const std::string &amp;&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>str</em> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap><code> [inline, static]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Globaly map a string into a unique Id.
+<p>
+
+<p>
+Definition at line <a class="el" href="a06470.html#l00081">81</a> of file <a class="el" href="a06470.html">string_mapper.h</a>.
+<p>
+References <a class="el" href="a06469.html#l00041">_GlobalMapper</a>, and <a class="el" href="a06469.html#l00058">localMap()</a>.
+<p>
+Referenced by <a class="el" href="a05466.html#l00122">NLSOUND::CAudioMixerUser::map()</a>, <a class="el" href="a06281.html#l00246">NL3D::CPSSound::serial()</a>, <a class="el" href="a05471.html#l01487">NLSOUND::CBackgroundSoundManager::TFxZone::serial()</a>, <a class="el" href="a05471.html#l01462">NLSOUND::CBackgroundSoundManager::TSoundData::serial()</a>, and <a class="el" href="a05470.html#l00078">NLSOUND::CBackgroundSound::TSoundInfo::serial()</a>.
+<p>
+<div class="fragment"><pre>00081 { <span class="keywordflow">return</span> <a class="code" href="a03450.html#NLMISC_1_1CStringMapperv0">_GlobalMapper</a>.localMap(str); }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NLMISC_1_1CStringMappere4" doxytag="NLMISC::CStringMapper::unmap" ></a><p>
+<table class="mdTable" 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 std::string&amp; NLMISC::CStringMapper::unmap </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">const <a class="el" href="a05378.html#a236">TStringId</a> &amp;&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>stringId</em> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap><code> [inline, static]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Globaly unmap a string.
+<p>
+
+<p>
+Definition at line <a class="el" href="a06470.html#l00083">83</a> of file <a class="el" href="a06470.html">string_mapper.h</a>.
+<p>
+References <a class="el" href="a06469.html#l00041">_GlobalMapper</a>, and <a class="el" href="a06470.html#l00094">localUnmap()</a>.
+<p>
+Referenced by <a class="el" href="a06346.html#l00157">NLSOUND::CSampleBank::getLoadedSampleBankInfo()</a>, <a class="el" href="a06407.html#l00123">NLSOUND::CSound::operator&lt;()</a>, <a class="el" href="a06281.html#l00246">NL3D::CPSSound::serial()</a>, <a class="el" href="a05470.html#l00078">NLSOUND::CBackgroundSound::TSoundInfo::serial()</a>, and <a class="el" href="a05466.html#l00124">NLSOUND::CAudioMixerUser::unmap()</a>.
+<p>
+<div class="fragment"><pre>00083 { <span class="keywordflow">return</span> <a class="code" href="a03450.html#NLMISC_1_1CStringMapperv0">_GlobalMapper</a>.localUnmap(stringId); }
+</pre></div> </td>
+ </tr>
+</table>
+<hr><h2>Field Documentation</h2>
+<a class="anchor" name="NLMISC_1_1CStringMapperr0" doxytag="NLMISC::CStringMapper::_EmptyId" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> std::string* <a class="el" href="a03450.html#NLMISC_1_1CStringMapperr0">NLMISC::CStringMapper::_EmptyId</a><code> [private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="a06470.html#l00068">68</a> of file <a class="el" href="a06470.html">string_mapper.h</a>.
+<p>
+Referenced by <a class="el" href="a06469.html#l00045">CStringMapper()</a>, <a class="el" href="a06469.html#l00081">localClear()</a>, and <a class="el" href="a06470.html#l00094">localUnmap()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NLMISC_1_1CStringMapperv0" doxytag="NLMISC::CStringMapper::_GlobalMapper" ></a><p>
+<table class="mdTable" 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="a03450.html">CStringMapper</a> <a class="el" href="a03450.html#NLMISC_1_1CStringMapperv0">NLMISC::CStringMapper::_GlobalMapper</a><code> [static, private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="a06469.html#l00041">41</a> of file <a class="el" href="a06469.html">string_mapper.cpp</a>.
+<p>
+Referenced by <a class="el" href="a06470.html#l00087">clear()</a>, <a class="el" href="a06470.html#l00081">map()</a>, and <a class="el" href="a06470.html#l00083">unmap()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NLMISC_1_1CStringMapperr1" doxytag="NLMISC::CStringMapper::_StringTable" ></a><p>
+<table class="mdTable" 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::set&lt;std::string*,<a class="el" href="a03451.html">CCharComp</a>&gt; <a class="el" href="a03450.html#NLMISC_1_1CStringMapperr1">NLMISC::CStringMapper::_StringTable</a><code> [private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="a06470.html#l00065">65</a> of file <a class="el" href="a06470.html">string_mapper.h</a>.
+<p>
+Referenced by <a class="el" href="a06469.html#l00081">localClear()</a>, and <a class="el" href="a06469.html#l00058">localMap()</a>. </td>
+ </tr>
+</table>
+<hr>The documentation for this class was generated from the following files:<ul>
+<li><a class="el" href="a06470.html">string_mapper.h</a><li><a class="el" href="a06469.html">string_mapper.cpp</a></ul>
+<hr size="1"><address style="align: right;"><small>Generated on Tue Mar 16 13:35:53 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>