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>NewObj</title>
8  </head>
9  <body>
10    <h1>nw::lyt::Layout::NewObj Member Function</h1>
11    <h2>Syntax</h2>
12    <div class="section">
13      <pre class="definition">
14template &lt;typename T, typename Param1, typename Param2&gt;
15static T * NewObj(
16     Param1 param1,
17     Param2 param2
18);
19</pre>
20    </div>
21    <h2>Template Arguments</h2>
22    <div class="section">
23      <table class="arguments">
24        <thead>
25          <tr>
26            <th>Name</th>
27            <td>Description</td>
28          </tr>
29        </thead>
30        <tr>
31          <th>T</th>
32          <td>The class of the object to be created.</td>
33        </tr>
34        <tr>
35          <th>Param1</th>
36          <td>The type of the first argument of the constructor.</td>
37        </tr>
38        <tr>
39          <th>Param2</th>
40          <td>The type of the second argument of the constructor.</td>
41        </tr> </table>
42    </div>
43    <h2>Arguments</h2>
44    <div class="section">
45      <table class="arguments">
46        <thead>
47          <tr>
48            <td width="15" />
49            <th>Name</th>
50            <td>Description</td>
51          </tr>
52        </thead>
53        <tr>
54          <td />
55          <th>param1</th>
56          <td>The first argument of the constructor.</td>
57        </tr>
58        <tr>
59          <td />
60          <th>param2</th>
61          <td>The second argument of the constructor.</td>
62        </tr> </table>
63    </div>
64    <h2>Return Values</h2>
65    <div class="section">Returns a pointer to the generated object. </div>
66    <h2>Description</h2>
67    <div class="section">
68      <p>Creates an object.</p>
69    </div>
70    <h2>See Also</h2>
71    <div class="section">
72      <p class="reference"><a href="../../../nw/lyt/Layout/DeleteObj.html">DeleteObj</a><br /> </p>
73    </div>
74    <h2>Revision History</h2>
75    <div class="section">
76      <dl class="history">
77        <dt>2010/01/26</dt>
78        <dd>Initial version.<br />
79        </dd>
80      </dl>
81    </div>
82  <hr><p>CONFIDENTIAL</p></body>
83</html>