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    <title>MoveArray</title>
8  </head>
9  <body>
10    <h1>nw::ut::MoveArray::MoveArray Constructor</h1>
11    <h2>Syntax</h2>
12    <div class="section">
13      <pre class="definition">
14MoveArray();
15
16MoveArray(
17     void * elements,
18     size_t size,
19     <a href="../../../nw/os/IAllocator/Overview.html">os::IAllocator</a> * allocator = NULL,
20     <a href="../../../nw/ut/ArrayKind.html">ArrayKind</a> kind = ARRAY_WRAPPER
21);
22
23MoveArray(
24     size_t size,
25     <a href="../../../nw/os/IAllocator/Overview.html">os::IAllocator</a> * allocator,
26     <a href="../../../nw/ut/ArrayKind.html">ArrayKind</a> kind = ARRAY_WRAPPER
27);
28
29MoveArray(
30     <a href="../../../nw/os/IAllocator/Overview.html">os::IAllocator</a> * allocator
31);
32
33MoveArray(
34     const <a href="../../../nw/ut/MoveArray/Overview.html">MoveArray</a> & array
35);
36</pre>
37    </div>
38    <h2>List of Overloaded Member Functions</h2>
39    <div class="section">
40      <table class="members">
41        <tr>
42          <td>
43            <a href="./MoveArray(0).html">MoveArray (  ) </a>
44          </td>
45          <td>Constructor.</td>
46        </tr>
47        <tr>
48          <td>
49            <a href="./MoveArray(1).html">MoveArray ( void *, size_t, os::IAllocator *, ArrayKind ) </a>
50          </td>
51          <td>Constructor.</td>
52        </tr>
53        <tr>
54          <td>
55            <a href="./MoveArray(2).html">MoveArray ( size_t, os::IAllocator *, ArrayKind ) </a>
56          </td>
57          <td>Constructor.</td>
58        </tr>
59        <tr>
60          <td>
61            <a href="./MoveArray(3).html">MoveArray ( os::IAllocator * ) </a>
62          </td>
63          <td>Constructor.</td>
64        </tr>
65        <tr>
66          <td>
67            <a href="./MoveArray(4).html">MoveArray ( const MoveArray & ) </a>
68          </td>
69          <td>Moves an element from the copy source.</td>
70        </tr> </table>
71    </div>
72    <h2>Description of MoveArray (  )</h2>
73    <div class="section"><p>This is the default constructor. Functions as a fixed-length array of size 0. False is returned if instances created with this constructor are included in a conditional if statement.</p></div>
74    <h2>Description of MoveArray ( void *, size_t, os::IAllocator *, ArrayKind )</h2>
75    <div class="section"><p>Memory passed to this contructor is freed by a destructor. If kind is set to ARRAY_VARIABILITY, a function for automatically increasing the array size is enabled. Memory is secured internally when the array size is increased automatically. If internal allocation of memory is inappropriate, be sure to set kind to ARRAY_WRAPPER. Also, memory is not freed by the destructor if allocator is set to 0.</p></div>
76    <h2>Description of MoveArray ( size_t, os::IAllocator *, ArrayKind )</h2>
77    <div class="section"><p>This constructor calls on an allocator to allocate memory of the specified size. If kind is set to ARRAY_VARIABILITY, a function for automatically increasing the array size is enabled. Memory is secured internally when the array size is increased automatically. If internal allocation of memory is inappropriate, be sure to set kind to ARRAY_WRAPPER.</p></div>
78    <h2>Description of MoveArray ( os::IAllocator * )</h2>
79    <div class="section"><p>This <a href="../../../nw/ut/MoveArray/Overview.html">MoveArray</a> constructor automatically increases the memory size. Memory is secured internally when the array size is increased automatically.</p></div>
80    <h2>Description of MoveArray ( const MoveArray & )</h2>
81    <div class="section">
82      <p>Moves an element from the copy source.</p>
83    </div>
84  <hr><p>CONFIDENTIAL</p></body>
85</html>