Sophie

Sophie

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

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::AutoPointer&lt; TObjectType &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_1AutoPointer.html">AutoPointer</a>
  </div>
<div class="contents">
<h1>itk::AutoPointer&lt; TObjectType &gt; Class Template Reference<br>
<small>
[<a class="el" href="group__ITKSystemObjects.html">ITK System Objects</a>,&nbsp;<a class="el" href="group__DataAccess.html">Data Access Objects</a>]</small>
</h1><!-- doxytag: class="itk::AutoPointer" -->Implements an Automatic Pointer to an object.  
<a href="#_details">More...</a>
<p>
<code>#include &lt;<a class="el" href="itkAutoPointer_8h_source.html">itkAutoPointer.h</a>&gt;</code>
<p>

<p>
<a href="classitk_1_1AutoPointer-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 TObjectType&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classitk_1_1AutoPointer.html#d16b94ab30a7837f2715d458fe002c7e">ObjectType</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">typedef <a class="el" href="classitk_1_1AutoPointer.html">AutoPointer</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classitk_1_1AutoPointer.html#4c96af52387f69fd244a8cc88185faa9">Self</a></td></tr>

<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classitk_1_1AutoPointer.html#9707dbc71bbedaf59733ca37426c7d22">AutoPointer</a> (<a class="el" href="classitk_1_1AutoPointer.html#d16b94ab30a7837f2715d458fe002c7e">ObjectType</a> *p, bool takeOwnership)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classitk_1_1AutoPointer.html#7c68846c88b6c7ea1494d6c6d6f2613e">AutoPointer</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classitk_1_1AutoPointer.html#d16b94ab30a7837f2715d458fe002c7e">ObjectType</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classitk_1_1AutoPointer.html#dd3dbae3a95dc70963ffaf193452048f">GetPointer</a> () const </td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classitk_1_1AutoPointer.html#72342741883b4edf4db320a15864cec3">IsOwner</a> (void) const </td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classitk_1_1AutoPointer.html#ceeb28fbaad970f733af6b6cd2903032">operator bool</a> () const </td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classitk_1_1AutoPointer.html#4e42e5e383e6783fb57b497140bd8a33">operator!=</a> (const <a class="el" href="classitk_1_1AutoPointer.html">AutoPointer</a> &amp;r) const </td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classitk_1_1AutoPointer.html#d16b94ab30a7837f2715d458fe002c7e">ObjectType</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classitk_1_1AutoPointer.html#676641411345887df41e53e5933a7755">operator-&gt;</a> () const </td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classitk_1_1AutoPointer.html#820b5919cf3329dc73d7b59625da276c">operator&lt;</a> (const <a class="el" href="classitk_1_1AutoPointer.html">AutoPointer</a> &amp;r) const </td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classitk_1_1AutoPointer.html#67bca2ea949f579a1127a4edd258b086">operator&lt;=</a> (const <a class="el" href="classitk_1_1AutoPointer.html">AutoPointer</a> &amp;r) const </td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classitk_1_1AutoPointer.html#00399f0a57488d4750f4d77c1b98f590">operator==</a> (const <a class="el" href="classitk_1_1AutoPointer.html">AutoPointer</a> &amp;r) const </td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classitk_1_1AutoPointer.html#e4dfa33506cbbe1032352448173acf65">operator&gt;</a> (const <a class="el" href="classitk_1_1AutoPointer.html">AutoPointer</a> &amp;r) const </td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classitk_1_1AutoPointer.html#77c32e53f6d41ad4c9ae77347d3dafab">operator&gt;=</a> (const <a class="el" href="classitk_1_1AutoPointer.html">AutoPointer</a> &amp;r) const </td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classitk_1_1AutoPointer.html#3ee9a56b89657a080d02df2463e6fabe">TakeOwnership</a> (void)</td></tr>

<tr><td colspan="2"><div class="groupHeader"></div></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classitk_1_1AutoPointer.html#5be82f8667302425394397297d75cb53">AutoPointer</a> (<a class="el" href="classitk_1_1AutoPointer.html">AutoPointer</a> &amp;p)</td></tr>

<tr><td colspan="2"><div class="groupHeader"></div></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classitk_1_1AutoPointer.html">AutoPointer</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classitk_1_1AutoPointer.html#8e6af1a0ce95fe8a41f9bd7913f63ee1">operator=</a> (<a class="el" href="classitk_1_1AutoPointer.html">AutoPointer</a> &amp;r) const </td></tr>

<tr><td colspan="2"><div class="groupHeader"></div></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classitk_1_1AutoPointer.html#d16b94ab30a7837f2715d458fe002c7e">ObjectType</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classitk_1_1AutoPointer.html#0742cf2423b8bb7695ed369c42686ef7">Print</a> (std::ostream &amp;os) const </td></tr>

<tr><td colspan="2"><div class="groupHeader"></div></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classitk_1_1AutoPointer.html#d16b94ab30a7837f2715d458fe002c7e">ObjectType</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classitk_1_1AutoPointer.html#3e7b3baf5a2d25b0fcc43df37ea8ef65">ReleaseOwnership</a> (void)</td></tr>

<tr><td colspan="2"><div class="groupHeader"></div></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classitk_1_1AutoPointer.html#05ddd48a7d31aba5271528ae9d3bcb6e">Reset</a> (void)</td></tr>

<tr><td colspan="2"><div class="groupHeader"></div></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classitk_1_1AutoPointer.html#fb06aed96953def4853779bbf0b81581">TakeNoOwnership</a> (<a class="el" href="classitk_1_1AutoPointer.html#d16b94ab30a7837f2715d458fe002c7e">ObjectType</a> *objectptr)</td></tr>

<tr><td colspan="2"><div class="groupHeader"></div></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classitk_1_1AutoPointer.html#8f82e418cb71250dd9a0c585e08fe91f">TakeOwnership</a> (<a class="el" href="classitk_1_1AutoPointer.html#d16b94ab30a7837f2715d458fe002c7e">ObjectType</a> *objectptr)</td></tr>

<tr><td colspan="2"><div class="groupHeader"></div></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classitk_1_1AutoPointer.html#e27cf0ffbe9ae95c48d57f7770747dab">~AutoPointer</a> ()</td></tr>

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

Implements an Automatic Pointer to an object. 
<p>
<a class="el" href="classitk_1_1AutoPointer.html" title="Implements an Automatic Pointer to an object.">AutoPointer</a> is intended to facilitate the construction of objects on the fly for those objects that are not to be shared. An <a class="el" href="classitk_1_1AutoPointer.html" title="Implements an Automatic Pointer to an object.">AutoPointer</a> destroys its object when it goes out of scope. Ownership of the object is transferred from one <a class="el" href="classitk_1_1AutoPointer.html" title="Implements an Automatic Pointer to an object.">AutoPointer</a> to another <a class="el" href="classitk_1_1AutoPointer.html" title="Implements an Automatic Pointer to an object.">AutoPointer</a> when the assignement operator is used. An <a class="el" href="classitk_1_1AutoPointer.html" title="Implements an Automatic Pointer to an object.">AutoPointer</a> can release ownership of the object it holds.<p>
This class follows the design of the std::auto_ptr class. The main reason for not using the std version is to avoid templated methods, which greatly increase the difficulty of wrapping for Tcl, Python and Java. 
<p>Definition at line <a class="el" href="itkAutoPointer_8h_source.html#l00045">45</a> of file <a class="el" href="itkAutoPointer_8h_source.html">itkAutoPointer.h</a>.</p>
<hr><h2>Member Typedef Documentation</h2>
<a class="anchor" name="d16b94ab30a7837f2715d458fe002c7e"></a><!-- doxytag: member="itk::AutoPointer::ObjectType" ref="d16b94ab30a7837f2715d458fe002c7e" args="" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class TObjectType &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">typedef TObjectType <a class="el" href="classitk_1_1AutoPointer.html">itk::AutoPointer</a>&lt; TObjectType &gt;::<a class="el" href="classitk_1_1AutoPointer.html#d16b94ab30a7837f2715d458fe002c7e">ObjectType</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Extract information from template parameter. 
<p>Definition at line <a class="el" href="itkAutoPointer_8h_source.html#l00049">49</a> of file <a class="el" href="itkAutoPointer_8h_source.html">itkAutoPointer.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="4c96af52387f69fd244a8cc88185faa9"></a><!-- doxytag: member="itk::AutoPointer::Self" ref="4c96af52387f69fd244a8cc88185faa9" args="" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class TObjectType &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">typedef <a class="el" href="classitk_1_1AutoPointer.html">AutoPointer</a> <a class="el" href="classitk_1_1AutoPointer.html">itk::AutoPointer</a>&lt; TObjectType &gt;::<a class="el" href="classitk_1_1AutoPointer.html">Self</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definition at line <a class="el" href="itkAutoPointer_8h_source.html#l00050">50</a> of file <a class="el" href="itkAutoPointer_8h_source.html">itkAutoPointer.h</a>.</p>

</div>
</div><p>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="7c68846c88b6c7ea1494d6c6d6f2613e"></a><!-- doxytag: member="itk::AutoPointer::AutoPointer" ref="7c68846c88b6c7ea1494d6c6d6f2613e" args="()" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class TObjectType &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classitk_1_1AutoPointer.html">itk::AutoPointer</a>&lt; TObjectType &gt;::<a class="el" href="classitk_1_1AutoPointer.html">AutoPointer</a>           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Constructor. 
<p>Definition at line <a class="el" href="itkAutoPointer_8h_source.html#l00053">53</a> of file <a class="el" href="itkAutoPointer_8h_source.html">itkAutoPointer.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="5be82f8667302425394397297d75cb53"></a><!-- doxytag: member="itk::AutoPointer::AutoPointer" ref="5be82f8667302425394397297d75cb53" args="(AutoPointer &amp;p)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class TObjectType &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classitk_1_1AutoPointer.html">itk::AutoPointer</a>&lt; TObjectType &gt;::<a class="el" href="classitk_1_1AutoPointer.html">AutoPointer</a>           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classitk_1_1AutoPointer.html">AutoPointer</a>&lt; TObjectType &gt; &amp;&nbsp;</td>
          <td class="paramname"> <em>p</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline, explicit]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Copy constructor. 
<p>Definition at line <a class="el" href="itkAutoPointer_8h_source.html#l00057">57</a> of file <a class="el" href="itkAutoPointer_8h_source.html">itkAutoPointer.h</a>.</p>

<p>References <a class="el" href="itkAutoPointer_8h_source.html#l00129">itk::AutoPointer&lt; TObjectType &gt;::IsOwner()</a>, and <a class="el" href="itkAutoPointer_8h_source.html#l00144">itk::AutoPointer&lt; TObjectType &gt;::ReleaseOwnership()</a>.</p>

</div>
</div><p>
<a class="anchor" name="9707dbc71bbedaf59733ca37426c7d22"></a><!-- doxytag: member="itk::AutoPointer::AutoPointer" ref="9707dbc71bbedaf59733ca37426c7d22" args="(ObjectType *p, bool takeOwnership)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class TObjectType &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classitk_1_1AutoPointer.html">itk::AutoPointer</a>&lt; TObjectType &gt;::<a class="el" href="classitk_1_1AutoPointer.html">AutoPointer</a>           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classitk_1_1AutoPointer.html#d16b94ab30a7837f2715d458fe002c7e">ObjectType</a> *&nbsp;</td>
          <td class="paramname"> <em>p</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&nbsp;</td>
          <td class="paramname"> <em>takeOwnership</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [inline, explicit]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Constructor to pointer p. 
<p>Definition at line <a class="el" href="itkAutoPointer_8h_source.html#l00066">66</a> of file <a class="el" href="itkAutoPointer_8h_source.html">itkAutoPointer.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="e27cf0ffbe9ae95c48d57f7770747dab"></a><!-- doxytag: member="itk::AutoPointer::~AutoPointer" ref="e27cf0ffbe9ae95c48d57f7770747dab" args="()" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class TObjectType &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classitk_1_1AutoPointer.html">itk::AutoPointer</a>&lt; TObjectType &gt;::~<a class="el" href="classitk_1_1AutoPointer.html">AutoPointer</a>           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Destructor. 
<p>Definition at line <a class="el" href="itkAutoPointer_8h_source.html#l00071">71</a> of file <a class="el" href="itkAutoPointer_8h_source.html">itkAutoPointer.h</a>.</p>

</div>
</div><p>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="dd3dbae3a95dc70963ffaf193452048f"></a><!-- doxytag: member="itk::AutoPointer::GetPointer" ref="dd3dbae3a95dc70963ffaf193452048f" args="() const " -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class TObjectType &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classitk_1_1AutoPointer.html#d16b94ab30a7837f2715d458fe002c7e">ObjectType</a>* <a class="el" href="classitk_1_1AutoPointer.html">itk::AutoPointer</a>&lt; TObjectType &gt;::GetPointer           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Access function to pointer. 
<p>Definition at line <a class="el" href="itkAutoPointer_8h_source.html#l00152">152</a> of file <a class="el" href="itkAutoPointer_8h_source.html">itkAutoPointer.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="72342741883b4edf4db320a15864cec3"></a><!-- doxytag: member="itk::AutoPointer::IsOwner" ref="72342741883b4edf4db320a15864cec3" args="(void) const " -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class TObjectType &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="classitk_1_1AutoPointer.html">itk::AutoPointer</a>&lt; TObjectType &gt;::IsOwner           </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Query for the ownership 
<p>Definition at line <a class="el" href="itkAutoPointer_8h_source.html#l00129">129</a> of file <a class="el" href="itkAutoPointer_8h_source.html">itkAutoPointer.h</a>.</p>

<p>Referenced by <a class="el" href="itkAutoPointer_8h_source.html#l00057">itk::AutoPointer&lt; TObjectType &gt;::AutoPointer()</a>.</p>

</div>
</div><p>
<a class="anchor" name="ceeb28fbaad970f733af6b6cd2903032"></a><!-- doxytag: member="itk::AutoPointer::operator bool" ref="ceeb28fbaad970f733af6b6cd2903032" args="() const " -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class TObjectType &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classitk_1_1AutoPointer.html">itk::AutoPointer</a>&lt; TObjectType &gt;::operator bool           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Casting operator to boolean. This is used in conditional statments to check the content of the pointer against null 
<p>Definition at line <a class="el" href="itkAutoPointer_8h_source.html#l00189">189</a> of file <a class="el" href="itkAutoPointer_8h_source.html">itkAutoPointer.h</a>.</p>

<p>References <a class="el" href="itkVoronoiDiagram2D_8h_source.html#l00032">NULL</a>.</p>

</div>
</div><p>
<a class="anchor" name="4e42e5e383e6783fb57b497140bd8a33"></a><!-- doxytag: member="itk::AutoPointer::operator!=" ref="4e42e5e383e6783fb57b497140bd8a33" args="(const AutoPointer &amp;r) const " -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class TObjectType &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="classitk_1_1AutoPointer.html">itk::AutoPointer</a>&lt; TObjectType &gt;::operator!=           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classitk_1_1AutoPointer.html">AutoPointer</a>&lt; TObjectType &gt; &amp;&nbsp;</td>
          <td class="paramname"> <em>r</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Comparison of pointers. NonEqual comparison. 
<p>Definition at line <a class="el" href="itkAutoPointer_8h_source.html#l00160">160</a> of file <a class="el" href="itkAutoPointer_8h_source.html">itkAutoPointer.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="676641411345887df41e53e5933a7755"></a><!-- doxytag: member="itk::AutoPointer::operator&#45;&gt;" ref="676641411345887df41e53e5933a7755" args="() const " -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class TObjectType &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classitk_1_1AutoPointer.html#d16b94ab30a7837f2715d458fe002c7e">ObjectType</a>* <a class="el" href="classitk_1_1AutoPointer.html">itk::AutoPointer</a>&lt; TObjectType &gt;::operator-&gt;           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Overload operator -&gt;. 
<p>Definition at line <a class="el" href="itkAutoPointer_8h_source.html#l00083">83</a> of file <a class="el" href="itkAutoPointer_8h_source.html">itkAutoPointer.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="820b5919cf3329dc73d7b59625da276c"></a><!-- doxytag: member="itk::AutoPointer::operator&lt;" ref="820b5919cf3329dc73d7b59625da276c" args="(const AutoPointer &amp;r) const " -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class TObjectType &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="classitk_1_1AutoPointer.html">itk::AutoPointer</a>&lt; TObjectType &gt;::operator&lt;           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classitk_1_1AutoPointer.html">AutoPointer</a>&lt; TObjectType &gt; &amp;&nbsp;</td>
          <td class="paramname"> <em>r</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Comparison of pointers. Less than comparison. 
<p>Definition at line <a class="el" href="itkAutoPointer_8h_source.html#l00164">164</a> of file <a class="el" href="itkAutoPointer_8h_source.html">itkAutoPointer.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="67bca2ea949f579a1127a4edd258b086"></a><!-- doxytag: member="itk::AutoPointer::operator&lt;=" ref="67bca2ea949f579a1127a4edd258b086" args="(const AutoPointer &amp;r) const " -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class TObjectType &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="classitk_1_1AutoPointer.html">itk::AutoPointer</a>&lt; TObjectType &gt;::operator&lt;=           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classitk_1_1AutoPointer.html">AutoPointer</a>&lt; TObjectType &gt; &amp;&nbsp;</td>
          <td class="paramname"> <em>r</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Comparison of pointers. Less than or equal to comparison. 
<p>Definition at line <a class="el" href="itkAutoPointer_8h_source.html#l00172">172</a> of file <a class="el" href="itkAutoPointer_8h_source.html">itkAutoPointer.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="8e6af1a0ce95fe8a41f9bd7913f63ee1"></a><!-- doxytag: member="itk::AutoPointer::operator=" ref="8e6af1a0ce95fe8a41f9bd7913f63ee1" args="(AutoPointer &amp;r) const " -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class TObjectType &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classitk_1_1AutoPointer.html">AutoPointer</a>&amp; <a class="el" href="classitk_1_1AutoPointer.html">itk::AutoPointer</a>&lt; TObjectType &gt;::operator=           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classitk_1_1AutoPointer.html">AutoPointer</a>&lt; TObjectType &gt; &amp;&nbsp;</td>
          <td class="paramname"> <em>r</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Overload operator assignment. 
<p>Definition at line <a class="el" href="itkAutoPointer_8h_source.html#l00180">180</a> of file <a class="el" href="itkAutoPointer_8h_source.html">itkAutoPointer.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="00399f0a57488d4750f4d77c1b98f590"></a><!-- doxytag: member="itk::AutoPointer::operator==" ref="00399f0a57488d4750f4d77c1b98f590" args="(const AutoPointer &amp;r) const " -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class TObjectType &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="classitk_1_1AutoPointer.html">itk::AutoPointer</a>&lt; TObjectType &gt;::operator==           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classitk_1_1AutoPointer.html">AutoPointer</a>&lt; TObjectType &gt; &amp;&nbsp;</td>
          <td class="paramname"> <em>r</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Comparison of pointers. Equal comparison. 
<p>Definition at line <a class="el" href="itkAutoPointer_8h_source.html#l00156">156</a> of file <a class="el" href="itkAutoPointer_8h_source.html">itkAutoPointer.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="e4dfa33506cbbe1032352448173acf65"></a><!-- doxytag: member="itk::AutoPointer::operator&gt;" ref="e4dfa33506cbbe1032352448173acf65" args="(const AutoPointer &amp;r) const " -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class TObjectType &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="classitk_1_1AutoPointer.html">itk::AutoPointer</a>&lt; TObjectType &gt;::operator&gt;           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classitk_1_1AutoPointer.html">AutoPointer</a>&lt; TObjectType &gt; &amp;&nbsp;</td>
          <td class="paramname"> <em>r</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Comparison of pointers. Greater than comparison. 
<p>Definition at line <a class="el" href="itkAutoPointer_8h_source.html#l00168">168</a> of file <a class="el" href="itkAutoPointer_8h_source.html">itkAutoPointer.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="77c32e53f6d41ad4c9ae77347d3dafab"></a><!-- doxytag: member="itk::AutoPointer::operator&gt;=" ref="77c32e53f6d41ad4c9ae77347d3dafab" args="(const AutoPointer &amp;r) const " -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class TObjectType &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="classitk_1_1AutoPointer.html">itk::AutoPointer</a>&lt; TObjectType &gt;::operator&gt;=           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classitk_1_1AutoPointer.html">AutoPointer</a>&lt; TObjectType &gt; &amp;&nbsp;</td>
          <td class="paramname"> <em>r</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Comparison of pointers. Greater than or equal to comparison. 
<p>Definition at line <a class="el" href="itkAutoPointer_8h_source.html#l00176">176</a> of file <a class="el" href="itkAutoPointer_8h_source.html">itkAutoPointer.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="0742cf2423b8bb7695ed369c42686ef7"></a><!-- doxytag: member="itk::AutoPointer::Print" ref="0742cf2423b8bb7695ed369c42686ef7" args="(std::ostream &amp;os) const " -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class TObjectType &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classitk_1_1AutoPointer.html#d16b94ab30a7837f2715d458fe002c7e">ObjectType</a>* <a class="el" href="classitk_1_1AutoPointer.html">itk::AutoPointer</a>&lt; TObjectType &gt;::Print           </td>
          <td>(</td>
          <td class="paramtype">std::ostream &amp;&nbsp;</td>
          <td class="paramname"> <em>os</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
<a class="el" href="namespaceitk_1_1Function.html">Function</a> to print object pointed to. 
<p>Definition at line <a class="el" href="itkAutoPointer_8h_source.html#l00193">193</a> of file <a class="el" href="itkAutoPointer_8h_source.html">itkAutoPointer.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="3e7b3baf5a2d25b0fcc43df37ea8ef65"></a><!-- doxytag: member="itk::AutoPointer::ReleaseOwnership" ref="3e7b3baf5a2d25b0fcc43df37ea8ef65" args="(void)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class TObjectType &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classitk_1_1AutoPointer.html#d16b94ab30a7837f2715d458fe002c7e">ObjectType</a>* <a class="el" href="classitk_1_1AutoPointer.html">itk::AutoPointer</a>&lt; TObjectType &gt;::ReleaseOwnership           </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Release the pointer hold by the current <a class="el" href="classitk_1_1AutoPointer.html" title="Implements an Automatic Pointer to an object.">AutoPointer</a> and return the raw pointer so it can be hold by another <a class="el" href="classitk_1_1AutoPointer.html" title="Implements an Automatic Pointer to an object.">AutoPointer</a>. This operation is intended to be used for facilitating polymorphism.<p>
Example: if class Cow derives from Mammal, AutoPointer&lt;Cow&gt; onecow = new Cow; AutoPointer&lt;Mammal&gt; onemammal = onecow.ReleaseOwnership();<p>
Note that the <a class="el" href="classitk_1_1AutoPointer.html" title="Implements an Automatic Pointer to an object.">AutoPointer</a> still points to the object after the ReleaseOwnership operation, but it doesn't own the object any more. 
<p>Definition at line <a class="el" href="itkAutoPointer_8h_source.html#l00144">144</a> of file <a class="el" href="itkAutoPointer_8h_source.html">itkAutoPointer.h</a>.</p>

<p>Referenced by <a class="el" href="itkAutoPointer_8h_source.html#l00057">itk::AutoPointer&lt; TObjectType &gt;::AutoPointer()</a>.</p>

</div>
</div><p>
<a class="anchor" name="05ddd48a7d31aba5271528ae9d3bcb6e"></a><!-- doxytag: member="itk::AutoPointer::Reset" ref="05ddd48a7d31aba5271528ae9d3bcb6e" args="(void)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class TObjectType &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classitk_1_1AutoPointer.html">itk::AutoPointer</a>&lt; TObjectType &gt;::Reset           </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Clear the <a class="el" href="classitk_1_1AutoPointer.html" title="Implements an Automatic Pointer to an object.">AutoPointer</a>. If it had a pointer the object is deleted and the pointer is set to null. 
<p>Definition at line <a class="el" href="itkAutoPointer_8h_source.html#l00088">88</a> of file <a class="el" href="itkAutoPointer_8h_source.html">itkAutoPointer.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="fb06aed96953def4853779bbf0b81581"></a><!-- doxytag: member="itk::AutoPointer::TakeNoOwnership" ref="fb06aed96953def4853779bbf0b81581" args="(ObjectType *objectptr)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class TObjectType &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classitk_1_1AutoPointer.html">itk::AutoPointer</a>&lt; TObjectType &gt;::TakeNoOwnership           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classitk_1_1AutoPointer.html#d16b94ab30a7837f2715d458fe002c7e">ObjectType</a> *&nbsp;</td>
          <td class="paramname"> <em>objectptr</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Explicitly reject ownership 
<p>Definition at line <a class="el" href="itkAutoPointer_8h_source.html#l00117">117</a> of file <a class="el" href="itkAutoPointer_8h_source.html">itkAutoPointer.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="8f82e418cb71250dd9a0c585e08fe91f"></a><!-- doxytag: member="itk::AutoPointer::TakeOwnership" ref="8f82e418cb71250dd9a0c585e08fe91f" args="(ObjectType *objectptr)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class TObjectType &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classitk_1_1AutoPointer.html">itk::AutoPointer</a>&lt; TObjectType &gt;::TakeOwnership           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classitk_1_1AutoPointer.html#d16b94ab30a7837f2715d458fe002c7e">ObjectType</a> *&nbsp;</td>
          <td class="paramname"> <em>objectptr</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Explicitly set the ownership 
<p>Definition at line <a class="el" href="itkAutoPointer_8h_source.html#l00105">105</a> of file <a class="el" href="itkAutoPointer_8h_source.html">itkAutoPointer.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="3ee9a56b89657a080d02df2463e6fabe"></a><!-- doxytag: member="itk::AutoPointer::TakeOwnership" ref="3ee9a56b89657a080d02df2463e6fabe" args="(void)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class TObjectType &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classitk_1_1AutoPointer.html">itk::AutoPointer</a>&lt; TObjectType &gt;::TakeOwnership           </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Explicitly set the ownership 
<p>Definition at line <a class="el" href="itkAutoPointer_8h_source.html#l00101">101</a> of file <a class="el" href="itkAutoPointer_8h_source.html">itkAutoPointer.h</a>.</p>

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