This file is indexed.

/usr/share/doc/libqalculate-doc/html/classDecimalPrefix.html is in libqalculate-doc 0.9.7-9.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>libqalculate-0.9.7: DecimalPrefix Class Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.5.5 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
      <li class="current"><a href="classes.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="classes.html"><span>Alphabetical&nbsp;List</span></a></li>
      <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
      <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
    </ul>
  </div>
</div>
<div class="contents">
<h1>DecimalPrefix Class Reference</h1><!-- doxytag: class="DecimalPrefix" --><!-- doxytag: inherits="Prefix" -->A decimal (metric) prefix.  
<a href="#_details">More...</a>
<p>
<code>#include &lt;Prefix.h&gt;</code>
<p>
<div class="dynheader">
Inheritance diagram for DecimalPrefix:</div>
<div class="dynsection">

<p><center><img src="classDecimalPrefix.png" usemap="#DecimalPrefix_map" border="0" alt=""></center>
<map name="DecimalPrefix_map">
<area href="classPrefix.html" alt="Prefix" shape="rect" coords="0,0,90,24">
</map>
</div>

<p>
<a href="classDecimalPrefix-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDecimalPrefix.html#6c50a3242d71f97bb9cf4ea7d11f4b16">DecimalPrefix</a> (int exp10, string long_name, string short_name=&quot;&quot;, string unicode_name=&quot;&quot;)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDecimalPrefix.html#dbfc3e630ef4a69b2a5e109ffef17e53">exponent</a> (int iexp=1) const </td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classNumber.html">Number</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDecimalPrefix.html#a50d228f5d2bc2f78637712971bd582c">exponent</a> (const <a class="el" href="classNumber.html">Number</a> &amp;nexp) const </td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDecimalPrefix.html#3cca3ffe456cbca4800fb1574ff42227">setExponent</a> (int iexp)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classNumber.html">Number</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDecimalPrefix.html#e1117227f6a7b3e479a9c2f2a21e3096">value</a> (const <a class="el" href="classNumber.html">Number</a> &amp;nexp) const </td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classNumber.html">Number</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDecimalPrefix.html#cb8f98fb9b7acc0b3943431bf125ff7b">value</a> (int iexp) const </td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classNumber.html">Number</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDecimalPrefix.html#f810a95e1f94ff2e3119c54aa43be05c">value</a> () const </td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDecimalPrefix.html#59759de2b0394b0bc906ec923ea80e40">type</a> () const </td></tr>

<tr><td colspan="2"><br><h2>Protected Attributes</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="fb58bdb9194f0ad7c6a593a7ab6c9c85"></a><!-- doxytag: member="DecimalPrefix::exp" ref="fb58bdb9194f0ad7c6a593a7ab6c9c85" args="" -->
int&nbsp;</td><td class="memItemRight" valign="bottom"><b>exp</b></td></tr>

</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
A decimal (metric) prefix. 
<p>
A metric or decimal prefix has an integer exponent which with a base of ten constitutes the value of the prefix (value=10^exponent). <hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="6c50a3242d71f97bb9cf4ea7d11f4b16"></a><!-- doxytag: member="DecimalPrefix::DecimalPrefix" ref="6c50a3242d71f97bb9cf4ea7d11f4b16" args="(int exp10, string long_name, string short_name=&quot;&quot;, string unicode_name=&quot;&quot;)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">DecimalPrefix::DecimalPrefix           </td>
          <td>(</td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>exp10</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">string&nbsp;</td>
          <td class="paramname"> <em>long_name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">string&nbsp;</td>
          <td class="paramname"> <em>short_name</em> = <code>&quot;&quot;</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">string&nbsp;</td>
          <td class="paramname"> <em>unicode_name</em> = <code>&quot;&quot;</code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Create a decimal prefix.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>exp10</em>&nbsp;</td><td>Exponent for the value. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>long_name</em>&nbsp;</td><td>Long name. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>short_name</em>&nbsp;</td><td>Short name. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>unicode_name</em>&nbsp;</td><td>Unicode name. </td></tr>
  </table>
</dl>

</div>
</div><p>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="dbfc3e630ef4a69b2a5e109ffef17e53"></a><!-- doxytag: member="DecimalPrefix::exponent" ref="dbfc3e630ef4a69b2a5e109ffef17e53" args="(int iexp=1) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int DecimalPrefix::exponent           </td>
          <td>(</td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>iexp</em> = <code>1</code>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Returns the exponent.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>iexp</em>&nbsp;</td><td>Exponent of the unit. </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>The exponent of the prefix. </dd></dl>

</div>
</div><p>
<a class="anchor" name="a50d228f5d2bc2f78637712971bd582c"></a><!-- doxytag: member="DecimalPrefix::exponent" ref="a50d228f5d2bc2f78637712971bd582c" args="(const Number &amp;nexp) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classNumber.html">Number</a> DecimalPrefix::exponent           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classNumber.html">Number</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>nexp</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Returns the exponent.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>nexp</em>&nbsp;</td><td>Exponent of the unit. </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>The exponent of the prefix. </dd></dl>

</div>
</div><p>
<a class="anchor" name="3cca3ffe456cbca4800fb1574ff42227"></a><!-- doxytag: member="DecimalPrefix::setExponent" ref="3cca3ffe456cbca4800fb1574ff42227" args="(int iexp)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void DecimalPrefix::setExponent           </td>
          <td>(</td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>iexp</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Sets the exponent of the prefix.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>iexp</em>&nbsp;</td><td>New exponent for the prefix. </td></tr>
  </table>
</dl>

</div>
</div><p>
<a class="anchor" name="e1117227f6a7b3e479a9c2f2a21e3096"></a><!-- doxytag: member="DecimalPrefix::value" ref="e1117227f6a7b3e479a9c2f2a21e3096" args="(const Number &amp;nexp) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classNumber.html">Number</a> DecimalPrefix::value           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classNumber.html">Number</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>nexp</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const<code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Returns the value of the prefix.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>nexp</em>&nbsp;</td><td>The power of the prefixed unit. </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>The value of the prefix. </dd></dl>

<p>Implements <a class="el" href="classPrefix.html#e828e66c2fc5b58cc6cc6df5db15d2b2">Prefix</a>.</p>

</div>
</div><p>
<a class="anchor" name="cb8f98fb9b7acc0b3943431bf125ff7b"></a><!-- doxytag: member="DecimalPrefix::value" ref="cb8f98fb9b7acc0b3943431bf125ff7b" args="(int iexp) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classNumber.html">Number</a> DecimalPrefix::value           </td>
          <td>(</td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>iexp</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const<code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Returns the value of the prefix.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>iexp</em>&nbsp;</td><td>The power of the prefixed unit. </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>The value of the prefix. </dd></dl>

<p>Implements <a class="el" href="classPrefix.html#a1eec8b3ac6266f3865d169c07d9e26d">Prefix</a>.</p>

</div>
</div><p>
<a class="anchor" name="f810a95e1f94ff2e3119c54aa43be05c"></a><!-- doxytag: member="DecimalPrefix::value" ref="f810a95e1f94ff2e3119c54aa43be05c" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classNumber.html">Number</a> DecimalPrefix::value           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const<code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Returns the value of the prefix.<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>The value of the prefix. </dd></dl>

<p>Implements <a class="el" href="classPrefix.html#e304214d9254a1e9e06d8ee2c6df09ab">Prefix</a>.</p>

</div>
</div><p>
<a class="anchor" name="59759de2b0394b0bc906ec923ea80e40"></a><!-- doxytag: member="DecimalPrefix::type" ref="59759de2b0394b0bc906ec923ea80e40" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int DecimalPrefix::type           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const<code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Returns type, subclass, of the prefix. This can be PREFIX_DECIMAL for prefixes of the class <a class="el" href="classDecimalPrefix.html" title="A decimal (metric) prefix.">DecimalPrefix</a>, PREFIX_BINARY for <a class="el" href="classBinaryPrefix.html" title="A binary prefix.">BinaryPrefix</a>, or PREFIX_NUMBER for <a class="el" href="classNumberPrefix.html" title="A prefix with a free numerical value.">NumberPrefix</a>.<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>The type of the prefix. </dd></dl>

<p>Implements <a class="el" href="classPrefix.html#2e3d9095de33a874a898b7218636be3a">Prefix</a>.</p>

</div>
</div><p>
<hr>The documentation for this class was generated from the following file:<ul>
<li>libqalculate/<a class="el" href="Prefix_8h.html">Prefix.h</a></ul>
</div>
<hr size="1"><address style="text-align: right;"><small>Generated on Tue Jan 5 08:26:29 2010 for libqalculate-0.9.7 by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address>
</body>
</html>