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.
00174 {
-00175 return EnumConf(fname.c_str(),tag.c_str());
-00176 }
+00175 {
+00176 return EnumConf(fname.c_str(),tag.c_str());
+00177 }
@@ -240,16 +243,16 @@ 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 164 of file modules.cpp.
+Definition at line 165 of file modules.cpp.
-References fname.
+References fname.
-
00165 {
-00166 char val[MAXBUF];
-00167 ReadConf(fname.c_str(),tag.c_str(),name.c_str(),index,val);
-00168 string s = val;
-00169 return s;
-00170 }
+00166 {
+00167 char val[MAXBUF];
+00168 ReadConf(fname.c_str(),tag.c_str(),name.c_str(),index,val);
+00169 string s = val;
+00170 return s;
+00171 }
@@ -282,11 +285,11 @@ Returns true if a config file is valid.
This method is unimplemented and will always return true.
-Definition at line 179 of file modules.cpp.
+Definition at line 180 of file modules.cpp.
-
00180 {
-00181 return true;
-00182 }
+00181 {
+00182 return true;
+00183 }
@@ -314,16 +317,16 @@ The filename of the configuration file, as set by the constructor.
-Definition at line 223 of file modules.h.
+Definition at line 224 of file modules.h.
-Referenced by ConfigReader(), Enumerate(), and ReadValue().
+Referenced by ConfigReader(), Enumerate(), and ReadValue().
The documentation for this class was generated from the following files:
-
Generated on Sun Feb 9 12:48:17 2003 for InspIRCd by
+
Generated on Sun Mar 30 13:28:46 2003 for InspIRCd by
1.3-rc2
+width=110 height=53>1.3-rc3