From 59a2c6c2d96a4557cd885fefcbce97f490962692 Mon Sep 17 00:00:00 2001 From: brain Date: Tue, 6 Apr 2004 20:16:43 +0000 Subject: Updated docs git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@411 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 f8fd1a23b..54dfd90e2 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 473 of file modules.h.


Constructor & Destructor Documentation

+Definition at line 493 of file modules.h.

Constructor & Destructor Documentation

@@ -75,10 +75,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 334 of file modules.cpp. +Definition at line 336 of file modules.cpp.

-

00335 {
-00336 }
+
00337 {
+00338 }
 
@@ -112,15 +112,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 327 of file modules.cpp. +Definition at line 329 of file modules.cpp.

-References fc, and file_cache. +References fc, and file_cache.

-

00328 {
-00329         file_cache c;
-00330         readfile(c,filename.c_str());
-00331         this->fc = c;
-00332 }
+
00330 {
+00331         file_cache c;
+00332         readfile(c,filename.c_str());
+00333         this->fc = c;
+00334 }
 
@@ -153,10 +153,10 @@ Default destructor.

This deletes the memory allocated to the file.

-Definition at line 346 of file modules.cpp. +Definition at line 348 of file modules.cpp.

-

00347 {
-00348 }
+
00349 {
+00350 }
 
@@ -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 350 of file modules.cpp. +Definition at line 352 of file modules.cpp.

-References fc. +References fc.

-

00351 {
-00352         if (fc.size() == 0)
-00353         {
-00354                 return(false);
-00355         }
-00356         else
-00357         {
-00358                 return(true);
-00359         }
-00360 }
+
00353 {
+00354         if (fc.size() == 0)
+00355         {
+00356                 return(false);
+00357         }
+00358         else
+00359         {
+00360                 return(true);
+00361         }
+00362 }
 
@@ -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 369 of file modules.cpp. +Definition at line 371 of file modules.cpp.

-References fc. +References fc.

-

00370 {
-00371         return fc.size();
-00372 }
+
00372 {
+00373         return fc.size();
+00374 }
 
@@ -274,15 +274,15 @@ References fc.

-Definition at line 362 of file modules.cpp. +Definition at line 364 of file modules.cpp.

-References fc. +References fc.

-

00363 {
-00364         if ((x<0) || (x>fc.size()))
-00365                 return "";
-00366         return fc[x];
-00367 }
+
00365 {
+00366         if ((x<0) || (x>fc.size()))
+00367                 return "";
+00368         return fc[x];
+00369 }
 
@@ -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 338 of file modules.cpp. +Definition at line 340 of file modules.cpp.

-References fc, and file_cache. +References fc, and file_cache.

-

00339 {
-00340         file_cache c;
-00341         readfile(c,filename.c_str());
-00342         this->fc = c;
-00343 }
+
00341 {
+00342         file_cache c;
+00343         readfile(c,filename.c_str());
+00344         this->fc = c;
+00345 }
 
@@ -350,14 +350,14 @@ References fc, and

-Definition at line 475 of file modules.h. +Definition at line 495 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 Tue Apr 6 11:42:42 2004 for InspIRCd by +
Generated on Tue Apr 6 21:13:59 2004 for InspIRCd by doxygen1.3-rc3
-- cgit v1.2.3