From 1d994c544474da53159257d9097997c0744a48a5 Mon Sep 17 00:00:00 2001 From: brain Date: Tue, 6 Apr 2004 10:43:34 +0000 Subject: Added support for SVS-style Server class methods for modules git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@400 e03df62e-2008-0410-955e-edbf42e46eb7 --- docs/module-doc/classFileReader.html | 96 ++++++++++++++++++------------------ 1 file changed, 48 insertions(+), 48 deletions(-) (limited to 'docs/module-doc/classFileReader.html') diff --git a/docs/module-doc/classFileReader.html b/docs/module-doc/classFileReader.html index 0894d7d4d..f8fd1a23b 100644 --- a/docs/module-doc/classFileReader.html +++ b/docs/module-doc/classFileReader.html @@ -45,7 +45,7 @@ This class contains methods for read-only manipulation of a text file in memory.
-Definition at line 404 of file modules.h.
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, FileReader::FileSize returns 0.
-Definition at line 298 of file modules.cpp. +Definition at line 327 of file modules.cpp.
-References fc, and file_cache. +References fc, and file_cache.
-
00299 {
-00300 file_cache c;
-00301 readfile(c,filename.c_str());
-00302 this->fc = c;
-00303 }
+00328 {
+00329 file_cache c;
+00330 readfile(c,filename.c_str());
+00331 this->fc = c;
+00332 }
@@ -153,10 +153,10 @@ Default destructor.
This deletes the memory allocated to the file.
-Definition at line 317 of file modules.cpp.
+Definition at line 346 of file modules.cpp.
-
00318 {
-00319 }
+00347 {
+00348 }
@@ -190,20 +190,20 @@ Retrieve one line from the file.
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.
-Definition at line 321 of file modules.cpp.
+Definition at line 350 of file modules.cpp.
-References fc.
+References fc.
-
00322 {
-00323 if (fc.size() == 0)
-00324 {
-00325 return(false);
-00326 }
-00327 else
-00328 {
-00329 return(true);
-00330 }
-00331 }
+00351 {
+00352 if (fc.size() == 0)
+00353 {
+00354 return(false);
+00355 }
+00356 else
+00357 {
+00358 return(true);
+00359 }
+00360 }
@@ -236,13 +236,13 @@ Returns the size of the file in lines.
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.
-Definition at line 340 of file modules.cpp.
+Definition at line 369 of file modules.cpp.
-References fc.
+References fc.
-
00341 {
-00342 return fc.size();
-00343 }
+00370 {
+00371 return fc.size();
+00372 }
@@ -274,15 +274,15 @@ References fc.
-Definition at line 333 of file modules.cpp.
+Definition at line 362 of file modules.cpp.
-References fc.
+References fc.
-
00334 {
-00335 if ((x<0) || (x>fc.size()))
-00336 return "";
-00337 return fc[x];
-00338 }
+
@@ -316,15 +316,15 @@ Used to load a file.
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, FileReader::FileSize returns 0.
-Definition at line 309 of file modules.cpp.
+Definition at line 338 of file modules.cpp.
-References fc, and file_cache.
+References fc, and file_cache.
-
00310 {
-00311 file_cache c;
-00312 readfile(c,filename.c_str());
-00313 this->fc = c;
-00314 }
+00339 {
+00340 file_cache c;
+00341 readfile(c,filename.c_str());
+00342 this->fc = c;
+00343 }
@@ -350,14 +350,14 @@ References fc, and
-Definition at line 406 of file modules.h.
+Definition at line 475 of file modules.h.
-Referenced by Exists(), FileReader(), FileSize(), GetLine(), and LoadFile().
+Referenced by Exists(), FileReader(), FileSize(), GetLine(), and LoadFile().
The documentation for this class was generated from the following files:
-
Generated on Mon Apr 5 02:04:04 2004 for InspIRCd by
+
Generated on Tue Apr 6 11:42:42 2004 for InspIRCd by
1.3-rc3
--
cgit v1.3.1-10-gc9f91