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>Version class Reference</title>
4 <link href="inspircd.css" rel="stylesheet" type="text/css">
6 <!-- Generated by Doxygen 1.3-rc3 -->
8 <a class="qindex" href="main.html">Main Page</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> </center>
9 <hr><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.
10 <a href="#_details">More...</a>
12 <code>#include <<a class="el" href="modules_8h-source.html">modules.h</a>></code>
14 Inheritance diagram for Version:<p><center><img src="classVersion__inherit__graph.gif" border="0" usemap="#Version__inherit__map" alt="Inheritance graph"></center>
15 <map name="Version__inherit__map">
16 <area href="classclassbase.html" shape="rect" coords="7,16,73,37" alt="">
18 <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>
19 <map name="Version__coll__map">
20 <area href="classclassbase.html" shape="rect" coords="7,107,73,128" alt="">
22 <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>
24 <tr><td colspan=2><br><h2>Public Member Functions</h2></td></tr>
25 <tr><td nowrap align=right valign=top> </td><td valign=bottom><a class="el" href="classVersion.html#a0">Version</a> (int major, int minor, int revision, int build)</td></tr>
26 <tr><td colspan=2><br><h2>Public Attributes</h2></td></tr>
27 <tr><td nowrap align=right valign=top>const int </td><td valign=bottom><a class="el" href="classVersion.html#m0">Major</a></td></tr>
28 <tr><td nowrap align=right valign=top>const int </td><td valign=bottom><a class="el" href="classVersion.html#m1">Minor</a></td></tr>
29 <tr><td nowrap align=right valign=top>const int </td><td valign=bottom><a class="el" href="classVersion.html#m2">Revision</a></td></tr>
30 <tr><td nowrap align=right valign=top>const int </td><td valign=bottom><a class="el" href="classVersion.html#m3">Build</a></td></tr>
32 <hr><a name="_details"></a><h2>Detailed Description</h2>
33 Holds a module's Version information The four members (set by the constructor only) indicate details as to the version number of a module.
35 A class of type Version is returned by the GetVersion method of the <a class="el" href="classModule.html">Module</a> class.
39 Definition at line <a class="el" href="modules_8h-source.html#l00066">66</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>.<hr><h2>Constructor & Destructor Documentation</h2>
40 <a name="a0" doxytag="Version::Version"></a><p>
41 <table width="100%" cellpadding="2" cellspacing="0" border="0">
44 <table cellpadding="0" cellspacing="0" border="0">
46 <td class="md" nowrap valign="top"> Version::Version </td>
47 <td class="md" valign="top">( </td>
48 <td class="md" nowrap valign="top">int </td>
49 <td class="mdname" nowrap> <em>major</em>, </td>
54 <td class="md" nowrap>int </td>
55 <td class="mdname" nowrap> <em>minor</em>, </td>
60 <td class="md" nowrap>int </td>
61 <td class="mdname" nowrap> <em>revision</em>, </td>
66 <td class="md" nowrap>int </td>
67 <td class="mdname" nowrap> <em>build</em></td>
71 <td class="md">) </td>
72 <td class="md" colspan="2"></td>
79 <table cellspacing=5 cellpadding=0 border=0>
89 Definition at line <a class="el" href="modules_8cpp-source.html#l00087">87</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.
91 <div class="fragment"><pre>00087 : <a class="code" href="classVersion.html#m0">Major</a>(major), <a class="code" href="classVersion.html#m1">Minor</a>(minor), <a class="code" href="classVersion.html#m2">Revision</a>(revision), <a class="code" href="classVersion.html#m3">Build</a>(build) { };
95 <hr><h2>Member Data Documentation</h2>
96 <a name="m3" doxytag="Version::Build"></a><p>
97 <table width="100%" cellpadding="2" cellspacing="0" border="0">
100 <table cellpadding="0" cellspacing="0" border="0">
102 <td class="md" nowrap valign="top"> const int Version::Build
107 <table cellspacing=5 cellpadding=0 border=0>
117 Definition at line <a class="el" href="modules_8h-source.html#l00069">69</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. </td>
120 <a name="m0" doxytag="Version::Major"></a><p>
121 <table width="100%" cellpadding="2" cellspacing="0" border="0">
124 <table cellpadding="0" cellspacing="0" border="0">
126 <td class="md" nowrap valign="top"> const int Version::Major
131 <table cellspacing=5 cellpadding=0 border=0>
141 Definition at line <a class="el" href="modules_8h-source.html#l00069">69</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. </td>
144 <a name="m1" doxytag="Version::Minor"></a><p>
145 <table width="100%" cellpadding="2" cellspacing="0" border="0">
148 <table cellpadding="0" cellspacing="0" border="0">
150 <td class="md" nowrap valign="top"> const int Version::Minor
155 <table cellspacing=5 cellpadding=0 border=0>
165 Definition at line <a class="el" href="modules_8h-source.html#l00069">69</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. </td>
168 <a name="m2" doxytag="Version::Revision"></a><p>
169 <table width="100%" cellpadding="2" cellspacing="0" border="0">
172 <table cellpadding="0" cellspacing="0" border="0">
174 <td class="md" nowrap valign="top"> const int Version::Revision
179 <table cellspacing=5 cellpadding=0 border=0>
189 Definition at line <a class="el" href="modules_8h-source.html#l00069">69</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. </td>
192 <hr>The documentation for this class was generated from the following files:<ul>
193 <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>
194 <hr><address style="align: right;"><small>Generated on Sat Apr 3 16:36:20 2004 for InspIRCd by
195 <a href="http://www.doxygen.org/index.html">
196 <img src="doxygen.png" alt="doxygen" align="middle" border=0
197 width=110 height=53></a>1.3-rc3 </small></address>