Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > bad97183153701b09df5fae1052b1c30 > files > 17

crystalspace-doc-1.2.1-5mdv2010.0.i586.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>Crystal Space 1.2.1: csutil/algorithms.h File Reference (Crystal Space 1.2.1 Public API Reference)</title>
<link href="tabs.css" rel="stylesheet" type="text/css">
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<table border="0" cellpadding="0" cellspacing="0" width="100%" class="head">
 <tr height="59">
  <td class="head" width="202" valign="bottom" style="padding-left:0;"><a href="http://www.crystalspace3d.org/"><img src="csblur.png" width="236" height="59" alt="CrystalSpace" border="0"></a></td>
  <td class="head"><h2>Public API Reference</h2></td>
 </tr>
 <tr height="11">
  <td colspan="2" class="headshadow" valign="top" style="padding-left:0;"><img src="csblurb.png" width="236" height="11" alt="" border="0"></td>
 </tr>
</table>
<div class="content">
<!-- Generated by Doxygen 1.5.3 -->
<div class="tabs">
  <ul>
    <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
    <li><a href="modules.html"><span>Modules</span></a></li>
    <li><a href="namespaces.html"><span>Namespaces</span></a></li>
    <li><a href="classes.html"><span>Classes</span></a></li>
    <li class="current"><a href="files.html"><span>Files</span></a></li>
    <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
  </ul>
</div>
<h1>csutil/algorithms.h File Reference</h1>General Algorithms. <a href="#_details">More...</a>
<p>

<p>
<a href="algorithms_8h-source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Namespaces</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">namespace &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceCS.html">CS</a></td></tr>

<tr><td colspan="2"><br><h2>Functions</h2></td></tr>
<tr><td class="memTemplParams" nowrap colspan="2">template&lt;class T, class Fn, class P&gt; </td></tr>
<tr><td class="memTemplItemLeft" nowrap align="right" valign="top">CS_FORCEINLINE_TEMPLATEMETHOD <br>
Fn &amp;&nbsp;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespaceCS.html#245f309276200b8c70ce1ee3bddff457">CS::ForEach</a> (T it, Fn &amp;Func, P &amp;p)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Iterate over all elements in the iterator and perform operation given by Func.  <a href="#245f309276200b8c70ce1ee3bddff457"></a><br></td></tr>
<tr><td class="memTemplParams" nowrap colspan="2">template&lt;class T, class Fn&gt; </td></tr>
<tr><td class="memTemplItemLeft" nowrap align="right" valign="top">CS_FORCEINLINE_TEMPLATEMETHOD <br>
Fn &amp;&nbsp;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespaceCS.html#50ddfda2b9b4d9ed73cc1131dfacdbd0">CS::ForEach</a> (T *start, T *end, Fn &amp;Func)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Iterate over all elements in the list and perform operation given by Func.  <a href="#50ddfda2b9b4d9ed73cc1131dfacdbd0"></a><br></td></tr>
<tr><td class="memTemplParams" nowrap colspan="2">template&lt;class T, class Fn&gt; </td></tr>
<tr><td class="memTemplItemLeft" nowrap align="right" valign="top">CS_FORCEINLINE_TEMPLATEMETHOD <br>
Fn &amp;&nbsp;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespaceCS.html#758542d851630e3c385594b388044098">CS::ForEach</a> (T it, Fn &amp;Func)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Iterate over all elements in the iterator and perform operation given by Func.  <a href="#758542d851630e3c385594b388044098"></a><br></td></tr>
<tr><td class="memTemplParams" nowrap colspan="2">template&lt;class T&gt; </td></tr>
<tr><td class="memTemplItemLeft" nowrap align="right" valign="top">CS_FORCEINLINE_TEMPLATEMETHOD <br>
void&nbsp;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespaceCS.html#68d61355d1c8c8d00c9ed83c963a2dce">CS::Swap</a> (T &amp;a, T &amp;b)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Swap two elements.  <a href="#68d61355d1c8c8d00c9ed83c963a2dce"></a><br></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
General Algorithms. 
<p>

<p>Definition in file <a class="el" href="algorithms_8h-source.html">algorithms.h</a>.</p>
<hr size="1"><address><small>Generated for Crystal Space 1.2.1 by 
<a href="http://www.doxygen.org/index.html">doxygen</a> 1.5.3 
</small></address> </div></body> </html>