From 74e9276df9d67147885dd2a11b1c23913c9c94f1 Mon Sep 17 00:00:00 2001 From: brain Date: Mon, 19 Apr 2004 01:36:09 +0000 Subject: Documentation update git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@668 e03df62e-2008-0410-955e-edbf42e46eb7 --- docs/module-doc/classConfigReader.html | 72 +++++++++++++++++----------------- 1 file changed, 36 insertions(+), 36 deletions(-) (limited to 'docs/module-doc/classConfigReader.html') diff --git a/docs/module-doc/classConfigReader.html b/docs/module-doc/classConfigReader.html index 6c8d729e1..957309bf3 100644 --- a/docs/module-doc/classConfigReader.html +++ b/docs/module-doc/classConfigReader.html @@ -79,14 +79,14 @@ Default constructor.
This constructor initialises the ConfigReader class to read the inspircd.conf file as specified when running ./configure.
-Definition at line 334 of file modules.cpp. +Definition at line 336 of file modules.cpp.
-
00335 {
-00336 this->cache = new std::stringstream(std::stringstream::in | std::stringstream::out);
-00337 this->error = LoadConf(CONFIG_FILE,this->cache);
-00338 }
+00337 {
+00338 this->cache = new std::stringstream(std::stringstream::in | std::stringstream::out);
+00339 this->error = LoadConf(CONFIG_FILE,this->cache);
+00340 }
@@ -120,14 +120,14 @@ Overloaded constructor.
This constructor initialises the ConfigReader class to read a user-specified config file
-Definition at line 348 of file modules.cpp.
+Definition at line 350 of file modules.cpp.
-
00349 {
-00350 this->cache = new std::stringstream(std::stringstream::in | std::stringstream::out);
-00351 this->error = LoadConf(filename.c_str(),this->cache);
-00352 };
+00351 {
+00352 this->cache = new std::stringstream(std::stringstream::in | std::stringstream::out);
+00353 this->error = LoadConf(filename.c_str(),this->cache);
+00354 };
@@ -160,14 +160,14 @@ Default destructor.
This method destroys the ConfigReader class.
-Definition at line 341 of file modules.cpp.
+Definition at line 343 of file modules.cpp.
References cache.
-
00342 {
-00343 if (this->cache)
-00344 delete this->cache;
-00345 }
+
@@ -202,11 +202,11 @@ Counts the number of times a given tag appears in the config file.
This method counts the number of times a tag appears in a config file, for use where there are several tags of the same kind, e.g. with opers and connect types. It can be used with the index value of ConfigReader::ReadValue to loop through all copies of a multiple instance tag.
-Definition at line 362 of file modules.cpp.
+Definition at line 364 of file modules.cpp.
-
00363 {
-00364 return EnumConf(cache,tag.c_str());
-00365 }
+00365 {
+00366 return EnumConf(cache,tag.c_str());
+00367 }
@@ -249,11 +249,11 @@ Returns the number of items within a tag.
For example if the tag was <test tag="blah" data="foo"> then this function would return 2. Spaces and newlines both qualify as valid seperators between values.
-Definition at line 367 of file modules.cpp.
+Definition at line 369 of file modules.cpp.
-
00368 {
-00369 return EnumValues(cache, tag.c_str(), index);
-00370 }
+00370 {
+00371 return EnumValues(cache, tag.c_str(), index);
+00372 }
@@ -302,13 +302,13 @@ Retrieves a value from the config file.
This method retrieves a value from the config file. Where multiple copies of the tag exist in the config file, index indicates which of the values to retrieve.
-Definition at line 354 of file modules.cpp.
+Definition at line 356 of file modules.cpp.
-
00355 {
-00356 char val[MAXBUF];
-00357 ReadConf(cache,tag.c_str(),name.c_str(),index,val);
-00358 return val;
-00359 }
+00357 {
+00358 char val[MAXBUF];
+00359 ReadConf(cache,tag.c_str(),name.c_str(),index,val);
+00360 return val;
+00361 }
@@ -341,13 +341,13 @@ Returns true if a config file is valid.
This method is partially implemented and will only return false if the config file does not exist or could not be opened.
-Definition at line 372 of file modules.cpp.
+Definition at line 374 of file modules.cpp.
References error.
-
00373 {
-00374 return this->error;
-00375 }
+00375 {
+00376 return this->error;
+00377 }
@@ -377,7 +377,7 @@ It will contain a pointer to the configuration file data with unneeded data (suc
Definition at line 505 of file modules.h.
-Referenced by ConfigReader(), and ~ConfigReader().
+Referenced by ConfigReader(), and ~ConfigReader().
@@ -405,12 +405,12 @@ Used to store errors.
Definition at line 508 of file modules.h.
-Referenced by ConfigReader(), and Verify().
+Referenced by ConfigReader(), and Verify().
The documentation for this class was generated from the following files:
-
Generated on Sat Apr 17 13:33:53 2004 for InspIRCd by
+
Generated on Mon Apr 19 02:34:42 2004 for InspIRCd by
1.3-rc3
--
cgit v1.3.1-10-gc9f91