<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"> <title>VTK: dox/Common/vtkWeakPointerBase.h File Reference</title> <link href="doxygen.css" rel="stylesheet" type="text/css"> <link href="tabs.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.5.6 --> <div class="navigation" id="top"> <div class="tabs"> <ul> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="pages.html"><span>Related Pages</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> </ul> </div> </div> <div class="contents"> <h1>dox/Common/vtkWeakPointerBase.h File Reference</h1> <p> <code>#include "<a class="el" href="a03875.html">vtkObject.h</a>"</code><br> <p> <div class="dynheader"> Include dependency graph for vtkWeakPointerBase.h:</div> <div class="dynsection"> <p><center><img src="a05817.png" border="0" usemap="#dox/Common/vtkWeakPointerBase.h_map" alt=""></center> <map name="dox/Common/vtkWeakPointerBase.h_map"> <area shape="rect" href="a02079.html" title="vtkObject.h" alt="" coords="619,80,709,107"><area shape="rect" href="a02080.html" title="vtkObjectBase.h" alt="" coords="471,155,593,181"><area shape="rect" href="a02146.html" title="vtkTimeStamp.h" alt="" coords="669,229,789,256"><area shape="rect" href="a02038.html" title="vtkIndent.h" alt="" coords="487,229,577,256"><area shape="rect" href="a02139.html" title="vtkSystemIncludes.h" alt="" coords="541,304,688,331"><area shape="rect" href="a02170.html" title="vtkWin32Header.h" alt="" coords="5,453,141,480"><area shape="rect" href="a02064.html" title="vtkIOStream.h" alt="" coords="257,379,367,405"><area shape="rect" href="a02149.html" title="vtkType.h" alt="" coords="645,453,728,480"><area shape="rect" href="a02085.html" title="vtkOStreamWrapper.h" alt="" coords="441,379,599,405"><area shape="rect" href="a02086.html" title="vtkOStrStreamWrapper.h" alt="" coords="623,379,799,405"></map> </div> <p> <div class="dynheader"> This graph shows which files directly or indirectly include this file:</div> <div class="dynsection"> <p><center><img src="a05818.png" border="0" usemap="#dox/Common/vtkWeakPointerBase.hdep_map" alt=""></center> <map name="dox/Common/vtkWeakPointerBase.hdep_map"> <area shape="rect" href="a02168.html" title="dox/Common/vtkWeakPointer.h" alt="" coords="4293,80,4507,107"><area shape="rect" href="a03507.html" title="dox/Rendering/vtkPainter.h" alt="" coords="3456,155,3643,182"><area shape="rect" href="a03399.html" title="dox/Rendering/vtkFrameBufferObject.h" alt="" coords="3667,155,3925,182"><area shape="rect" href="a03488.html" title="dox/Rendering/vtkOpenGLExtensionManager.h" alt="" coords="3949,155,4256,182"><area shape="rect" href="a03504.html" title="dox/Rendering/vtkOpenGLTexture.h" alt="" coords="4280,155,4520,182"><area shape="rect" href="a03512.html" title="dox/Rendering/vtkPixelBufferObject.h" alt="" coords="4544,155,4792,182"><area shape="rect" href="a03552.html" title="dox/Rendering/vtkShaderProgram2.h" alt="" coords="4816,155,5064,182"><area shape="rect" href="a03563.html" title="dox/Rendering/vtkTextureObject.h" alt="" coords="5088,155,5315,182"><area shape="rect" href="a03518.html" title="dox/Rendering/vtkPolyDataPainter.h" alt="" coords="1409,230,1652,256"><area shape="rect" href="a03379.html" title="dox/Rendering/vtkClipPlanesPainter.h" alt="" coords="3017,230,3268,256"><area shape="rect" href="a03386.html" title="dox/Rendering/vtkCompositePainter.h" alt="" coords="3292,230,3543,256"><area shape="rect" href="a03392.html" title="dox/Rendering/vtkDefaultPainter.h" alt="" coords="3567,230,3796,256"><area shape="rect" href="a03395.html" title="dox/Rendering/vtkDisplayListPainter.h" alt="" coords="3820,230,4071,256"><area shape="rect" href="a03542.html" title="dox/Rendering/vtkScalarsToColorsPainter.h" alt="" coords="4213,230,4501,256"><area shape="rect" href="a03378.html" title="dox/Rendering/vtkChooserPainter.h" alt="" coords="233,304,471,331"><area shape="rect" href="a03385.html" title="dox/Rendering/vtkCoincidentTopologyResolutionPainter.h" alt="" coords="495,304,865,331"><area shape="rect" href="a03555.html" title="dox/Rendering/vtkStandardPolyDataPainter.h" alt="" coords="924,304,1223,331"><area shape="rect" href="a03415.html" title="dox/Rendering/vtkIdentColoredPainter.h" alt="" coords="1261,304,1525,331"><area shape="rect" href="a03452.html" title="dox/Rendering/vtkLightingPainter.h" alt="" coords="1549,304,1784,331"><area shape="rect" href="a03521.html" title="dox/Rendering/vtkPrimitivePainter.h" alt="" coords="2096,304,2336,331"><area shape="rect" href="a03540.html" title="dox/Rendering/vtkRepresentationPainter.h" alt="" coords="2624,304,2901,331"><area shape="rect" href="a03463.html" title="dox/Rendering/vtkMesaCoincidentTopologyResolutionPainter.h" alt="" coords="5,379,411,406"><area shape="rect" href="a03486.html" title="dox/Rendering/vtkOpenGLCoincidentTopologyResolutionPainter.h" alt="" coords="435,379,856,406"><area shape="rect" href="a03412.html" title="dox/Rendering/vtkHardwareSelectionPolyDataPainter.h" alt="" coords="880,379,1237,406"><area shape="rect" href="a03469.html" title="dox/Rendering/vtkMesaLightingPainter.h" alt="" coords="1261,379,1528,406"><area shape="rect" href="a03494.html" title="dox/Rendering/vtkOpenGLLightingPainter.h" alt="" coords="1552,379,1837,406"><area shape="rect" href="a03455.html" title="dox/Rendering/vtkLinesPainter.h" alt="" coords="1861,379,2080,406"><area shape="rect" href="a03515.html" title="dox/Rendering/vtkPointsPainter.h" alt="" coords="2104,379,2328,406"><area shape="rect" href="a03519.html" title="dox/Rendering/vtkPolygonsPainter.h" alt="" coords="2352,379,2595,406"><area shape="rect" href="a03569.html" title="dox/Rendering/vtkTStripsPainter.h" alt="" coords="2619,379,2848,406"><area shape="rect" href="a03476.html" title="dox/Rendering/vtkMesaRepresentationPainter.h" alt="" coords="2872,379,3184,406"><area shape="rect" href="a03501.html" title="dox/Rendering/vtkOpenGLRepresentationPainter.h" alt="" coords="3208,379,3539,406"><area shape="rect" href="a03462.html" title="dox/Rendering/vtkMesaClipPlanesPainter.h" alt="" coords="2925,304,3211,331"><area shape="rect" href="a03485.html" title="dox/Rendering/vtkOpenGLClipPlanesPainter.h" alt="" coords="3235,304,3536,331"><area shape="rect" href="a03464.html" title="dox/Rendering/vtkMesaDisplayListPainter.h" alt="" coords="3560,304,3845,331"><area shape="rect" href="a03487.html" title="dox/Rendering/vtkOpenGLDisplayListPainter.h" alt="" coords="3869,304,4173,331"><area shape="rect" href="a03477.html" title="dox/Rendering/vtkMesaScalarsToColorsPainter.h" alt="" coords="4197,304,4517,331"><area shape="rect" href="a03502.html" title="dox/Rendering/vtkOpenGLScalarsToColorsPainter.h" alt="" coords="4541,304,4880,331"></map> </div> <p> <a href="a03965.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>Classes</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="a01870.html">vtkWeakPointerBase</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Non-templated superclass for <a class="el" href="a01869.html" title="a weak reference to a vtkObject.">vtkWeakPointer</a>. <a href="a01870.html#_details">More...</a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="a01871.html">vtkWeakPointerBase::NoReference</a></td></tr> <tr><td colspan="2"><br><h2>Defines</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="a02169.html#e9d6b847d633956da4517fd554a52e1a">VTK_WEAK_POINTER_BASE_DEFINE_OPERATOR</a>(op)</td></tr> <tr><td colspan="2"><br><h2>Functions</h2></td></tr> <tr><td colspan="2"><div class="groupHeader"></div></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">VTK_COMMON_EXPORT ostream & </td><td class="memItemRight" valign="bottom"><a class="el" href="a02169.html#00e314cd1a46733820391c0201c09e12">operator<<</a> (ostream &os, const <a class="el" href="a01870.html">vtkWeakPointerBase</a> &p)</td></tr> </table> <hr><h2>Define Documentation</h2> <a class="anchor" name="e9d6b847d633956da4517fd554a52e1a"></a><!-- doxytag: member="vtkWeakPointerBase.h::VTK_WEAK_POINTER_BASE_DEFINE_OPERATOR" ref="e9d6b847d633956da4517fd554a52e1a" args="(op)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">#define VTK_WEAK_POINTER_BASE_DEFINE_OPERATOR </td> <td>(</td> <td class="paramtype">op </td> <td class="paramname"> </td> <td> ) </td> <td></td> </tr> </table> </div> <div class="memdoc"> <p> <b>Value:</b><div class="fragment"><pre class="fragment"><span class="keyword">inline</span> vtkstd_bool \ operator op (<span class="keyword">const</span> <a class="code" href="a01870.html" title="Non-templated superclass for vtkWeakPointer.">vtkWeakPointerBase</a>& l, <span class="keyword">const</span> <a class="code" href="a01870.html" title="Non-templated superclass for vtkWeakPointer.">vtkWeakPointerBase</a>& r) \ { \ <span class="keywordflow">return</span> (static_cast<void*>(l.GetPointer()) op \ static_cast<void*>(r.GetPointer())); \ } \ <span class="keyword">inline</span> vtkstd_bool \ operator op (<a class="code" href="a01084.html" title="abstract base class for most VTK objects">vtkObject</a>* l, <span class="keyword">const</span> <a class="code" href="a01870.html" title="Non-templated superclass for vtkWeakPointer.">vtkWeakPointerBase</a>& r) \ { \ <span class="keywordflow">return</span> (static_cast<void*>(l) op static_cast<void*>(r.GetPointer())); \ } \ <span class="keyword">inline</span> vtkstd_bool \ operator op (<span class="keyword">const</span> <a class="code" href="a01870.html" title="Non-templated superclass for vtkWeakPointer.">vtkWeakPointerBase</a>& l, <a class="code" href="a01084.html" title="abstract base class for most VTK objects">vtkObject</a>* r) \ { \ <span class="keywordflow">return</span> (static_cast<void*>(l.GetPointer()) op static_cast<void*>(r)); \ } </pre></div> <p>Definition at line <a class="el" href="a03965.html#l00087">87</a> of file <a class="el" href="a03965.html">vtkWeakPointerBase.h</a>.</p> </div> </div><p> <hr><h2>Function Documentation</h2> <a class="anchor" name="00e314cd1a46733820391c0201c09e12"></a><!-- doxytag: member="vtkWeakPointerBase.h::operator<<" ref="00e314cd1a46733820391c0201c09e12" args="(ostream &os, const vtkWeakPointerBase &p)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">VTK_COMMON_EXPORT ostream& operator<< </td> <td>(</td> <td class="paramtype">ostream & </td> <td class="paramname"> <em>os</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="el" href="a01870.html">vtkWeakPointerBase</a> & </td> <td class="paramname"> <em>p</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td></td> </tr> </table> </div> <div class="memdoc"> <p> Compare smart pointer values.<p> Streaming operator to print smart pointer like regular pointers. </div> </div><p> </div> <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 3 18:38:03 2009 for VTK by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> </body> </html>