Small bugfixes in GroupSet.lua

This commit is contained in:
FlightControl 2016-05-27 14:22:56 +02:00
parent 69c11ca1c6
commit ac1d9485cd
13 changed files with 37 additions and 57 deletions

View File

@ -1,5 +1,5 @@
env.info( '*** MOOSE STATIC INCLUDE START *** ' )
env.info( 'Moose Generation Timestamp: 20160527_1352' )
env.info( 'Moose Generation Timestamp: 20160527_1422' )
local base = _G
env.info("Loading MOOSE " .. base.timer.getAbsTime() )

View File

@ -1,5 +1,5 @@
env.info( '*** MOOSE STATIC INCLUDE START *** ' )
env.info( 'Moose Generation Timestamp: 20160527_1352' )
env.info( 'Moose Generation Timestamp: 20160527_1422' )
local base = _G
env.info("Loading MOOSE " .. base.timer.getAbsTime() )

View File

@ -189,6 +189,12 @@ The following iterator methods are currently available within the GROUPSET:</p>
<td class="name" nowrap="nowrap"><a href="##(GROUPSET).FilterStart">GROUPSET:FilterStart()</a></td>
<td class="summary">
<p>Starts the filtering.</p>
</td>
</tr>
<tr>
<td class="name" nowrap="nowrap"><a href="##(GROUPSET).FindGroup">GROUPSET:FindGroup(GroupName)</a></td>
<td class="summary">
<p>Finds a Group based on the Group Name.</p>
</td>
</tr>
<tr>
@ -198,13 +204,7 @@ The following iterator methods are currently available within the GROUPSET:</p>
</td>
</tr>
<tr>
<td class="name" nowrap="nowrap"><a href="##(GROUPSET).FindUnit">GROUPSET:FindUnit(GroupName)</a></td>
<td class="summary">
<p>Finds a Group based on the Group Name.</p>
</td>
</tr>
<tr>
<td class="name" nowrap="nowrap"><a href="##(GROUPSET).ForEachUnit">GROUPSET:ForEachUnit(IteratorFunction, ...)</a></td>
<td class="name" nowrap="nowrap"><a href="##(GROUPSET).ForEachGroup">GROUPSET:ForEachGroup(IteratorFunction, ...)</a></td>
<td class="summary">
<p>Interate the GROUPSET and call an interator function for each <strong>alive</strong> GROUP, providing the GROUP and optional parameters.</p>
</td>
@ -219,12 +219,6 @@ The following iterator methods are currently available within the GROUPSET:</p>
<td class="name" nowrap="nowrap"><a href="##(GROUPSET).New">GROUPSET:New()</a></td>
<td class="summary">
<p>Creates a new GROUPSET object, building a set of groups belonging to a coalitions, categories, countries, types or with defined prefix names.</p>
</td>
</tr>
<tr>
<td class="name" nowrap="nowrap"><a href="##(GROUPSET).Units">GROUPSET.Units</a></td>
<td class="summary">
</td>
</tr>
</table>
@ -473,6 +467,32 @@ self</p>
<dl class="function">
<dt>
<a id="#(GROUPSET).FindGroup" >
<strong>GROUPSET:FindGroup(GroupName)</strong>
</a>
</dt>
<dd>
<p>Finds a Group based on the Group Name.</p>
<h3>Parameter</h3>
<ul>
<li>
<p><code><em>#string GroupName </em></code>: </p>
</li>
</ul>
<h3>Return value</h3>
<p><em><a href="Group.html##(GROUP)">Group#GROUP</a>:</em>
The found Group.</p>
</dd>
</dl>
<dl class="function">
<dt>
<a id="#(GROUPSET).FindInDatabase" >
<strong>GROUPSET:FindInDatabase(Event)</strong>
</a>
@ -512,34 +532,8 @@ The GROUP</p>
<dl class="function">
<dt>
<a id="#(GROUPSET).FindUnit" >
<strong>GROUPSET:FindUnit(GroupName)</strong>
</a>
</dt>
<dd>
<p>Finds a Group based on the Group Name.</p>
<h3>Parameter</h3>
<ul>
<li>
<p><code><em>#string GroupName </em></code>: </p>
</li>
</ul>
<h3>Return value</h3>
<p><em><a href="Group.html##(GROUP)">Group#GROUP</a>:</em>
The found Group.</p>
</dd>
</dl>
<dl class="function">
<dt>
<a id="#(GROUPSET).ForEachUnit" >
<strong>GROUPSET:ForEachUnit(IteratorFunction, ...)</strong>
<a id="#(GROUPSET).ForEachGroup" >
<strong>GROUPSET:ForEachGroup(IteratorFunction, ...)</strong>
</a>
</dt>
<dd>
@ -613,20 +607,6 @@ self</p>
<pre class="example"><code>-- Define a new GROUPSET Object. This DBObject will contain a reference to all alive GROUPS.
DBObject = GROUPSET:New()</code></pre>
</dd>
</dl>
<dl class="function">
<dt>
<em></em>
<a id="#(GROUPSET).Units" >
<strong>GROUPSET.Units</strong>
</a>
</dt>
<dd>
</dd>
</dl>