1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2<html xml:lang="en-US" lang="en-US" xmlns="http://www.w3.org/1999/xhtml">
3  <head>
4    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
5    <meta http-equiv="Content-Style-Type" content="text/css" />
6    <link rel="stylesheet" href="../../../css/manpage.css" type="text/css" />
7    <style type="text/css"><!--
8      span.static_style
9      {
10        font-size			: 8pt;
11        color				: white;
12        font-weight			: bold;
13        background			: #44f;
14        border-left			: solid 1px #aaf;
15        border-top			: solid 1px #aaf;
16        border-right		: solid 1px #00c;
17        border-bottom		: solid 1px #00c;
18        padding-left		: 2px;
19        padding-right		: 2px;
20      }
21
22      span.virtual_style
23      {
24        font-size			 : 8pt;
25        color				 : white;
26        font-weight			: bold;
27        background			: #0a0;
28        border-left			: solid 1px #0f0;
29        border-top			: solid 1px #0f0;
30        border-right		: solid 1px #060;
31        border-bottom		: solid 1px #060;
32        padding-left		: 2px;
33        padding-right		: 2px;
34      }
35
36      span.protected_style
37      {
38        font-size			 : 8pt;
39        color				 : white;
40        font-weight			: bold;
41        background			: #444;
42        border-left			: solid 1px #ccc;
43        border-top			: solid 1px #ccc;
44        border-right		: solid 1px #222;
45        border-bottom		: solid 1px #222;
46        padding-left		: 2px;
47        padding-right		: 2px;
48      }
49        --></style>
50    <title>nw::os::IAllocator</title>
51  </head>
52  <body>
53    <h1><CODE>nw::os::IAllocator</CODE> Class</h1>
54    <h2>Syntax</h2>
55    <div class="section">
56      <pre class="definition">class IAllocator</pre>
57    </div>
58    <h2>Description</h2>
59    <div class="section">
60      <p>The memory allocator interface.</p>
61    </div>
62    <a name="constant" id="constant">
63      <h2>Member Constants</h2>
64      <div class="section">
65        <table class="members">
66          <tr>
67            <td width="100">
68              <span class="static_style" title="static">S</span>
69            </td>
70            <th>
71              <span class="argument"><a href="../../../nw/os/IAllocator/DEFAULT_ALIGNMENT.html">DEFAULT_ALIGNMENT</a></span>
72            </th>
73            <td>The default value when the alignment specification has been omitted.</td>
74          </tr>
75          <tr>
76            <td width="100">
77              <span class="static_style" title="static">S</span>
78            </td>
79            <th>
80              <span class="argument"><a href="../../../nw/os/IAllocator/CACHE_LINE_ALIGNMENT.html">CACHE_LINE_ALIGNMENT</a></span>
81            </th>
82            <td>Cache alignment.</td>
83          </tr> </table>
84      </div>
85    </a> <a name="function" id="function">
86      <h2>Member Functions</h2>
87      <div class="section">
88        <table class="members">
89          <tr>
90            <th class="category" colspan="3">Allocating and Freeing Memory</th>
91          </tr>
92          <tr>
93            <td width="100"> <span class="virtual_style" title="pure-virtual">PV</span>
94            </td>
95            <th>
96              <a href="../../../nw/os/IAllocator/Alloc.html">Alloc</a>
97            </th>
98            <td>Allocates memory.</td>
99          </tr>
100          <tr>
101            <td width="100"> <span class="virtual_style" title="pure-virtual">PV</span>
102            </td>
103            <th>
104              <a href="../../../nw/os/IAllocator/Free.html">Free</a>
105            </th>
106            <td>Frees memory.</td>
107          </tr>
108          <tr>
109            <th class="category" colspan="3">Utilities</th>
110          </tr>
111          <tr>
112            <td width="100">  </td>
113            <th>
114              <a href="../../../nw/os/IAllocator/Alloc.html">Alloc</a>
115            </th>
116            <td>Allocates memory when the alignment specification has been omitted.</td>
117          </tr>
118          <tr>
119            <td width="100">  </td>
120            <th>
121              <a href="../../../nw/os/IAllocator/AllocAndClear.html">AllocAndClear</a>
122            </th>
123            <td>Allocates memory and clears with the specified byte data.</td>
124          </tr>
125          <tr>
126            <td width="100">  </td>
127            <th>
128              <a href="../../../nw/os/IAllocator/AllocAndConstruct.html">AllocAndConstruct</a>
129            </th>
130            <td>Allocates the memory required for the specified number of objects and calls a constructor.</td>
131          </tr>
132          <tr>
133            <td width="100">  </td>
134            <th>
135              <a href="../../../nw/os/IAllocator/AllocAndFill.html">AllocAndFill</a>
136            </th>
137            <td>Allocates the memory required for the specified number of objects and copies the specified object.</td>
138          </tr>
139          <tr>
140            <td width="100">  </td>
141            <th>
142              <a href="../../../nw/os/IAllocator/DestructAndFree.html">DestructAndFree</a>
143            </th>
144            <td>Calls a destructor for the specified number of objects and frees memory.</td>
145          </tr>
146          <tr>
147            <th class="category" colspan="3">Other</th>
148          </tr>
149          <tr>
150            <td width="100"> <span class="virtual_style" title="virtual">V</span>
151            </td>
152            <th>
153              <a href="../../../nw/os/IAllocator/~IAllocator.html">~IAllocator</a>
154            </th>
155            <td>Destructor.</td>
156          </tr> </table>
157      </div>
158    </a>
159  <hr><p>CONFIDENTIAL</p></body>
160</html>