Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > 60f1dc962abad0f3b492991a4fbef9be > files > 1139

vtk-doc-5.4.2-5mdv2010.0.noarch.rpm

<!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: vtkOStrStreamWrapper Class 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&nbsp;Page</span></a></li>
      <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="classes.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="classes.html"><span>Alphabetical&nbsp;List</span></a></li>
      <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
      <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
    </ul>
  </div>
</div>
<div class="contents">
<h1>vtkOStrStreamWrapper Class Reference</h1><!-- doxytag: class="vtkOStrStreamWrapper" --><!-- doxytag: inherits="vtkOStreamWrapper" --><code>#include &lt;<a class="el" href="a03882.html">vtkOStrStreamWrapper.h</a>&gt;</code>
<p>
<div class="dynheader">
Inheritance diagram for vtkOStrStreamWrapper:</div>
<div class="dynsection">
<p><center><img src="a12616.png" border="0" usemap="#a12617" alt="Inheritance graph"></center>
<map name="a12617">
<area shape="rect" href="a01134.html" title="Wrapper for C++ ostream. Internal VTK use only." alt="" coords="15,5,161,32"></map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div>
<div class="dynheader">
Collaboration diagram for vtkOStrStreamWrapper:</div>
<div class="dynsection">
<p><center><img src="a12618.png" border="0" usemap="#a12619" alt="Collaboration graph"></center>
<map name="a12619">
<area shape="rect" href="a01134.html" title="Wrapper for C++ ostream. Internal VTK use only." alt="" coords="15,5,161,32"></map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div>

<p>
<a href="a12620.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2>
Wrapper for ostrstream. Internal VTK use only. 
<p>
Provides a wrapper around the C++ ostrstream class so that VTK source files need not include the full C++ streams library. This is intended to prevent cluttering of the translation unit and speed up compilation. Experimentation has revealed between 10% and 60% less time for compilation depending on the platform. This wrapper is used by the macros in vtkSetGet.h. 
<p>Definition at line <a class="el" href="a03882.html#l00033">33</a> of file <a class="el" href="a03882.html">vtkOStrStreamWrapper.h</a>.</p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td></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="a01136.html#d0eab50da99e49e14ff1dc6a94137bf6">vtkOStrStreamWrapper</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01136.html#f8b8bff8912afe9edaef2248d7336127">~vtkOStrStreamWrapper</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">char *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01136.html#ed1a284daa79fecfdbcb8d9567805a84">str</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="a01136.html">vtkOStrStreamWrapper</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01136.html#07dd4f3b8df52ed5bc55da42e1c7c1c7">rdbuf</a> ()</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="a01136.html#4fd5d3a09ab00fd40f19074efb8e2be8">freeze</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01136.html#301ce3bbf383798f4c6b8a19311e54be">freeze</a> (int)</td></tr>

<tr><td colspan="2"><br><h2>Protected Attributes</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">char *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01136.html#cda7688aa5bf00a1ac5abdbce32c8b2e">Result</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01136.html#a2786b2cef5c4c5b9d9594149baba92b">Frozen</a></td></tr>

</table>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="d0eab50da99e49e14ff1dc6a94137bf6"></a><!-- doxytag: member="vtkOStrStreamWrapper::vtkOStrStreamWrapper" ref="d0eab50da99e49e14ff1dc6a94137bf6" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">vtkOStrStreamWrapper::vtkOStrStreamWrapper           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Constructor. 
</div>
</div><p>
<a class="anchor" name="f8b8bff8912afe9edaef2248d7336127"></a><!-- doxytag: member="vtkOStrStreamWrapper::~vtkOStrStreamWrapper" ref="f8b8bff8912afe9edaef2248d7336127" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">vtkOStrStreamWrapper::~vtkOStrStreamWrapper           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Destructor frees all used memory. 
</div>
</div><p>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="ed1a284daa79fecfdbcb8d9567805a84"></a><!-- doxytag: member="vtkOStrStreamWrapper::str" ref="ed1a284daa79fecfdbcb8d9567805a84" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">char* vtkOStrStreamWrapper::str           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Get the string that has been written. This call transfers ownership of the returned memory to the caller. Call <a class="el" href="a01136.html#07dd4f3b8df52ed5bc55da42e1c7c1c7">rdbuf()</a>-&gt;freeze(0) to return ownership to the <a class="el" href="a01136.html" title="Wrapper for ostrstream. Internal VTK use only.">vtkOStrStreamWrapper</a>. 
</div>
</div><p>
<a class="anchor" name="07dd4f3b8df52ed5bc55da42e1c7c1c7"></a><!-- doxytag: member="vtkOStrStreamWrapper::rdbuf" ref="07dd4f3b8df52ed5bc55da42e1c7c1c7" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="a01136.html">vtkOStrStreamWrapper</a>* vtkOStrStreamWrapper::rdbuf           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Returns a pointer to this class. This is a hack so that the old ostrstream's s.rdbuf()-&gt;freeze(0) can work. 
</div>
</div><p>
<a class="anchor" name="4fd5d3a09ab00fd40f19074efb8e2be8"></a><!-- doxytag: member="vtkOStrStreamWrapper::freeze" ref="4fd5d3a09ab00fd40f19074efb8e2be8" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void vtkOStrStreamWrapper::freeze           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Set whether the memory is frozen. The <a class="el" href="a01136.html" title="Wrapper for ostrstream. Internal VTK use only.">vtkOStrStreamWrapper</a> will free the memory returned by <a class="el" href="a01136.html#ed1a284daa79fecfdbcb8d9567805a84">str()</a> only if it is not frozen. 
</div>
</div><p>
<a class="anchor" name="301ce3bbf383798f4c6b8a19311e54be"></a><!-- doxytag: member="vtkOStrStreamWrapper::freeze" ref="301ce3bbf383798f4c6b8a19311e54be" args="(int)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void vtkOStrStreamWrapper::freeze           </td>
          <td>(</td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Set whether the memory is frozen. The <a class="el" href="a01136.html" title="Wrapper for ostrstream. Internal VTK use only.">vtkOStrStreamWrapper</a> will free the memory returned by <a class="el" href="a01136.html#ed1a284daa79fecfdbcb8d9567805a84">str()</a> only if it is not frozen. 
</div>
</div><p>
<hr><h2>Member Data Documentation</h2>
<a class="anchor" name="cda7688aa5bf00a1ac5abdbce32c8b2e"></a><!-- doxytag: member="vtkOStrStreamWrapper::Result" ref="cda7688aa5bf00a1ac5abdbce32c8b2e" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">char* <a class="el" href="a01136.html#cda7688aa5bf00a1ac5abdbce32c8b2e">vtkOStrStreamWrapper::Result</a><code> [protected]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definition at line <a class="el" href="a03882.html#l00059">59</a> of file <a class="el" href="a03882.html">vtkOStrStreamWrapper.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="a2786b2cef5c4c5b9d9594149baba92b"></a><!-- doxytag: member="vtkOStrStreamWrapper::Frozen" ref="a2786b2cef5c4c5b9d9594149baba92b" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int <a class="el" href="a01136.html#a2786b2cef5c4c5b9d9594149baba92b">vtkOStrStreamWrapper::Frozen</a><code> [protected]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definition at line <a class="el" href="a03882.html#l00062">62</a> of file <a class="el" href="a03882.html">vtkOStrStreamWrapper.h</a>.</p>

</div>
</div><p>
<hr>The documentation for this class was generated from the following file:<ul>
<li>dox/Common/<a class="el" href="a03882.html">vtkOStrStreamWrapper.h</a></ul>
</div>
<hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 3 19:21:42 2009 for VTK by&nbsp;
<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>