<!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>Eigen::WithFormat Class 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> > <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.5 --> <script type="text/javascript"> var searchBox = new SearchBox("searchBox", "search",false,'Search'); </script> <div id="navrow1" class="tabs"> <ul class="tablist"> <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="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> <div id="MSearchBox" class="MSearchBoxInactive"> <div 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> </div><div class="right"></div> </div> </li> </ul> </div> <div id="navrow2" class="tabs2"> <ul class="tablist"> <li><a href="annotated.html"><span>Class List</span></a></li> <li><a href="classes.html"><span>Class Index</span></a></li> <li><a href="inherits.html"><span>Class Hierarchy</span></a></li> <li><a href="functions.html"><span>Class Members</span></a></li> </ul> </div> <div id="nav-path" class="navpath"> <ul> <li class="navelem"><a class="el" href="namespace_eigen.html">Eigen</a> </li> <li class="navelem"><a class="el" href="class_eigen_1_1_with_format.html">WithFormat</a> </li> </ul> </div> </div> <div class="header"> <div class="summary"> <a href="#pub-methods">Public Member Functions</a> | <a href="#pro-attribs">Protected Attributes</a> | <a href="#friends">Friends</a> </div> <div class="headertitle"> <div class="title">Eigen::WithFormat Class Reference<div class="ingroups"><a class="el" href="group___core___module.html">Core module</a></div></div> </div> </div> <div class="contents"> <!-- doxytag: class="Eigen::WithFormat" --><hr/><a name="details" id="details"></a><h2>Detailed Description</h2> <div class="textblock"><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_eigen_1_1_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_eigen_1_1_dense_base.html#a1e7b19ba871048be5f34d4e6c34a10e8">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_eigen_1_1_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_eigen_1_1_dense_base.html#a1e7b19ba871048be5f34d4e6c34a10e8">DenseBase::format()</a>, class <a class="el" href="struct_eigen_1_1_i_o_format.html" title="Stores a set of parameters controlling the way matrices are printed.">IOFormat</a> </dd></dl> </div> <p><a href="class_eigen_1_1_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"> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_eigen_1_1_with_format.html#a7cd3e978b7d539a6dacf8228747365f8">WithFormat</a> (const ExpressionType &matrix, const <a class="el" href="struct_eigen_1_1_i_o_format.html">IOFormat</a> &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 </td><td class="memItemRight" valign="bottom"><a class="el" href="class_eigen_1_1_with_format.html#aa2c6d6a85c705eb08100bd04bbd0bd05">m_matrix</a></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_eigen_1_1_i_o_format.html">IOFormat</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_eigen_1_1_with_format.html#aa9d53febfe832b5ebb8528456fd87746">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"><a class="el" href="classstd_1_1ostream.html">std::ostream</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="class_eigen_1_1_with_format.html#a817e230f591824ed812374d2da12f57b">operator<<</a> (<a class="el" href="classstd_1_1ostream.html">std::ostream</a> &s, const <a class="el" href="class_eigen_1_1_with_format.html">WithFormat</a> &wf)</td></tr> </table> <hr/><h2>Constructor & Destructor Documentation</h2> <a class="anchor" id="a7cd3e978b7d539a6dacf8228747365f8"></a><!-- doxytag: member="Eigen::WithFormat::WithFormat" ref="a7cd3e978b7d539a6dacf8228747365f8" args="(const ExpressionType &matrix, const IOFormat &format)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">Eigen::WithFormat::WithFormat </td> <td>(</td> <td class="paramtype">const ExpressionType & </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_eigen_1_1_i_o_format.html">IOFormat</a> & </td> <td class="paramname"><em>format</em> </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="_core_source.html#l00109">109</a> of file <a class="el" href="_core_source.html">Core</a>.</p> </div> </div> <hr/><h2>Friends And Related Function Documentation</h2> <a class="anchor" id="a817e230f591824ed812374d2da12f57b"></a><!-- doxytag: member="Eigen::WithFormat::operator<<" ref="a817e230f591824ed812374d2da12f57b" args="(std::ostream &s, const WithFormat &wf)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classstd_1_1ostream.html">std::ostream</a>& operator<< </td> <td>(</td> <td class="paramtype"><a class="el" href="classstd_1_1ostream.html">std::ostream</a> & </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_eigen_1_1_with_format.html">WithFormat</a> & </td> <td class="paramname"><em>wf</em> </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="_core_source.html#l00113">113</a> of file <a class="el" href="_core_source.html">Core</a>.</p> </div> </div> <hr/><h2>Member Data Documentation</h2> <a class="anchor" id="aa9d53febfe832b5ebb8528456fd87746"></a><!-- doxytag: member="Eigen::WithFormat::m_format" ref="aa9d53febfe832b5ebb8528456fd87746" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="struct_eigen_1_1_i_o_format.html">IOFormat</a> <a class="el" href="class_eigen_1_1_with_format.html#aa9d53febfe832b5ebb8528456fd87746">Eigen::WithFormat::m_format</a><code> [protected]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Definition at line <a class="el" href="_core_source.html#l00120">120</a> of file <a class="el" href="_core_source.html">Core</a>.</p> </div> </div> <a class="anchor" id="aa2c6d6a85c705eb08100bd04bbd0bd05"></a><!-- doxytag: member="Eigen::WithFormat::m_matrix" ref="aa2c6d6a85c705eb08100bd04bbd0bd05" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const ExpressionType::Nested <a class="el" href="class_eigen_1_1_with_format.html#aa2c6d6a85c705eb08100bd04bbd0bd05">Eigen::WithFormat::m_matrix</a><code> [protected]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Definition at line <a class="el" href="_core_source.html#l00119">119</a> of file <a class="el" href="_core_source.html">Core</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.5</a> for MRPT 0.9.5 SVN: at Sun Sep 25 17:20:18 UTC 2011</td><td></td> <td width="100"> </td> <td width="150"> </td></tr> </table> </body></html>