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: bmvmin.h File Reference</title>
3
<title>BitMagic: bm::bitblock_sum_adapter Class Reference</title>
4
4
<link href="doxygen.css" rel="stylesheet" type="text/css">
6
6
<!-- Generated by Doxygen 1.4.1 -->
7
7
<div class="qindex"><a class="qindex" href="index.html">Main 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 Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Data Structures</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">Data Fields</a> | <a class="qindex" href="globals.html">Globals</a> | <a class="qindex" href="examples.html">Examples</a></div>
9
<a class="el" href="dir_000000.html">src</a></div>
10
<h1>bmvmin.h File Reference</h1>
12
This graph shows which files directly or indirectly include this file:<p><center><img src="a00141.png" border="0" usemap="#bmvmin.hdep_map" alt=""></center>
13
<map name="bmvmin.hdep_map">
14
<area href="a00074.html" shape="rect" coords="132,215,172,236" alt="">
15
<area href="a00075.html" shape="rect" coords="232,6,296,27" alt="">
16
<area href="a00091.html" shape="rect" coords="356,30,444,51" alt="">
17
<area href="a00083.html" shape="rect" coords="221,102,307,123" alt="">
18
<area href="a00084.html" shape="rect" coords="221,147,307,168" alt="">
19
<area href="a00085.html" shape="rect" coords="220,192,308,214" alt="">
20
<area href="a00086.html" shape="rect" coords="221,238,307,259" alt="">
21
<area href="a00087.html" shape="rect" coords="220,283,308,304" alt="">
22
<area href="a00088.html" shape="rect" coords="221,328,307,350" alt="">
23
<area href="a00089.html" shape="rect" coords="221,374,307,395" alt="">
24
<area href="a00090.html" shape="rect" coords="220,419,308,440" alt="">
28
<a href="a00109.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0">
9
<a class="el" href="a00129.html">bm</a>::<a class="el" href="a00081.html">bitblock_sum_adapter</a></div>
10
<h1>bm::bitblock_sum_adapter Class Reference</h1>Bit-block sum adapter, takes values and sums it /internal.
11
<a href="#_details">More...</a>
13
<code>#include <<a class="el" href="a00141.html">bmfunc.h</a>></code>
15
<table border="0" cellpadding="0" cellspacing="0">
30
<tr><td colspan="2"><br><h2>Namespaces</h2></td></tr>
31
<tr><td class="memItemLeft" nowrap align="right" valign="top">namespace </td><td class="memItemRight" valign="bottom"><a class="el" href="a00092.html">bm</a></td></tr>
33
<tr><td colspan="2"><br><h2>Defines</h2></td></tr>
34
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="a00081.html#a0">BM_MINISET_GAPLEN</a> (<a class="el" href="a00068.html">bm::gap_len_table</a><true>::_len[0])</td></tr>
36
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="a00081.html#a1">BM_MINISET_ARRSIZE</a>(x) ((x / 32) + ( (x % 32) && 1 ))</td></tr>
39
<hr><h2>Define Documentation</h2>
40
<a class="anchor" name="a1" doxytag="bmvmin.h::BM_MINISET_ARRSIZE"></a><p>
41
<table class="mdTable" cellpadding="2" cellspacing="0">
44
<table cellpadding="0" cellspacing="0" border="0">
46
<td class="md" nowrap valign="top">#define BM_MINISET_ARRSIZE </td>
47
<td class="md" valign="top">( </td>
48
<td class="md" nowrap valign="top">x </td>
49
<td class="mdname1" valign="top" nowrap> </td>
50
<td class="md" valign="top"> ) </td>
51
<td class="md" nowrap> ((x / 32) + ( (x % 32) && 1 ))</td>
57
<table cellspacing="5" cellpadding="0" border="0">
67
Definition at line <a class="el" href="a00109.html#l00035">35</a> of file <a class="el" href="a00109.html">bmvmin.h</a>.
69
Referenced by <a class="el" href="a00109.html#l00136">bm::miniset< A, N >::mem_used()</a>, <a class="el" href="a00109.html#l00251">bm::bvmini< N >::swap()</a>, and <a class="el" href="a00109.html#l00079">bm::miniset< A, N >::~miniset()</a>. </td>
72
<a class="anchor" name="a0" doxytag="bmvmin.h::BM_MINISET_GAPLEN"></a><p>
73
<table class="mdTable" cellpadding="2" cellspacing="0">
76
<table cellpadding="0" cellspacing="0" border="0">
78
<td class="md" nowrap valign="top">#define BM_MINISET_GAPLEN (<a class="el" href="a00068.html">bm::gap_len_table</a><true>::_len[0]) </td>
84
<table cellspacing="5" cellpadding="0" border="0">
94
Definition at line <a class="el" href="a00109.html#l00034">34</a> of file <a class="el" href="a00109.html">bmvmin.h</a>.
96
Referenced by <a class="el" href="a00109.html#l00136">bm::miniset< A, N >::mem_used()</a>, <a class="el" href="a00109.html#l00102">bm::miniset< A, N >::set()</a>, and <a class="el" href="a00109.html#l00079">bm::miniset< A, N >::~miniset()</a>. </td>
99
<hr size="1"><address style="align: right;"><small>Generated on Thu Apr 20 13:29:03 2006 for BitMagic by
17
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
18
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00081.html#a0">bitblock_sum_adapter</a> ()</td></tr>
20
<tr><td class="memItemLeft" nowrap align="right" valign="top">BMFORCEINLINE void </td><td class="memItemRight" valign="bottom"><a class="el" href="a00081.html#a1">push_back</a> (<a class="el" href="a00129.html#a27">bm::word_t</a> w)</td></tr>
22
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="a00129.html#a27">bm::word_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00081.html#a2">sum</a> () const </td></tr>
24
<tr><td class="mdescLeft"> </td><td class="mdescRight">Get accumulated sum. <a href="#a2"></a><br></td></tr>
26
<hr><a name="_details"></a><h2>Detailed Description</h2>
27
Bit-block sum adapter, takes values and sums it /internal.
31
Definition at line <a class="el" href="a00141.html#l04108">4108</a> of file <a class="el" href="a00141.html">bmfunc.h</a>.<hr><h2>Constructor & Destructor Documentation</h2>
32
<a class="anchor" name="a0" doxytag="bm::bitblock_sum_adapter::bitblock_sum_adapter"></a><p>
33
<table class="mdTable" cellpadding="2" cellspacing="0">
36
<table cellpadding="0" cellspacing="0" border="0">
38
<td class="md" nowrap valign="top">bm::bitblock_sum_adapter::bitblock_sum_adapter </td>
39
<td class="md" valign="top">( </td>
40
<td class="mdname1" valign="top" nowrap> </td>
41
<td class="md" valign="top"> ) </td>
42
<td class="md" nowrap><code> [inline]</code></td>
48
<table cellspacing="5" cellpadding="0" border="0">
58
Definition at line <a class="el" href="a00141.html#l04111">4111</a> of file <a class="el" href="a00141.html">bmfunc.h</a>. </td>
61
<hr><h2>Member Function Documentation</h2>
62
<a class="anchor" name="a1" doxytag="bm::bitblock_sum_adapter::push_back"></a><p>
63
<table class="mdTable" cellpadding="2" cellspacing="0">
66
<table cellpadding="0" cellspacing="0" border="0">
68
<td class="md" nowrap valign="top">BMFORCEINLINE void bm::bitblock_sum_adapter::push_back </td>
69
<td class="md" valign="top">( </td>
70
<td class="md" nowrap valign="top"><a class="el" href="a00129.html#a27">bm::word_t</a> </td>
71
<td class="mdname1" valign="top" nowrap> <em>w</em> </td>
72
<td class="md" valign="top"> ) </td>
73
<td class="md" nowrap><code> [inline]</code></td>
79
<table cellspacing="5" cellpadding="0" border="0">
89
Definition at line <a class="el" href="a00141.html#l04113">4113</a> of file <a class="el" href="a00141.html">bmfunc.h</a>. </td>
92
<a class="anchor" name="a2" doxytag="bm::bitblock_sum_adapter::sum"></a><p>
93
<table class="mdTable" cellpadding="2" cellspacing="0">
96
<table cellpadding="0" cellspacing="0" border="0">
98
<td class="md" nowrap valign="top"><a class="el" href="a00129.html#a27">bm::word_t</a> bm::bitblock_sum_adapter::sum </td>
99
<td class="md" valign="top">( </td>
100
<td class="mdname1" valign="top" nowrap> </td>
101
<td class="md" valign="top"> ) </td>
102
<td class="md" nowrap> const<code> [inline]</code></td>
108
<table cellspacing="5" cellpadding="0" border="0">
120
Definition at line <a class="el" href="a00141.html#l04115">4115</a> of file <a class="el" href="a00141.html">bmfunc.h</a>. </td>
123
<hr>The documentation for this class was generated from the following file:<ul>
124
<li><a class="el" href="a00141.html">bmfunc.h</a></ul>
125
<hr size="1"><address style="align: right;"><small>Generated on Sun Aug 5 14:12:40 2007 for BitMagic by
100
126
<a href="http://www.doxygen.org/index.html">
101
127
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.1 </small></address>