Sophie

Sophie

distrib > Fedora > 16 > i386 > by-pkgid > 4bc66056a634db26a1f4d0845dc41ca6 > files > 3687

mrpt-doc-0.9.5-0.1.20110925svn2670.fc16.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>TCLAP::StdOutput 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> &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.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&#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>
        <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&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="inherits.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="namespace_t_c_l_a_p.html">TCLAP</a>      </li>
      <li class="navelem"><a class="el" href="class_t_c_l_a_p_1_1_std_output.html">StdOutput</a>      </li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pro-methods">Protected Member Functions</a> &#124;
<a href="#pro-attribs">Protected Attributes</a>  </div>
  <div class="headertitle">
<div class="title">TCLAP::StdOutput Class Reference</div>  </div>
</div>
<div class="contents">
<!-- doxytag: class="TCLAP::StdOutput" --><!-- doxytag: inherits="TCLAP::CmdLineOutput" --><hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>A class that isolates any output from the <a class="el" href="class_t_c_l_a_p_1_1_cmd_line.html" title="The base class that manages the command line definition and passes along the parsing to the appropria...">CmdLine</a> object so that it may be easily modified. </p>
</div>
<p><code>#include &lt;<a class="el" href="_std_output_8h_source.html">mrpt/otherlibs/tclap/StdOutput.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for TCLAP::StdOutput:</div>
<div class="dyncontent">
<div class="center"><img src="class_t_c_l_a_p_1_1_std_output__inherit__graph.png" border="0" usemap="#_t_c_l_a_p_1_1_std_output_inherit__map" alt="Inheritance graph"/></div>
<map name="_t_c_l_a_p_1_1_std_output_inherit__map" id="_t_c_l_a_p_1_1_std_output_inherit__map">
<area shape="rect" id="node2" href="class_t_c_l_a_p_1_1_cmd_line_output.html" title="The interface that any output object must implement." alt="" coords="5,5,168,32"/></map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>

<p><a href="class_t_c_l_a_p_1_1_std_output-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_t_c_l_a_p_1_1_std_output.html#af1822a0c164fbaf5fe63f57467d74aa8">StdOutput</a> (<a class="el" href="classstd_1_1ostream.html">std::ostream</a> &amp;desired_out=std::cout)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Prints the usage to stdout.  <a href="#af1822a0c164fbaf5fe63f57467d74aa8"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_c_l_a_p_1_1_std_output.html#aeb10eb400e0ee45f2cde689bef606b49">usage</a> (<a class="el" href="class_t_c_l_a_p_1_1_cmd_line_interface.html">CmdLineInterface</a> &amp;c)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Prints the usage to stdout.  <a href="#aeb10eb400e0ee45f2cde689bef606b49"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_c_l_a_p_1_1_std_output.html#a768111a59af4753ac6e5ace3ec99482e">version</a> (<a class="el" href="class_t_c_l_a_p_1_1_cmd_line_interface.html">CmdLineInterface</a> &amp;c)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Prints the version to stdout.  <a href="#a768111a59af4753ac6e5ace3ec99482e"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_c_l_a_p_1_1_std_output.html#a9afc267e012c3ac42c8b1afe01f98556">failure</a> (<a class="el" href="class_t_c_l_a_p_1_1_cmd_line_interface.html">CmdLineInterface</a> &amp;c, <a class="el" href="class_t_c_l_a_p_1_1_arg_exception.html">ArgException</a> &amp;e)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Prints (to stderr) an error message, short usage Can be overridden to produce alternative behavior.  <a href="#a9afc267e012c3ac42c8b1afe01f98556"></a><br/></td></tr>
<tr><td colspan="2"><h2><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_c_l_a_p_1_1_std_output.html#a60fa57587838d506d907f08800f2631c">_shortUsage</a> (<a class="el" href="class_t_c_l_a_p_1_1_cmd_line_interface.html">CmdLineInterface</a> &amp;c, <a class="el" href="classstd_1_1ostream.html">std::ostream</a> &amp;os) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Writes a brief usage message with short args.  <a href="#a60fa57587838d506d907f08800f2631c"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_c_l_a_p_1_1_std_output.html#ace725aebd685c16f464d697e85e0327d">_longUsage</a> (<a class="el" href="class_t_c_l_a_p_1_1_cmd_line_interface.html">CmdLineInterface</a> &amp;c, <a class="el" href="classstd_1_1ostream.html">std::ostream</a> &amp;os) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Writes a longer usage message with long and short args, provides descriptions and prints message.  <a href="#ace725aebd685c16f464d697e85e0327d"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_c_l_a_p_1_1_std_output.html#a38661be8895e07c442c2c3138b7444a2">spacePrint</a> (<a class="el" href="classstd_1_1ostream.html">std::ostream</a> &amp;os, const <a class="el" href="classstd_1_1string.html">std::string</a> &amp;s, int maxWidth, int indentSpaces, int secondLineOffset) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">This function inserts line breaks and indents long strings according the params input.  <a href="#a38661be8895e07c442c2c3138b7444a2"></a><br/></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"><a class="el" href="classstd_1_1ostream.html">std::ostream</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_c_l_a_p_1_1_std_output.html#ad8a91cd88fd51e4f69bb3c2b5c18b18f">m_my_output</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">By JLBC for MRPT.  <a href="#ad8a91cd88fd51e4f69bb3c2b5c18b18f"></a><br/></td></tr>
</table>
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="af1822a0c164fbaf5fe63f57467d74aa8"></a><!-- doxytag: member="TCLAP::StdOutput::StdOutput" ref="af1822a0c164fbaf5fe63f57467d74aa8" args="(std::ostream &amp;desired_out=std::cout)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">TCLAP::StdOutput::StdOutput </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classstd_1_1ostream.html">std::ostream</a> &amp;&#160;</td>
          <td class="paramname"><em>desired_out</em> = <code>std::cout</code></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Prints the usage to stdout. </p>
<p>Can be overridden to produce alternative behavior. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">c</td><td>- The <a class="el" href="class_t_c_l_a_p_1_1_cmd_line.html" title="The base class that manages the command line definition and passes along the parsing to the appropria...">CmdLine</a> object the output is generated for. </td></tr>
  </table>
  </dd>
</dl>

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

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="ace725aebd685c16f464d697e85e0327d"></a><!-- doxytag: member="TCLAP::StdOutput::_longUsage" ref="ace725aebd685c16f464d697e85e0327d" args="(CmdLineInterface &amp;c, std::ostream &amp;os) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void TCLAP::StdOutput::_longUsage </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_t_c_l_a_p_1_1_cmd_line_interface.html">CmdLineInterface</a> &amp;&#160;</td>
          <td class="paramname"><em>c</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classstd_1_1ostream.html">std::ostream</a> &amp;&#160;</td>
          <td class="paramname"><em>os</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const<code> [inline, protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Writes a longer usage message with long and short args, provides descriptions and prints message. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">c</td><td>- The <a class="el" href="class_t_c_l_a_p_1_1_cmd_line.html" title="The base class that manages the command line definition and passes along the parsing to the appropria...">CmdLine</a> object the output is generated for. </td></tr>
    <tr><td class="paramname">os</td><td>- The stream to write the message to. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="_std_output_8h_source.html#l00198">198</a> of file <a class="el" href="_std_output_8h_source.html">StdOutput.h</a>.</p>

<p>References <a class="el" href="class_t_c_l_a_p_1_1_cmd_line_interface.html#a4de8d988f5a6f3007c4dfb0fc9dad476">TCLAP::CmdLineInterface::getArgList()</a>, <a class="el" href="class_t_c_l_a_p_1_1_cmd_line_interface.html#a30175a2567f7ab78a2c6bbea9269a2fa">TCLAP::CmdLineInterface::getMessage()</a>, <a class="el" href="class_t_c_l_a_p_1_1_cmd_line_interface.html#a11ce9c77a1111960741f05e343849e4e">TCLAP::CmdLineInterface::getXorHandler()</a>, <a class="el" href="_xor_handler_8h_source.html#l00143">TCLAP::XorHandler::getXorList()</a>, <a class="el" href="eigen__plugins_8h_source.html#l00046">begin()</a>, <a class="el" href="_std_output_8h_source.html#l00236">spacePrint()</a>, <a class="el" href="eigen__plugins_8h_source.html#l00047">end()</a>, and <a class="el" href="_xor_handler_8h_source.html#l00131">TCLAP::XorHandler::contains()</a>.</p>

<p>Referenced by <a class="el" href="_std_output_8h_source.html#l00127">usage()</a>.</p>

</div>
</div>
<a class="anchor" id="a60fa57587838d506d907f08800f2631c"></a><!-- doxytag: member="TCLAP::StdOutput::_shortUsage" ref="a60fa57587838d506d907f08800f2631c" args="(CmdLineInterface &amp;c, std::ostream &amp;os) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void TCLAP::StdOutput::_shortUsage </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_t_c_l_a_p_1_1_cmd_line_interface.html">CmdLineInterface</a> &amp;&#160;</td>
          <td class="paramname"><em>c</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classstd_1_1ostream.html">std::ostream</a> &amp;&#160;</td>
          <td class="paramname"><em>os</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const<code> [inline, protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Writes a brief usage message with short args. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">c</td><td>- The <a class="el" href="class_t_c_l_a_p_1_1_cmd_line.html" title="The base class that manages the command line definition and passes along the parsing to the appropria...">CmdLine</a> object the output is generated for. </td></tr>
    <tr><td class="paramname">os</td><td>- The stream to write the message to. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="_std_output_8h_source.html#l00164">164</a> of file <a class="el" href="_std_output_8h_source.html">StdOutput.h</a>.</p>

<p>References <a class="el" href="class_t_c_l_a_p_1_1_cmd_line_interface.html#a4de8d988f5a6f3007c4dfb0fc9dad476">TCLAP::CmdLineInterface::getArgList()</a>, <a class="el" href="class_t_c_l_a_p_1_1_cmd_line_interface.html#a1a5672df72a6b5021cd70b37c4dbd0a7">TCLAP::CmdLineInterface::getProgramName()</a>, <a class="el" href="class_t_c_l_a_p_1_1_cmd_line_interface.html#a11ce9c77a1111960741f05e343849e4e">TCLAP::CmdLineInterface::getXorHandler()</a>, <a class="el" href="_xor_handler_8h_source.html#l00143">TCLAP::XorHandler::getXorList()</a>, <a class="el" href="eigen__plugins_8h_source.html#l00046">begin()</a>, <a class="el" href="_xor_handler_8h_source.html#l00131">TCLAP::XorHandler::contains()</a>, <a class="el" href="_std_output_8h_source.html#l00236">spacePrint()</a>, and <a class="el" href="_std_output_8h_source.html#l00045">m_my_output</a>.</p>

<p>Referenced by <a class="el" href="_std_output_8h_source.html#l00127">usage()</a>, and <a class="el" href="_std_output_8h_source.html#l00141">failure()</a>.</p>

</div>
</div>
<a class="anchor" id="a9afc267e012c3ac42c8b1afe01f98556"></a><!-- doxytag: member="TCLAP::StdOutput::failure" ref="a9afc267e012c3ac42c8b1afe01f98556" args="(CmdLineInterface &amp;c, ArgException &amp;e)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void TCLAP::StdOutput::failure </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_t_c_l_a_p_1_1_cmd_line_interface.html">CmdLineInterface</a> &amp;&#160;</td>
          <td class="paramname"><em>c</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_t_c_l_a_p_1_1_arg_exception.html">ArgException</a> &amp;&#160;</td>
          <td class="paramname"><em>e</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [inline, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Prints (to stderr) an error message, short usage Can be overridden to produce alternative behavior. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">c</td><td>- The <a class="el" href="class_t_c_l_a_p_1_1_cmd_line.html" title="The base class that manages the command line definition and passes along the parsing to the appropria...">CmdLine</a> object the output is generated for. </td></tr>
    <tr><td class="paramname">e</td><td>- The <a class="el" href="class_t_c_l_a_p_1_1_arg_exception.html" title="A simple class that defines and argument exception.">ArgException</a> that caused the failure. </td></tr>
  </table>
  </dd>
</dl>

<p>Implements <a class="el" href="class_t_c_l_a_p_1_1_cmd_line_output.html#ad23a57ac3d8d957a4328fc78aec94e16">TCLAP::CmdLineOutput</a>.</p>

<p>Definition at line <a class="el" href="_std_output_8h_source.html#l00141">141</a> of file <a class="el" href="_std_output_8h_source.html">StdOutput.h</a>.</p>

<p>References <a class="el" href="class_t_c_l_a_p_1_1_cmd_line_interface.html#a1a5672df72a6b5021cd70b37c4dbd0a7">TCLAP::CmdLineInterface::getProgramName()</a>, <a class="el" href="_arg_exception_8h_source.html#l00068">TCLAP::ArgException::argId()</a>, <a class="el" href="_arg_exception_8h_source.html#l00063">TCLAP::ArgException::error()</a>, <a class="el" href="class_t_c_l_a_p_1_1_cmd_line_interface.html#a441b06b764836a62083b163508210905">TCLAP::CmdLineInterface::hasHelpAndVersion()</a>, <a class="el" href="_std_output_8h_source.html#l00164">_shortUsage()</a>, and <a class="el" href="_std_output_8h_source.html#l00127">usage()</a>.</p>

</div>
</div>
<a class="anchor" id="a38661be8895e07c442c2c3138b7444a2"></a><!-- doxytag: member="TCLAP::StdOutput::spacePrint" ref="a38661be8895e07c442c2c3138b7444a2" args="(std::ostream &amp;os, const std::string &amp;s, int maxWidth, int indentSpaces, int secondLineOffset) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void TCLAP::StdOutput::spacePrint </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classstd_1_1ostream.html">std::ostream</a> &amp;&#160;</td>
          <td class="paramname"><em>os</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classstd_1_1string.html">std::string</a> &amp;&#160;</td>
          <td class="paramname"><em>s</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>maxWidth</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>indentSpaces</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>secondLineOffset</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const<code> [inline, protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>This function inserts line breaks and indents long strings according the params input. </p>
<p>It will only break lines at spaces, commas and pipes. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">os</td><td>- The stream to be printed to. </td></tr>
    <tr><td class="paramname">s</td><td>- The string to be printed. </td></tr>
    <tr><td class="paramname">maxWidth</td><td>- The maxWidth allowed for the output line. </td></tr>
    <tr><td class="paramname">indentSpaces</td><td>- The number of spaces to indent the first line. </td></tr>
    <tr><td class="paramname">secondLineOffset</td><td>- The number of spaces to indent the second and all subsequent lines in addition to indentSpaces. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="_std_output_8h_source.html#l00236">236</a> of file <a class="el" href="_std_output_8h_source.html">StdOutput.h</a>.</p>

<p>Referenced by <a class="el" href="_std_output_8h_source.html#l00164">_shortUsage()</a>, and <a class="el" href="_std_output_8h_source.html#l00198">_longUsage()</a>.</p>

</div>
</div>
<a class="anchor" id="aeb10eb400e0ee45f2cde689bef606b49"></a><!-- doxytag: member="TCLAP::StdOutput::usage" ref="aeb10eb400e0ee45f2cde689bef606b49" args="(CmdLineInterface &amp;c)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void TCLAP::StdOutput::usage </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_t_c_l_a_p_1_1_cmd_line_interface.html">CmdLineInterface</a> &amp;&#160;</td>
          <td class="paramname"><em>c</em></td><td>)</td>
          <td><code> [inline, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Prints the usage to stdout. </p>
<p>Can be overridden to produce alternative behavior. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">c</td><td>- The <a class="el" href="class_t_c_l_a_p_1_1_cmd_line.html" title="The base class that manages the command line definition and passes along the parsing to the appropria...">CmdLine</a> object the output is generated for. </td></tr>
  </table>
  </dd>
</dl>

<p>Implements <a class="el" href="class_t_c_l_a_p_1_1_cmd_line_output.html#a685b13db5bf6bbe5159e49169cd96bbe">TCLAP::CmdLineOutput</a>.</p>

<p>Definition at line <a class="el" href="_std_output_8h_source.html#l00127">127</a> of file <a class="el" href="_std_output_8h_source.html">StdOutput.h</a>.</p>

<p>References <a class="el" href="_std_output_8h_source.html#l00045">m_my_output</a>, <a class="el" href="_std_output_8h_source.html#l00164">_shortUsage()</a>, and <a class="el" href="_std_output_8h_source.html#l00198">_longUsage()</a>.</p>

<p>Referenced by <a class="el" href="_std_output_8h_source.html#l00141">failure()</a>.</p>

</div>
</div>
<a class="anchor" id="a768111a59af4753ac6e5ace3ec99482e"></a><!-- doxytag: member="TCLAP::StdOutput::version" ref="a768111a59af4753ac6e5ace3ec99482e" args="(CmdLineInterface &amp;c)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void TCLAP::StdOutput::version </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_t_c_l_a_p_1_1_cmd_line_interface.html">CmdLineInterface</a> &amp;&#160;</td>
          <td class="paramname"><em>c</em></td><td>)</td>
          <td><code> [inline, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Prints the version to stdout. </p>
<p>Can be overridden to produce alternative behavior. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">c</td><td>- The <a class="el" href="class_t_c_l_a_p_1_1_cmd_line.html" title="The base class that manages the command line definition and passes along the parsing to the appropria...">CmdLine</a> object the output is generated for. </td></tr>
  </table>
  </dd>
</dl>

<p>Implements <a class="el" href="class_t_c_l_a_p_1_1_cmd_line_output.html#ae052fea473132482296de55edb3dd480">TCLAP::CmdLineOutput</a>.</p>

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

<p>References <a class="el" href="class_t_c_l_a_p_1_1_cmd_line_interface.html#a1a5672df72a6b5021cd70b37c4dbd0a7">TCLAP::CmdLineInterface::getProgramName()</a>, <a class="el" href="class_t_c_l_a_p_1_1_cmd_line_interface.html#a0a552fa57212800dfb8aec84fb07b8bb">TCLAP::CmdLineInterface::getVersion()</a>, and <a class="el" href="_std_output_8h_source.html#l00045">m_my_output</a>.</p>

</div>
</div>
<hr/><h2>Member Data Documentation</h2>
<a class="anchor" id="ad8a91cd88fd51e4f69bb3c2b5c18b18f"></a><!-- doxytag: member="TCLAP::StdOutput::m_my_output" ref="ad8a91cd88fd51e4f69bb3c2b5c18b18f" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classstd_1_1ostream.html">std::ostream</a>&amp; <a class="el" href="class_t_c_l_a_p_1_1_std_output.html#ad8a91cd88fd51e4f69bb3c2b5c18b18f">TCLAP::StdOutput::m_my_output</a><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>By JLBC for MRPT. </p>

<p>Definition at line <a class="el" href="_std_output_8h_source.html#l00045">45</a> of file <a class="el" href="_std_output_8h_source.html">StdOutput.h</a>.</p>

<p>Referenced by <a class="el" href="_std_output_8h_source.html#l00118">version()</a>, <a class="el" href="_std_output_8h_source.html#l00127">usage()</a>, and <a class="el" href="_std_output_8h_source.html#l00164">_shortUsage()</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>