~ubuntu-branches/ubuntu/trusty/bmagic/trusty

« back to all changes in this revision

Viewing changes to html/a00083.html

  • Committer: Bazaar Package Importer
  • Author(s): Andres Salomon
  • Date: 2008-01-05 23:58:56 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20080105235856-2kmxhxkz14qjy9ia
Tags: 3.5.0-1
* New upstream release.
* Add tcpp.dpatch.  This stops tests/stress/t.cpp from including
  ncbi_pch.hpp.  As far as I can tell, NCBI is not used at all, I have
  no idea where that came from..
* Silence some lintian warnings; binary-arch-rules-but-pkg-is-arch-indep
  and ancient-standards-version.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2
2
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
3
 
<title>BitMagic: sample1.cpp File Reference</title>
 
3
<title>BitMagic: bm::bv_statistics Struct Reference</title>
4
4
<link href="doxygen.css" rel="stylesheet" type="text/css">
5
5
</head><body>
6
6
<!-- Generated by Doxygen 1.4.1 -->
7
7
<div class="qindex"><a class="qindex" href="index.html">Main&nbsp;Page</a> | <a class="qindex" href="modules.html">Modules</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class&nbsp;Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical&nbsp;List</a> | <a class="qindex" href="annotated.html">Data&nbsp;Structures</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="namespacemembers.html">Namespace&nbsp;Members</a> | <a class="qindex" href="functions.html">Data&nbsp;Fields</a> | <a class="qindex" href="globals.html">Globals</a> | <a class="qindex" href="examples.html">Examples</a></div>
8
8
<div class="nav">
9
 
<a class="el" href="dir_000001.html">samples</a>&nbsp;/&nbsp;<a class="el" href="dir_000002.html">sample1</a></div>
10
 
<h1>sample1.cpp File Reference</h1><code>#include &lt;iostream&gt;</code><br>
11
 
<code>#include "<a class="el" href="a00102.html">bm.h</a>"</code><br>
12
 
 
13
 
<p>
14
 
Include dependency graph for sample1.cpp:<p><center><img src="a00144.png" border="0" usemap="#sample1.cpp_map" alt=""></center>
15
 
<map name="sample1.cpp_map">
16
 
<area href="a00074.html" shape="rect" coords="160,305,200,327" alt="">
17
 
<area href="a00076.html" shape="rect" coords="261,192,331,213" alt="">
18
 
<area href="a00077.html" shape="rect" coords="268,237,324,259" alt="">
19
 
<area href="a00079.html" shape="rect" coords="264,283,328,304" alt="">
20
 
<area href="a00078.html" shape="rect" coords="264,373,328,395" alt="">
21
 
<area href="a00081.html" shape="rect" coords="263,419,329,440" alt="">
22
 
<area href="a00082.html" shape="rect" coords="260,464,332,485" alt="">
23
 
<area href="a00080.html" shape="rect" coords="260,600,332,621" alt="">
 
9
<a class="el" href="a00129.html">bm</a>::<a class="el" href="a00083.html">bv_statistics</a></div>
 
10
<h1>bm::bv_statistics Struct Reference<br>
 
11
<small>
 
12
[<a class="el" href="a00132.html">The Main bvector&lt;&gt; Group</a>]</small>
 
13
</h1>Structure with statistical information about bitset's memory allocation details.  
 
14
<a href="#_details">More...</a>
 
15
<p>
 
16
<code>#include &lt;<a class="el" href="a00141.html">bmfunc.h</a>&gt;</code>
 
17
<p>
 
18
Inheritance diagram for bm::bv_statistics:<p><center><img src="a00215.png" border="0" usemap="#a00216" alt="Inheritance graph"></center>
 
19
<map name="a00216">
 
20
<area href="a00093.html" shape="rect" coords="7,85,215,107" alt="">
24
21
</map>
25
 
 
26
 
<p>
27
 
<a href="a00111.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0">
 
22
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><table border="0" cellpadding="0" cellspacing="0">
28
23
<tr><td></td></tr>
29
 
<tr><td colspan="2"><br><h2>Namespaces</h2></td></tr>
30
 
<tr><td class="memItemLeft" nowrap align="right" valign="top">namespace &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00093.html">std</a></td></tr>
31
 
 
32
 
<tr><td colspan="2"><br><h2>Functions</h2></td></tr>
33
 
<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00083.html#a0">main</a> (void)</td></tr>
34
 
 
 
24
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
 
25
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00083.html#a0">add_bit_block</a> ()</td></tr>
 
26
 
 
27
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">cound bit block  <a href="#a0"></a><br></td></tr>
 
28
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00083.html#a1">add_gap_block</a> (unsigned capacity, unsigned length)</td></tr>
 
29
 
 
30
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">count gap block  <a href="#a1"></a><br></td></tr>
 
31
<tr><td colspan="2"><br><h2>Data Fields</h2></td></tr>
 
32
<tr><td class="memItemLeft" nowrap align="right" valign="top">unsigned&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00083.html#o0">bit_blocks</a></td></tr>
 
33
 
 
34
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Number of bit blocks.  <a href="#o0"></a><br></td></tr>
 
35
<tr><td class="memItemLeft" nowrap align="right" valign="top">unsigned&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00083.html#o1">gap_blocks</a></td></tr>
 
36
 
 
37
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Number of GAP blocks.  <a href="#o1"></a><br></td></tr>
 
38
<tr><td class="memItemLeft" nowrap align="right" valign="top">unsigned&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00083.html#o2">max_serialize_mem</a></td></tr>
 
39
 
 
40
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Estimated maximum of memory required for serialization.  <a href="#o2"></a><br></td></tr>
 
41
<tr><td class="memItemLeft" nowrap align="right" valign="top">unsigned&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00083.html#o3">memory_used</a></td></tr>
 
42
 
 
43
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Memory used by bitvector including temp and service blocks.  <a href="#o3"></a><br></td></tr>
 
44
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="a00129.html#a36">gap_word_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00083.html#o4">gap_length</a> [<a class="el" href="a00129.html#a45">bm::set_total_blocks</a>]</td></tr>
 
45
 
 
46
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Array of all GAP block lengths in the bvector.  <a href="#o4"></a><br></td></tr>
 
47
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="a00129.html#a36">gap_word_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00083.html#o5">gap_levels</a> [<a class="el" href="a00129.html#a40">bm::gap_levels</a>]</td></tr>
 
48
 
 
49
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">GAP lengths used by bvector.  <a href="#o5"></a><br></td></tr>
35
50
</table>
36
 
<hr><h2>Function Documentation</h2>
37
 
<a class="anchor" name="a0" doxytag="sample1.cpp::main"></a><p>
 
51
<hr><a name="_details"></a><h2>Detailed Description</h2>
 
52
Structure with statistical information about bitset's memory allocation details. 
 
53
<p>
 
54
 
 
55
<p>
 
56
Definition at line <a class="el" href="a00141.html#l00046">46</a> of file <a class="el" href="a00141.html">bmfunc.h</a>.<hr><h2>Member Function Documentation</h2>
 
57
<a class="anchor" name="a0" doxytag="bm::bv_statistics::add_bit_block"></a><p>
38
58
<table class="mdTable" cellpadding="2" cellspacing="0">
39
59
  <tr>
40
60
    <td class="mdRow">
41
61
      <table cellpadding="0" cellspacing="0" border="0">
42
62
        <tr>
43
 
          <td class="md" nowrap valign="top">int main           </td>
 
63
          <td class="md" nowrap valign="top">void bm::bv_statistics::add_bit_block           </td>
44
64
          <td class="md" valign="top">(&nbsp;</td>
45
 
          <td class="md" nowrap valign="top">void&nbsp;</td>
46
65
          <td class="mdname1" valign="top" nowrap>          </td>
47
66
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
48
 
          <td class="md" nowrap></td>
49
 
        </tr>
50
 
      </table>
51
 
    </td>
52
 
  </tr>
53
 
</table>
54
 
<table cellspacing="5" cellpadding="0" border="0">
55
 
  <tr>
56
 
    <td>
57
 
      &nbsp;
58
 
    </td>
59
 
    <td>
60
 
 
61
 
<p>
62
 
<dl compact><dt><b>Examples: </b></dt><dd>
63
 
<a class="el" href="a00034.html#a0">sample1.cpp</a>, <a class="el" href="a00035.html#a9">sample2.cpp</a>, <a class="el" href="a00036.html#a15">sample3.cpp</a>, <a class="el" href="a00037.html#a25">sample4.cpp</a>, <a class="el" href="a00038.html#a29">sample5.cpp</a>, <a class="el" href="a00039.html#a36">sample6.cpp</a>, <a class="el" href="a00040.html#a49">sample7.cpp</a>, and <a class="el" href="a00042.html#a59">sample9.cpp</a>.</dl>
64
 
<p>
65
 
Definition at line <a class="el" href="a00111.html#l00044">44</a> of file <a class="el" href="a00111.html">sample1.cpp</a>.
66
 
<p>
67
 
References <a class="el" href="a00102.html#l01030">bm::bvector&lt; Alloc, MS &gt;::clear()</a>, <a class="el" href="a00102.html#l01603">bm::bvector&lt; Alloc, MS &gt;::count()</a>, <a class="el" href="a00102.html#l01211">bm::bvector&lt; Alloc, MS &gt;::get_first()</a>, <a class="el" href="a00102.html#l01220">bm::bvector&lt; Alloc, MS &gt;::get_next()</a>, and <a class="el" href="a00102.html#l00971">bm::bvector&lt; Alloc, MS &gt;::set()</a>.    </td>
68
 
  </tr>
69
 
</table>
70
 
<hr size="1"><address style="align: right;"><small>Generated on Thu Apr 20 13:29:04 2006 for BitMagic by&nbsp;
 
67
          <td class="md" nowrap><code> [inline]</code></td>
 
68
        </tr>
 
69
      </table>
 
70
    </td>
 
71
  </tr>
 
72
</table>
 
73
<table cellspacing="5" cellpadding="0" border="0">
 
74
  <tr>
 
75
    <td>
 
76
      &nbsp;
 
77
    </td>
 
78
    <td>
 
79
 
 
80
<p>
 
81
cound bit block 
 
82
<p>
 
83
 
 
84
<p>
 
85
Definition at line <a class="el" href="a00141.html#l00064">64</a> of file <a class="el" href="a00141.html">bmfunc.h</a>.
 
86
<p>
 
87
References <a class="el" href="a00141.html#l00049">bit_blocks</a>, <a class="el" href="a00141.html#l00053">max_serialize_mem</a>, and <a class="el" href="a00141.html#l00055">memory_used</a>.    </td>
 
88
  </tr>
 
89
</table>
 
90
<a class="anchor" name="a1" doxytag="bm::bv_statistics::add_gap_block"></a><p>
 
91
<table class="mdTable" cellpadding="2" cellspacing="0">
 
92
  <tr>
 
93
    <td class="mdRow">
 
94
      <table cellpadding="0" cellspacing="0" border="0">
 
95
        <tr>
 
96
          <td class="md" nowrap valign="top">void bm::bv_statistics::add_gap_block           </td>
 
97
          <td class="md" valign="top">(&nbsp;</td>
 
98
          <td class="md" nowrap valign="top">unsigned&nbsp;</td>
 
99
          <td class="mdname" nowrap> <em>capacity</em>, </td>
 
100
        </tr>
 
101
        <tr>
 
102
          <td class="md" nowrap align="right"></td>
 
103
          <td class="md"></td>
 
104
          <td class="md" nowrap>unsigned&nbsp;</td>
 
105
          <td class="mdname" nowrap> <em>length</em></td>
 
106
        </tr>
 
107
        <tr>
 
108
          <td class="md"></td>
 
109
          <td class="md">)&nbsp;</td>
 
110
          <td class="md" colspan="2"><code> [inline]</code></td>
 
111
        </tr>
 
112
      </table>
 
113
    </td>
 
114
  </tr>
 
115
</table>
 
116
<table cellspacing="5" cellpadding="0" border="0">
 
117
  <tr>
 
118
    <td>
 
119
      &nbsp;
 
120
    </td>
 
121
    <td>
 
122
 
 
123
<p>
 
124
count gap block 
 
125
<p>
 
126
 
 
127
<p>
 
128
Definition at line <a class="el" href="a00141.html#l00073">73</a> of file <a class="el" href="a00141.html">bmfunc.h</a>.
 
129
<p>
 
130
References <a class="el" href="a00141.html#l00051">gap_blocks</a>, <a class="el" href="a00141.html#l00053">max_serialize_mem</a>, and <a class="el" href="a00141.html#l00055">memory_used</a>.    </td>
 
131
  </tr>
 
132
</table>
 
133
<hr><h2>Field Documentation</h2>
 
134
<a class="anchor" name="o0" doxytag="bm::bv_statistics::bit_blocks"></a><p>
 
135
<table class="mdTable" cellpadding="2" cellspacing="0">
 
136
  <tr>
 
137
    <td class="mdRow">
 
138
      <table cellpadding="0" cellspacing="0" border="0">
 
139
        <tr>
 
140
          <td class="md" nowrap valign="top">unsigned <a class="el" href="a00083.html#o0">bm::bv_statistics::bit_blocks</a>          </td>
 
141
        </tr>
 
142
      </table>
 
143
    </td>
 
144
  </tr>
 
145
</table>
 
146
<table cellspacing="5" cellpadding="0" border="0">
 
147
  <tr>
 
148
    <td>
 
149
      &nbsp;
 
150
    </td>
 
151
    <td>
 
152
 
 
153
<p>
 
154
Number of bit blocks. 
 
155
<p>
 
156
 
 
157
<p>
 
158
Definition at line <a class="el" href="a00141.html#l00049">49</a> of file <a class="el" href="a00141.html">bmfunc.h</a>.
 
159
<p>
 
160
Referenced by <a class="el" href="a00141.html#l00064">add_bit_block()</a>.    </td>
 
161
  </tr>
 
162
</table>
 
163
<a class="anchor" name="o1" doxytag="bm::bv_statistics::gap_blocks"></a><p>
 
164
<table class="mdTable" cellpadding="2" cellspacing="0">
 
165
  <tr>
 
166
    <td class="mdRow">
 
167
      <table cellpadding="0" cellspacing="0" border="0">
 
168
        <tr>
 
169
          <td class="md" nowrap valign="top">unsigned <a class="el" href="a00083.html#o1">bm::bv_statistics::gap_blocks</a>          </td>
 
170
        </tr>
 
171
      </table>
 
172
    </td>
 
173
  </tr>
 
174
</table>
 
175
<table cellspacing="5" cellpadding="0" border="0">
 
176
  <tr>
 
177
    <td>
 
178
      &nbsp;
 
179
    </td>
 
180
    <td>
 
181
 
 
182
<p>
 
183
Number of GAP blocks. 
 
184
<p>
 
185
 
 
186
<p>
 
187
Definition at line <a class="el" href="a00141.html#l00051">51</a> of file <a class="el" href="a00141.html">bmfunc.h</a>.
 
188
<p>
 
189
Referenced by <a class="el" href="a00141.html#l00073">add_gap_block()</a>.    </td>
 
190
  </tr>
 
191
</table>
 
192
<a class="anchor" name="o4" doxytag="bm::bv_statistics::gap_length"></a><p>
 
193
<table class="mdTable" cellpadding="2" cellspacing="0">
 
194
  <tr>
 
195
    <td class="mdRow">
 
196
      <table cellpadding="0" cellspacing="0" border="0">
 
197
        <tr>
 
198
          <td class="md" nowrap valign="top"><a class="el" href="a00129.html#a36">gap_word_t</a> <a class="el" href="a00083.html#o4">bm::bv_statistics::gap_length</a>[<a class="el" href="a00129.html#a45">bm::set_total_blocks</a>]          </td>
 
199
        </tr>
 
200
      </table>
 
201
    </td>
 
202
  </tr>
 
203
</table>
 
204
<table cellspacing="5" cellpadding="0" border="0">
 
205
  <tr>
 
206
    <td>
 
207
      &nbsp;
 
208
    </td>
 
209
    <td>
 
210
 
 
211
<p>
 
212
Array of all GAP block lengths in the bvector. 
 
213
<p>
 
214
 
 
215
<p>
 
216
Definition at line <a class="el" href="a00141.html#l00057">57</a> of file <a class="el" href="a00141.html">bmfunc.h</a>.    </td>
 
217
  </tr>
 
218
</table>
 
219
<a class="anchor" name="o5" doxytag="bm::bv_statistics::gap_levels"></a><p>
 
220
<table class="mdTable" cellpadding="2" cellspacing="0">
 
221
  <tr>
 
222
    <td class="mdRow">
 
223
      <table cellpadding="0" cellspacing="0" border="0">
 
224
        <tr>
 
225
          <td class="md" nowrap valign="top"><a class="el" href="a00129.html#a36">gap_word_t</a> <a class="el" href="a00083.html#o5">bm::bv_statistics::gap_levels</a>[<a class="el" href="a00129.html#a40">bm::gap_levels</a>]          </td>
 
226
        </tr>
 
227
      </table>
 
228
    </td>
 
229
  </tr>
 
230
</table>
 
231
<table cellspacing="5" cellpadding="0" border="0">
 
232
  <tr>
 
233
    <td>
 
234
      &nbsp;
 
235
    </td>
 
236
    <td>
 
237
 
 
238
<p>
 
239
GAP lengths used by bvector. 
 
240
<p>
 
241
 
 
242
<p>
 
243
Definition at line <a class="el" href="a00141.html#l00059">59</a> of file <a class="el" href="a00141.html">bmfunc.h</a>.    </td>
 
244
  </tr>
 
245
</table>
 
246
<a class="anchor" name="o2" doxytag="bm::bv_statistics::max_serialize_mem"></a><p>
 
247
<table class="mdTable" cellpadding="2" cellspacing="0">
 
248
  <tr>
 
249
    <td class="mdRow">
 
250
      <table cellpadding="0" cellspacing="0" border="0">
 
251
        <tr>
 
252
          <td class="md" nowrap valign="top">unsigned <a class="el" href="a00083.html#o2">bm::bv_statistics::max_serialize_mem</a>          </td>
 
253
        </tr>
 
254
      </table>
 
255
    </td>
 
256
  </tr>
 
257
</table>
 
258
<table cellspacing="5" cellpadding="0" border="0">
 
259
  <tr>
 
260
    <td>
 
261
      &nbsp;
 
262
    </td>
 
263
    <td>
 
264
 
 
265
<p>
 
266
Estimated maximum of memory required for serialization. 
 
267
<p>
 
268
 
 
269
<p>
 
270
Definition at line <a class="el" href="a00141.html#l00053">53</a> of file <a class="el" href="a00141.html">bmfunc.h</a>.
 
271
<p>
 
272
Referenced by <a class="el" href="a00141.html#l00064">add_bit_block()</a>, and <a class="el" href="a00141.html#l00073">add_gap_block()</a>.    </td>
 
273
  </tr>
 
274
</table>
 
275
<a class="anchor" name="o3" doxytag="bm::bv_statistics::memory_used"></a><p>
 
276
<table class="mdTable" cellpadding="2" cellspacing="0">
 
277
  <tr>
 
278
    <td class="mdRow">
 
279
      <table cellpadding="0" cellspacing="0" border="0">
 
280
        <tr>
 
281
          <td class="md" nowrap valign="top">unsigned <a class="el" href="a00083.html#o3">bm::bv_statistics::memory_used</a>          </td>
 
282
        </tr>
 
283
      </table>
 
284
    </td>
 
285
  </tr>
 
286
</table>
 
287
<table cellspacing="5" cellpadding="0" border="0">
 
288
  <tr>
 
289
    <td>
 
290
      &nbsp;
 
291
    </td>
 
292
    <td>
 
293
 
 
294
<p>
 
295
Memory used by bitvector including temp and service blocks. 
 
296
<p>
 
297
 
 
298
<p>
 
299
Definition at line <a class="el" href="a00141.html#l00055">55</a> of file <a class="el" href="a00141.html">bmfunc.h</a>.
 
300
<p>
 
301
Referenced by <a class="el" href="a00141.html#l00064">add_bit_block()</a>, and <a class="el" href="a00141.html#l00073">add_gap_block()</a>.    </td>
 
302
  </tr>
 
303
</table>
 
304
<hr>The documentation for this struct was generated from the following file:<ul>
 
305
<li><a class="el" href="a00141.html">bmfunc.h</a></ul>
 
306
<hr size="1"><address style="align: right;"><small>Generated on Sun Aug 5 14:12:40 2007 for BitMagic by&nbsp;
71
307
<a href="http://www.doxygen.org/index.html">
72
308
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.1 </small></address>
73
309
</body>