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: bm::first_bit_table< T > Struct Template Reference</title>
3
<title>BitMagic: bm::bit_COUNT< W > Struct Template 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="a00092.html">bm</a>::<a class="el" href="a00067.html">first_bit_table</a></div>
10
<h1>bm::first_bit_table< T > Struct Template Reference<br>
12
[<a class="el" href="a00097.html">BIT functions</a>]</small>
13
</h1>Structure keeps index of first ON bit for every byte.
9
<a class="el" href="a00129.html">bm</a>::<a class="el" href="a00067.html">bit_COUNT</a></div>
10
<h1>bm::bit_COUNT< W > Struct Template Reference</h1>Bit COUNT functor.
14
11
<a href="#_details">More...</a>
16
<code>#include <<a class="el" href="a00106.html">bmfunc.h</a>></code>
13
<code>#include <<a class="el" href="a00141.html">bmfunc.h</a>></code>
18
15
<table border="0" cellpadding="0" cellspacing="0">
20
<tr><td colspan="2"><br><h2>Static Public Attributes</h2></td></tr>
21
<tr><td class="memItemLeft" nowrap align="right" valign="top">static const char </td><td class="memItemRight" valign="bottom"><a class="el" href="a00067.html#s0">_idx</a> [256]</td></tr>
17
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
18
<tr><td class="memItemLeft" nowrap align="right" valign="top">W </td><td class="memItemRight" valign="bottom"><a class="el" href="a00067.html#a0">operator()</a> (W w1, W w2)</td></tr>
24
21
<hr><a name="_details"></a><h2>Detailed Description</h2>
25
<h3>template<bool T><br>
26
struct bm::first_bit_table< T ></h3>
28
Structure keeps index of first ON bit for every byte.
32
Definition at line <a class="el" href="a00106.html#l00142">142</a> of file <a class="el" href="a00106.html">bmfunc.h</a>.<hr><h2>Field Documentation</h2>
33
<a class="anchor" name="s0" doxytag="bm::first_bit_table::_idx"></a><p>
22
<h3>template<typename W><br>
23
struct bm::bit_COUNT< W ></h3>
29
Definition at line <a class="el" href="a00141.html#l04203">4203</a> of file <a class="el" href="a00141.html">bmfunc.h</a>.<hr><h2>Member Function Documentation</h2>
30
<a class="anchor" name="a0" doxytag="bm::bit_COUNT::operator()"></a><p>
34
31
<table class="mdTable" cellpadding="2" cellspacing="0">
37
34
<table cellpadding="0" cellspacing="0" border="0">
39
36
<td class="mdPrefix" colspan="4">
40
template<bool T> </td>
43
<td class="md" nowrap valign="top">const char <a class="el" href="a00067.html">bm::first_bit_table</a>< T >::<a class="el" href="a00067.html#s0">_idx</a><code> [static]</code> </td>
37
template<typename W> </td>
40
<td class="md" nowrap valign="top">W <a class="el" href="a00067.html">bm::bit_COUNT</a>< W >::operator() </td>
41
<td class="md" valign="top">( </td>
42
<td class="md" nowrap valign="top">W </td>
43
<td class="mdname" nowrap> <em>w1</em>, </td>
46
<td class="md" nowrap align="right"></td>
48
<td class="md" nowrap>W </td>
49
<td class="mdname" nowrap> <em>w2</em></td>
53
<td class="md">) </td>
54
<td class="md" colspan="2"><code> [inline]</code></td>
57
<b>Initial value:</b><div class="fragment"><pre class="fragment"> {
59
0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,4,0,1,0,2,0,1,0,3,0,1,0,2,0,
60
1,0,5,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,4,0,1, 0,2,0,1,0,3,0,
61
1,0,2,0,1,0,6,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,4,0,1,0,2,0,1,
62
0,3,0,1,0,2,0,1,0,5,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,4,0,1,0,
63
2,0,1,0,3,0,1,0,2,0,1,0,7,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,4,
64
0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,5,0,1,0,2,0,1,0,3,0,1,0,2,0,
65
1,0,4,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,6,0,1,0,2,0,1,0,3,0,1,
66
0,2,0,1,0,4,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,5,0,1,0,2,0,1,0,
67
3,0,1,0,2,0,1,0,4,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0
71
Definition at line <a class="el" href="a00106.html#l00148">148</a> of file <a class="el" href="a00106.html">bmfunc.h</a>. </td>
70
Definition at line <a class="el" href="a00141.html#l04205">4205</a> of file <a class="el" href="a00141.html">bmfunc.h</a>.
72
References <a class="el" href="a00141.html#l00209">BM_INCWORD_BITCOUNT</a>. </td>
74
75
<hr>The documentation for this struct was generated from the following file:<ul>
75
<li><a class="el" href="a00106.html">bmfunc.h</a></ul>
76
<hr size="1"><address style="align: right;"><small>Generated on Thu Apr 20 13:29:15 2006 for BitMagic by
76
<li><a class="el" href="a00141.html">bmfunc.h</a></ul>
77
<hr size="1"><address style="align: right;"><small>Generated on Sun Aug 5 14:12:40 2007 for BitMagic by
77
78
<a href="http://www.doxygen.org/index.html">
78
79
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.1 </small></address>