+Retrieves an integer value from the config file.
+<p>
+This method retrieves an integer value from the config file. Where multiple copies of the tag exist in the config file, index indicates which of the values to retrieve. Any invalid integer values in the tag will cause the objects error value to be set, and any call to <a class="el" href="classConfigReader.html#a6">GetError()</a> will return CONF_INVALID_NUMBER to be returned. needs_unsigned is set if the number must be unsigned. If a signed number is placed into a tag which is specified unsigned, 0 will be returned and <a class="el" href="classConfigReader.html#a6">GetError()</a> will return CONF_NOT_UNSIGNED
+<p>
+Definition at line <a class="el" href="modules_8cpp-source.html#l00640">640</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
+<p>
+References <a class="el" href="modules_8h-source.html#l00691">cache</a>, <a class="el" href="modules_8h-source.html#l00672">CONF_NOT_A_NUMBER</a>, <a class="el" href="modules_8h-source.html#l00673">CONF_NOT_UNSIGNED</a>, <a class="el" href="modules_8h-source.html#l00674">CONF_VALUE_NOT_FOUND</a>, and <a class="el" href="modules_8h-source.html#l00696">error</a>.
+<p>
+<div class="fragment"><pre>00641 {
+00642 <span class="keywordtype">char</span> val[MAXBUF];
+00643 <span class="keywordtype">char</span> t[MAXBUF];
+00644 <span class="keywordtype">char</span> n[MAXBUF];
+00645 strlcpy(t,tag.c_str(),MAXBUF);
+00646 strlcpy(n,name.c_str(),MAXBUF);
+00647 <span class="keywordtype">int</span> res = ReadConf(cache,t,n,index,val);
+00648 <span class="keywordflow">if</span> (!res)
+00649 {
+00650 this-><a class="code" href="classConfigReader.html#p3">error</a> = <a class="code" href="modules_8h.html#a28">CONF_VALUE_NOT_FOUND</a>;
+00651 <span class="keywordflow">return</span> 0;
+00652 }
+00653 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i < strlen(val); i++)
+00654 {
+00655 <span class="keywordflow">if</span> (!isdigit(val[i]))
+00656 {
+00657 this-><a class="code" href="classConfigReader.html#p3">error</a> = <a class="code" href="modules_8h.html#a26">CONF_NOT_A_NUMBER</a>;
+00658 <span class="keywordflow">return</span> 0;
+00659 }
+00660 }
+00661 <span class="keywordflow">if</span> ((needs_unsigned) && (atoi(val)<0))
+00662 {
+00663 this-><a class="code" href="classConfigReader.html#p3">error</a> = <a class="code" href="modules_8h.html#a27">CONF_NOT_UNSIGNED</a>;
+00664 <span class="keywordflow">return</span> 0;
+00665 }
+00666 <span class="keywordflow">return</span> atoi(val);
+00667 }
+</pre></div> </td>
+ </tr>
+</table>
+<a name="a3" doxytag="ConfigReader::ReadValue"></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 ConfigReader::ReadValue </td>
+ <td class="md" valign="top">( </td>
+ <td class="md" nowrap valign="top">std::string </td>
+ <td class="mdname" nowrap> <em>tag</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap>std::string </td>
+ <td class="mdname" nowrap> <em>name</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap>int </td>
+ <td class="mdname" nowrap> <em>index</em></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">) </td>
+ <td class="md" colspan="2"></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+
+ </td>
+ <td>
+