Sophie

Sophie

distrib > Fedora > 15 > i386 > by-pkgid > 2f6559b7006594cad03af173263c219e > files > 3123

mrpt-doc-0.9.4-0.1.20110110svn2383.fc15.i686.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>The MRPT project: WithFormat&lt; ExpressionType &gt; Class Template Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<div align="left"><a href="http://www.mrpt.org/">Main MRPT website</a> &gt; <b>C++ reference</b> </div>
<div align="right">
<a href="index.html"><img border="0" src="mrpt_logo.png" alt="MRPT logo"></a>
</div>
<!-- Generated by Doxygen 1.7.2 -->
<script type="text/javascript"><!--
var searchBox = new SearchBox("searchBox", "search",false,'Search');
--></script>
<div class="navigation" id="top">
  <div class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li id="searchli">
        <div id="MSearchBox" class="MSearchBoxInactive">
          <span class="left">
            <form id="FSearchBox" action="search.php" method="get">
              <img id="MSearchSelect" src="search/mag.png" alt=""/>
              <input type="text" id="MSearchField" name="query" value="Search" size="20" accesskey="S" 
                     onfocus="searchBox.OnSearchFieldFocus(true)" 
                     onblur="searchBox.OnSearchFieldFocus(false)"/>
            </form>
          </span><span class="right"></span>
        </div>
      </li>
    </ul>
  </div>
  <div class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pro-attribs">Protected Attributes</a> &#124;
<a href="#friends">Friends</a>  </div>
  <div class="headertitle">
<h1>WithFormat&lt; ExpressionType &gt; Class Template Reference</h1>  </div>
</div>
<div class="contents">
<!-- doxytag: class="WithFormat" --><hr/><a name="_details"></a><h2>Detailed Description</h2>
<h3>template&lt;typename ExpressionType&gt;<br/>
 class WithFormat&lt; ExpressionType &gt;</h3>

<p>Pseudo expression providing matrix output with given format. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">ExpressionType</td><td>the type of the object on which IO stream operations are performed</td></tr>
  </table>
  </dd>
</dl>
<p>This class represents an expression with stream operators controlled by a given <a class="el" href="struct_i_o_format.html" title="Stores a set of parameters controlling the way matrices are printed.">IOFormat</a>. It is the return type of <a class="el" href="class_dense_base.html#a9efb7e102ce4f8d4263144167be497be">DenseBase::format()</a> and most of the time this is the only way it is used.</p>
<p>See class <a class="el" href="struct_i_o_format.html" title="Stores a set of parameters controlling the way matrices are printed.">IOFormat</a> for some examples.</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="class_dense_base.html#a9efb7e102ce4f8d4263144167be497be">DenseBase::format()</a>, class <a class="el" href="struct_i_o_format.html" title="Stores a set of parameters controlling the way matrices are printed.">IOFormat</a> </dd></dl>

<p>Definition at line <a class="el" href="_i_o_8h_source.html#l00104">104</a> of file <a class="el" href="_i_o_8h_source.html">IO.h</a>.</p>

<p><code>#include &lt;<a class="el" href="_i_o_8h_source.html">src/Core/IO.h</a>&gt;</code></p>

<p><a href="class_with_format-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_with_format.html#a74194b1b3b7699fdc7d84b36209475ab">WithFormat</a> (const ExpressionType &amp;matrix, const <a class="el" href="struct_i_o_format.html">IOFormat</a> &amp;format)</td></tr>
<tr><td colspan="2"><h2><a name="pro-attribs"></a>
Protected Attributes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const ExpressionType::Nested&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_with_format.html#a681553408e4d3a78f97c8f480154ece7">m_matrix</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_i_o_format.html">IOFormat</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_with_format.html#a89301669e116d1596e30ceff8b4a2beb">m_format</a></td></tr>
<tr><td colspan="2"><h2><a name="friends"></a>
Friends</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">std::ostream &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_with_format.html#a817e230f591824ed812374d2da12f57b">operator&lt;&lt;</a> (std::ostream &amp;s, const <a class="el" href="class_with_format.html">WithFormat</a> &amp;wf)</td></tr>
</table>
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a74194b1b3b7699fdc7d84b36209475ab"></a><!-- doxytag: member="WithFormat::WithFormat" ref="a74194b1b3b7699fdc7d84b36209475ab" args="(const ExpressionType &amp;matrix, const IOFormat &amp;format)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename ExpressionType&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_with_format.html">WithFormat</a>&lt; ExpressionType &gt;::<a class="el" href="class_with_format.html">WithFormat</a> </td>
          <td>(</td>
          <td class="paramtype">const ExpressionType &amp;&#160;</td>
          <td class="paramname"> <em>matrix</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="struct_i_o_format.html">IOFormat</a> &amp;&#160;</td>
          <td class="paramname"> <em>format</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_i_o_8h_source.html#l00108">108</a> of file <a class="el" href="_i_o_8h_source.html">IO.h</a>.</p>

</div>
</div>
<hr/><h2>Friends And Related Function Documentation</h2>
<a class="anchor" id="a817e230f591824ed812374d2da12f57b"></a><!-- doxytag: member="WithFormat::operator&lt;&lt;" ref="a817e230f591824ed812374d2da12f57b" args="(std::ostream &amp;s, const WithFormat &amp;wf)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename ExpressionType&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">std::ostream&amp; operator&lt;&lt; </td>
          <td>(</td>
          <td class="paramtype">std::ostream &amp;&#160;</td>
          <td class="paramname"> <em>s</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="class_with_format.html">WithFormat</a>&lt; ExpressionType &gt; &amp;&#160;</td>
          <td class="paramname"> <em>wf</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [friend]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_i_o_8h_source.html#l00112">112</a> of file <a class="el" href="_i_o_8h_source.html">IO.h</a>.</p>

</div>
</div>
<hr/><h2>Member Data Documentation</h2>
<a class="anchor" id="a89301669e116d1596e30ceff8b4a2beb"></a><!-- doxytag: member="WithFormat::m_format" ref="a89301669e116d1596e30ceff8b4a2beb" args="" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename ExpressionType&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="struct_i_o_format.html">IOFormat</a> <a class="el" href="class_with_format.html">WithFormat</a>&lt; ExpressionType &gt;::<a class="el" href="class_with_format.html#a89301669e116d1596e30ceff8b4a2beb">m_format</a><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_i_o_8h_source.html#l00119">119</a> of file <a class="el" href="_i_o_8h_source.html">IO.h</a>.</p>

</div>
</div>
<a class="anchor" id="a681553408e4d3a78f97c8f480154ece7"></a><!-- doxytag: member="WithFormat::m_matrix" ref="a681553408e4d3a78f97c8f480154ece7" args="" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename ExpressionType&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">const ExpressionType::Nested <a class="el" href="class_with_format.html">WithFormat</a>&lt; ExpressionType &gt;::<a class="el" href="class_with_format.html#a681553408e4d3a78f97c8f480154ece7">m_matrix</a><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_i_o_8h_source.html#l00118">118</a> of file <a class="el" href="_i_o_8h_source.html">IO.h</a>.</p>

</div>
</div>
</div>
<br><hr><br> <table border="0" width="100%"> <tr> <td> Page generated by <a href="http://www.doxygen.org" target="_blank">Doxygen 1.7.2</a> for MRPT 0.9.4 SVN: at Mon Jan 10 22:30:30 UTC 2011</td><td></td> <td width="100"> </td> <td width="150">  </td></tr> </table> </body></html>