1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 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.doxygen.css" rel="stylesheet" type="text/css">
6 <!-- Generated by Doxygen 1.4.4-20050815 -->
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">Class List</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Class Members</a> | <a class="qindex" href="globals.html">File Members</a></div>
8 <h1>Version Class Reference</h1><!-- doxytag: class="Version" --><!-- doxytag: inherits="classbase" -->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="7,7,87,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,97,87,124" 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#Version_28int_20major_2C_20int_20minor_2C_20int_20revision_2C_20int_20build_2C_20int_20flags_29">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#Major">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#Minor">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#Revision">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#Build">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#Flags">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#l00112">112</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>.<hr><h2>Constructor & Destructor Documentation</h2>
46 <a class="anchor" name="Version_28int_20major_2C_20int_20minor_2C_20int_20revision_2C_20int_20build_2C_20int_20flags_29"></a><!-- doxytag: member="Version::Version" ref="Version_28int_20major_2C_20int_20minor_2C_20int_20revision_2C_20int_20build_2C_20int_20flags_29" args="(int major, int minor, int revision, int build, int flags)" --><p>
47 <table class="mdTable" 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>
58 <td class="md" nowrap align="right"></td>
60 <td class="md" nowrap>int </td>
61 <td class="mdname" nowrap> <em>minor</em>, </td>
64 <td class="md" nowrap align="right"></td>
66 <td class="md" nowrap>int </td>
67 <td class="mdname" nowrap> <em>revision</em>, </td>
70 <td class="md" nowrap align="right"></td>
72 <td class="md" nowrap>int </td>
73 <td class="mdname" nowrap> <em>build</em>, </td>
76 <td class="md" nowrap align="right"></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>
90 <table cellspacing="5" cellpadding="0" border="0">
100 Definition at line <a class="el" href="modules_8cpp-source.html#l00246">246</a> of file <a class="el" href="modules_8cpp-source.html">modules.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00246"></a>00246 : <a class="code" href="classVersion.html#Major">Major</a>(major), <a class="code" href="classVersion.html#Minor">Minor</a>(minor), <a class="code" href="classVersion.html#Revision">Revision</a>(revision), <a class="code" href="classVersion.html#Build">Build</a>(build), <a class="code" href="classVersion.html#Flags">Flags</a>(flags) { };
106 <hr><h2>Member Data Documentation</h2>
107 <a class="anchor" name="Build"></a><!-- doxytag: member="Version::Build" ref="Build" args="" --><p>
108 <table class="mdTable" cellpadding="2" cellspacing="0">
111 <table cellpadding="0" cellspacing="0" border="0">
113 <td class="md" nowrap valign="top">const int <a class="el" href="classVersion.html#Build">Version::Build</a> </td>
119 <table cellspacing="5" cellpadding="0" border="0">
129 Definition at line <a class="el" href="modules_8h-source.html#l00115">115</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. </td>
132 <a class="anchor" name="Flags"></a><!-- doxytag: member="Version::Flags" ref="Flags" args="" --><p>
133 <table class="mdTable" 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#Flags">Version::Flags</a> </td>
144 <table cellspacing="5" cellpadding="0" border="0">
154 Definition at line <a class="el" href="modules_8h-source.html#l00115">115</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. </td>
157 <a class="anchor" name="Major"></a><!-- doxytag: member="Version::Major" ref="Major" args="" --><p>
158 <table class="mdTable" cellpadding="2" cellspacing="0">
161 <table cellpadding="0" cellspacing="0" border="0">
163 <td class="md" nowrap valign="top">const int <a class="el" href="classVersion.html#Major">Version::Major</a> </td>
169 <table cellspacing="5" cellpadding="0" border="0">
179 Definition at line <a class="el" href="modules_8h-source.html#l00115">115</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. </td>
182 <a class="anchor" name="Minor"></a><!-- doxytag: member="Version::Minor" ref="Minor" args="" --><p>
183 <table class="mdTable" cellpadding="2" cellspacing="0">
186 <table cellpadding="0" cellspacing="0" border="0">
188 <td class="md" nowrap valign="top">const int <a class="el" href="classVersion.html#Minor">Version::Minor</a> </td>
194 <table cellspacing="5" cellpadding="0" border="0">
204 Definition at line <a class="el" href="modules_8h-source.html#l00115">115</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. </td>
207 <a class="anchor" name="Revision"></a><!-- doxytag: member="Version::Revision" ref="Revision" args="" --><p>
208 <table class="mdTable" cellpadding="2" cellspacing="0">
211 <table cellpadding="0" cellspacing="0" border="0">
213 <td class="md" nowrap valign="top">const int <a class="el" href="classVersion.html#Revision">Version::Revision</a> </td>
219 <table cellspacing="5" cellpadding="0" border="0">
229 Definition at line <a class="el" href="modules_8h-source.html#l00115">115</a> of file <a class="el" href="modules_8h-source.html">modules.h</a>. </td>
232 <hr>The documentation for this class was generated from the following files:<ul>
233 <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>
234 <hr size="1"><address style="align: right;"><small>Generated on Sun Nov 27 01:43:26 2005 for InspIRCd by
235 <a href="http://www.doxygen.org/index.html">
236 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4-20050815 </small></address>