aboutsummaryrefslogtreecommitdiff
path: root/docs/doxygen/nel/a02402.html
diff options
context:
space:
mode:
Diffstat (limited to 'docs/doxygen/nel/a02402.html')
-rw-r--r--docs/doxygen/nel/a02402.html1207
1 files changed, 1207 insertions, 0 deletions
diff --git a/docs/doxygen/nel/a02402.html b/docs/doxygen/nel/a02402.html
new file mode 100644
index 00000000..13d91d71
--- /dev/null
+++ b/docs/doxygen/nel/a02402.html
@@ -0,0 +1,1207 @@
+<!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::CConfigFile::CVar 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&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::CConfigFile::CVar Struct Reference</h1><code>#include &lt;<a class="el" href="a05598.html">config_file.h</a>&gt;</code>
+<p>
+<hr><a name="_details"></a><h2>Detailed Description</h2>
+<a class="el" href="a02402.html">CVar</a> class. Used by <a class="el" href="a02401.html">CConfigFile</a>. A <a class="el" href="a02402.html">CVar</a> is return when you want to have a variable.<p>
+Example: see the <a class="el" href="a02401.html">CConfigFile</a> example<p>
+<dl compact><dt><b>Author:</b></dt><dd>Vianney Lecroart <p>
+Nevrax France </dd></dl>
+<dl compact><dt><b>Date:</b></dt><dd>2000</dd></dl>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="a05598.html#l00132">132</a> of file <a class="el" href="a05598.html">config_file.h</a>.<table border=0 cellpadding=0 cellspacing=0>
+<tr><td></td></tr>
+<tr><td colspan=2><br><h2>Internal use</h2></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>enum &nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02402.html#NLMISC_1_1CConfigFile_1_1CVarz1937_0">TVarType</a> { <a class="el" href="a02402.html#NLMISC_1_1CConfigFile_1_1CVarz1937_0NLMISC_1_1CConfigFile_1_1CVarw3">T_UNKNOWN</a>,
+<a class="el" href="a02402.html#NLMISC_1_1CConfigFile_1_1CVarz1937_0NLMISC_1_1CConfigFile_1_1CVarw0">T_INT</a>,
+<a class="el" href="a02402.html#NLMISC_1_1CConfigFile_1_1CVarz1937_0NLMISC_1_1CConfigFile_1_1CVarw2">T_STRING</a>,
+<a class="el" href="a02402.html#NLMISC_1_1CConfigFile_1_1CVarz1937_0NLMISC_1_1CConfigFile_1_1CVarw1">T_REAL</a>
+ }</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>void(*&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02402.html#NLMISC_1_1CConfigFile_1_1CVarz1937_1">Callback</a> )(<a class="el" href="a02402.html">CVar</a> &amp;var)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02402.html#NLMISC_1_1CConfigFile_1_1CVarz1937_2">Comp</a></td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>std::vector&lt; int &gt;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02402.html#NLMISC_1_1CConfigFile_1_1CVarz1937_3">IntValues</a></td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>std::string&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02402.html#NLMISC_1_1CConfigFile_1_1CVarz1937_4">Name</a></td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>std::vector&lt; double &gt;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02402.html#NLMISC_1_1CConfigFile_1_1CVarz1937_5">RealValues</a></td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02402.html#NLMISC_1_1CConfigFile_1_1CVarz1937_6">Root</a></td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>int&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02402.html#NLMISC_1_1CConfigFile_1_1CVarz1937_7">SaveWrap</a></td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>std::vector&lt; std::string &gt;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02402.html#NLMISC_1_1CConfigFile_1_1CVarz1937_8">StrValues</a></td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a02402.html#NLMISC_1_1CConfigFile_1_1CVarz1937_0">TVarType</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02402.html#NLMISC_1_1CConfigFile_1_1CVarz1937_9">Type</a></td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>char *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02402.html#NLMISC_1_1CConfigFile_1_1CVarz1937_10">TypeName</a> [] = { "Integer", "String", "Float" }</td></tr>
+
+<tr><td colspan=2><br><h2>Public Types</h2></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="a02402.html#NLMISC_1_1CConfigFile_1_1CVara0">add</a> (const <a class="el" href="a02402.html">CVar</a> &amp;var)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02402.html#NLMISC_1_1CConfigFile_1_1CVara1">CVar</a> ()</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02402.html#NLMISC_1_1CConfigFile_1_1CVara2">operator!=</a> (const <a class="el" href="a02402.html">CVar</a> &amp;var) const </td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02402.html#NLMISC_1_1CConfigFile_1_1CVara3">operator==</a> (const <a class="el" href="a02402.html">CVar</a> &amp;var) const </td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>int&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02402.html#NLMISC_1_1CConfigFile_1_1CVara4">size</a> () const </td></tr>
+
+<tr><td colspan="2"><div class="groupHeader">Access to the variable content.</div></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>double&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02402.html#NLMISC_1_1CConfigFile_1_1CVarz1933_0">asDouble</a> (int <a class="el" href="a04223.html#a566">index</a>=0) const </td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get the content of the variable as a double. <a href="#NLMISC_1_1CConfigFile_1_1CVarz1933_0"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>float&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02402.html#NLMISC_1_1CConfigFile_1_1CVarz1933_1">asFloat</a> (int <a class="el" href="a04223.html#a566">index</a>=0) const </td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get the content of the variable as a float. <a href="#NLMISC_1_1CConfigFile_1_1CVarz1933_1"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>int&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02402.html#NLMISC_1_1CConfigFile_1_1CVarz1933_2">asInt</a> (int <a class="el" href="a04223.html#a566">index</a>=0) const </td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get the content of the variable as an integer. <a href="#NLMISC_1_1CConfigFile_1_1CVarz1933_2"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>std::string&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02402.html#NLMISC_1_1CConfigFile_1_1CVarz1933_3">asString</a> (int <a class="el" href="a04223.html#a566">index</a>=0) const </td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get the content of the variable as a STL string. <a href="#NLMISC_1_1CConfigFile_1_1CVarz1933_3"></a><br><br></td></tr>
+<tr><td colspan="2"><div class="groupHeader">Set the variable content.</div></td></tr>
+<tr><td colspan="2"><div class="groupText">If the index is the size of the array, the value will be append at the end. <br><br></div></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02402.html#NLMISC_1_1CConfigFile_1_1CVarz1935_0">setAsDouble</a> (std::vector&lt; double &gt; vals)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set the content of the aray variable as a double. <a href="#NLMISC_1_1CConfigFile_1_1CVarz1935_0"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02402.html#NLMISC_1_1CConfigFile_1_1CVarz1935_1">setAsDouble</a> (double val, int <a class="el" href="a04223.html#a566">index</a>=0)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set the content of the variable as a double. <a href="#NLMISC_1_1CConfigFile_1_1CVarz1935_1"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02402.html#NLMISC_1_1CConfigFile_1_1CVarz1935_2">setAsFloat</a> (std::vector&lt; float &gt; vals)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set the content of the aray variable as a float. <a href="#NLMISC_1_1CConfigFile_1_1CVarz1935_2"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02402.html#NLMISC_1_1CConfigFile_1_1CVarz1935_3">setAsFloat</a> (float val, int <a class="el" href="a04223.html#a566">index</a>=0)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set the content of the variable as a float. <a href="#NLMISC_1_1CConfigFile_1_1CVarz1935_3"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02402.html#NLMISC_1_1CConfigFile_1_1CVarz1935_4">setAsInt</a> (std::vector&lt; int &gt; vals)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set the content of the aray variable as an integer. <a href="#NLMISC_1_1CConfigFile_1_1CVarz1935_4"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02402.html#NLMISC_1_1CConfigFile_1_1CVarz1935_5">setAsInt</a> (int val, int <a class="el" href="a04223.html#a566">index</a>=0)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set the content of the variable as an integer. <a href="#NLMISC_1_1CConfigFile_1_1CVarz1935_5"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02402.html#NLMISC_1_1CConfigFile_1_1CVarz1935_6">setAsString</a> (std::vector&lt; std::string &gt; vals)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set the content of the aray variable as a string. <a href="#NLMISC_1_1CConfigFile_1_1CVarz1935_6"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02402.html#NLMISC_1_1CConfigFile_1_1CVarz1935_7">setAsString</a> (std::string val, int <a class="el" href="a04223.html#a566">index</a>=0)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set the content of the variable as a STL string. <a href="#NLMISC_1_1CConfigFile_1_1CVarz1935_7"></a><br><br></td></tr>
+</table>
+<hr><h2>Member Enumeration Documentation</h2>
+<a class="anchor" name="NLMISC_1_1CConfigFile_1_1CVarz1937_0" doxytag="NLMISC::CConfigFile::CVar::TVarType" ></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"> enum <a class="el" href="a02402.html#NLMISC_1_1CConfigFile_1_1CVarz1937_0">NLMISC::CConfigFile::CVar::TVarType</a>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </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="NLMISC_1_1CConfigFile_1_1CVarz1937_0NLMISC_1_1CConfigFile_1_1CVarw3" doxytag="T_UNKNOWN" ></a>T_UNKNOWN</em>&nbsp;</td><td>
+</td></tr>
+<tr><td valign=top><em><a class="anchor" name="NLMISC_1_1CConfigFile_1_1CVarz1937_0NLMISC_1_1CConfigFile_1_1CVarw0" doxytag="T_INT" ></a>T_INT</em>&nbsp;</td><td>
+</td></tr>
+<tr><td valign=top><em><a class="anchor" name="NLMISC_1_1CConfigFile_1_1CVarz1937_0NLMISC_1_1CConfigFile_1_1CVarw2" doxytag="T_STRING" ></a>T_STRING</em>&nbsp;</td><td>
+</td></tr>
+<tr><td valign=top><em><a class="anchor" name="NLMISC_1_1CConfigFile_1_1CVarz1937_0NLMISC_1_1CConfigFile_1_1CVarw1" doxytag="T_REAL" ></a>T_REAL</em>&nbsp;</td><td>
+</td></tr>
+</table>
+</dl>
+
+<p>
+Definition at line <a class="el" href="a05598.html#l00186">186</a> of file <a class="el" href="a05598.html">config_file.h</a>.
+<p>
+<div class="fragment"><pre>00186 { <a class="code" href="a02402.html#NLMISC_1_1CConfigFile_1_1CVarz1937_0NLMISC_1_1CConfigFile_1_1CVarw3">T_UNKNOWN</a>, <a class="code" href="a02402.html#NLMISC_1_1CConfigFile_1_1CVarz1937_0NLMISC_1_1CConfigFile_1_1CVarw0">T_INT</a>, <a class="code" href="a02402.html#NLMISC_1_1CConfigFile_1_1CVarz1937_0NLMISC_1_1CConfigFile_1_1CVarw2">T_STRING</a>, <a class="code" href="a02402.html#NLMISC_1_1CConfigFile_1_1CVarz1937_0NLMISC_1_1CConfigFile_1_1CVarw1">T_REAL</a> };
+</pre></div> </td>
+ </tr>
+</table>
+<hr><h2>Constructor &amp; Destructor Documentation</h2>
+<a class="anchor" name="NLMISC_1_1CConfigFile_1_1CVara1" doxytag="NLMISC::CConfigFile::CVar::CVar" ></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::CConfigFile::CVar::CVar </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="a05598.html#l00136">136</a> of file <a class="el" href="a05598.html">config_file.h</a>.
+<p>
+References <a class="el" href="a05598.html#l00196">SaveWrap</a>, and <a class="el" href="a02402.html#NLMISC_1_1CConfigFile_1_1CVarz1937_0NLMISC_1_1CConfigFile_1_1CVarw3">T_UNKNOWN</a>.
+<p>
+<div class="fragment"><pre>00136 : <a class="code" href="a02402.html#NLMISC_1_1CConfigFile_1_1CVarz1937_9">Type</a>(T_UNKNOWN), <a class="code" href="a02402.html#NLMISC_1_1CConfigFile_1_1CVarz1937_6">Root</a>(<span class="keyword">false</span>), <a class="code" href="a02402.html#NLMISC_1_1CConfigFile_1_1CVarz1937_7">SaveWrap</a>(6) {}
+</pre></div> </td>
+ </tr>
+</table>
+<hr><h2>Member Function Documentation</h2>
+<a class="anchor" name="NLMISC_1_1CConfigFile_1_1CVara0" doxytag="NLMISC::CConfigFile::CVar::add" ></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::CConfigFile::CVar::add </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">const <a class="el" href="a02402.html">CVar</a> &amp;&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>var</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>
+
+<p>
+Definition at line <a class="el" href="a05597.html#l00202">202</a> of file <a class="el" href="a05597.html">config_file.cpp</a>.
+<p>
+References <a class="el" href="a05598.html#l00192">IntValues</a>, <a class="el" href="a05598.html#l00193">RealValues</a>, <a class="el" href="a05598.html#l00194">StrValues</a>, <a class="el" href="a02402.html#NLMISC_1_1CConfigFile_1_1CVarz1937_0NLMISC_1_1CConfigFile_1_1CVarw0">T_INT</a>, <a class="el" href="a02402.html#NLMISC_1_1CConfigFile_1_1CVarz1937_0NLMISC_1_1CConfigFile_1_1CVarw1">T_REAL</a>, <a class="el" href="a02402.html#NLMISC_1_1CConfigFile_1_1CVarz1937_0NLMISC_1_1CConfigFile_1_1CVarw2">T_STRING</a>, and <a class="el" href="a05598.html#l00189">Type</a>.
+<p>
+<div class="fragment"><pre>00203 {
+00204 <span class="keywordflow">if</span> (<a class="code" href="a02402.html#NLMISC_1_1CConfigFile_1_1CVarz1937_9">Type</a> == var.Type)
+00205 {
+00206 <span class="keywordflow">switch</span> (<a class="code" href="a02402.html#NLMISC_1_1CConfigFile_1_1CVarz1937_9">Type</a>)
+00207 {
+00208 <span class="keywordflow">case</span> <a class="code" href="a02402.html#NLMISC_1_1CConfigFile_1_1CVarz1937_0NLMISC_1_1CConfigFile_1_1CVarw0">T_INT</a>: <a class="code" href="a02402.html#NLMISC_1_1CConfigFile_1_1CVarz1937_3">IntValues</a>.insert (<a class="code" href="a02402.html#NLMISC_1_1CConfigFile_1_1CVarz1937_3">IntValues</a>.end(), var.IntValues.begin(), var.IntValues.end()); <span class="keywordflow">break</span>;
+00209 <span class="keywordflow">case</span> <a class="code" href="a02402.html#NLMISC_1_1CConfigFile_1_1CVarz1937_0NLMISC_1_1CConfigFile_1_1CVarw1">T_REAL</a>: <a class="code" href="a02402.html#NLMISC_1_1CConfigFile_1_1CVarz1937_5">RealValues</a>.insert (<a class="code" href="a02402.html#NLMISC_1_1CConfigFile_1_1CVarz1937_5">RealValues</a>.end(), var.RealValues.begin(), var.RealValues.end()); <span class="keywordflow">break</span>;
+00210 <span class="keywordflow">case</span> <a class="code" href="a02402.html#NLMISC_1_1CConfigFile_1_1CVarz1937_0NLMISC_1_1CConfigFile_1_1CVarw2">T_STRING</a>: <a class="code" href="a02402.html#NLMISC_1_1CConfigFile_1_1CVarz1937_8">StrValues</a>.insert (<a class="code" href="a02402.html#NLMISC_1_1CConfigFile_1_1CVarz1937_8">StrValues</a>.end(), var.StrValues.begin(), var.StrValues.end()); <span class="keywordflow">break</span>;
+00211 <span class="keywordflow">default</span>: <span class="keywordflow">break</span>;
+00212 }
+00213 }
+00214 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NLMISC_1_1CConfigFile_1_1CVarz1933_0" doxytag="NLMISC::CConfigFile::CVar::asDouble" ></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"> double NLMISC::CConfigFile::CVar::asDouble </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">int&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>index</em> = 0 </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>
+Get the content of the variable as a double.
+<p>
+
+<p>
+Definition at line <a class="el" href="a05597.html#l00075">75</a> of file <a class="el" href="a05597.html">config_file.cpp</a>.
+<p>
+References <a class="el" href="a05597.html#l00050">CheckType</a>, <a class="el" href="a05646.html#l00225">index</a>, <a class="el" href="a05598.html#l00192">IntValues</a>, <a class="el" href="a05598.html#l00193">RealValues</a>, <a class="el" href="a05598.html#l00194">StrValues</a>, <a class="el" href="a02402.html#NLMISC_1_1CConfigFile_1_1CVarz1937_0NLMISC_1_1CConfigFile_1_1CVarw0">T_INT</a>, <a class="el" href="a02402.html#NLMISC_1_1CConfigFile_1_1CVarz1937_0NLMISC_1_1CConfigFile_1_1CVarw1">T_REAL</a>, and <a class="el" href="a02402.html#NLMISC_1_1CConfigFile_1_1CVarz1937_0NLMISC_1_1CConfigFile_1_1CVarw2">T_STRING</a>.
+<p>
+Referenced by <a class="el" href="a05597.html#l00092">asFloat()</a>.
+<p>
+<div class="fragment"><pre>00076 {
+00077 <span class="keywordflow">if</span> (<a class="code" href="a04174.html#a3">CheckType</a> &amp;&amp; <a class="code" href="a02402.html#NLMISC_1_1CConfigFile_1_1CVarz1937_9">Type</a> != <a class="code" href="a02402.html#NLMISC_1_1CConfigFile_1_1CVarz1937_0NLMISC_1_1CConfigFile_1_1CVarw1">T_REAL</a>) <span class="keywordflow">throw</span> <a class="code" href="a03777.html">EBadType</a> (Name, Type, T_REAL);
+00078 <span class="keywordflow">switch</span> (<a class="code" href="a02402.html#NLMISC_1_1CConfigFile_1_1CVarz1937_9">Type</a>)
+00079 {
+00080 <span class="keywordflow">case</span> <a class="code" href="a02402.html#NLMISC_1_1CConfigFile_1_1CVarz1937_0NLMISC_1_1CConfigFile_1_1CVarw0">T_INT</a>:
+00081 <span class="keywordflow">if</span> (<a class="code" href="a04223.html#a566">index</a> &gt;= (<span class="keywordtype">int</span>)<a class="code" href="a02402.html#NLMISC_1_1CConfigFile_1_1CVarz1937_3">IntValues</a>.size () || <a class="code" href="a04223.html#a566">index</a> &lt; 0) <span class="keywordflow">throw</span> <a class="code" href="a03776.html">EBadSize</a> (Name, <a class="code" href="a02402.html#NLMISC_1_1CConfigFile_1_1CVarz1937_3">IntValues</a>.size (), <a class="code" href="a04223.html#a566">index</a>);
+00082 <span class="keywordflow">return</span> (<span class="keywordtype">double</span>)<a class="code" href="a02402.html#NLMISC_1_1CConfigFile_1_1CVarz1937_3">IntValues</a>[<a class="code" href="a04223.html#a566">index</a>];
+00083 <span class="keywordflow">case</span> <a class="code" href="a02402.html#NLMISC_1_1CConfigFile_1_1CVarz1937_0NLMISC_1_1CConfigFile_1_1CVarw2">T_STRING</a>:
+00084 <span class="keywordflow">if</span> (<a class="code" href="a04223.html#a566">index</a> &gt;= (<span class="keywordtype">int</span>)<a class="code" href="a02402.html#NLMISC_1_1CConfigFile_1_1CVarz1937_8">StrValues</a>.size () || <a class="code" href="a04223.html#a566">index</a> &lt; 0) <span class="keywordflow">throw</span> <a class="code" href="a03776.html">EBadSize</a> (Name, <a class="code" href="a02402.html#NLMISC_1_1CConfigFile_1_1CVarz1937_8">StrValues</a>.size (), <a class="code" href="a04223.html#a566">index</a>);
+00085 <span class="keywordflow">return</span> atof(StrValues[index].c_str());
+00086 <span class="keywordflow">default</span>:
+00087 <span class="keywordflow">if</span> (<a class="code" href="a04223.html#a566">index</a> &gt;= (<span class="keywordtype">int</span>)<a class="code" href="a02402.html#NLMISC_1_1CConfigFile_1_1CVarz1937_5">RealValues</a>.size () || <a class="code" href="a04223.html#a566">index</a> &lt; 0) <span class="keywordflow">throw</span> <a class="code" href="a03776.html">EBadSize</a> (Name, <a class="code" href="a02402.html#NLMISC_1_1CConfigFile_1_1CVarz1937_5">RealValues</a>.size (), <a class="code" href="a04223.html#a566">index</a>);
+00088 <span class="keywordflow">return</span> <a class="code" href="a02402.html#NLMISC_1_1CConfigFile_1_1CVarz1937_5">RealValues</a>[<a class="code" href="a04223.html#a566">index</a>];
+00089 }
+00090 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NLMISC_1_1CConfigFile_1_1CVarz1933_1" doxytag="NLMISC::CConfigFile::CVar::asFloat" ></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"> float NLMISC::CConfigFile::CVar::asFloat </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">int&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>index</em> = 0 </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>
+Get the content of the variable as a float.
+<p>
+
+<p>
+Definition at line <a class="el" href="a05597.html#l00092">92</a> of file <a class="el" href="a05597.html">config_file.cpp</a>.
+<p>
+References <a class="el" href="a05597.html#l00075">asDouble()</a>, and <a class="el" href="a05646.html#l00225">index</a>.
+<p>
+Referenced by <a class="el" href="a05903.html#l00042">NLLIGO::CLigoConfig::read()</a>.
+<p>
+<div class="fragment"><pre>00093 {
+00094 <span class="keywordflow">return</span> (<span class="keywordtype">float</span>) <a class="code" href="a02402.html#NLMISC_1_1CConfigFile_1_1CVarz1933_0">asDouble</a> (index);
+00095 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NLMISC_1_1CConfigFile_1_1CVarz1933_2" doxytag="NLMISC::CConfigFile::CVar::asInt" ></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"> int NLMISC::CConfigFile::CVar::asInt </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">int&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>index</em> = 0 </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>
+Get the content of the variable as an integer.
+<p>
+
+<p>
+Definition at line <a class="el" href="a05597.html#l00058">58</a> of file <a class="el" href="a05597.html">config_file.cpp</a>.
+<p>
+References <a class="el" href="a05597.html#l00050">CheckType</a>, <a class="el" href="a05646.html#l00225">index</a>, <a class="el" href="a05598.html#l00192">IntValues</a>, <a class="el" href="a05598.html#l00193">RealValues</a>, <a class="el" href="a05598.html#l00194">StrValues</a>, <a class="el" href="a02402.html#NLMISC_1_1CConfigFile_1_1CVarz1937_0NLMISC_1_1CConfigFile_1_1CVarw0">T_INT</a>, <a class="el" href="a02402.html#NLMISC_1_1CConfigFile_1_1CVarz1937_0NLMISC_1_1CConfigFile_1_1CVarw1">T_REAL</a>, and <a class="el" href="a02402.html#NLMISC_1_1CConfigFile_1_1CVarz1937_0NLMISC_1_1CConfigFile_1_1CVarw2">T_STRING</a>.
+<p>
+Referenced by <a class="el" href="a06641.html#l00191">NLNET::cbSimVar()</a>, <a class="el" href="a05962.html#l00272">NLNET::cfcbAcceptInvalidCookie()</a>, <a class="el" href="a05962.html#l00280">NLNET::cfcbTimeBeforeEraseCookie()</a>, <a class="el" href="a06364.html#l00419">NLNET::IService::main()</a>, and <a class="el" href="a05903.html#l00042">NLLIGO::CLigoConfig::read()</a>.
+<p>
+<div class="fragment"><pre>00059 {
+00060 <span class="keywordflow">if</span> (<a class="code" href="a04174.html#a3">CheckType</a> &amp;&amp; <a class="code" href="a02402.html#NLMISC_1_1CConfigFile_1_1CVarz1937_9">Type</a> != <a class="code" href="a02402.html#NLMISC_1_1CConfigFile_1_1CVarz1937_0NLMISC_1_1CConfigFile_1_1CVarw0">T_INT</a>) <span class="keywordflow">throw</span> <a class="code" href="a03777.html">EBadType</a> (Name, Type, T_INT);
+00061 <span class="keywordflow">switch</span> (<a class="code" href="a02402.html#NLMISC_1_1CConfigFile_1_1CVarz1937_9">Type</a>)
+00062 {
+00063 <span class="keywordflow">case</span> <a class="code" href="a02402.html#NLMISC_1_1CConfigFile_1_1CVarz1937_0NLMISC_1_1CConfigFile_1_1CVarw2">T_STRING</a>:
+00064 <span class="keywordflow">if</span> (<a class="code" href="a04223.html#a566">index</a> &gt;= (<span class="keywordtype">int</span>)<a class="code" href="a02402.html#NLMISC_1_1CConfigFile_1_1CVarz1937_8">StrValues</a>.size () || <a class="code" href="a04223.html#a566">index</a> &lt; 0) <span class="keywordflow">throw</span> <a class="code" href="a03776.html">EBadSize</a> (Name, <a class="code" href="a02402.html#NLMISC_1_1CConfigFile_1_1CVarz1937_8">StrValues</a>.size (), <a class="code" href="a04223.html#a566">index</a>);
+00065 <span class="keywordflow">return</span> atoi(StrValues[index].c_str());
+00066 <span class="keywordflow">case</span> <a class="code" href="a02402.html#NLMISC_1_1CConfigFile_1_1CVarz1937_0NLMISC_1_1CConfigFile_1_1CVarw1">T_REAL</a>:
+00067 <span class="keywordflow">if</span> (<a class="code" href="a04223.html#a566">index</a> &gt;= (<span class="keywordtype">int</span>)<a class="code" href="a02402.html#NLMISC_1_1CConfigFile_1_1CVarz1937_5">RealValues</a>.size () || <a class="code" href="a04223.html#a566">index</a> &lt; 0) <span class="keywordflow">throw</span> <a class="code" href="a03776.html">EBadSize</a> (Name, <a class="code" href="a02402.html#NLMISC_1_1CConfigFile_1_1CVarz1937_5">RealValues</a>.size (), <a class="code" href="a04223.html#a566">index</a>);
+00068 <span class="keywordflow">return</span> (<span class="keywordtype">int</span>)<a class="code" href="a02402.html#NLMISC_1_1CConfigFile_1_1CVarz1937_5">RealValues</a>[<a class="code" href="a04223.html#a566">index</a>];
+00069 <span class="keywordflow">default</span>:
+00070 <span class="keywordflow">if</span> (<a class="code" href="a04223.html#a566">index</a> &gt;= (<span class="keywordtype">int</span>)<a class="code" href="a02402.html#NLMISC_1_1CConfigFile_1_1CVarz1937_3">IntValues</a>.size () || <a class="code" href="a04223.html#a566">index</a> &lt; 0) <span class="keywordflow">throw</span> <a class="code" href="a03776.html">EBadSize</a> (Name, <a class="code" href="a02402.html#NLMISC_1_1CConfigFile_1_1CVarz1937_3">IntValues</a>.size (), <a class="code" href="a04223.html#a566">index</a>);
+00071 <span class="keywordflow">return</span> <a class="code" href="a02402.html#NLMISC_1_1CConfigFile_1_1CVarz1937_3">IntValues</a>[<a class="code" href="a04223.html#a566">index</a>];
+00072 }
+00073 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NLMISC_1_1CConfigFile_1_1CVarz1933_3" doxytag="NLMISC::CConfigFile::CVar::asString" ></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::CConfigFile::CVar::asString </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">int&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>index</em> = 0 </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>
+Get the content of the variable as a STL string.
+<p>
+
+<p>
+Definition at line <a class="el" href="a05597.html#l00097">97</a> of file <a class="el" href="a05597.html">config_file.cpp</a>.
+<p>
+References <a class="el" href="a05597.html#l00050">CheckType</a>, <a class="el" href="a05646.html#l00225">index</a>, <a class="el" href="a05598.html#l00192">IntValues</a>, <a class="el" href="a05598.html#l00193">RealValues</a>, <a class="el" href="a05598.html#l00194">StrValues</a>, <a class="el" href="a02402.html#NLMISC_1_1CConfigFile_1_1CVarz1937_0NLMISC_1_1CConfigFile_1_1CVarw0">T_INT</a>, <a class="el" href="a02402.html#NLMISC_1_1CConfigFile_1_1CVarz1937_0NLMISC_1_1CConfigFile_1_1CVarw1">T_REAL</a>, <a class="el" href="a02402.html#NLMISC_1_1CConfigFile_1_1CVarz1937_0NLMISC_1_1CConfigFile_1_1CVarw2">T_STRING</a>, and <a class="el" href="a06229.html#l02652">NLMISC::toString()</a>.
+<p>
+Referenced by <a class="el" href="a06364.html#l00405">NLNET::cbExecuteCommands()</a>, <a class="el" href="a06364.html#l00361">NLNET::cbLogFilter()</a>, <a class="el" href="a06665.html#l00036">NLMISC::cbVarChanged()</a>, <a class="el" href="a05962.html#l00264">NLNET::cfcbDefaultUserPriv()</a>, <a class="el" href="a05962.html#l00259">NLNET::cfcbListenAddress()</a>, <a class="el" href="a06665.html#l00050">NLMISC::IVariable::init()</a>, <a class="el" href="a06364.html#l00419">NLNET::IService::main()</a>, <a class="el" href="a05903.html#l00042">NLLIGO::CLigoConfig::read()</a>, and <a class="el" href="a05597.html#l00297">NLMISC::CConfigFile::reparse()</a>.
+<p>
+<div class="fragment"><pre>00098 {
+00099 <span class="keywordflow">if</span> (<a class="code" href="a04174.html#a3">CheckType</a> &amp;&amp; <a class="code" href="a02402.html#NLMISC_1_1CConfigFile_1_1CVarz1937_9">Type</a> != <a class="code" href="a02402.html#NLMISC_1_1CConfigFile_1_1CVarz1937_0NLMISC_1_1CConfigFile_1_1CVarw2">T_STRING</a>) <span class="keywordflow">throw</span> <a class="code" href="a03777.html">EBadType</a> (Name, Type, T_STRING);
+00100 <span class="keywordflow">switch</span> (<a class="code" href="a02402.html#NLMISC_1_1CConfigFile_1_1CVarz1937_9">Type</a>)
+00101 {
+00102 <span class="keywordflow">case</span> <a class="code" href="a02402.html#NLMISC_1_1CConfigFile_1_1CVarz1937_0NLMISC_1_1CConfigFile_1_1CVarw0">T_INT</a>:
+00103 <span class="keywordflow">if</span> (<a class="code" href="a04223.html#a566">index</a> &gt;= (<span class="keywordtype">int</span>)<a class="code" href="a02402.html#NLMISC_1_1CConfigFile_1_1CVarz1937_3">IntValues</a>.size () || <a class="code" href="a04223.html#a566">index</a> &lt; 0) <span class="keywordflow">throw</span> <a class="code" href="a03776.html">EBadSize</a> (Name, <a class="code" href="a02402.html#NLMISC_1_1CConfigFile_1_1CVarz1937_3">IntValues</a>.size (), <a class="code" href="a04223.html#a566">index</a>);
+00104 <span class="keywordflow">return</span> <a class="code" href="a05378.html#a244">toString</a>(IntValues[index]);
+00105 <span class="keywordflow">case</span> <a class="code" href="a02402.html#NLMISC_1_1CConfigFile_1_1CVarz1937_0NLMISC_1_1CConfigFile_1_1CVarw1">T_REAL</a>:
+00106 <span class="keywordflow">if</span> (<a class="code" href="a04223.html#a566">index</a> &gt;= (<span class="keywordtype">int</span>)<a class="code" href="a02402.html#NLMISC_1_1CConfigFile_1_1CVarz1937_5">RealValues</a>.size () || <a class="code" href="a04223.html#a566">index</a> &lt; 0) <span class="keywordflow">throw</span> <a class="code" href="a03776.html">EBadSize</a> (Name, <a class="code" href="a02402.html#NLMISC_1_1CConfigFile_1_1CVarz1937_5">RealValues</a>.size (), <a class="code" href="a04223.html#a566">index</a>);
+00107 <span class="keywordflow">return</span> <a class="code" href="a05378.html#a244">toString</a>(RealValues[index]);
+00108 <span class="keywordflow">default</span>:
+00109 <span class="keywordflow">if</span> (<a class="code" href="a04223.html#a566">index</a> &gt;= (<span class="keywordtype">int</span>)<a class="code" href="a02402.html#NLMISC_1_1CConfigFile_1_1CVarz1937_8">StrValues</a>.size () || <a class="code" href="a04223.html#a566">index</a> &lt; 0) <span class="keywordflow">throw</span> <a class="code" href="a03776.html">EBadSize</a> (Name, <a class="code" href="a02402.html#NLMISC_1_1CConfigFile_1_1CVarz1937_8">StrValues</a>.size (), <a class="code" href="a04223.html#a566">index</a>);
+00110 <span class="keywordflow">return</span> <a class="code" href="a02402.html#NLMISC_1_1CConfigFile_1_1CVarz1937_8">StrValues</a>[<a class="code" href="a04223.html#a566">index</a>];
+00111 }
+00112 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NLMISC_1_1CConfigFile_1_1CVara2" doxytag="NLMISC::CConfigFile::CVar::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::CConfigFile::CVar::operator!= </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">const <a class="el" href="a02402.html">CVar</a> &amp;&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>var</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="a05597.html#l00197">197</a> of file <a class="el" href="a05597.html">config_file.cpp</a>.
+<p>
+<div class="fragment"><pre>00198 {
+00199 <span class="keywordflow">return</span> !(*<span class="keyword">this</span>==var);
+00200 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NLMISC_1_1CConfigFile_1_1CVara3" doxytag="NLMISC::CConfigFile::CVar::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::CConfigFile::CVar::operator== </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">const <a class="el" href="a02402.html">CVar</a> &amp;&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>var</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="a05597.html#l00182">182</a> of file <a class="el" href="a05597.html">config_file.cpp</a>.
+<p>
+References <a class="el" href="a05598.html#l00192">IntValues</a>, <a class="el" href="a05598.html#l00193">RealValues</a>, <a class="el" href="a05598.html#l00194">StrValues</a>, <a class="el" href="a02402.html#NLMISC_1_1CConfigFile_1_1CVarz1937_0NLMISC_1_1CConfigFile_1_1CVarw0">T_INT</a>, <a class="el" href="a02402.html#NLMISC_1_1CConfigFile_1_1CVarz1937_0NLMISC_1_1CConfigFile_1_1CVarw1">T_REAL</a>, <a class="el" href="a02402.html#NLMISC_1_1CConfigFile_1_1CVarz1937_0NLMISC_1_1CConfigFile_1_1CVarw2">T_STRING</a>, and <a class="el" href="a05598.html#l00189">Type</a>.
+<p>
+<div class="fragment"><pre>00183 {
+00184 <span class="keywordflow">if</span> (<a class="code" href="a02402.html#NLMISC_1_1CConfigFile_1_1CVarz1937_9">Type</a> == var.Type)
+00185 {
+00186 <span class="keywordflow">switch</span> (<a class="code" href="a02402.html#NLMISC_1_1CConfigFile_1_1CVarz1937_9">Type</a>)
+00187 {
+00188 <span class="keywordflow">case</span> <a class="code" href="a02402.html#NLMISC_1_1CConfigFile_1_1CVarz1937_0NLMISC_1_1CConfigFile_1_1CVarw0">T_INT</a>: <span class="keywordflow">return</span> <a class="code" href="a02402.html#NLMISC_1_1CConfigFile_1_1CVarz1937_3">IntValues</a> == var.IntValues; <span class="keywordflow">break</span>;
+00189 <span class="keywordflow">case</span> <a class="code" href="a02402.html#NLMISC_1_1CConfigFile_1_1CVarz1937_0NLMISC_1_1CConfigFile_1_1CVarw1">T_REAL</a>: <span class="keywordflow">return</span> <a class="code" href="a02402.html#NLMISC_1_1CConfigFile_1_1CVarz1937_5">RealValues</a> == var.RealValues; <span class="keywordflow">break</span>;
+00190 <span class="keywordflow">case</span> <a class="code" href="a02402.html#NLMISC_1_1CConfigFile_1_1CVarz1937_0NLMISC_1_1CConfigFile_1_1CVarw2">T_STRING</a>: <span class="keywordflow">return</span> <a class="code" href="a02402.html#NLMISC_1_1CConfigFile_1_1CVarz1937_8">StrValues</a> == var.StrValues; <span class="keywordflow">break</span>;
+00191 <span class="keywordflow">default</span>: <span class="keywordflow">break</span>;
+00192 }
+00193 }
+00194 <span class="keywordflow">return</span> <span class="keyword">false</span>;
+00195 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NLMISC_1_1CConfigFile_1_1CVarz1935_0" doxytag="NLMISC::CConfigFile::CVar::setAsDouble" ></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::CConfigFile::CVar::setAsDouble </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">std::vector&lt; double &gt;&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>vals</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>
+Set the content of the aray variable as a double.
+<p>
+
+<p>
+Definition at line <a class="el" href="a05597.html#l00155">155</a> of file <a class="el" href="a05597.html">config_file.cpp</a>.
+<p>
+References <a class="el" href="a05598.html#l00193">RealValues</a>, and <a class="el" href="a02402.html#NLMISC_1_1CConfigFile_1_1CVarz1937_0NLMISC_1_1CConfigFile_1_1CVarw1">T_REAL</a>.
+<p>
+<div class="fragment"><pre>00156 {
+00157 <span class="keywordflow">if</span> (<a class="code" href="a02402.html#NLMISC_1_1CConfigFile_1_1CVarz1937_9">Type</a> != <a class="code" href="a02402.html#NLMISC_1_1CConfigFile_1_1CVarz1937_0NLMISC_1_1CConfigFile_1_1CVarw1">T_REAL</a>) <span class="keywordflow">throw</span> <a class="code" href="a03777.html">EBadType</a> (Name, Type, T_REAL);
+00158 <span class="keywordflow">else</span> <a class="code" href="a02402.html#NLMISC_1_1CConfigFile_1_1CVarz1937_5">RealValues</a> = vals;
+00159 <a class="code" href="a02402.html#NLMISC_1_1CConfigFile_1_1CVarz1937_6">Root</a> = <span class="keyword">false</span>;
+00160 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NLMISC_1_1CConfigFile_1_1CVarz1935_1" doxytag="NLMISC::CConfigFile::CVar::setAsDouble" ></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::CConfigFile::CVar::setAsDouble </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">double&nbsp;</td>
+ <td class="mdname" nowrap> <em>val</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap>int&nbsp;</td>
+ <td class="mdname" nowrap> <em>index</em> = 0</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>
+Set the content of the variable as a double.
+<p>
+
+<p>
+Definition at line <a class="el" href="a05597.html#l00125">125</a> of file <a class="el" href="a05597.html">config_file.cpp</a>.
+<p>
+References <a class="el" href="a05646.html#l00225">index</a>, <a class="el" href="a05598.html#l00193">RealValues</a>, and <a class="el" href="a02402.html#NLMISC_1_1CConfigFile_1_1CVarz1937_0NLMISC_1_1CConfigFile_1_1CVarw1">T_REAL</a>.
+<p>
+Referenced by <a class="el" href="a05597.html#l00134">setAsFloat()</a>.
+<p>
+<div class="fragment"><pre>00126 {
+00127 <span class="keywordflow">if</span> (<a class="code" href="a02402.html#NLMISC_1_1CConfigFile_1_1CVarz1937_9">Type</a> != <a class="code" href="a02402.html#NLMISC_1_1CConfigFile_1_1CVarz1937_0NLMISC_1_1CConfigFile_1_1CVarw1">T_REAL</a>) <span class="keywordflow">throw</span> <a class="code" href="a03777.html">EBadType</a> (Name, Type, T_REAL);
+00128 <span class="keywordflow">else</span> <span class="keywordflow">if</span> (<a class="code" href="a04223.html#a566">index</a> &gt; (<span class="keywordtype">int</span>)<a class="code" href="a02402.html#NLMISC_1_1CConfigFile_1_1CVarz1937_5">RealValues</a>.size () || <a class="code" href="a04223.html#a566">index</a> &lt; 0) <span class="keywordflow">throw</span> <a class="code" href="a03776.html">EBadSize</a> (Name, <a class="code" href="a02402.html#NLMISC_1_1CConfigFile_1_1CVarz1937_5">RealValues</a>.size (), <a class="code" href="a04223.html#a566">index</a>);
+00129 <span class="keywordflow">else</span> <span class="keywordflow">if</span> (<a class="code" href="a04223.html#a566">index</a> == (<span class="keywordtype">int</span>)<a class="code" href="a02402.html#NLMISC_1_1CConfigFile_1_1CVarz1937_5">RealValues</a>.size ()) <a class="code" href="a02402.html#NLMISC_1_1CConfigFile_1_1CVarz1937_5">RealValues</a>.push_back(val);
+00130 <span class="keywordflow">else</span> <a class="code" href="a02402.html#NLMISC_1_1CConfigFile_1_1CVarz1937_5">RealValues</a>[<a class="code" href="a04223.html#a566">index</a>] = val;
+00131 <a class="code" href="a02402.html#NLMISC_1_1CConfigFile_1_1CVarz1937_6">Root</a> = <span class="keyword">false</span>;
+00132 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NLMISC_1_1CConfigFile_1_1CVarz1935_2" doxytag="NLMISC::CConfigFile::CVar::setAsFloat" ></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::CConfigFile::CVar::setAsFloat </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">std::vector&lt; float &gt;&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>vals</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>
+Set the content of the aray variable as a float.
+<p>
+
+<p>
+Definition at line <a class="el" href="a05597.html#l00162">162</a> of file <a class="el" href="a05597.html">config_file.cpp</a>.
+<p>
+References <a class="el" href="a05598.html#l00193">RealValues</a>, <a class="el" href="a02402.html#NLMISC_1_1CConfigFile_1_1CVarz1937_0NLMISC_1_1CConfigFile_1_1CVarw1">T_REAL</a>, and <a class="el" href="a05981.html#l00105">uint</a>.
+<p>
+<div class="fragment"><pre>00163 {
+00164 <span class="keywordflow">if</span> (<a class="code" href="a02402.html#NLMISC_1_1CConfigFile_1_1CVarz1937_9">Type</a> != <a class="code" href="a02402.html#NLMISC_1_1CConfigFile_1_1CVarz1937_0NLMISC_1_1CConfigFile_1_1CVarw1">T_REAL</a>) <span class="keywordflow">throw</span> <a class="code" href="a03777.html">EBadType</a> (Name, Type, T_REAL);
+00165 <span class="keywordflow">else</span>
+00166 {
+00167 <a class="code" href="a02402.html#NLMISC_1_1CConfigFile_1_1CVarz1937_5">RealValues</a>.clear ();
+00168 <a class="code" href="a02402.html#NLMISC_1_1CConfigFile_1_1CVarz1937_5">RealValues</a>.resize (vals.size ());
+00169 <span class="keywordflow">for</span> (<a class="code" href="a04558.html#a15">uint</a> i = 0; i &lt; vals.size (); i++)
+00170 <a class="code" href="a02402.html#NLMISC_1_1CConfigFile_1_1CVarz1937_5">RealValues</a>[i] = (<span class="keywordtype">double</span>)vals[i];
+00171 }
+00172 <a class="code" href="a02402.html#NLMISC_1_1CConfigFile_1_1CVarz1937_6">Root</a> = <span class="keyword">false</span>;
+00173 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NLMISC_1_1CConfigFile_1_1CVarz1935_3" doxytag="NLMISC::CConfigFile::CVar::setAsFloat" ></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::CConfigFile::CVar::setAsFloat </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">float&nbsp;</td>
+ <td class="mdname" nowrap> <em>val</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap>int&nbsp;</td>
+ <td class="mdname" nowrap> <em>index</em> = 0</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>
+Set the content of the variable as a float.
+<p>
+
+<p>
+Definition at line <a class="el" href="a05597.html#l00134">134</a> of file <a class="el" href="a05597.html">config_file.cpp</a>.
+<p>
+References <a class="el" href="a05646.html#l00225">index</a>, and <a class="el" href="a05597.html#l00125">setAsDouble()</a>.
+<p>
+<div class="fragment"><pre>00135 {
+00136 <a class="code" href="a02402.html#NLMISC_1_1CConfigFile_1_1CVarz1935_1">setAsDouble</a> (val, index);
+00137 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NLMISC_1_1CConfigFile_1_1CVarz1935_4" doxytag="NLMISC::CConfigFile::CVar::setAsInt" ></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::CConfigFile::CVar::setAsInt </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">std::vector&lt; int &gt;&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>vals</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>
+Set the content of the aray variable as an integer.
+<p>
+
+<p>
+Definition at line <a class="el" href="a05597.html#l00148">148</a> of file <a class="el" href="a05597.html">config_file.cpp</a>.
+<p>
+References <a class="el" href="a05598.html#l00192">IntValues</a>, and <a class="el" href="a02402.html#NLMISC_1_1CConfigFile_1_1CVarz1937_0NLMISC_1_1CConfigFile_1_1CVarw0">T_INT</a>.
+<p>
+<div class="fragment"><pre>00149 {
+00150 <span class="keywordflow">if</span> (<a class="code" href="a02402.html#NLMISC_1_1CConfigFile_1_1CVarz1937_9">Type</a> != <a class="code" href="a02402.html#NLMISC_1_1CConfigFile_1_1CVarz1937_0NLMISC_1_1CConfigFile_1_1CVarw0">T_INT</a>) <span class="keywordflow">throw</span> <a class="code" href="a03777.html">EBadType</a> (Name, Type, T_INT);
+00151 <span class="keywordflow">else</span> <a class="code" href="a02402.html#NLMISC_1_1CConfigFile_1_1CVarz1937_3">IntValues</a> = vals;
+00152 <a class="code" href="a02402.html#NLMISC_1_1CConfigFile_1_1CVarz1937_6">Root</a> = <span class="keyword">false</span>;
+00153 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NLMISC_1_1CConfigFile_1_1CVarz1935_5" doxytag="NLMISC::CConfigFile::CVar::setAsInt" ></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::CConfigFile::CVar::setAsInt </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">int&nbsp;</td>
+ <td class="mdname" nowrap> <em>val</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap>int&nbsp;</td>
+ <td class="mdname" nowrap> <em>index</em> = 0</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>
+Set the content of the variable as an integer.
+<p>
+
+<p>
+Definition at line <a class="el" href="a05597.html#l00116">116</a> of file <a class="el" href="a05597.html">config_file.cpp</a>.
+<p>
+References <a class="el" href="a05646.html#l00225">index</a>, <a class="el" href="a05598.html#l00192">IntValues</a>, and <a class="el" href="a02402.html#NLMISC_1_1CConfigFile_1_1CVarz1937_0NLMISC_1_1CConfigFile_1_1CVarw0">T_INT</a>.
+<p>
+<div class="fragment"><pre>00117 {
+00118 <span class="keywordflow">if</span> (<a class="code" href="a02402.html#NLMISC_1_1CConfigFile_1_1CVarz1937_9">Type</a> != <a class="code" href="a02402.html#NLMISC_1_1CConfigFile_1_1CVarz1937_0NLMISC_1_1CConfigFile_1_1CVarw0">T_INT</a>) <span class="keywordflow">throw</span> <a class="code" href="a03777.html">EBadType</a> (Name, Type, T_INT);
+00119 <span class="keywordflow">else</span> <span class="keywordflow">if</span> (<a class="code" href="a04223.html#a566">index</a> &gt; (<span class="keywordtype">int</span>)<a class="code" href="a02402.html#NLMISC_1_1CConfigFile_1_1CVarz1937_3">IntValues</a>.size () || <a class="code" href="a04223.html#a566">index</a> &lt; 0) <span class="keywordflow">throw</span> <a class="code" href="a03776.html">EBadSize</a> (Name, <a class="code" href="a02402.html#NLMISC_1_1CConfigFile_1_1CVarz1937_3">IntValues</a>.size (), <a class="code" href="a04223.html#a566">index</a>);
+00120 <span class="keywordflow">else</span> <span class="keywordflow">if</span> (<a class="code" href="a04223.html#a566">index</a> == (<span class="keywordtype">int</span>)<a class="code" href="a02402.html#NLMISC_1_1CConfigFile_1_1CVarz1937_3">IntValues</a>.size ()) <a class="code" href="a02402.html#NLMISC_1_1CConfigFile_1_1CVarz1937_3">IntValues</a>.push_back(val);
+00121 <span class="keywordflow">else</span> <a class="code" href="a02402.html#NLMISC_1_1CConfigFile_1_1CVarz1937_3">IntValues</a>[<a class="code" href="a04223.html#a566">index</a>] = val;
+00122 <a class="code" href="a02402.html#NLMISC_1_1CConfigFile_1_1CVarz1937_6">Root</a> = <span class="keyword">false</span>;
+00123 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NLMISC_1_1CConfigFile_1_1CVarz1935_6" doxytag="NLMISC::CConfigFile::CVar::setAsString" ></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::CConfigFile::CVar::setAsString </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">std::vector&lt; std::string &gt;&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>vals</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>
+Set the content of the aray variable as a string.
+<p>
+
+<p>
+Definition at line <a class="el" href="a05597.html#l00175">175</a> of file <a class="el" href="a05597.html">config_file.cpp</a>.
+<p>
+References <a class="el" href="a05598.html#l00194">StrValues</a>, and <a class="el" href="a02402.html#NLMISC_1_1CConfigFile_1_1CVarz1937_0NLMISC_1_1CConfigFile_1_1CVarw2">T_STRING</a>.
+<p>
+<div class="fragment"><pre>00176 {
+00177 <span class="keywordflow">if</span> (<a class="code" href="a02402.html#NLMISC_1_1CConfigFile_1_1CVarz1937_9">Type</a> != <a class="code" href="a02402.html#NLMISC_1_1CConfigFile_1_1CVarz1937_0NLMISC_1_1CConfigFile_1_1CVarw2">T_STRING</a>) <span class="keywordflow">throw</span> <a class="code" href="a03777.html">EBadType</a> (Name, Type, T_STRING);
+00178 <span class="keywordflow">else</span> <a class="code" href="a02402.html#NLMISC_1_1CConfigFile_1_1CVarz1937_8">StrValues</a> = vals;
+00179 <a class="code" href="a02402.html#NLMISC_1_1CConfigFile_1_1CVarz1937_6">Root</a> = <span class="keyword">false</span>;
+00180 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NLMISC_1_1CConfigFile_1_1CVarz1935_7" doxytag="NLMISC::CConfigFile::CVar::setAsString" ></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::CConfigFile::CVar::setAsString </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">std::string&nbsp;</td>
+ <td class="mdname" nowrap> <em>val</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap>int&nbsp;</td>
+ <td class="mdname" nowrap> <em>index</em> = 0</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>
+Set the content of the variable as a STL string.
+<p>
+
+<p>
+Definition at line <a class="el" href="a05597.html#l00139">139</a> of file <a class="el" href="a05597.html">config_file.cpp</a>.
+<p>
+References <a class="el" href="a05646.html#l00225">index</a>, <a class="el" href="a05598.html#l00194">StrValues</a>, and <a class="el" href="a02402.html#NLMISC_1_1CConfigFile_1_1CVarz1937_0NLMISC_1_1CConfigFile_1_1CVarw2">T_STRING</a>.
+<p>
+<div class="fragment"><pre>00140 {
+00141 <span class="keywordflow">if</span> (<a class="code" href="a02402.html#NLMISC_1_1CConfigFile_1_1CVarz1937_9">Type</a> != <a class="code" href="a02402.html#NLMISC_1_1CConfigFile_1_1CVarz1937_0NLMISC_1_1CConfigFile_1_1CVarw2">T_STRING</a>) <span class="keywordflow">throw</span> <a class="code" href="a03777.html">EBadType</a> (Name, Type, T_STRING);
+00142 <span class="keywordflow">else</span> <span class="keywordflow">if</span> (<a class="code" href="a04223.html#a566">index</a> &gt; (<span class="keywordtype">int</span>)<a class="code" href="a02402.html#NLMISC_1_1CConfigFile_1_1CVarz1937_8">StrValues</a>.size () || <a class="code" href="a04223.html#a566">index</a> &lt; 0) <span class="keywordflow">throw</span> <a class="code" href="a03776.html">EBadSize</a> (Name, <a class="code" href="a02402.html#NLMISC_1_1CConfigFile_1_1CVarz1937_8">StrValues</a>.size (), <a class="code" href="a04223.html#a566">index</a>);
+00143 <span class="keywordflow">else</span> <span class="keywordflow">if</span> (<a class="code" href="a04223.html#a566">index</a> == (<span class="keywordtype">int</span>)<a class="code" href="a02402.html#NLMISC_1_1CConfigFile_1_1CVarz1937_8">StrValues</a>.size ()) <a class="code" href="a02402.html#NLMISC_1_1CConfigFile_1_1CVarz1937_8">StrValues</a>.push_back(val);
+00144 <span class="keywordflow">else</span> <a class="code" href="a02402.html#NLMISC_1_1CConfigFile_1_1CVarz1937_8">StrValues</a>[<a class="code" href="a04223.html#a566">index</a>] = val;
+00145 <a class="code" href="a02402.html#NLMISC_1_1CConfigFile_1_1CVarz1937_6">Root</a> = <span class="keyword">false</span>;
+00146 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NLMISC_1_1CConfigFile_1_1CVara4" doxytag="NLMISC::CConfigFile::CVar::size" ></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"> int NLMISC::CConfigFile::CVar::size </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</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="a05597.html#l00216">216</a> of file <a class="el" href="a05597.html">config_file.cpp</a>.
+<p>
+References <a class="el" href="a05598.html#l00192">IntValues</a>, <a class="el" href="a05598.html#l00193">RealValues</a>, <a class="el" href="a05598.html#l00194">StrValues</a>, <a class="el" href="a02402.html#NLMISC_1_1CConfigFile_1_1CVarz1937_0NLMISC_1_1CConfigFile_1_1CVarw0">T_INT</a>, <a class="el" href="a02402.html#NLMISC_1_1CConfigFile_1_1CVarz1937_0NLMISC_1_1CConfigFile_1_1CVarw1">T_REAL</a>, and <a class="el" href="a02402.html#NLMISC_1_1CConfigFile_1_1CVarz1937_0NLMISC_1_1CConfigFile_1_1CVarw2">T_STRING</a>.
+<p>
+Referenced by <a class="el" href="a06364.html#l00405">NLNET::cbExecuteCommands()</a>, <a class="el" href="a06364.html#l00361">NLNET::cbLogFilter()</a>, and <a class="el" href="a06364.html#l00419">NLNET::IService::main()</a>.
+<p>
+<div class="fragment"><pre>00217 {
+00218 <span class="keywordflow">switch</span> (<a class="code" href="a02402.html#NLMISC_1_1CConfigFile_1_1CVarz1937_9">Type</a>)
+00219 {
+00220 <span class="keywordflow">case</span> <a class="code" href="a02402.html#NLMISC_1_1CConfigFile_1_1CVarz1937_0NLMISC_1_1CConfigFile_1_1CVarw0">T_INT</a>: <span class="keywordflow">return</span> <a class="code" href="a02402.html#NLMISC_1_1CConfigFile_1_1CVarz1937_3">IntValues</a>.size ();
+00221 <span class="keywordflow">case</span> <a class="code" href="a02402.html#NLMISC_1_1CConfigFile_1_1CVarz1937_0NLMISC_1_1CConfigFile_1_1CVarw1">T_REAL</a>: <span class="keywordflow">return</span> <a class="code" href="a02402.html#NLMISC_1_1CConfigFile_1_1CVarz1937_5">RealValues</a>.size ();
+00222 <span class="keywordflow">case</span> <a class="code" href="a02402.html#NLMISC_1_1CConfigFile_1_1CVarz1937_0NLMISC_1_1CConfigFile_1_1CVarw2">T_STRING</a>: <span class="keywordflow">return</span> <a class="code" href="a02402.html#NLMISC_1_1CConfigFile_1_1CVarz1937_8">StrValues</a>.size ();
+00223 <span class="keywordflow">default</span>: <span class="keywordflow">return</span> 0;
+00224 }
+00225 }
+</pre></div> </td>
+ </tr>
+</table>
+<hr><h2>Field Documentation</h2>
+<a class="anchor" name="NLMISC_1_1CConfigFile_1_1CVarz1937_1" doxytag="NLMISC::CConfigFile::CVar::Callback" ></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(* <a class="el" href="a02402.html#NLMISC_1_1CConfigFile_1_1CVarz1937_1">NLMISC::CConfigFile::CVar::Callback</a>)(<a class="el" href="a02402.html">CVar</a> &amp;var)
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Referenced by <a class="el" href="a05597.html#l00653">NLMISC::CConfigFile::setCallback()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NLMISC_1_1CConfigFile_1_1CVarz1937_2" doxytag="NLMISC::CConfigFile::CVar::Comp" ></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 <a class="el" href="a02402.html#NLMISC_1_1CConfigFile_1_1CVarz1937_2">NLMISC::CConfigFile::CVar::Comp</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="a05598.html#l00191">191</a> of file <a class="el" href="a05598.html">config_file.h</a>.
+<p>
+Referenced by <a class="el" href="a05597.html#l00653">NLMISC::CConfigFile::setCallback()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NLMISC_1_1CConfigFile_1_1CVarz1937_3" doxytag="NLMISC::CConfigFile::CVar::IntValues" ></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::vector&lt;int&gt; <a class="el" href="a02402.html#NLMISC_1_1CConfigFile_1_1CVarz1937_3">NLMISC::CConfigFile::CVar::IntValues</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="a05598.html#l00192">192</a> of file <a class="el" href="a05598.html">config_file.h</a>.
+<p>
+Referenced by <a class="el" href="a05597.html#l00202">add()</a>, <a class="el" href="a05597.html#l00075">asDouble()</a>, <a class="el" href="a05597.html#l00058">asInt()</a>, <a class="el" href="a05597.html#l00097">asString()</a>, <a class="el" href="a05597.html#l00182">operator==()</a>, <a class="el" href="a05597.html#l00116">setAsInt()</a>, and <a class="el" href="a05597.html#l00216">size()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NLMISC_1_1CConfigFile_1_1CVarz1937_4" doxytag="NLMISC::CConfigFile::CVar::Name" ></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="a02402.html#NLMISC_1_1CConfigFile_1_1CVarz1937_4">NLMISC::CConfigFile::CVar::Name</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="a05598.html#l00188">188</a> of file <a class="el" href="a05598.html">config_file.h</a>.
+<p>
+Referenced by <a class="el" href="a06364.html#l00361">NLNET::cbLogFilter()</a>, <a class="el" href="a06641.html#l00191">NLNET::cbSimVar()</a>, <a class="el" href="a06665.html#l00036">NLMISC::cbVarChanged()</a>, <a class="el" href="a05597.html#l00745">NLMISC::CConfigFile::insertVar()</a>, and <a class="el" href="a05597.html#l00653">NLMISC::CConfigFile::setCallback()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NLMISC_1_1CConfigFile_1_1CVarz1937_5" doxytag="NLMISC::CConfigFile::CVar::RealValues" ></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::vector&lt;double&gt; <a class="el" href="a02402.html#NLMISC_1_1CConfigFile_1_1CVarz1937_5">NLMISC::CConfigFile::CVar::RealValues</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="a05598.html#l00193">193</a> of file <a class="el" href="a05598.html">config_file.h</a>.
+<p>
+Referenced by <a class="el" href="a05597.html#l00202">add()</a>, <a class="el" href="a05597.html#l00075">asDouble()</a>, <a class="el" href="a05597.html#l00058">asInt()</a>, <a class="el" href="a05597.html#l00097">asString()</a>, <a class="el" href="a05597.html#l00182">operator==()</a>, <a class="el" href="a05597.html#l00125">setAsDouble()</a>, <a class="el" href="a05597.html#l00162">setAsFloat()</a>, and <a class="el" href="a05597.html#l00216">size()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NLMISC_1_1CConfigFile_1_1CVarz1937_6" doxytag="NLMISC::CConfigFile::CVar::Root" ></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 <a class="el" href="a02402.html#NLMISC_1_1CConfigFile_1_1CVarz1937_6">NLMISC::CConfigFile::CVar::Root</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="a05598.html#l00190">190</a> of file <a class="el" href="a05598.html">config_file.h</a>.
+<p>
+Referenced by <a class="el" href="a05597.html#l00745">NLMISC::CConfigFile::insertVar()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NLMISC_1_1CConfigFile_1_1CVarz1937_7" doxytag="NLMISC::CConfigFile::CVar::SaveWrap" ></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"> int <a class="el" href="a02402.html#NLMISC_1_1CConfigFile_1_1CVarz1937_7">NLMISC::CConfigFile::CVar::SaveWrap</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="a05598.html#l00196">196</a> of file <a class="el" href="a05598.html">config_file.h</a>.
+<p>
+Referenced by <a class="el" href="a05598.html#l00136">CVar()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NLMISC_1_1CConfigFile_1_1CVarz1937_8" doxytag="NLMISC::CConfigFile::CVar::StrValues" ></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::vector&lt;std::string&gt; <a class="el" href="a02402.html#NLMISC_1_1CConfigFile_1_1CVarz1937_8">NLMISC::CConfigFile::CVar::StrValues</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="a05598.html#l00194">194</a> of file <a class="el" href="a05598.html">config_file.h</a>.
+<p>
+Referenced by <a class="el" href="a05597.html#l00202">add()</a>, <a class="el" href="a05597.html#l00075">asDouble()</a>, <a class="el" href="a05597.html#l00058">asInt()</a>, <a class="el" href="a05597.html#l00097">asString()</a>, <a class="el" href="a05597.html#l00182">operator==()</a>, <a class="el" href="a05597.html#l00139">setAsString()</a>, and <a class="el" href="a05597.html#l00216">size()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NLMISC_1_1CConfigFile_1_1CVarz1937_9" doxytag="NLMISC::CConfigFile::CVar::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="a02402.html#NLMISC_1_1CConfigFile_1_1CVarz1937_0">TVarType</a> <a class="el" href="a02402.html#NLMISC_1_1CConfigFile_1_1CVarz1937_9">NLMISC::CConfigFile::CVar::Type</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="a05598.html#l00189">189</a> of file <a class="el" href="a05598.html">config_file.h</a>.
+<p>
+Referenced by <a class="el" href="a05597.html#l00202">add()</a>, <a class="el" href="a05597.html#l00182">operator==()</a>, and <a class="el" href="a05597.html#l00653">NLMISC::CConfigFile::setCallback()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NLMISC_1_1CConfigFile_1_1CVarz1937_10" doxytag="NLMISC::CConfigFile::CVar::TypeName" ></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"> char * <a class="el" href="a02402.html#NLMISC_1_1CConfigFile_1_1CVarz1937_10">NLMISC::CConfigFile::CVar::TypeName</a> = { "Integer", "String", "Float" }<code> [static]</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="a05597.html#l00056">56</a> of file <a class="el" href="a05597.html">config_file.cpp</a>. </td>
+ </tr>
+</table>
+<hr>The documentation for this struct was generated from the following files:<ul>
+<li><a class="el" href="a05598.html">config_file.h</a><li><a class="el" href="a05597.html">config_file.cpp</a></ul>
+<hr size="1"><address style="align: right;"><small>Generated on Tue Mar 16 13:06:59 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>