aboutsummaryrefslogtreecommitdiff
path: root/docs/doxygen/nel/a03447.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/a03447.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/a03447.html514
1 files changed, 514 insertions, 0 deletions
diff --git a/docs/doxygen/nel/a03447.html b/docs/doxygen/nel/a03447.html
new file mode 100644
index 00000000..994bb9bf
--- /dev/null
+++ b/docs/doxygen/nel/a03447.html
@@ -0,0 +1,514 @@
+<!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: TemplateNLMISC::CStringConversion&lt; DestType, Pred &gt; 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::CStringConversion&lt; DestType, Pred &gt; Class Template Reference</h1><code>#include &lt;<a class="el" href="a06466.html">string_conversion.h</a>&gt;</code>
+<p>
+<hr><a name="_details"></a><h2>Detailed Description</h2>
+<h3>template&lt;class DestType, class Pred = CUnsensitiveStrLessPred&gt;<br>
+ class NLMISC::CStringConversion&lt; DestType, Pred &gt;</h3>
+
+This class allow simple mapping between string and other type (such as integral types or enum) In fact this primarily intended to make a string / enum correspondance Example of use :<p>
+// An enumerated type enum TMyType { Foo = 0, Bar, FooBar, Unknown };<p>
+// The conversion table static const CStringConversion&lt;TMyType&gt;::CPair stringTable [] = { { "Foo", Foo }, { "Bar", Bar }, { "FooBar", FooBar } };<p>
+// The helper object for conversion (instance of this class) static const <a class="el" href="a03447.html">CStringConversion</a> conversion(stringTable, sizeof(stringTable) / sizeof(stringTable[0]), Unknown);<p>
+// Some conversions request TMyType value1 = conversion.fromString("foo"); // returns 'foo' value1 = conversion.fromString("Foo"); // returns 'foo' (this is case unsensitive by default) std::string str = conversion.toString(Bar) // returns "Bar"<p>
+NB : Please note that that helpers macros are provided to build such a table in an easy way <dl compact><dt><b>See also:</b></dt><dd><a class="el" href="a05043.html#a0">NL_BEGIN_STRING_CONVERSION_TABLE</a> <p>
+<a class="el" href="a05043.html#a1">NL_END_STRING_CONVERSION_TABLE</a></dd></dl>
+NB: by default this class behaves in a case unsensitive way. To change this, just change the 'Pred' template parameter to std::less&lt;std::string&gt;<p>
+<dl compact><dt><b>Author:</b></dt><dd>Nicolas Vizerie <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="a06466.html#l00083">83</a> of file <a class="el" href="a06466.html">string_conversion.h</a>.<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>typedef DestType&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03447.html#NLMISC_1_1CStringConversionw0">TDestType</a></td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>typedef Pred&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03447.html#NLMISC_1_1CStringConversionw1">TPred</a></td></tr>
+
+<tr><td colspan=2><br><h2>Public 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="a03447.html#NLMISC_1_1CStringConversiona0">CStringConversion</a> (const <a class="el" href="a03448.html">CPair</a> *pairs, <a class="el" href="a04558.html#a15">uint</a> numPairs, const DestType &amp;notFoundValue)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="a03447.html#NLMISC_1_1CStringConversionw0">TDestType</a> &amp;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03447.html#NLMISC_1_1CStringConversiona1">fromString</a> (const std::string &amp;str) const </td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a9">uint16</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03447.html#NLMISC_1_1CStringConversiona2">getNbPairs</a> () const </td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03447.html#NLMISC_1_1CStringConversiona3">insert</a> (const char *str, <a class="el" href="a03447.html#NLMISC_1_1CStringConversionw0">TDestType</a> <a class="el" href="a04223.html#a658">value</a>)</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="a03447.html#NLMISC_1_1CStringConversiona4">toString</a> (const <a class="el" href="a03447.html#NLMISC_1_1CStringConversionw0">TDestType</a> &amp;<a class="el" href="a04223.html#a658">value</a>) const </td></tr>
+
+<tr><td colspan=2><br><h2>Private Types</h2></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>typedef std::map&lt; <a class="el" href="a03447.html#NLMISC_1_1CStringConversionw0">TDestType</a>,<br>
+ std::string &gt;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03447.html#NLMISC_1_1CStringConversiony0">TDestType2String</a></td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>typedef std::map&lt; std::string,<br>
+ <a class="el" href="a03447.html#NLMISC_1_1CStringConversionw0">TDestType</a>, <a class="el" href="a03447.html#NLMISC_1_1CStringConversionw1">TPred</a> &gt;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03447.html#NLMISC_1_1CStringConversiony1">TString2DestType</a></td></tr>
+
+<tr><td colspan=2><br><h2>Private Attributes</h2></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03447.html#NLMISC_1_1CStringConversiony0">TDestType2String</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03447.html#NLMISC_1_1CStringConversionr0">_DestType2String</a></td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03447.html#NLMISC_1_1CStringConversionw0">TDestType</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03447.html#NLMISC_1_1CStringConversionr1">_NotFoundValue</a></td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03447.html#NLMISC_1_1CStringConversiony1">TString2DestType</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03447.html#NLMISC_1_1CStringConversionr2">_String2DestType</a></td></tr>
+
+</table>
+<hr><h2>Member Typedef Documentation</h2>
+<a class="anchor" name="NLMISC_1_1CStringConversionw0" doxytag="NLMISC::CStringConversion::TDestType" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" colspan="4">
+template&lt;class DestType, class Pred = CUnsensitiveStrLessPred&gt; </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap valign="top"> typedef DestType <a class="el" href="a03447.html">NLMISC::CStringConversion</a>&lt; DestType, Pred &gt;::<a class="el" href="a03447.html#NLMISC_1_1CStringConversionw0">TDestType</a>
+ </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="a06466.html#l00086">86</a> of file <a class="el" href="a06466.html">string_conversion.h</a>.
+<p>
+Referenced by <a class="el" href="a06466.html#l00171">NLMISC::CStringConversion&lt; DestType, Pred &gt;::insert()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NLMISC_1_1CStringConversiony0" doxytag="NLMISC::CStringConversion::TDestType2String" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" colspan="4">
+template&lt;class DestType, class Pred = CUnsensitiveStrLessPred&gt; </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap valign="top"> typedef std::map&lt;<a class="el" href="a03447.html#NLMISC_1_1CStringConversionw0">TDestType</a>, std::string&gt; <a class="el" href="a03447.html">NLMISC::CStringConversion</a>&lt; DestType, Pred &gt;::<a class="el" href="a03447.html#NLMISC_1_1CStringConversiony0">TDestType2String</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="a06466.html#l00111">111</a> of file <a class="el" href="a06466.html">string_conversion.h</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NLMISC_1_1CStringConversionw1" doxytag="NLMISC::CStringConversion::TPred" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" colspan="4">
+template&lt;class DestType, class Pred = CUnsensitiveStrLessPred&gt; </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap valign="top"> typedef Pred <a class="el" href="a03447.html">NLMISC::CStringConversion</a>&lt; DestType, Pred &gt;::<a class="el" href="a03447.html#NLMISC_1_1CStringConversionw1">TPred</a>
+ </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="a06466.html#l00087">87</a> of file <a class="el" href="a06466.html">string_conversion.h</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NLMISC_1_1CStringConversiony1" doxytag="NLMISC::CStringConversion::TString2DestType" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" colspan="4">
+template&lt;class DestType, class Pred = CUnsensitiveStrLessPred&gt; </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap valign="top"> typedef std::map&lt;std::string, <a class="el" href="a03447.html#NLMISC_1_1CStringConversionw0">TDestType</a>, <a class="el" href="a03447.html#NLMISC_1_1CStringConversionw1">TPred</a>&gt; <a class="el" href="a03447.html">NLMISC::CStringConversion</a>&lt; DestType, Pred &gt;::<a class="el" href="a03447.html#NLMISC_1_1CStringConversiony1">TString2DestType</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="a06466.html#l00110">110</a> of file <a class="el" href="a06466.html">string_conversion.h</a>. </td>
+ </tr>
+</table>
+<hr><h2>Constructor &amp; Destructor Documentation</h2>
+<a class="anchor" name="NLMISC_1_1CStringConversiona0" doxytag="NLMISC::CStringConversion::CStringConversion" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" colspan="4">
+template&lt;class DestType, class Pred&gt; </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="a03447.html">NLMISC::CStringConversion</a>&lt; DestType, Pred &gt;::<a class="el" href="a03447.html">CStringConversion</a> </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">const <a class="el" href="a03448.html">CPair</a> *&nbsp;</td>
+ <td class="mdname" nowrap> <em>pairs</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="a04558.html#a15">uint</a>&nbsp;</td>
+ <td class="mdname" nowrap> <em>numPairs</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap>const DestType &amp;&nbsp;</td>
+ <td class="mdname" nowrap> <em>notFoundValue</em></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+<a class="el" href="a03447.html">CStringConversion</a> ctor
+<p>
+Definition at line <a class="el" href="a06466.html#l00159">159</a> of file <a class="el" href="a06466.html">string_conversion.h</a>.
+<p>
+References <a class="el" href="a06466.html#l00114">NLMISC::CStringConversion&lt; DestType, Pred &gt;::_DestType2String</a>, <a class="el" href="a06466.html#l00115">NLMISC::CStringConversion&lt; DestType, Pred &gt;::_NotFoundValue</a>, <a class="el" href="a06466.html#l00113">NLMISC::CStringConversion&lt; DestType, Pred &gt;::_String2DestType</a>, <a class="el" href="a06466.html#l00090">NLMISC::CStringConversion&lt; DestType, Pred &gt;::CPair::Str</a>, and <a class="el" href="a05981.html#l00105">uint</a>.
+<p>
+<div class="fragment"><pre>00160 {
+00161 <span class="keywordflow">for</span>(<a class="code" href="a04558.html#a15">uint</a> k = 0; k &lt; numPairs; ++k)
+00162 {
+00163 <a class="code" href="a03447.html#NLMISC_1_1CStringConversionr2">_String2DestType</a>[pairs[k].Str] = pairs[k].Value;
+00164 <a class="code" href="a03447.html#NLMISC_1_1CStringConversionr0">_DestType2String</a>[pairs[k].Value] = pairs[k].Str;
+00165 }
+00166 <a class="code" href="a03447.html#NLMISC_1_1CStringConversionr1">_NotFoundValue</a> = notFoundValue;
+00167 }
+</pre></div> </td>
+ </tr>
+</table>
+<hr><h2>Member Function Documentation</h2>
+<a class="anchor" name="NLMISC_1_1CStringConversiona1" doxytag="NLMISC::CStringConversion::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" colspan="4">
+template&lt;class DestType, class Pred&gt; </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap valign="top"> const DestType &amp; <a class="el" href="a03447.html">NLMISC::CStringConversion</a>&lt; DestType, Pred &gt;::fromString </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> const</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="a06466.html#l00180">180</a> of file <a class="el" href="a06466.html">string_conversion.h</a>.
+<p>
+References <a class="el" href="a06466.html#l00115">NLMISC::CStringConversion&lt; DestType, Pred &gt;::_NotFoundValue</a>, and <a class="el" href="a06466.html#l00113">NLMISC::CStringConversion&lt; DestType, Pred &gt;::_String2DestType</a>.
+<p>
+<div class="fragment"><pre>00181 {
+00182 <span class="keyword">typename</span> TString2DestType::const_iterator it = <a class="code" href="a03447.html#NLMISC_1_1CStringConversionr2">_String2DestType</a>.find(str);
+00183 <span class="keywordflow">if</span> (it == <a class="code" href="a03447.html#NLMISC_1_1CStringConversionr2">_String2DestType</a>.end())
+00184 {
+00185 <span class="keywordflow">return</span> <a class="code" href="a03447.html#NLMISC_1_1CStringConversionr1">_NotFoundValue</a>;
+00186 }
+00187 <span class="keywordflow">else</span>
+00188 {
+00189 <span class="keywordflow">return</span> it-&gt;second;
+00190 }
+00191 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NLMISC_1_1CStringConversiona2" doxytag="NLMISC::CStringConversion::getNbPairs" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" colspan="4">
+template&lt;class DestType, class Pred = CUnsensitiveStrLessPred&gt; </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="a04558.html#a9">uint16</a> <a class="el" href="a03447.html">NLMISC::CStringConversion</a>&lt; DestType, Pred &gt;::getNbPairs </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> const<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="a06466.html#l00107">107</a> of file <a class="el" href="a06466.html">string_conversion.h</a>.
+<p>
+References <a class="el" href="a06466.html#l00113">NLMISC::CStringConversion&lt; DestType, Pred &gt;::_String2DestType</a>, and <a class="el" href="a05981.html#l00098">uint16</a>.
+<p>
+<div class="fragment"><pre>00107 { <span class="keywordflow">return</span> <a class="code" href="a03447.html#NLMISC_1_1CStringConversionr2">_String2DestType</a>.size(); }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NLMISC_1_1CStringConversiona3" doxytag="NLMISC::CStringConversion::insert" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" colspan="4">
+template&lt;class DestType, class Pred&gt; </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap valign="top"> void <a class="el" href="a03447.html">NLMISC::CStringConversion</a>&lt; DestType, Pred &gt;::insert </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">const char *&nbsp;</td>
+ <td class="mdname" nowrap> <em>str</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="a03447.html#NLMISC_1_1CStringConversionw0">TDestType</a>&nbsp;</td>
+ <td class="mdname" nowrap> <em>value</em></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"></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="a06466.html#l00171">171</a> of file <a class="el" href="a06466.html">string_conversion.h</a>.
+<p>
+References <a class="el" href="a06466.html#l00114">NLMISC::CStringConversion&lt; DestType, Pred &gt;::_DestType2String</a>, <a class="el" href="a06466.html#l00113">NLMISC::CStringConversion&lt; DestType, Pred &gt;::_String2DestType</a>, <a class="el" href="a06466.html#l00086">NLMISC::CStringConversion&lt; DestType, Pred &gt;::TDestType</a>, and <a class="el" href="a05646.html#l01132">value</a>.
+<p>
+<div class="fragment"><pre>00172 {
+00173 <a class="code" href="a03447.html#NLMISC_1_1CStringConversionr2">_String2DestType</a>[str] = <a class="code" href="a04223.html#a658">value</a>;
+00174 <a class="code" href="a03447.html#NLMISC_1_1CStringConversionr0">_DestType2String</a>[<a class="code" href="a04223.html#a658">value</a>] = str;
+00175 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NLMISC_1_1CStringConversiona4" doxytag="NLMISC::CStringConversion::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" colspan="4">
+template&lt;class DestType, class Pred = CUnsensitiveStrLessPred&gt; </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap valign="top"> const std::string&amp; <a class="el" href="a03447.html">NLMISC::CStringConversion</a>&lt; DestType, Pred &gt;::toString </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">const <a class="el" href="a03447.html#NLMISC_1_1CStringConversionw0">TDestType</a> &amp;&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>value</em> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap> const</td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+ </td>
+ </tr>
+</table>
+<hr><h2>Field Documentation</h2>
+<a class="anchor" name="NLMISC_1_1CStringConversionr0" doxytag="NLMISC::CStringConversion::_DestType2String" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" colspan="4">
+template&lt;class DestType, class Pred = CUnsensitiveStrLessPred&gt; </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="a03447.html#NLMISC_1_1CStringConversiony0">TDestType2String</a> <a class="el" href="a03447.html">NLMISC::CStringConversion</a>&lt; DestType, Pred &gt;::<a class="el" href="a03447.html#NLMISC_1_1CStringConversionr0">_DestType2String</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="a06466.html#l00114">114</a> of file <a class="el" href="a06466.html">string_conversion.h</a>.
+<p>
+Referenced by <a class="el" href="a06466.html#l00159">NLMISC::CStringConversion&lt; DestType, Pred &gt;::CStringConversion()</a>, and <a class="el" href="a06466.html#l00171">NLMISC::CStringConversion&lt; DestType, Pred &gt;::insert()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NLMISC_1_1CStringConversionr1" doxytag="NLMISC::CStringConversion::_NotFoundValue" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" colspan="4">
+template&lt;class DestType, class Pred = CUnsensitiveStrLessPred&gt; </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="a03447.html#NLMISC_1_1CStringConversionw0">TDestType</a> <a class="el" href="a03447.html">NLMISC::CStringConversion</a>&lt; DestType, Pred &gt;::<a class="el" href="a03447.html#NLMISC_1_1CStringConversionr1">_NotFoundValue</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="a06466.html#l00115">115</a> of file <a class="el" href="a06466.html">string_conversion.h</a>.
+<p>
+Referenced by <a class="el" href="a06466.html#l00159">NLMISC::CStringConversion&lt; DestType, Pred &gt;::CStringConversion()</a>, and <a class="el" href="a06466.html#l00180">NLMISC::CStringConversion&lt; DestType, Pred &gt;::fromString()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NLMISC_1_1CStringConversionr2" doxytag="NLMISC::CStringConversion::_String2DestType" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" colspan="4">
+template&lt;class DestType, class Pred = CUnsensitiveStrLessPred&gt; </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="a03447.html#NLMISC_1_1CStringConversiony1">TString2DestType</a> <a class="el" href="a03447.html">NLMISC::CStringConversion</a>&lt; DestType, Pred &gt;::<a class="el" href="a03447.html#NLMISC_1_1CStringConversionr2">_String2DestType</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="a06466.html#l00113">113</a> of file <a class="el" href="a06466.html">string_conversion.h</a>.
+<p>
+Referenced by <a class="el" href="a06466.html#l00159">NLMISC::CStringConversion&lt; DestType, Pred &gt;::CStringConversion()</a>, <a class="el" href="a06466.html#l00180">NLMISC::CStringConversion&lt; DestType, Pred &gt;::fromString()</a>, <a class="el" href="a06466.html#l00107">NLMISC::CStringConversion&lt; DestType, Pred &gt;::getNbPairs()</a>, and <a class="el" href="a06466.html#l00171">NLMISC::CStringConversion&lt; DestType, Pred &gt;::insert()</a>. </td>
+ </tr>
+</table>
+<hr>The documentation for this class was generated from the following file:<ul>
+<li><a class="el" href="a06466.html">string_conversion.h</a></ul>
+<hr size="1"><address style="align: right;"><small>Generated on Tue Mar 16 13:35:24 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>