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>ForeachParticleSet</title>
8  </head>
9  <body>
10    <h1><CODE><a href="../../../nw/Overview.html">nw</a>::<a href="../../../nw/gfx/Overview.html">gfx</a>::<a href="../../../nw/gfx/ParticleModel/Overview.html">ParticleModel</a>::ForeachParticleSet</CODE> Member Function</h1>
11    <h2>Syntax</h2>
12    <div class="section">
13      <pre class="definition">
14template &lt;typename TFunction&gt;
15void ForeachParticleSet(
16     TFunction function
17);
18</pre>
19    </div>
20    <h2>Template Arguments</h2>
21    <div class="section">
22      <table class="arguments">
23        <thead>
24          <tr>
25            <th>Name</th>
26            <td>Description</td>
27          </tr>
28        </thead>
29        <tr>
30          <th><CODE>TFunction</CODE></th>
31          <td>The type of the function (object) that takes the pointer to <a href="../../../nw/gfx/ParticleSet/Overview.html">ParticleSet</a> as an argument.</td>
32        </tr> </table>
33    </div>
34    <h2>Arguments</h2>
35    <div class="section">
36      <table class="arguments">
37        <thead>
38          <tr>
39            <td width="15" />
40            <th>Name</th>
41            <td>Description</td>
42          </tr>
43        </thead>
44        <tr>
45          <td>in</td>
46          <th>function</th>
47          <td>The function (object) to apply.</td>
48        </tr> </table>
49    </div>
50    <h2>Return Values</h2>
51    <div class="section">
52                None.
53               </div>
54    <h2>Description</h2>
55    <div class="section">
56      <p>Goes through all <a href="../../../nw/gfx/ParticleSet/Overview.html"><CODE>ParticleSet</CODE></a> objects in a <a href="../../../nw/gfx/ParticleModel/Overview.html"><CODE>ParticleModel</CODE></a>, applying <CODE>TFunction</CODE>.</p>
57    </div>
58  <hr><p>CONFIDENTIAL</p></body>
59</html>
60