1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
3
<title>BitMagic: dbg_ptr_allocator Class Reference</title>
4
<link href="doxygen.css" rel="stylesheet" type="text/css">
6
<!-- Generated by Doxygen 1.4.1 -->
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>
8
<h1>dbg_ptr_allocator Class Reference</h1><table border="0" cellpadding="0" cellspacing="0">
10
<tr><td colspan="2"><br><h2>Static Public Member Functions</h2></td></tr>
11
<tr><td class="memItemLeft" nowrap align="right" valign="top">static void * </td><td class="memItemRight" valign="bottom"><a class="el" href="a00061.html#e0">allocate</a> (size_t n, const void *)</td></tr>
13
<tr><td class="memItemLeft" nowrap align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="a00061.html#e1">deallocate</a> (void *p, size_t n)</td></tr>
15
<tr><td class="memItemLeft" nowrap align="right" valign="top">static int </td><td class="memItemRight" valign="bottom"><a class="el" href="a00061.html#e2">balance</a> ()</td></tr>
17
<tr><td colspan="2"><br><h2>Static Public Attributes</h2></td></tr>
18
<tr><td class="memItemLeft" nowrap align="right" valign="top">static unsigned </td><td class="memItemRight" valign="bottom"><a class="el" href="a00061.html#s0">na_</a> = 0</td></tr>
20
<tr><td class="memItemLeft" nowrap align="right" valign="top">static unsigned </td><td class="memItemRight" valign="bottom"><a class="el" href="a00061.html#s1">nf_</a> = 0</td></tr>
23
<hr><a name="_details"></a><h2>Detailed Description</h2>
24
<dl compact><dt><b>Examples: </b></dt><dd>
27
<a class="el" href="a00039.html#_a34">sample6.cpp</a>.</dl>
31
Definition at line <a class="el" href="a00116.html#l00077">77</a> of file <a class="el" href="a00116.html">sample6.cpp</a>.<hr><h2>Member Function Documentation</h2>
32
<a class="anchor" name="e0" doxytag="dbg_ptr_allocator::allocate"></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">static void* dbg_ptr_allocator::allocate </td>
39
<td class="md" valign="top">( </td>
40
<td class="md" nowrap valign="top">size_t </td>
41
<td class="mdname" nowrap> <em>n</em>, </td>
44
<td class="md" nowrap align="right"></td>
46
<td class="md" nowrap>const void * </td>
47
<td class="mdname" nowrap></td>
51
<td class="md">) </td>
52
<td class="md" colspan="2"><code> [inline, static]</code></td>
58
<table cellspacing="5" cellpadding="0" border="0">
68
Definition at line <a class="el" href="a00116.html#l00083">83</a> of file <a class="el" href="a00116.html">sample6.cpp</a>.
70
References <a class="el" href="a00116.html#l00109">na_</a>. </td>
73
<a class="anchor" name="e2" doxytag="dbg_ptr_allocator::balance"></a><p>
74
<table class="mdTable" cellpadding="2" cellspacing="0">
77
<table cellpadding="0" cellspacing="0" border="0">
79
<td class="md" nowrap valign="top">static int dbg_ptr_allocator::balance </td>
80
<td class="md" valign="top">( </td>
81
<td class="mdname1" valign="top" nowrap> </td>
82
<td class="md" valign="top"> ) </td>
83
<td class="md" nowrap><code> [inline, static]</code></td>
89
<table cellspacing="5" cellpadding="0" border="0">
99
Definition at line <a class="el" href="a00116.html#l00102">102</a> of file <a class="el" href="a00116.html">sample6.cpp</a>.
101
References <a class="el" href="a00116.html#l00109">na_</a>, and <a class="el" href="a00116.html#l00110">nf_</a>. </td>
104
<a class="anchor" name="e1" doxytag="dbg_ptr_allocator::deallocate"></a><p>
105
<table class="mdTable" cellpadding="2" cellspacing="0">
108
<table cellpadding="0" cellspacing="0" border="0">
110
<td class="md" nowrap valign="top">static void dbg_ptr_allocator::deallocate </td>
111
<td class="md" valign="top">( </td>
112
<td class="md" nowrap valign="top">void * </td>
113
<td class="mdname" nowrap> <em>p</em>, </td>
116
<td class="md" nowrap align="right"></td>
118
<td class="md" nowrap>size_t </td>
119
<td class="mdname" nowrap> <em>n</em></td>
123
<td class="md">) </td>
124
<td class="md" colspan="2"><code> [inline, static]</code></td>
130
<table cellspacing="5" cellpadding="0" border="0">
140
Definition at line <a class="el" href="a00116.html#l00093">93</a> of file <a class="el" href="a00116.html">sample6.cpp</a>.
142
References <a class="el" href="a00116.html#l00110">nf_</a>. </td>
145
<hr><h2>Field Documentation</h2>
146
<a class="anchor" name="s0" doxytag="dbg_ptr_allocator::na_"></a><p>
147
<table class="mdTable" cellpadding="2" cellspacing="0">
150
<table cellpadding="0" cellspacing="0" border="0">
152
<td class="md" nowrap valign="top">unsigned <a class="el" href="a00061.html#s0">dbg_ptr_allocator::na_</a> = 0<code> [static]</code> </td>
158
<table cellspacing="5" cellpadding="0" border="0">
168
Definition at line <a class="el" href="a00116.html#l00109">109</a> of file <a class="el" href="a00116.html">sample6.cpp</a>.
170
Referenced by <a class="el" href="a00116.html#l00083">allocate()</a>, and <a class="el" href="a00116.html#l00102">balance()</a>. </td>
173
<a class="anchor" name="s1" doxytag="dbg_ptr_allocator::nf_"></a><p>
174
<table class="mdTable" cellpadding="2" cellspacing="0">
177
<table cellpadding="0" cellspacing="0" border="0">
179
<td class="md" nowrap valign="top">unsigned <a class="el" href="a00061.html#s1">dbg_ptr_allocator::nf_</a> = 0<code> [static]</code> </td>
185
<table cellspacing="5" cellpadding="0" border="0">
195
Definition at line <a class="el" href="a00116.html#l00110">110</a> of file <a class="el" href="a00116.html">sample6.cpp</a>.
197
Referenced by <a class="el" href="a00116.html#l00102">balance()</a>, and <a class="el" href="a00116.html#l00093">deallocate()</a>. </td>
200
<hr>The documentation for this class was generated from the following file:<ul>
201
<li><a class="el" href="a00116.html">sample6.cpp</a></ul>
202
<hr size="1"><address style="align: right;"><small>Generated on Thu Apr 20 13:29:09 2006 for BitMagic by
203
<a href="http://www.doxygen.org/index.html">
204
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.1 </small></address>