1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
2 <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
3 <title>InspIRCd: Version class Reference</title>
4 <link href="inspircd.css" rel="stylesheet" type="text/css">
6 <!-- Generated by Doxygen 1.3.3 -->
7 <div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a></div>
8 <h1>Version Class Reference</h1>Holds a module's Version information The four members (set by the constructor only) indicate details as to the version number of a module.
9 <a href="#_details">More...</a>
11 <code>#include <<a class="el" href="modules_8h-source.html">modules.h</a>></code>
13 Inheritance diagram for Version:<p><center><img src="classVersion__inherit__graph.gif" border="0" usemap="#Version__inherit__map" alt="Inheritance graph"></center>
14 <map name="Version__inherit__map">
15 <area href="classclassbase.html" shape="rect" coords="8,7,88,34" alt="">
17 <center><font size="2">[<a target="top" href="graph_legend.html">legend</a>]</font></center>Collaboration diagram for Version:<p><center><img src="classVersion__coll__graph.gif" border="0" usemap="#Version__coll__map" alt="Collaboration graph"></center>
18 <map name="Version__coll__map">
19 <area href="classclassbase.html" shape="rect" coords="7,98,87,125" alt="">
21 <center><font size="2">[<a target="top" href="graph_legend.html">legend</a>]</font></center><a href="classVersion-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0>
23 <tr><td colspan=2><br><h2>Public Member Functions</h2></td></tr>
24 <tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="classVersion.html#a0">Version</a> (int major, int minor, int revision, int build, int flags)</td></tr>
26 <tr><td colspan=2><br><h2>Public Attributes</h2></td></tr>
27 <tr><td class="memItemLeft" nowrap align=right valign=top>const int </td><td class="memItemRight" valign=bottom><a class="el" href="classVersion.html#o0">Major</a></td></tr>
29 <tr><td class="memItemLeft" nowrap align=right valign=top>const int </td><td class="memItemRight" valign=bottom><a class="el" href="classVersion.html#o1">Minor</a></td></tr>
31 <tr><td class="memItemLeft" nowrap align=right valign=top>const int </td><td class="memItemRight" valign=bottom><a class="el" href="classVersion.html#o2">Revision</a></td></tr>
33 <tr><td class="memItemLeft" nowrap align=right valign=top>const int </td><td class="memItemRight" valign=bottom><a class="el" href="classVersion.html#o3">Build</a></td></tr>
35 <tr><td class="memItemLeft" nowrap align=right valign=top>const int </td><td class="memItemRight" valign=bottom><a class="el" href="classVersion.html#o4">Flags</a></td></tr>
38 <hr><a name="_details"></a><h2>Detailed Description</h2>
39 Holds a module's Version information The four members (set by the constructor only) indicate details as to the version number of a module.
41 A class of type Version is returned by the GetVersion method of the <a class="el" href="classModule.html">Module</a> class.
45 Definition at line <a class="el" href="modules_8h-source.html#l00111">111</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>.<hr><h2>Constructor & Destructor Documentation</h2>
46 <a name="a0" doxytag="Version::Version"></a><p>
47 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
50 <table cellpadding="0" cellspacing="0" border="0">
52 <td class="md" nowrap valign="top"> Version::Version </td>
53 <td class="md" valign="top">( </td>
54 <td class="md" nowrap valign="top">int </td>
55 <td class="mdname" nowrap> <em>major</em>, </td>
60 <td class="md" nowrap>int </td>
61 <td class="mdname" nowrap> <em>minor</em>, </td>
66 <td class="md" nowrap>int </td>
67 <td class="mdname" nowrap> <em>revision</em>, </td>
72 <td class="md" nowrap>int </td>
73 <td class="mdname" nowrap> <em>build</em>, </td>
78 <td class="md" nowrap>int </td>
79 <td class="mdname" nowrap> <em>flags</em></td>
83 <td class="md">) </td>
84 <td class="md" colspan="2"></td>
91 <table cellspacing=5 cellpadding=0 border=0>
101 Definition at line <a class="el" href="modules_8cpp-source.html#l00310">310</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
103 <div class="fragment"><pre>00310 : <a class="code" href="classVersion.html#o0">Major</a>(major), <a class="code" href="classVersion.html#o1">Minor</a>(minor), <a class="code" href="classVersion.html#o2">Revision</a>(revision), <a class="code" href="classVersion.html#o3">Build</a>(build), <a class="code" href="classVersion.html#o4">Flags</a>(flags) { };
107 <hr><h2>Member Data Documentation</h2>
108 <a name="o3" doxytag="Version::Build"></a><p>
109 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
112 <table cellpadding="0" cellspacing="0" border="0">
114 <td class="md" nowrap valign="top"> const int <a class="el" href="classVersion.html#o3">Version::Build</a>
119 <table cellspacing=5 cellpadding=0 border=0>
129 Definition at line <a class="el" href="modules_8h-source.html#l00114">114</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. </td>
132 <a name="o4" doxytag="Version::Flags"></a><p>
133 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
136 <table cellpadding="0" cellspacing="0" border="0">
138 <td class="md" nowrap valign="top"> const int <a class="el" href="classVersion.html#o4">Version::Flags</a>
143 <table cellspacing=5 cellpadding=0 border=0>
153 Definition at line <a class="el" href="modules_8h-source.html#l00114">114</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. </td>
156 <a name="o0" doxytag="Version::Major"></a><p>
157 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
160 <table cellpadding="0" cellspacing="0" border="0">
162 <td class="md" nowrap valign="top"> const int <a class="el" href="classVersion.html#o0">Version::Major</a>
167 <table cellspacing=5 cellpadding=0 border=0>
177 Definition at line <a class="el" href="modules_8h-source.html#l00114">114</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. </td>
180 <a name="o1" doxytag="Version::Minor"></a><p>
181 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
184 <table cellpadding="0" cellspacing="0" border="0">
186 <td class="md" nowrap valign="top"> const int <a class="el" href="classVersion.html#o1">Version::Minor</a>
191 <table cellspacing=5 cellpadding=0 border=0>
201 Definition at line <a class="el" href="modules_8h-source.html#l00114">114</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. </td>
204 <a name="o2" doxytag="Version::Revision"></a><p>
205 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
208 <table cellpadding="0" cellspacing="0" border="0">
210 <td class="md" nowrap valign="top"> const int <a class="el" href="classVersion.html#o2">Version::Revision</a>
215 <table cellspacing=5 cellpadding=0 border=0>
225 Definition at line <a class="el" href="modules_8h-source.html#l00114">114</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. </td>
228 <hr>The documentation for this class was generated from the following files:<ul>
229 <li><a class="el" href="modules_8h-source.html">modules.h</a><li><a class="el" href="modules_8cpp-source.html">modules.cpp</a></ul>
230 <hr size="1"><address style="align: right;"><small>Generated on Fri May 13 02:00:15 2005 for InspIRCd by
231 <a href="http://www.doxygen.org/index.html">
232 <img src="doxygen.png" alt="doxygen" align="middle" border=0 >
233 </a>1.3.3 </small></address>