From f326e475e311bf0fa211ccd052ba38d8235efa12 Mon Sep 17 00:00:00 2001 From: brain Date: Fri, 1 Apr 2005 17:07:42 +0000 Subject: Updated documentation (html) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@937 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 952b8dcb8..5946a05bd 100644 --- a/docs/module-doc/classFileReader.html +++ b/docs/module-doc/classFileReader.html @@ -47,7 +47,7 @@ This class contains methods for read-only manipulation of a text file in memory.
-Definition at line 730 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 712 of file modules.cpp. +Definition at line 722 of file modules.cpp.
-References fc, and file_cache. +References fc, and file_cache.
-
00713 {
-00714 file_cache c;
-00715 readfile(c,filename.c_str());
-00716 this->fc = c;
-00717 }
+00723 {
+00724 file_cache c;
+00725 readfile(c,filename.c_str());
+00726 this->fc = c;
+00727 }
@@ -155,10 +155,10 @@ Default destructor.
This deletes the memory allocated to the file.
-Definition at line 731 of file modules.cpp.
+Definition at line 741 of file modules.cpp.
-
00732 {
-00733 }
+00742 {
+00743 }
@@ -192,20 +192,20 @@ Returns true if the file exists This function will return false if the file coul
-Definition at line 735 of file modules.cpp.
+Definition at line 745 of file modules.cpp.
-References fc.
+References fc.
-
00736 {
-00737 if (fc.size() == 0)
-00738 {
-00739 return(false);
-00740 }
-00741 else
-00742 {
-00743 return(true);
-00744 }
-00745 }
+00746 {
+00747 if (fc.size() == 0)
+00748 {
+00749 return(false);
+00750 }
+00751 else
+00752 {
+00753 return(true);
+00754 }
+00755 }
@@ -238,13 +238,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 754 of file modules.cpp.
+Definition at line 764 of file modules.cpp.
-References fc.
+References fc.
-
00755 {
-00756 return fc.size();
-00757 }
+00765 {
+00766 return fc.size();
+00767 }
@@ -278,15 +278,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 747 of file modules.cpp.
+Definition at line 757 of file modules.cpp.
-References fc.
+References fc.
-
00748 {
-00749 if ((x<0) || (x>fc.size()))
-00750 return "";
-00751 return fc[x];
-00752 }
+
@@ -320,15 +320,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 723 of file modules.cpp.
+Definition at line 733 of file modules.cpp.
-References fc, and file_cache.
+References fc, and file_cache.
-
00724 {
-00725 file_cache c;
-00726 readfile(c,filename.c_str());
-00727 this->fc = c;
-00728 }
+00734 {
+00735 file_cache c;
+00736 readfile(c,filename.c_str());
+00737 this->fc = c;
+00738 }
@@ -354,14 +354,14 @@ References fc, and
-Definition at line 732 of file modules.h.
+Definition at line 760 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 Fri Mar 25 03:49:32 2005 for InspIRCd by
+
Generated on Mon Mar 28 21:09:32 2005 for InspIRCd by
1.3.3
--
cgit v1.3.1-10-gc9f91