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

« back to all changes in this revision

Viewing changes to doc/html/a00039.html

  • Committer: Bazaar Package Importer
  • Author(s): Roberto C. Sanchez
  • Date: 2011-03-03 12:22:16 UTC
  • mfrom: (4.1.8 sid)
  • Revision ID: james.westby@ubuntu.com-20110303122216-qll5migewxnxe3s5
Tags: 3.7.0-1
* New upstream release (Closes: #615929)
* Update to Standards-Version 3.9.1 (no changes)
* Specify Debian source format as '3.0 (quilt)'

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
<html xmlns="http://www.w3.org/1999/xhtml">
3
3
<head>
4
4
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
5
 
<title>BitMagic: bm::block_allocator Class Reference</title>
 
5
<title>BitMagic: bm::bvector&lt; Alloc &gt;::iterator_base::block_descr Union Reference</title>
6
6
<link href="tabs.css" rel="stylesheet" type="text/css"/>
7
7
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
8
8
</head>
27
27
      <li><a href="functions.html"><span>Data&nbsp;Fields</span></a></li>
28
28
    </ul>
29
29
  </div>
30
 
  <div class="navpath"><a class="el" href="a00116.html">bm</a>::<a class="el" href="a00039.html">block_allocator</a>
 
30
  <div class="navpath"><a class="el" href="a00115.html">bm</a>::<a class="el" href="a00043.html">bvector</a>::<a class="el" href="a00071.html">iterator_base</a>::<a class="el" href="a00039.html">block_descr</a>
31
31
  </div>
32
32
</div>
33
33
<div class="contents">
34
 
<h1>bm::block_allocator Class Reference<br/>
35
 
<small>
36
 
[<a class="el" href="a00128.html">Memory Allocation</a>]</small>
37
 
</h1><!-- doxytag: class="bm::block_allocator" -->
38
 
<p>Default malloc based bitblock allocator class.  
39
 
<a href="#_details">More...</a></p>
40
 
 
41
 
<p><code>#include &lt;<a class="el" href="a00091_source.html">bmalloc.h</a>&gt;</code></p>
 
34
<h1>bm::bvector&lt; Alloc &gt;::iterator_base::block_descr Union Reference</h1><!-- doxytag: class="bm::bvector::iterator_base::block_descr" -->
 
35
<p><code>#include &lt;<a class="el" href="a00087_source.html">bm.h</a>&gt;</code></p>
 
36
<div class="dynheader">
 
37
Collaboration diagram for bm::bvector&lt; Alloc &gt;::iterator_base::block_descr:</div>
 
38
<div class="dynsection">
 
39
<div class="center"><img src="a00242.png" border="0" usemap="#bm_1_1bvector_3_01Alloc_01_4_1_1iterator__base_1_1block__descr_coll__map" alt="Collaboration graph"/></div>
 
40
<map name="bm_1_1bvector_3_01Alloc_01_4_1_1iterator__base_1_1block__descr_coll__map" id="bm_1_1bvector_3_01Alloc_01_4_1_1iterator__base_1_1block__descr_coll__map">
 
41
<area shape="rect" href="a00059.html" title="Information about current DGAP block." alt="" coords="15,5,316,35"/><area shape="rect" href="a00034.html" title="Information about current bitblock." alt="" coords="7,59,324,88"/></map>
 
42
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
42
43
<table border="0" cellpadding="0" cellspacing="0">
43
 
<tr><td colspan="2"><h2>Static Public Member Functions</h2></td></tr>
44
 
<tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="a00116.html#a17fd5ba52db3ddda05e6f8dd5000a1a4">bm::word_t</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00039.html#a1b90487ff442d774f3f9d888fb0e54ba">allocate</a> (size_t n, const void *)</td></tr>
45
 
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The member function allocates storage for an array of n <a class="el" href="a00116.html#a17fd5ba52db3ddda05e6f8dd5000a1a4">bm::word_t</a> elements, by calling malloc.  <a href="#a1b90487ff442d774f3f9d888fb0e54ba"></a><br/></td></tr>
46
 
<tr><td class="memItemLeft" align="right" valign="top">static void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00039.html#a68a3365e4decb87fef88c2fa9028c8e2">deallocate</a> (<a class="el" href="a00116.html#a17fd5ba52db3ddda05e6f8dd5000a1a4">bm::word_t</a> *p, size_t)</td></tr>
47
 
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The member function frees storage for an array of n <a class="el" href="a00116.html#a17fd5ba52db3ddda05e6f8dd5000a1a4">bm::word_t</a> elements, by calling free.  <a href="#a68a3365e4decb87fef88c2fa9028c8e2"></a><br/></td></tr>
 
44
<tr><td colspan="2"><h2>Data Fields</h2></td></tr>
 
45
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00034.html">bitblock_descr</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00039.html#afdae70a22a7b7d8a0ae9e6728ec628ed">bit_</a></td></tr>
 
46
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">BitBlock related info.  <a href="#afdae70a22a7b7d8a0ae9e6728ec628ed"></a><br/></td></tr>
 
47
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00059.html">dgap_descr</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00039.html#a7f39ef2f352d0b449bfb6c2d9134fc56">gap_</a></td></tr>
 
48
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">DGAP block related info.  <a href="#a7f39ef2f352d0b449bfb6c2d9134fc56"></a><br/></td></tr>
48
49
</table>
49
50
<hr/><a name="_details"></a><h2>Detailed Description</h2>
50
 
<p>Default malloc based bitblock allocator class. </p>
51
 
<p>Functions allocate and deallocate conform to STL allocator specs. </p>
52
 
 
53
 
<p>Definition at line <a class="el" href="a00091_source.html#l00049">49</a> of file <a class="el" href="a00091_source.html">bmalloc.h</a>.</p>
54
 
<hr/><h2>Member Function Documentation</h2>
55
 
<a class="anchor" id="a1b90487ff442d774f3f9d888fb0e54ba"></a><!-- doxytag: member="bm::block_allocator::allocate" ref="a1b90487ff442d774f3f9d888fb0e54ba" args="(size_t n, const void *)" -->
56
 
<div class="memitem">
57
 
<div class="memproto">
58
 
      <table class="memname">
59
 
        <tr>
60
 
          <td class="memname">static <a class="el" href="a00116.html#a17fd5ba52db3ddda05e6f8dd5000a1a4">bm::word_t</a>* bm::block_allocator::allocate </td>
61
 
          <td>(</td>
62
 
          <td class="paramtype">size_t&nbsp;</td>
63
 
          <td class="paramname"> <em>n</em>, </td>
64
 
        </tr>
65
 
        <tr>
66
 
          <td class="paramkey"></td>
67
 
          <td></td>
68
 
          <td class="paramtype">const void *&nbsp;</td>
69
 
          <td class="paramname"></td><td>&nbsp;</td>
70
 
        </tr>
71
 
        <tr>
72
 
          <td></td>
73
 
          <td>)</td>
74
 
          <td></td><td></td><td><code> [inline, static]</code></td>
75
 
        </tr>
76
 
      </table>
77
 
</div>
78
 
<div class="memdoc">
79
 
 
80
 
<p>The member function allocates storage for an array of n <a class="el" href="a00116.html#a17fd5ba52db3ddda05e6f8dd5000a1a4">bm::word_t</a> elements, by calling malloc. </p>
81
 
<dl class="return"><dt><b>Returns:</b></dt><dd>pointer to the allocated memory. </dd></dl>
82
 
 
83
 
<p>Definition at line <a class="el" href="a00091_source.html#l00057">57</a> of file <a class="el" href="a00091_source.html">bmalloc.h</a>.</p>
84
 
 
85
 
</div>
86
 
</div>
87
 
<a class="anchor" id="a68a3365e4decb87fef88c2fa9028c8e2"></a><!-- doxytag: member="bm::block_allocator::deallocate" ref="a68a3365e4decb87fef88c2fa9028c8e2" args="(bm::word_t *p, size_t)" -->
88
 
<div class="memitem">
89
 
<div class="memproto">
90
 
      <table class="memname">
91
 
        <tr>
92
 
          <td class="memname">static void bm::block_allocator::deallocate </td>
93
 
          <td>(</td>
94
 
          <td class="paramtype"><a class="el" href="a00116.html#a17fd5ba52db3ddda05e6f8dd5000a1a4">bm::word_t</a> *&nbsp;</td>
95
 
          <td class="paramname"> <em>p</em>, </td>
96
 
        </tr>
97
 
        <tr>
98
 
          <td class="paramkey"></td>
99
 
          <td></td>
100
 
          <td class="paramtype">size_t&nbsp;</td>
101
 
          <td class="paramname"></td><td>&nbsp;</td>
102
 
        </tr>
103
 
        <tr>
104
 
          <td></td>
105
 
          <td>)</td>
106
 
          <td></td><td></td><td><code> [inline, static]</code></td>
107
 
        </tr>
108
 
      </table>
109
 
</div>
110
 
<div class="memdoc">
111
 
 
112
 
<p>The member function frees storage for an array of n <a class="el" href="a00116.html#a17fd5ba52db3ddda05e6f8dd5000a1a4">bm::word_t</a> elements, by calling free. </p>
113
 
 
114
 
<p>Definition at line <a class="el" href="a00091_source.html#l00081">81</a> of file <a class="el" href="a00091_source.html">bmalloc.h</a>.</p>
115
 
 
116
 
</div>
117
 
</div>
118
 
<hr/>The documentation for this class was generated from the following file:<ul>
119
 
<li><a class="el" href="a00091_source.html">bmalloc.h</a></li>
 
51
<h3>template&lt;class Alloc&gt;<br/>
 
52
 union bm::bvector&lt; Alloc &gt;::iterator_base::block_descr</h3>
 
53
 
 
54
<p>Block type dependent information for current block. </p>
 
55
 
 
56
<p>Definition at line <a class="el" href="a00087_source.html#l00313">313</a> of file <a class="el" href="a00087_source.html">bm.h</a>.</p>
 
57
<hr/><h2>Field Documentation</h2>
 
58
<a class="anchor" id="afdae70a22a7b7d8a0ae9e6728ec628ed"></a><!-- doxytag: member="bm::bvector::iterator_base::block_descr::bit_" ref="afdae70a22a7b7d8a0ae9e6728ec628ed" args="" -->
 
59
<div class="memitem">
 
60
<div class="memproto">
 
61
<div class="memtemplate">
 
62
template&lt;class Alloc&gt; </div>
 
63
      <table class="memname">
 
64
        <tr>
 
65
          <td class="memname"><a class="el" href="a00034.html">bitblock_descr</a> <a class="el" href="a00043.html">bm::bvector</a>&lt; Alloc &gt;::<a class="el" href="a00039.html#afdae70a22a7b7d8a0ae9e6728ec628ed">iterator_base::block_descr::bit_</a></td>
 
66
        </tr>
 
67
      </table>
 
68
</div>
 
69
<div class="memdoc">
 
70
 
 
71
<p>BitBlock related info. </p>
 
72
 
 
73
<p>Definition at line <a class="el" href="a00087_source.html#l00315">315</a> of file <a class="el" href="a00087_source.html">bm.h</a>.</p>
 
74
 
 
75
</div>
 
76
</div>
 
77
<a class="anchor" id="a7f39ef2f352d0b449bfb6c2d9134fc56"></a><!-- doxytag: member="bm::bvector::iterator_base::block_descr::gap_" ref="a7f39ef2f352d0b449bfb6c2d9134fc56" args="" -->
 
78
<div class="memitem">
 
79
<div class="memproto">
 
80
<div class="memtemplate">
 
81
template&lt;class Alloc&gt; </div>
 
82
      <table class="memname">
 
83
        <tr>
 
84
          <td class="memname"><a class="el" href="a00059.html">dgap_descr</a> <a class="el" href="a00043.html">bm::bvector</a>&lt; Alloc &gt;::<a class="el" href="a00039.html#a7f39ef2f352d0b449bfb6c2d9134fc56">iterator_base::block_descr::gap_</a></td>
 
85
        </tr>
 
86
      </table>
 
87
</div>
 
88
<div class="memdoc">
 
89
 
 
90
<p>DGAP block related info. </p>
 
91
 
 
92
<p>Definition at line <a class="el" href="a00087_source.html#l00316">316</a> of file <a class="el" href="a00087_source.html">bm.h</a>.</p>
 
93
 
 
94
</div>
 
95
</div>
 
96
<hr/>The documentation for this union was generated from the following file:<ul>
 
97
<li><a class="el" href="a00087_source.html">bm.h</a></li>
120
98
</ul>
121
99
</div>
122
 
<hr size="1"/><address style="text-align: right;"><small>Generated on Tue Mar 23 20:48:14 2010 for BitMagic by&nbsp;
 
100
<hr size="1"/><address style="text-align: right;"><small>Generated on Sun Apr 25 09:37:45 2010 for BitMagic by&nbsp;
123
101
<a href="http://www.doxygen.org/index.html">
124
102
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address>
125
103
</body>