From 66f0cd6469d2643858c2fcd14726d362696bd68d Mon Sep 17 00:00:00 2001 From: brain Date: Tue, 24 May 2005 02:34:33 +0000 Subject: New methods, new docs git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1484 e03df62e-2008-0410-955e-edbf42e46eb7 --- docs/module-doc/classFileReader.html | 82 ++++++++++++++++++------------------ 1 file changed, 41 insertions(+), 41 deletions(-) (limited to 'docs/module-doc/classFileReader.html') diff --git a/docs/module-doc/classFileReader.html b/docs/module-doc/classFileReader.html index 7b5ff42e5..c8688bd2f 100644 --- a/docs/module-doc/classFileReader.html +++ b/docs/module-doc/classFileReader.html @@ -83,10 +83,10 @@ Default constructor.

This method does not load any file into memory, you must use the LoadFile method after constructing the class this way.

-Definition at line 952 of file modules.cpp. +Definition at line 972 of file modules.cpp.

-

00953 {
-00954 }
+
00973 {
+00974 }
 
@@ -120,15 +120,15 @@ Secondary constructor.

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 945 of file modules.cpp. +Definition at line 965 of file modules.cpp.

References fc, and file_cache.

-

00946 {
-00947         file_cache c;
-00948         readfile(c,filename.c_str());
-00949         this->fc = c;
-00950 }
+
00966 {
+00967         file_cache c;
+00968         readfile(c,filename.c_str());
+00969         this->fc = c;
+00970 }
 
@@ -161,10 +161,10 @@ Default destructor.

This deletes the memory allocated to the file.

-Definition at line 964 of file modules.cpp. +Definition at line 984 of file modules.cpp.

-

00965 {
-00966 }
+
00985 {
+00986 }
 
@@ -198,20 +198,20 @@ Returns true if the file exists This function will return false if the file coul

-Definition at line 968 of file modules.cpp. +Definition at line 988 of file modules.cpp.

References fc.

-

00969 {
-00970         if (fc.size() == 0)
-00971         {
-00972                 return(false);
-00973         }
-00974         else
-00975         {
-00976                 return(true);
-00977         }
-00978 }
+
00989 {
+00990         if (fc.size() == 0)
+00991         {
+00992                 return(false);
+00993         }
+00994         else
+00995         {
+00996                 return(true);
+00997         }
+00998 }
 
@@ -244,13 +244,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 987 of file modules.cpp. +Definition at line 1007 of file modules.cpp.

References fc.

-

00988 {
-00989         return fc.size();
-00990 }
+
01008 {
+01009         return fc.size();
+01010 }
 
@@ -284,15 +284,15 @@ 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 980 of file modules.cpp. +Definition at line 1000 of file modules.cpp.

References fc.

-

00981 {
-00982         if ((x<0) || (x>fc.size()))
-00983                 return "";
-00984         return fc[x];
-00985 }
+
01001 {
+01002         if ((x<0) || (x>fc.size()))
+01003                 return "";
+01004         return fc[x];
+01005 }
 
@@ -326,15 +326,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 956 of file modules.cpp. +Definition at line 976 of file modules.cpp.

References fc, and file_cache.

-

00957 {
-00958         file_cache c;
-00959         readfile(c,filename.c_str());
-00960         this->fc = c;
-00961 }
+
00977 {
+00978         file_cache c;
+00979         readfile(c,filename.c_str());
+00980         this->fc = c;
+00981 }
 
@@ -362,12 +362,12 @@ References fc, and Definition at line 1241 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 Sun May 15 18:38:18 2005 for InspIRCd by +
Generated on Tue May 24 02:32:03 2005 for InspIRCd by doxygen 1.3.3
-- cgit v1.2.3