Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > d5e74628f0e673bb8680aebce32b2c04 > files > 11632

itk-doc-3.12.0-1mdv2010.0.i586.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><meta name="robots" content="noindex">
<meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>ITK: itk::fem::LoadImplementationTest&lt; TLoadClass &gt; Class Template Reference</title>
<link href="DoxygenStyle.css" rel="stylesheet" type="text/css">
</head><body bgcolor="#ffffff">


<!--  Section customized for INSIGHT : Tue Jul 17 01:02:45 2001 -->
<center>
<a href="index.html" class="qindex">Main Page</a>&nbsp;&nbsp; 
<a href="modules.html" class="qindex">Groups</a>&nbsp;&nbsp;
<a href="namespaces.html" class="qindex">Namespace List</a>&nbsp;&nbsp;
<a href="hierarchy.html" class="qindex">Class Hierarchy</a>&nbsp;&nbsp;
<a href="classes.html" class="qindex">Alphabetical List</a>&nbsp;&nbsp;
<a href="annotated.html" class="qindex">Compound List</a>&nbsp;&nbsp; 
<a href="files.html" class="qindex">File
List</a>&nbsp;&nbsp; 
<a href="namespacemembers.html" class="qindex">Namespace Members</a>&nbsp;&nbsp; 
<a href="functions.html" class="qindex">Compound Members</a>&nbsp;&nbsp; 
<a href="globals.html" class="qindex">File Members</a>&nbsp;&nbsp;
<a href="pages.html" class="qindex">Concepts</a></center>


<!-- Generated by Doxygen 1.5.9 -->
  <div class="navpath"><a class="el" href="namespaceitk.html">itk</a>::<a class="el" href="namespaceitk_1_1fem.html">fem</a>::<a class="el" href="classitk_1_1fem_1_1LoadImplementationTest.html">LoadImplementationTest</a>
  </div>
<div class="contents">
<h1>itk::fem::LoadImplementationTest&lt; TLoadClass &gt; Class Template Reference</h1><!-- doxytag: class="itk::fem::LoadImplementationTest" -->Example implementation of templated <a class="el" href="classitk_1_1fem_1_1LoadTest.html" title="Example to show how to define templated load classes.">LoadTest</a> class.  
<a href="#_details">More...</a>
<p>
<code>#include &lt;<a class="el" href="itkFEMLoadImplementationTest_8h_source.html">itkFEMLoadImplementationTest.h</a>&gt;</code>
<p>

<p>
<a href="classitk_1_1fem_1_1LoadImplementationTest-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Static Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">static void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classitk_1_1fem_1_1LoadImplementationTest.html#ca5867e7a7fbfc480c5ec92d7bbcad27">impl</a> (<a class="el" href="classitk_1_1fem_1_1Element2DC0LinearLine.html">Element2DC0LinearLineStress::ConstPointer</a> element, <a class="el" href="classitk_1_1fem_1_1FEMLightObject.html">Element::LoadPointer</a> load, <a class="el" href="classvnl__vector.html">Element::VectorType</a> &amp;Fe)</td></tr>

</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
<h3>template&lt;class TLoadClass&gt;<br>
 class itk::fem::LoadImplementationTest&lt; TLoadClass &gt;</h3>

Example implementation of templated <a class="el" href="classitk_1_1fem_1_1LoadTest.html" title="Example to show how to define templated load classes.">LoadTest</a> class. 
<p>
This is an example of how to define the implementation of a templated <a class="el" href="classitk_1_1fem_1_1Load.html" title="General abstract load base class.">Load</a> class. Since the <a class="el" href="classitk_1_1fem_1_1Load.html" title="General abstract load base class.">Load</a> class is templated, its implementation must also be templated. Due to limitations of MS compiler, we define this implementation function as a static function inside a templated class.<p>
To make things easier to use, we template the class over the whole templated load class and not only over the template parameters required to define the templated <a class="el" href="classitk_1_1fem_1_1Load.html" title="General abstract load base class.">Load</a> class.<p>
You must manually instantiate this class to register the load implementation function with the <a class="el" href="classitk_1_1fem_1_1VisitorDispatcher.html" title="This class provides the functionality needed to apply the correct visitor function...">VisitorDispatcher</a>. The instantiation is normally done like this:<p>
typedef <a class="el" href="classitk_1_1fem_1_1LoadTest.html" title="Example to show how to define templated load classes.">LoadTest</a>&lt;...&gt; MyLoadTestClass; template class LoadImplementationTest&lt;MyLoadTestClass&gt;; 
<p>Definition at line <a class="el" href="itkFEMLoadImplementationTest_8h_source.html#l00048">48</a> of file <a class="el" href="itkFEMLoadImplementationTest_8h_source.html">itkFEMLoadImplementationTest.h</a>.</p>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="ca5867e7a7fbfc480c5ec92d7bbcad27"></a><!-- doxytag: member="itk::fem::LoadImplementationTest::impl" ref="ca5867e7a7fbfc480c5ec92d7bbcad27" args="(Element2DC0LinearLineStress::ConstPointer element, Element::LoadPointer load, Element::VectorType &amp;Fe)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class TLoadClass &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">static void <a class="el" href="classitk_1_1fem_1_1LoadImplementationTest.html">itk::fem::LoadImplementationTest</a>&lt; TLoadClass &gt;::impl           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classitk_1_1fem_1_1Element2DC0LinearLine.html">Element2DC0LinearLineStress::ConstPointer</a>&nbsp;</td>
          <td class="paramname"> <em>element</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classitk_1_1fem_1_1FEMLightObject.html">Element::LoadPointer</a>&nbsp;</td>
          <td class="paramname"> <em>load</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classvnl__vector.html">Element::VectorType</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>Fe</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [inline, static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definition at line <a class="el" href="itkFEMLoadImplementationTest_8h_source.html#l00051">51</a> of file <a class="el" href="itkFEMLoadImplementationTest_8h_source.html">itkFEMLoadImplementationTest.h</a>.</p>

</div>
</div><p>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="itkFEMLoadImplementationTest_8h_source.html">itkFEMLoadImplementationTest.h</a></ul>
</div>
<hr><address><small>
Generated at Fri May 8 08:49:07 2009 for ITK  by <a href="http://www.stack.nl/~dimitri/doxygen/index.html"> <img 
src="http://www.stack.nl/~dimitri/doxygen/doxygen.png" alt="doxygen"
align="middle" border=0 width=110 height=53>
</a> 1.5.9 written by <a href="mailto:dimitri@stack.nl">Dimitri van Heesch</a>,
 &copy;&nbsp;1997-2000</small></address>
</body>
</html>