diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-12-12 13:32:15 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-12-12 13:32:15 +0000 |
commit | 097b2479d0393d8a8bada4a50708d7a2404045ca (patch) | |
tree | 8e624ea3c2035ebf8c64adfd3599a0fe1dce1556 /docs/module-doc/classFileReader.html | |
parent | 277fc183721767efbce4b4cb1fc716c5f67d4752 (diff) |
Added new docs for class SocketEngine
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2339 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'docs/module-doc/classFileReader.html')
-rw-r--r-- | docs/module-doc/classFileReader.html | 80 |
1 files changed, 40 insertions, 40 deletions
diff --git a/docs/module-doc/classFileReader.html b/docs/module-doc/classFileReader.html index afa717b3b..26db36d52 100644 --- a/docs/module-doc/classFileReader.html +++ b/docs/module-doc/classFileReader.html @@ -82,8 +82,8 @@ Default constructor. <p> This method does not load any file into memory, you must use the LoadFile method after constructing the class this way. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00988">988</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00989"></a>00989 { -<a name="l00990"></a>00990 } +Definition at line <a class="el" href="modules_8cpp-source.html#l00961">961</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00962"></a>00962 { +<a name="l00963"></a>00963 } </pre></div> <p> </td> @@ -118,13 +118,13 @@ Secondary constructor. <p> This method initialises the class with a file loaded into it ready for GetLine and and other methods to be called. If the file could not be loaded, <a class="el" href="classFileReader.html#FileSize_28_29">FileReader::FileSize</a> returns 0. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00981">981</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00954">954</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -References <a class="el" href="modules_8h-source.html#l01601">fc</a>.<div class="fragment"><pre class="fragment"><a name="l00982"></a>00982 { -<a name="l00983"></a>00983 <a class="code" href="modules_8h.html#file_5Fcache">file_cache</a> c; -<a name="l00984"></a>00984 readfile(c,filename.c_str()); -<a name="l00985"></a>00985 this-><a class="code" href="classFileReader.html#fc">fc</a> = c; -<a name="l00986"></a>00986 } +References <a class="el" href="modules_8h-source.html#l01601">fc</a>.<div class="fragment"><pre class="fragment"><a name="l00955"></a>00955 { +<a name="l00956"></a>00956 <a class="code" href="modules_8h.html#file_5Fcache">file_cache</a> c; +<a name="l00957"></a>00957 readfile(c,filename.c_str()); +<a name="l00958"></a>00958 this-><a class="code" href="classFileReader.html#fc">fc</a> = c; +<a name="l00959"></a>00959 } </pre></div> <p> </td> @@ -158,8 +158,8 @@ Default destructor. <p> This deletes the memory allocated to the file. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l01000">1000</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l01001"></a>01001 { -<a name="l01002"></a>01002 } +Definition at line <a class="el" href="modules_8cpp-source.html#l00973">973</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00974"></a>00974 { +<a name="l00975"></a>00975 } </pre></div> <p> </td> @@ -194,18 +194,18 @@ Returns true if the file exists This function will return false if the file coul <p> <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l01004">1004</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. -<p> -References <a class="el" href="modules_8h-source.html#l01601">fc</a>.<div class="fragment"><pre class="fragment"><a name="l01005"></a>01005 { -<a name="l01006"></a>01006 <span class="keywordflow">if</span> (<a class="code" href="classFileReader.html#fc">fc</a>.size() == 0) -<a name="l01007"></a>01007 { -<a name="l01008"></a>01008 <span class="keywordflow">return</span>(<span class="keyword">false</span>); -<a name="l01009"></a>01009 } -<a name="l01010"></a>01010 <span class="keywordflow">else</span> -<a name="l01011"></a>01011 { -<a name="l01012"></a>01012 <span class="keywordflow">return</span>(<span class="keyword">true</span>); -<a name="l01013"></a>01013 } -<a name="l01014"></a>01014 } +Definition at line <a class="el" href="modules_8cpp-source.html#l00977">977</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +<p> +References <a class="el" href="modules_8h-source.html#l01601">fc</a>.<div class="fragment"><pre class="fragment"><a name="l00978"></a>00978 { +<a name="l00979"></a>00979 <span class="keywordflow">if</span> (<a class="code" href="classFileReader.html#fc">fc</a>.size() == 0) +<a name="l00980"></a>00980 { +<a name="l00981"></a>00981 <span class="keywordflow">return</span>(<span class="keyword">false</span>); +<a name="l00982"></a>00982 } +<a name="l00983"></a>00983 <span class="keywordflow">else</span> +<a name="l00984"></a>00984 { +<a name="l00985"></a>00985 <span class="keywordflow">return</span>(<span class="keyword">true</span>); +<a name="l00986"></a>00986 } +<a name="l00987"></a>00987 } </pre></div> <p> </td> @@ -239,11 +239,11 @@ Returns the size of the file in lines. <p> This method returns the number of lines in the read file. If it is 0, no lines have been read into memory, either because the file is empty or it does not exist, or cannot be opened due to permission problems. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l01023">1023</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00996">996</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -References <a class="el" href="modules_8h-source.html#l01601">fc</a>.<div class="fragment"><pre class="fragment"><a name="l01024"></a>01024 { -<a name="l01025"></a>01025 <span class="keywordflow">return</span> <a class="code" href="classFileReader.html#fc">fc</a>.size(); -<a name="l01026"></a>01026 } +References <a class="el" href="modules_8h-source.html#l01601">fc</a>.<div class="fragment"><pre class="fragment"><a name="l00997"></a>00997 { +<a name="l00998"></a>00998 <span class="keywordflow">return</span> <a class="code" href="classFileReader.html#fc">fc</a>.size(); +<a name="l00999"></a>00999 } </pre></div> <p> </td> @@ -278,13 +278,13 @@ Retrieve one line from the file. <p> This method retrieves one line from the text file. If an empty non-NULL string is returned, the index was out of bounds, or the line had no data on it. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l01016">1016</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00989">989</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -References <a class="el" href="modules_8h-source.html#l01601">fc</a>.<div class="fragment"><pre class="fragment"><a name="l01017"></a>01017 { -<a name="l01018"></a>01018 <span class="keywordflow">if</span> ((x<0) || ((<span class="keywordtype">unsigned</span>)x><a class="code" href="classFileReader.html#fc">fc</a>.size())) -<a name="l01019"></a>01019 <span class="keywordflow">return</span> <span class="stringliteral">""</span>; -<a name="l01020"></a>01020 <span class="keywordflow">return</span> <a class="code" href="classFileReader.html#fc">fc</a>[x]; -<a name="l01021"></a>01021 } +References <a class="el" href="modules_8h-source.html#l01601">fc</a>.<div class="fragment"><pre class="fragment"><a name="l00990"></a>00990 { +<a name="l00991"></a>00991 <span class="keywordflow">if</span> ((x<0) || ((<span class="keywordtype">unsigned</span>)x><a class="code" href="classFileReader.html#fc">fc</a>.size())) +<a name="l00992"></a>00992 <span class="keywordflow">return</span> <span class="stringliteral">""</span>; +<a name="l00993"></a>00993 <span class="keywordflow">return</span> <a class="code" href="classFileReader.html#fc">fc</a>[x]; +<a name="l00994"></a>00994 } </pre></div> <p> </td> @@ -319,13 +319,13 @@ Used to load a file. <p> This method loads a file into the class ready for GetLine and and other methods to be called. If the file could not be loaded, <a class="el" href="classFileReader.html#FileSize_28_29">FileReader::FileSize</a> returns 0. <p> -Definition at line <a class="el" href="modules_8cpp-source.html#l00992">992</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. +Definition at line <a class="el" href="modules_8cpp-source.html#l00965">965</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>. <p> -References <a class="el" href="modules_8h-source.html#l01601">fc</a>.<div class="fragment"><pre class="fragment"><a name="l00993"></a>00993 { -<a name="l00994"></a>00994 <a class="code" href="modules_8h.html#file_5Fcache">file_cache</a> c; -<a name="l00995"></a>00995 readfile(c,filename.c_str()); -<a name="l00996"></a>00996 this-><a class="code" href="classFileReader.html#fc">fc</a> = c; -<a name="l00997"></a>00997 } +References <a class="el" href="modules_8h-source.html#l01601">fc</a>.<div class="fragment"><pre class="fragment"><a name="l00966"></a>00966 { +<a name="l00967"></a>00967 <a class="code" href="modules_8h.html#file_5Fcache">file_cache</a> c; +<a name="l00968"></a>00968 readfile(c,filename.c_str()); +<a name="l00969"></a>00969 this-><a class="code" href="classFileReader.html#fc">fc</a> = c; +<a name="l00970"></a>00970 } </pre></div> <p> </td> @@ -356,12 +356,12 @@ References <a class="el" href="modules_8h-source.html#l01601">fc</a>.<div class= <p> Definition at line <a class="el" href="modules_8h-source.html#l01601">1601</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. <p> -Referenced by <a class="el" href="modules_8cpp-source.html#l01004">Exists()</a>, <a class="el" href="modules_8cpp-source.html#l00981">FileReader()</a>, <a class="el" href="modules_8cpp-source.html#l01023">FileSize()</a>, <a class="el" href="modules_8cpp-source.html#l01016">GetLine()</a>, and <a class="el" href="modules_8cpp-source.html#l00992">LoadFile()</a>. </td> +Referenced by <a class="el" href="modules_8cpp-source.html#l00977">Exists()</a>, <a class="el" href="modules_8cpp-source.html#l00954">FileReader()</a>, <a class="el" href="modules_8cpp-source.html#l00996">FileSize()</a>, <a class="el" href="modules_8cpp-source.html#l00989">GetLine()</a>, and <a class="el" href="modules_8cpp-source.html#l00965">LoadFile()</a>. </td> </tr> </table> <hr>The documentation for this class was generated from the following files:<ul> <li><a class="el" href="modules_8h-source.html">modules.h</a><li><a class="el" href="modules_8cpp-source.html">modules.cpp</a></ul> -<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 9 20:20:11 2005 for InspIRCd by +<hr size="1"><address style="align: right;"><small>Generated on Mon Dec 12 13:31:12 2005 for InspIRCd by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address> </body> |