Sophie

Sophie

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

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::STLConstContainerAdaptor&lt; TContainer &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="classitk_1_1STLConstContainerAdaptor.html">STLConstContainerAdaptor</a>
  </div>
<div class="contents">
<h1>itk::STLConstContainerAdaptor&lt; TContainer &gt; Class Template Reference</h1><!-- doxytag: class="itk::STLConstContainerAdaptor" --><code>#include &lt;<a class="el" href="itkSTLConstContainerAdaptor_8h_source.html">itkSTLConstContainerAdaptor.h</a>&gt;</code>
<p>

<p>
<a href="classitk_1_1STLConstContainerAdaptor-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Public Types</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">typedef const TContainer&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classitk_1_1STLConstContainerAdaptor.html#90ced46a53cead7c7c12811ad8f2114d">AdapteeType</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">typedef const AdapteeType::Element&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classitk_1_1STLConstContainerAdaptor.html#0ffe9bdef9149701f0f5f30e73a1ce70">ElementType</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">typedef const <br class="typebreak">
AdapteeType::STLContainerType&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classitk_1_1STLConstContainerAdaptor.html#7cbd56948b2bd332fe1c9701beb53b5d">TargetType</a></td></tr>

<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classitk_1_1STLConstContainerAdaptor.html#7cbd56948b2bd332fe1c9701beb53b5d">TargetType</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classitk_1_1STLConstContainerAdaptor.html#8bf228ab05804e6c90d014d584e0b636">GetSTLConstContainerRef</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classitk_1_1STLConstContainerAdaptor.html#1759d69843fb7a20cc75dfb8453075d8">STLConstContainerAdaptor</a> (<a class="el" href="classitk_1_1STLConstContainerAdaptor.html#90ced46a53cead7c7c12811ad8f2114d">AdapteeType</a> *adaptee)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classitk_1_1STLConstContainerAdaptor.html#7b4babf0cbb75a1e9f7d7036e5609608">STLConstContainerAdaptor</a> (<a class="el" href="classitk_1_1STLConstContainerAdaptor.html#90ced46a53cead7c7c12811ad8f2114d">AdapteeType</a> &amp;adaptee)</td></tr>

</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
<h3>template&lt;typename TContainer&gt;<br>
 class itk::STLConstContainerAdaptor&lt; TContainer &gt;</h3>

An adapter object that casts a [const itk::XxxContainer] into [const std::xxx] and enables access to the underlying data structure. The class is provided for interface consistency with <a class="el" href="classitk_1_1STLContainerAdaptor.html">STLContainerAdaptor</a> plus the [const] modifier. Since everything is const, there is no need to call AdapteeType::Modified() in the destructor. Here's a usage example of <a class="el" href="classitk_1_1STLContainerAdaptor.html">STLContainerAdaptor</a> <a class="el" href="classitk_1_1STLConstContainerAdaptor.html">itk::STLConstContainerAdaptor</a>&lt;itk::VectorContainer&lt;unsigned long, ElementType&gt;&gt; vecAdaptor(aContainer); const std::vector&lt;ElementType&gt; &amp; vec = vecAdaptor.GetSTLContainerRef(); // do things with vec ... 
<p>Definition at line <a class="el" href="itkSTLConstContainerAdaptor_8h_source.html#l00038">38</a> of file <a class="el" href="itkSTLConstContainerAdaptor_8h_source.html">itkSTLConstContainerAdaptor.h</a>.</p>
<hr><h2>Member Typedef Documentation</h2>
<a class="anchor" name="90ced46a53cead7c7c12811ad8f2114d"></a><!-- doxytag: member="itk::STLConstContainerAdaptor::AdapteeType" ref="90ced46a53cead7c7c12811ad8f2114d" args="" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename TContainer &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">typedef const TContainer <a class="el" href="classitk_1_1STLConstContainerAdaptor.html">itk::STLConstContainerAdaptor</a>&lt; TContainer &gt;::<a class="el" href="classitk_1_1STLConstContainerAdaptor.html#90ced46a53cead7c7c12811ad8f2114d">AdapteeType</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definition at line <a class="el" href="itkSTLConstContainerAdaptor_8h_source.html#l00042">42</a> of file <a class="el" href="itkSTLConstContainerAdaptor_8h_source.html">itkSTLConstContainerAdaptor.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="0ffe9bdef9149701f0f5f30e73a1ce70"></a><!-- doxytag: member="itk::STLConstContainerAdaptor::ElementType" ref="0ffe9bdef9149701f0f5f30e73a1ce70" args="" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename TContainer &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">typedef const AdapteeType::Element <a class="el" href="classitk_1_1STLConstContainerAdaptor.html">itk::STLConstContainerAdaptor</a>&lt; TContainer &gt;::<a class="el" href="classitk_1_1STLConstContainerAdaptor.html#0ffe9bdef9149701f0f5f30e73a1ce70">ElementType</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definition at line <a class="el" href="itkSTLConstContainerAdaptor_8h_source.html#l00044">44</a> of file <a class="el" href="itkSTLConstContainerAdaptor_8h_source.html">itkSTLConstContainerAdaptor.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="7cbd56948b2bd332fe1c9701beb53b5d"></a><!-- doxytag: member="itk::STLConstContainerAdaptor::TargetType" ref="7cbd56948b2bd332fe1c9701beb53b5d" args="" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename TContainer &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">typedef const AdapteeType::STLContainerType <a class="el" href="classitk_1_1STLConstContainerAdaptor.html">itk::STLConstContainerAdaptor</a>&lt; TContainer &gt;::<a class="el" href="classitk_1_1STLConstContainerAdaptor.html#7cbd56948b2bd332fe1c9701beb53b5d">TargetType</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definition at line <a class="el" href="itkSTLConstContainerAdaptor_8h_source.html#l00045">45</a> of file <a class="el" href="itkSTLConstContainerAdaptor_8h_source.html">itkSTLConstContainerAdaptor.h</a>.</p>

</div>
</div><p>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="7b4babf0cbb75a1e9f7d7036e5609608"></a><!-- doxytag: member="itk::STLConstContainerAdaptor::STLConstContainerAdaptor" ref="7b4babf0cbb75a1e9f7d7036e5609608" args="(AdapteeType &amp;adaptee)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename TContainer &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classitk_1_1STLConstContainerAdaptor.html">itk::STLConstContainerAdaptor</a>&lt; TContainer &gt;::<a class="el" href="classitk_1_1STLConstContainerAdaptor.html">STLConstContainerAdaptor</a>           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classitk_1_1STLConstContainerAdaptor.html#90ced46a53cead7c7c12811ad8f2114d">AdapteeType</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>adaptee</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definition at line <a class="el" href="itkSTLConstContainerAdaptor_8h_source.html#l00061">61</a> of file <a class="el" href="itkSTLConstContainerAdaptor_8h_source.html">itkSTLConstContainerAdaptor.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="1759d69843fb7a20cc75dfb8453075d8"></a><!-- doxytag: member="itk::STLConstContainerAdaptor::STLConstContainerAdaptor" ref="1759d69843fb7a20cc75dfb8453075d8" args="(AdapteeType *adaptee)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename TContainer &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classitk_1_1STLConstContainerAdaptor.html">itk::STLConstContainerAdaptor</a>&lt; TContainer &gt;::<a class="el" href="classitk_1_1STLConstContainerAdaptor.html">STLConstContainerAdaptor</a>           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classitk_1_1STLConstContainerAdaptor.html#90ced46a53cead7c7c12811ad8f2114d">AdapteeType</a> *&nbsp;</td>
          <td class="paramname"> <em>adaptee</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definition at line <a class="el" href="itkSTLConstContainerAdaptor_8h_source.html#l00065">65</a> of file <a class="el" href="itkSTLConstContainerAdaptor_8h_source.html">itkSTLConstContainerAdaptor.h</a>.</p>

</div>
</div><p>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="8bf228ab05804e6c90d014d584e0b636"></a><!-- doxytag: member="itk::STLConstContainerAdaptor::GetSTLConstContainerRef" ref="8bf228ab05804e6c90d014d584e0b636" args="()" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename TContainer &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classitk_1_1STLConstContainerAdaptor.html#7cbd56948b2bd332fe1c9701beb53b5d">TargetType</a>&amp; <a class="el" href="classitk_1_1STLConstContainerAdaptor.html">itk::STLConstContainerAdaptor</a>&lt; TContainer &gt;::GetSTLConstContainerRef           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definition at line <a class="el" href="itkSTLConstContainerAdaptor_8h_source.html#l00069">69</a> of file <a class="el" href="itkSTLConstContainerAdaptor_8h_source.html">itkSTLConstContainerAdaptor.h</a>.</p>

</div>
</div><p>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="itkSTLConstContainerAdaptor_8h_source.html">itkSTLConstContainerAdaptor.h</a></ul>
</div>
<hr><address><small>
Generated at Fri May 8 07:17:45 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>