From 44b62866f83dea028500d81274eaaba8e886e1c3 Mon Sep 17 00:00:00 2001 From: brain Date: Sun, 30 Mar 2003 12:32:32 +0000 Subject: Added DOT files to documentation for class diagrams (pretteh!) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@169 e03df62e-2008-0410-955e-edbf42e46eb7 --- docs/module-doc/modules_8cpp-source.html | 371 ++++++++++++++++--------------- 1 file changed, 186 insertions(+), 185 deletions(-) (limited to 'docs/module-doc/modules_8cpp-source.html') diff --git a/docs/module-doc/modules_8cpp-source.html b/docs/module-doc/modules_8cpp-source.html index 793cf2c10..c1b618899 100644 --- a/docs/module-doc/modules_8cpp-source.html +++ b/docs/module-doc/modules_8cpp-source.html @@ -3,7 +3,7 @@ modules.cpp Source File - +
Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

modules.cpp

Go to the documentation of this file.
00001 /*
@@ -41,199 +41,200 @@
 00033 void Module::OnPacketTransmit(char *p) { }
 00034 void Module::OnPacketReceive(char *p) { }
 00035 void Module::OnRehash() { }
-00036 Version Module::GetVersion() { return Version(1,0,0,0); }
-00037 
-00038 // server is a wrapper class that provides methods to all of the C-style
-00039 // exports in the core
-00040 //
-00041 
-00042 Server::Server()
-00043 {
-00044 }
-00045 
-00046 Server::~Server()
-00047 {
-00048 }
-00049 
-00050 void Server::SendOpers(string s)
-00051 {
-00052         WriteOpers("%s",s.c_str());
-00053 }
-00054 
-00055 void Server::Log(int level, string s)
-00056 {
-00057         log(level,"%s",s.c_str());
-00058 }
-00059 
-00060 void Server::Send(int Socket, string s)
-00061 {
-00062         Write(Socket,"%s",s.c_str());
-00063 }
-00064 
-00065 void Server::SendServ(int Socket, string s)
-00066 {
-00067         WriteServ(Socket,"%s",s.c_str());
-00068 }
-00069 
-00070 void Server::SendFrom(int Socket, userrec* User, string s)
-00071 {
-00072         WriteFrom(Socket,User,"%s",s.c_str());
-00073 }
-00074 
-00075 void Server::SendTo(userrec* Source, userrec* Dest, string s)
-00076 {
-00077         WriteTo(Source,Dest,"%s",s.c_str());
-00078 }
-00079 
-00080 void Server::SendChannel(userrec* User, chanrec* Channel, string s,bool IncludeSender)
-00081 {
-00082         if (IncludeSender)
-00083         {
-00084                 WriteChannel(Channel,User,"%s",s.c_str());
-00085         }
-00086         else
-00087         {
-00088                 ChanExceptSender(Channel,User,"%s",s.c_str());
-00089         }
-00090 }
-00091 
-00092 bool Server::CommonChannels(userrec* u1, userrec* u2)
-00093 {
-00094         return (common_channels(u1,u2) != 0);
-00095 }
-00096 
-00097 void Server::SendCommon(userrec* User, string text,bool IncludeSender)
-00098 {
-00099         if (IncludeSender)
-00100         {
-00101                 WriteCommon(User,"%s",text.c_str());
-00102         }
-00103         else
-00104         {
-00105                 WriteCommonExcept(User,"%s",text.c_str());
-00106         }
-00107 }
-00108 
-00109 void Server::SendWallops(userrec* User, string text)
-00110 {
-00111         WriteWallOps(User,"%s",text.c_str());
-00112 }
-00113 
-00114 bool Server::IsNick(string nick)
-00115 {
-00116         return (isnick(nick.c_str()) != 0);
-00117 }
-00118 
-00119 userrec* Server::FindNick(string nick)
-00120 {
-00121         return Find(nick);
-00122 }
-00123 
-00124 chanrec* Server::FindChannel(string channel)
-00125 {
-00126         return FindChan(channel.c_str());
-00127 }
-00128 
-00129 string Server::ChanMode(userrec* User, chanrec* Chan)
-00130 {
-00131         string mode = cmode(User,Chan);
-00132         return mode;
-00133 }
-00134 
-00135 string Server::GetServerName()
-00136 {
-00137         return getservername();
-00138 }
-00139 
-00140 string Server::GetNetworkName()
-00141 {
-00142         return getnetworkname();
-00143 }
-00144 
-00145 Admin Server::GetAdmin()
-00146 {
-00147         return Admin(getadminname(),getadminemail(),getadminnick());
-00148 }
-00149 
+00036 void Module::OnServerRaw(string &raw, bool inbound) { }
+00037 Version Module::GetVersion() { return Version(1,0,0,0); }
+00038 
+00039 // server is a wrapper class that provides methods to all of the C-style
+00040 // exports in the core
+00041 //
+00042 
+00043 Server::Server()
+00044 {
+00045 }
+00046 
+00047 Server::~Server()
+00048 {
+00049 }
+00050 
+00051 void Server::SendOpers(string s)
+00052 {
+00053         WriteOpers("%s",s.c_str());
+00054 }
+00055 
+00056 void Server::Log(int level, string s)
+00057 {
+00058         log(level,"%s",s.c_str());
+00059 }
+00060 
+00061 void Server::Send(int Socket, string s)
+00062 {
+00063         Write(Socket,"%s",s.c_str());
+00064 }
+00065 
+00066 void Server::SendServ(int Socket, string s)
+00067 {
+00068         WriteServ(Socket,"%s",s.c_str());
+00069 }
+00070 
+00071 void Server::SendFrom(int Socket, userrec* User, string s)
+00072 {
+00073         WriteFrom(Socket,User,"%s",s.c_str());
+00074 }
+00075 
+00076 void Server::SendTo(userrec* Source, userrec* Dest, string s)
+00077 {
+00078         WriteTo(Source,Dest,"%s",s.c_str());
+00079 }
+00080 
+00081 void Server::SendChannel(userrec* User, chanrec* Channel, string s,bool IncludeSender)
+00082 {
+00083         if (IncludeSender)
+00084         {
+00085                 WriteChannel(Channel,User,"%s",s.c_str());
+00086         }
+00087         else
+00088         {
+00089                 ChanExceptSender(Channel,User,"%s",s.c_str());
+00090         }
+00091 }
+00092 
+00093 bool Server::CommonChannels(userrec* u1, userrec* u2)
+00094 {
+00095         return (common_channels(u1,u2) != 0);
+00096 }
+00097 
+00098 void Server::SendCommon(userrec* User, string text,bool IncludeSender)
+00099 {
+00100         if (IncludeSender)
+00101         {
+00102                 WriteCommon(User,"%s",text.c_str());
+00103         }
+00104         else
+00105         {
+00106                 WriteCommonExcept(User,"%s",text.c_str());
+00107         }
+00108 }
+00109 
+00110 void Server::SendWallops(userrec* User, string text)
+00111 {
+00112         WriteWallOps(User,"%s",text.c_str());
+00113 }
+00114 
+00115 bool Server::IsNick(string nick)
+00116 {
+00117         return (isnick(nick.c_str()) != 0);
+00118 }
+00119 
+00120 userrec* Server::FindNick(string nick)
+00121 {
+00122         return Find(nick);
+00123 }
+00124 
+00125 chanrec* Server::FindChannel(string channel)
+00126 {
+00127         return FindChan(channel.c_str());
+00128 }
+00129 
+00130 string Server::ChanMode(userrec* User, chanrec* Chan)
+00131 {
+00132         string mode = cmode(User,Chan);
+00133         return mode;
+00134 }
+00135 
+00136 string Server::GetServerName()
+00137 {
+00138         return getservername();
+00139 }
+00140 
+00141 string Server::GetNetworkName()
+00142 {
+00143         return getnetworkname();
+00144 }
+00145 
+00146 Admin Server::GetAdmin()
+00147 {
+00148         return Admin(getadminname(),getadminemail(),getadminnick());
+00149 }
 00150 
-00151 ConfigReader::ConfigReader()
-00152 {
-00153         fname = CONFIG_FILE;
-00154 }
-00155 
+00151 
+00152 ConfigReader::ConfigReader()
+00153 {
+00154         fname = CONFIG_FILE;
+00155 }
 00156 
-00157 ConfigReader::~ConfigReader()
-00158 {
-00159 }
-00160 
+00157 
+00158 ConfigReader::~ConfigReader()
+00159 {
+00160 }
 00161 
-00162 ConfigReader::ConfigReader(string filename) : fname(filename) { };
-00163 
-00164 string ConfigReader::ReadValue(string tag, string name, int index)
-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 }
-00171 
+00162 
+00163 ConfigReader::ConfigReader(string filename) : fname(filename) { };
+00164 
+00165 string ConfigReader::ReadValue(string tag, string name, int index)
+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 }
 00172 
-00173 int ConfigReader::Enumerate(string tag)
-00174 {
-00175         return EnumConf(fname.c_str(),tag.c_str());
-00176 }
-00177 
+00173 
+00174 int ConfigReader::Enumerate(string tag)
+00175 {
+00176         return EnumConf(fname.c_str(),tag.c_str());
+00177 }
 00178 
-00179 bool ConfigReader::Verify()
-00180 {
-00181         return true;
-00182 }
-00183 
+00179 
+00180 bool ConfigReader::Verify()
+00181 {
+00182         return true;
+00183 }
 00184 
-00185 FileReader::FileReader(string filename)
-00186 {
-00187         file_cache c;
-00188         readfile(c,filename.c_str());
-00189         this->fc = c;
-00190 }
-00191 
-00192 FileReader::FileReader()
-00193 {
-00194 }
-00195 
-00196 void FileReader::LoadFile(string filename)
-00197 {
-00198         file_cache c;
-00199         readfile(c,filename.c_str());
-00200         this->fc = c;
-00201 }
-00202 
-00203 FileReader::~FileReader()
-00204 {
-00205 }
-00206 
-00207 string FileReader::GetLine(int x)
-00208 {
-00209         if ((x<0) || (x>fc.size()))
-00210                 return "";
-00211         return fc[x];
-00212 }
-00213 
-00214 int FileReader::FileSize()
-00215 {
-00216         return fc.size();
-00217 }
-00218 
+00185 
+00186 FileReader::FileReader(string filename)
+00187 {
+00188         file_cache c;
+00189         readfile(c,filename.c_str());
+00190         this->fc = c;
+00191 }
+00192 
+00193 FileReader::FileReader()
+00194 {
+00195 }
+00196 
+00197 void FileReader::LoadFile(string filename)
+00198 {
+00199         file_cache c;
+00200         readfile(c,filename.c_str());
+00201         this->fc = c;
+00202 }
+00203 
+00204 FileReader::~FileReader()
+00205 {
+00206 }
+00207 
+00208 string FileReader::GetLine(int x)
+00209 {
+00210         if ((x<0) || (x>fc.size()))
+00211                 return "";
+00212         return fc[x];
+00213 }
+00214 
+00215 int FileReader::FileSize()
+00216 {
+00217         return fc.size();
+00218 }
 00219 
-00220 vector<Module*> modules(255);
-00221 vector<ircd_module*> factory(255);
-00222 
-00223 int MODCOUNT  = -1;
-00224 
+00220 
+00221 vector<Module*> modules(255);
+00222 vector<ircd_module*> factory(255);
+00223 
+00224 int MODCOUNT  = -1;
 00225 
-

Generated on Sun Feb 9 12:48:16 2003 for InspIRCd by +00226 +
Generated on Sun Mar 30 13:27:58 2003 for InspIRCd by doxygen1.3-rc2
+width=110 height=53>1.3-rc3
-- cgit v1.2.3