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::ut::MovePtr</title>
51  </head>
52  <body>
53    <h1>nw::ut::MovePtr Class</h1>
54    <h2>Syntax</h2>
55    <div class="section">
56      <pre class="definition">template &lt;typename TObject, typename TDeleter&gt;
57class MovePtr</pre>
58    </div>
59    <h2>Template Arguments</h2>
60    <div class="section">
61      <table class="arguments">
62        <thead>
63          <tr>
64            <th>Name</th>
65            <td>Description</td>
66          </tr>
67        </thead>
68        <tr>
69          <th><CODE>TObject</CODE></th>
70          <td>Object type.</td>
71        </tr>
72        <tr>
73          <th>TDeleter</th>
74          <td>The deleter type.</td>
75        </tr> </table>
76    </div>
77    <h2>Description</h2>
78    <div class="section">
79      <p>Smart pointer with movable ownership.</p><p>This is auto_ptr extended so that ownership can be moved. This function can specify any deleter.</p></div>
80    <a name="typedef" id="typedef">
81      <h2><CODE>typedef</CODE> Definitions</h2>
82      <div class="section">
83        <table class="members">
84          <tr>
85            <td width="100" />
86            <th>
87              <a href="../../../nw/ut/MovePtr/element_type.html"><CODE>element_type</CODE></a>
88            </th>
89            <td>The type of this class's elements.</td>
90          </tr>
91          <tr>
92            <td width="100" />
93            <th>
94              <a href="../../../nw/ut/MovePtr/deleter_type.html"><CODE>deleter_type</CODE></a>
95            </th>
96            <td>Deleter type for deleting objects.</td>
97          </tr>
98          <tr>
99            <td width="100" />
100            <th>
101              <a href="../../../nw/ut/MovePtr/deleter_reference.html"><CODE>deleter_reference</CODE></a>
102            </th>
103            <td>Deleter reference for deleting objects.</td>
104          </tr>
105          <tr>
106            <td width="100" />
107            <th>
108              <a href="../../../nw/ut/MovePtr/deleter_const_reference.html"><CODE>deleter_const_reference</CODE></a>
109            </th>
110            <td>Deleter const reference for deleting objects.</td>
111          </tr> </table>
112      </div>
113    </a> <a name="function" id="function">
114      <h2>Member Functions</h2>
115      <div class="section">
116        <table class="members">
117          <tr>
118            <td width="100">  </td>
119            <th>
120              <a href="../../../nw/ut/MovePtr/MovePtr.html">MovePtr</a>
121            </th>
122            <td>Constructor.</td>
123          </tr>
124          <tr>
125            <td width="100">  </td>
126            <th>
127              <a href="../../../nw/ut/MovePtr/~MovePtr.html">~MovePtr</a>
128            </th>
129            <td>Destructor.</td>
130          </tr>
131          <tr>
132            <td width="100">  </td>
133            <th>
134              <a href="../../../nw/ut/MovePtr/operator=.html"><CODE>operator=</CODE></a>
135            </th>
136            <td>Compares if stored pointers are the same.</td>
137          </tr>
138          <tr>
139            <td width="100">  </td>
140            <th>
141              <a href="../../../nw/ut/MovePtr/Get.html"><CODE>Get</CODE></a>
142            </th>
143            <td>Gets the pointer to a stored object.</td>
144          </tr>
145          <tr>
146            <td width="100">  </td>
147            <th>
148              <a href="../../../nw/ut/MovePtr/operator-2a.html">operator *</a>
149            </th>
150            <td>Gets the reference to a stored object.</td>
151          </tr>
152          <tr>
153            <td width="100">  </td>
154            <th>
155              <a href="../../../nw/ut/MovePtr/operator-2d-3e.html"><CODE>operator-&gt;</CODE></a>
156            </th>
157            <td>Manipulates stored objects.</td>
158          </tr>
159          <tr>
160            <td width="100">  </td>
161            <th>
162              <a href="../../../nw/ut/MovePtr/operator[].html"><CODE>operator[]</CODE></a>
163            </th>
164            <td>Gets the reference to the an array element stored in the specified index.</td>
165          </tr>
166          <tr>
167            <td width="100">  </td>
168            <th>
169              <a href="../../../nw/ut/MovePtr/Release.html"><CODE>Release</CODE></a>
170            </th>
171            <td>Destroys management of a stored object.</td>
172          </tr>
173          <tr>
174            <td width="100">  </td>
175            <th>
176              <a href="../../../nw/ut/MovePtr/Reset.html">Reset</a>
177            </th>
178            <td>Deletes stored objects and resets status.</td>
179          </tr>
180          <tr>
181            <td width="100">  </td>
182            <th>
183              <a href="../../../nw/ut/MovePtr/operator SafeBool.html"><CODE>operator SafeBool</CODE></a>
184            </th>
185            <td>Checks ownership of an object.</td>
186          </tr>
187          <tr>
188            <td width="100">  </td>
189            <th>
190              <a href="../../../nw/ut/MovePtr/Swap.html"><CODE>Swap</CODE></a>
191            </th>
192            <td>Swaps <a href="../../../nw/ut/MovePtr/Overview.html">MovePtr</a>.</td>
193          </tr>
194          <tr>
195            <td width="100">  </td>
196            <th>
197              <a href="../../../nw/ut/MovePtr/GetDeleter.html"><CODE>GetDeleter</CODE></a>
198            </th>
199            <td>Gets a deleter.</td>
200          </tr> </table>
201      </div>
202    </a>
203  <hr><p>CONFIDENTIAL</p></body>
204</html>