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><a href="../../../nw/Overview.html">nw</a>::<a href="../../../nw/ut/Overview.html">ut</a>::<a href="../../../nw/ut/MoveArray/Overview.html">MoveArray</a>::MoveArray Contructor</h1>
11    <h2>Syntax</h2>
12    <div class="section">
13      <pre class="definition">
14MoveArray();
15template &lt;typename TTElemet&gt;
16MoveArray(
17     TTElemet * elements,
18     size_t capacity,
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);
22MoveArray(
23     size_t capacity,
24     <a href="../../../nw/os/IAllocator/Overview.html">os::IAllocator</a> * allocator,
25     <a href="../../../nw/ut/ArrayKind.html">ArrayKind</a> kind = ARRAY_WRAPPER
26);
27MoveArray(
28     <a href="../../../nw/os/IAllocator/Overview.html">os::IAllocator</a> * allocator
29);
30MoveArray(
31     const <a href="../../../nw/ut/MoveArray/Overview.html">MoveArray</a> & array
32);
33</pre>
34    </div>
35    <h2>List of Overloaded Member Functions</h2>
36    <div class="section">
37      <table class="members">
38        <tr>
39          <td>
40            <a href="./MoveArray(0).html">MoveArray (  ) </a>
41          </td>
42          <td>Constructor.</td>
43        </tr>
44        <tr>
45          <td>
46            <a href="./MoveArray(1).html">MoveArray ( TTElemet *, size_t, os::IAllocator *, ArrayKind ) </a>
47          </td>
48          <td>Constructor.</td>
49        </tr>
50        <tr>
51          <td>
52            <a href="./MoveArray(2).html">MoveArray ( size_t, os::IAllocator *, ArrayKind ) </a>
53          </td>
54          <td>Constructor.</td>
55        </tr>
56        <tr>
57          <td>
58            <a href="./MoveArray(3).html">MoveArray ( os::IAllocator * ) </a>
59          </td>
60          <td>Constructor.</td>
61        </tr>
62        <tr>
63          <td>
64            <a href="./MoveArray(4).html">MoveArray ( const MoveArray & ) </a>
65          </td>
66          <td>Moves an element from the copy source.</td>
67        </tr> </table>
68    </div>
69    <h2>Description of MoveArray (  )</h2>
70    <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>
71    <h2>Description of MoveArray ( TTElemet *, size_t, os::IAllocator *, ArrayKind )</h2>
72    <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>
73    <h2>Description of MoveArray ( size_t, os::IAllocator *, ArrayKind )</h2>
74    <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>
75    <h2>Description of MoveArray ( os::IAllocator * )</h2>
76    <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>
77    <h2>Description of MoveArray ( const MoveArray & )</h2>
78    <div class="section">
79      <p>Moves an element from the copy source.</p>
80    </div>
81  <hr><p>CONFIDENTIAL</p></body>
82</html>
83