Sophie

Sophie

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

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::UnlabeledValueArg 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_unlabeled_value_arg.html">UnlabeledValueArg</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::UnlabeledValueArg Class Reference</div>  </div>
</div>
<div class="contents">
<!-- doxytag: class="TCLAP::UnlabeledValueArg" --><!-- doxytag: inherits="ValueArg&lt; T &gt;" --><hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>The basic unlabeled argument that parses a value. </p>
<p>This is a template class, which means the type T defines the type that a given object will attempt to parse when an <a class="el" href="class_t_c_l_a_p_1_1_unlabeled_value_arg.html" title="The basic unlabeled argument that parses a value.">UnlabeledValueArg</a> is reached in the list of args that 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> iterates over. </p>
</div>
<p><code>#include &lt;<a class="el" href="_unlabeled_value_arg_8h_source.html">mrpt/otherlibs/tclap/UnlabeledValueArg.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for TCLAP::UnlabeledValueArg:</div>
<div class="dyncontent">
<div class="center"><img src="class_t_c_l_a_p_1_1_unlabeled_value_arg__inherit__graph.png" border="0" usemap="#_t_c_l_a_p_1_1_unlabeled_value_arg_inherit__map" alt="Inheritance graph"/></div>
<map name="_t_c_l_a_p_1_1_unlabeled_value_arg_inherit__map" id="_t_c_l_a_p_1_1_unlabeled_value_arg_inherit__map">
<area shape="rect" id="node2" href="class_t_c_l_a_p_1_1_value_arg.html" title="TCLAP::ValueArg\&lt; T \&gt;" alt="" coords="18,173,176,200"/><area shape="rect" id="node4" href="class_t_c_l_a_p_1_1_value_arg.html" title="The basic labeled argument that parses a value." alt="" coords="34,83,160,109"/><area shape="rect" id="node6" href="class_t_c_l_a_p_1_1_arg.html" title="A virtual base class that defines the essential data for all arguments." alt="" coords="51,5,144,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_unlabeled_value_arg-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_unlabeled_value_arg.html#af87d5392b5dec5025a45c576e900e42d">UnlabeledValueArg</a> (const <a class="el" href="classstd_1_1string.html">std::string</a> &amp;name, const <a class="el" href="classstd_1_1string.html">std::string</a> &amp;desc, bool req, T value, const <a class="el" href="classstd_1_1string.html">std::string</a> &amp;typeDesc, bool ignoreable=false, <a class="el" href="class_t_c_l_a_p_1_1_visitor.html">Visitor</a> *v=NULL)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight"><a class="el" href="class_t_c_l_a_p_1_1_unlabeled_value_arg.html" title="The basic unlabeled argument that parses a value.">UnlabeledValueArg</a> constructor.  <a href="#af87d5392b5dec5025a45c576e900e42d"></a><br/></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_unlabeled_value_arg.html#a273541992fc85ce71edc33de3ec118c8">UnlabeledValueArg</a> (const <a class="el" href="classstd_1_1string.html">std::string</a> &amp;name, const <a class="el" href="classstd_1_1string.html">std::string</a> &amp;desc, bool req, T value, const <a class="el" href="classstd_1_1string.html">std::string</a> &amp;typeDesc, <a class="el" href="class_t_c_l_a_p_1_1_cmd_line_interface.html">CmdLineInterface</a> &amp;parser, bool ignoreable=false, <a class="el" href="class_t_c_l_a_p_1_1_visitor.html">Visitor</a> *v=NULL)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight"><a class="el" href="class_t_c_l_a_p_1_1_unlabeled_value_arg.html" title="The basic unlabeled argument that parses a value.">UnlabeledValueArg</a> constructor.  <a href="#a273541992fc85ce71edc33de3ec118c8"></a><br/></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_unlabeled_value_arg.html#ad0dc22152ab67819ab3d84ebc7c47c44">UnlabeledValueArg</a> (const <a class="el" href="classstd_1_1string.html">std::string</a> &amp;name, const <a class="el" href="classstd_1_1string.html">std::string</a> &amp;desc, bool req, T value, <a class="el" href="class_t_c_l_a_p_1_1_constraint.html">Constraint</a>&lt; T &gt; *constraint, bool ignoreable=false, <a class="el" href="class_t_c_l_a_p_1_1_visitor.html">Visitor</a> *v=NULL)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight"><a class="el" href="class_t_c_l_a_p_1_1_unlabeled_value_arg.html" title="The basic unlabeled argument that parses a value.">UnlabeledValueArg</a> constructor.  <a href="#ad0dc22152ab67819ab3d84ebc7c47c44"></a><br/></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_unlabeled_value_arg.html#a58bb2e9207b3bb66afbd033c58906d1a">UnlabeledValueArg</a> (const <a class="el" href="classstd_1_1string.html">std::string</a> &amp;name, const <a class="el" href="classstd_1_1string.html">std::string</a> &amp;desc, bool req, T value, <a class="el" href="class_t_c_l_a_p_1_1_constraint.html">Constraint</a>&lt; T &gt; *constraint, <a class="el" href="class_t_c_l_a_p_1_1_cmd_line_interface.html">CmdLineInterface</a> &amp;parser, bool ignoreable=false, <a class="el" href="class_t_c_l_a_p_1_1_visitor.html">Visitor</a> *v=NULL)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight"><a class="el" href="class_t_c_l_a_p_1_1_unlabeled_value_arg.html" title="The basic unlabeled argument that parses a value.">UnlabeledValueArg</a> constructor.  <a href="#a58bb2e9207b3bb66afbd033c58906d1a"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_c_l_a_p_1_1_unlabeled_value_arg.html#ae7d49bb6c88ffb5e7a1c12ae6737cbcb">processArg</a> (int *i, <a class="el" href="classstd_1_1vector.html">std::vector</a>&lt; <a class="el" href="classstd_1_1string.html">std::string</a> &gt; &amp;args)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Handles the processing of the argument.  <a href="#ae7d49bb6c88ffb5e7a1c12ae6737cbcb"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classstd_1_1string.html">std::string</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_c_l_a_p_1_1_unlabeled_value_arg.html#a5e6092156d8eca077b08611996750366">shortID</a> (const <a class="el" href="classstd_1_1string.html">std::string</a> &amp;val=&quot;val&quot;) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Overrides shortID for specific behavior.  <a href="#a5e6092156d8eca077b08611996750366"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classstd_1_1string.html">std::string</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_c_l_a_p_1_1_unlabeled_value_arg.html#ab9d8db393a4b65ca930dc2df8be166b7">longID</a> (const <a class="el" href="classstd_1_1string.html">std::string</a> &amp;val=&quot;val&quot;) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Overrides longID for specific behavior.  <a href="#ab9d8db393a4b65ca930dc2df8be166b7"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_c_l_a_p_1_1_unlabeled_value_arg.html#a89fb547c775094d094a5113b1e968ce4">operator==</a> (const <a class="el" href="class_t_c_l_a_p_1_1_arg.html">Arg</a> &amp;a) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Overrides operator== for specific behavior.  <a href="#a89fb547c775094d094a5113b1e968ce4"></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_unlabeled_value_arg.html#aa3d1656b9883a4d491d7b59dff7f78aa">addToList</a> (<a class="el" href="classstd_1_1list.html">std::list</a>&lt; <a class="el" href="class_t_c_l_a_p_1_1_arg.html">Arg</a> * &gt; &amp;argList) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Instead of pushing to the front of list, push to the back.  <a href="#aa3d1656b9883a4d491d7b59dff7f78aa"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">T &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_c_l_a_p_1_1_value_arg.html#a241ea8229448c9384b2a60c50ee395e9">getValue</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the value of the argument.  <a href="#a241ea8229448c9384b2a60c50ee395e9"></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_value_arg.html#abf35854aeecbbca671795b095874aa9a">_extractValue</a> (const <a class="el" href="classstd_1_1string.html">std::string</a> &amp;val)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Extracts the value from the string.  <a href="#abf35854aeecbbca671795b095874aa9a"></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">T&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_c_l_a_p_1_1_value_arg.html#a9952212bcf288f00240b41abdd92fc5c">_value</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">The value parsed from the command line.  <a href="#a9952212bcf288f00240b41abdd92fc5c"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classstd_1_1string.html">std::string</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_c_l_a_p_1_1_value_arg.html#a892a2e3cbb939d1daee8950b414938fa">_typeDesc</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">A human readable description of the type to be parsed.  <a href="#a892a2e3cbb939d1daee8950b414938fa"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_t_c_l_a_p_1_1_constraint.html">Constraint</a>&lt; T &gt; *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_c_l_a_p_1_1_value_arg.html#aab769ef038c9a1bbd9469e8d1b692d7a">_constraint</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">A Constraint this Arg must conform to.  <a href="#aab769ef038c9a1bbd9469e8d1b692d7a"></a><br/></td></tr>
</table>
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="af87d5392b5dec5025a45c576e900e42d"></a><!-- doxytag: member="TCLAP::UnlabeledValueArg::UnlabeledValueArg" ref="af87d5392b5dec5025a45c576e900e42d" args="(const std::string &amp;name, const std::string &amp;desc, bool req, T value, const std::string &amp;typeDesc, bool ignoreable=false, Visitor *v=NULL)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">TCLAP::UnlabeledValueArg::UnlabeledValueArg </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>name</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>desc</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>req</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">T&#160;</td>
          <td class="paramname"><em>value</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>typeDesc</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>ignoreable</em> = <code>false</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_t_c_l_a_p_1_1_visitor.html">Visitor</a> *&#160;</td>
          <td class="paramname"><em>v</em> = <code>NULL</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p><a class="el" href="class_t_c_l_a_p_1_1_unlabeled_value_arg.html" title="The basic unlabeled argument that parses a value.">UnlabeledValueArg</a> constructor. </p>
<p>Constructor implemenation.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">name</td><td>- A one word name for the argument. Can be used as a long flag on the command line. </td></tr>
    <tr><td class="paramname">desc</td><td>- A description of what the argument is for or does. </td></tr>
    <tr><td class="paramname">req</td><td>- Whether the argument is required on the command line. </td></tr>
    <tr><td class="paramname">value</td><td>- The default value assigned to this argument if it is not present on the command line. </td></tr>
    <tr><td class="paramname">typeDesc</td><td>- A short, human readable description of the type that this object expects. This is used in the generation of the USAGE statement. The goal is to be helpful to the end user of the program. </td></tr>
    <tr><td class="paramname">ignoreable</td><td>- Allows you to specify that this argument can be ignored if the '--' flag is set. This defaults to false (cannot be ignored) and should generally stay that way unless you have some special need for certain arguments to be ignored. </td></tr>
    <tr><td class="paramname">v</td><td>- Optional Vistor. You should leave this blank unless you have a very good reason. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="_unlabeled_value_arg_8h_source.html#l00213">213</a> of file <a class="el" href="_unlabeled_value_arg_8h_source.html">UnlabeledValueArg.h</a>.</p>

<p>References <a class="el" href="_optional_unlabeled_tracker_8h_source.html#l00048">TCLAP::OptionalUnlabeledTracker::check()</a>.</p>

</div>
</div>
<a class="anchor" id="a273541992fc85ce71edc33de3ec118c8"></a><!-- doxytag: member="TCLAP::UnlabeledValueArg::UnlabeledValueArg" ref="a273541992fc85ce71edc33de3ec118c8" args="(const std::string &amp;name, const std::string &amp;desc, bool req, T value, const std::string &amp;typeDesc, CmdLineInterface &amp;parser, bool ignoreable=false, Visitor *v=NULL)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">TCLAP::UnlabeledValueArg::UnlabeledValueArg </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>name</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>desc</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>req</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">T&#160;</td>
          <td class="paramname"><em>value</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>typeDesc</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_cmd_line_interface.html">CmdLineInterface</a> &amp;&#160;</td>
          <td class="paramname"><em>parser</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>ignoreable</em> = <code>false</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_t_c_l_a_p_1_1_visitor.html">Visitor</a> *&#160;</td>
          <td class="paramname"><em>v</em> = <code>NULL</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p><a class="el" href="class_t_c_l_a_p_1_1_unlabeled_value_arg.html" title="The basic unlabeled argument that parses a value.">UnlabeledValueArg</a> constructor. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">name</td><td>- A one word name for the argument. Can be used as a long flag on the command line. </td></tr>
    <tr><td class="paramname">desc</td><td>- A description of what the argument is for or does. </td></tr>
    <tr><td class="paramname">req</td><td>- Whether the argument is required on the command line. </td></tr>
    <tr><td class="paramname">value</td><td>- The default value assigned to this argument if it is not present on the command line. </td></tr>
    <tr><td class="paramname">typeDesc</td><td>- A short, human readable description of the type that this object expects. This is used in the generation of the USAGE statement. The goal is to be helpful to the end user of the program. </td></tr>
    <tr><td class="paramname">parser</td><td>- A <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> parser object to add this <a class="el" href="class_t_c_l_a_p_1_1_arg.html" title="A virtual base class that defines the essential data for all arguments.">Arg</a> to </td></tr>
    <tr><td class="paramname">ignoreable</td><td>- Allows you to specify that this argument can be ignored if the '--' flag is set. This defaults to false (cannot be ignored) and should generally stay that way unless you have some special need for certain arguments to be ignored. </td></tr>
    <tr><td class="paramname">v</td><td>- Optional Vistor. You should leave this blank unless you have a very good reason. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="_unlabeled_value_arg_8h_source.html#l00229">229</a> of file <a class="el" href="_unlabeled_value_arg_8h_source.html">UnlabeledValueArg.h</a>.</p>

<p>References <a class="el" href="_optional_unlabeled_tracker_8h_source.html#l00048">TCLAP::OptionalUnlabeledTracker::check()</a>, and <a class="el" href="class_t_c_l_a_p_1_1_cmd_line_interface.html#a13b29ab754c030185e58f779dc355631">TCLAP::CmdLineInterface::add()</a>.</p>

</div>
</div>
<a class="anchor" id="ad0dc22152ab67819ab3d84ebc7c47c44"></a><!-- doxytag: member="TCLAP::UnlabeledValueArg::UnlabeledValueArg" ref="ad0dc22152ab67819ab3d84ebc7c47c44" args="(const std::string &amp;name, const std::string &amp;desc, bool req, T value, Constraint&lt; T &gt; *constraint, bool ignoreable=false, Visitor *v=NULL)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">TCLAP::UnlabeledValueArg::UnlabeledValueArg </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>name</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>desc</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>req</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">T&#160;</td>
          <td class="paramname"><em>value</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_constraint.html">Constraint</a>&lt; T &gt; *&#160;</td>
          <td class="paramname"><em>constraint</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>ignoreable</em> = <code>false</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_t_c_l_a_p_1_1_visitor.html">Visitor</a> *&#160;</td>
          <td class="paramname"><em>v</em> = <code>NULL</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p><a class="el" href="class_t_c_l_a_p_1_1_unlabeled_value_arg.html" title="The basic unlabeled argument that parses a value.">UnlabeledValueArg</a> constructor. </p>
<p>Constructor implemenation.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">name</td><td>- A one word name for the argument. Can be used as a long flag on the command line. </td></tr>
    <tr><td class="paramname">desc</td><td>- A description of what the argument is for or does. </td></tr>
    <tr><td class="paramname">req</td><td>- Whether the argument is required on the command line. </td></tr>
    <tr><td class="paramname">value</td><td>- The default value assigned to this argument if it is not present on the command line. </td></tr>
    <tr><td class="paramname">constraint</td><td>- A pointer to a <a class="el" href="class_t_c_l_a_p_1_1_constraint.html" title="The interface that defines the interaction between the Arg and Constraint.">Constraint</a> object used to constrain this <a class="el" href="class_t_c_l_a_p_1_1_arg.html" title="A virtual base class that defines the essential data for all arguments.">Arg</a>. </td></tr>
    <tr><td class="paramname">ignoreable</td><td>- Allows you to specify that this argument can be ignored if the '--' flag is set. This defaults to false (cannot be ignored) and should generally stay that way unless you have some special need for certain arguments to be ignored. </td></tr>
    <tr><td class="paramname">v</td><td>- Optional Vistor. You should leave this blank unless you have a very good reason. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="_unlabeled_value_arg_8h_source.html#l00248">248</a> of file <a class="el" href="_unlabeled_value_arg_8h_source.html">UnlabeledValueArg.h</a>.</p>

<p>References <a class="el" href="_optional_unlabeled_tracker_8h_source.html#l00048">TCLAP::OptionalUnlabeledTracker::check()</a>.</p>

</div>
</div>
<a class="anchor" id="a58bb2e9207b3bb66afbd033c58906d1a"></a><!-- doxytag: member="TCLAP::UnlabeledValueArg::UnlabeledValueArg" ref="a58bb2e9207b3bb66afbd033c58906d1a" args="(const std::string &amp;name, const std::string &amp;desc, bool req, T value, Constraint&lt; T &gt; *constraint, CmdLineInterface &amp;parser, bool ignoreable=false, Visitor *v=NULL)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">TCLAP::UnlabeledValueArg::UnlabeledValueArg </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>name</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>desc</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>req</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">T&#160;</td>
          <td class="paramname"><em>value</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_constraint.html">Constraint</a>&lt; T &gt; *&#160;</td>
          <td class="paramname"><em>constraint</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_cmd_line_interface.html">CmdLineInterface</a> &amp;&#160;</td>
          <td class="paramname"><em>parser</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>ignoreable</em> = <code>false</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_t_c_l_a_p_1_1_visitor.html">Visitor</a> *&#160;</td>
          <td class="paramname"><em>v</em> = <code>NULL</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p><a class="el" href="class_t_c_l_a_p_1_1_unlabeled_value_arg.html" title="The basic unlabeled argument that parses a value.">UnlabeledValueArg</a> constructor. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">name</td><td>- A one word name for the argument. Can be used as a long flag on the command line. </td></tr>
    <tr><td class="paramname">desc</td><td>- A description of what the argument is for or does. </td></tr>
    <tr><td class="paramname">req</td><td>- Whether the argument is required on the command line. </td></tr>
    <tr><td class="paramname">value</td><td>- The default value assigned to this argument if it is not present on the command line. </td></tr>
    <tr><td class="paramname">constraint</td><td>- A pointer to a <a class="el" href="class_t_c_l_a_p_1_1_constraint.html" title="The interface that defines the interaction between the Arg and Constraint.">Constraint</a> object used to constrain this <a class="el" href="class_t_c_l_a_p_1_1_arg.html" title="A virtual base class that defines the essential data for all arguments.">Arg</a>. </td></tr>
    <tr><td class="paramname">parser</td><td>- A <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> parser object to add this <a class="el" href="class_t_c_l_a_p_1_1_arg.html" title="A virtual base class that defines the essential data for all arguments.">Arg</a> to </td></tr>
    <tr><td class="paramname">ignoreable</td><td>- Allows you to specify that this argument can be ignored if the '--' flag is set. This defaults to false (cannot be ignored) and should generally stay that way unless you have some special need for certain arguments to be ignored. </td></tr>
    <tr><td class="paramname">v</td><td>- Optional Vistor. You should leave this blank unless you have a very good reason. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="_unlabeled_value_arg_8h_source.html#l00262">262</a> of file <a class="el" href="_unlabeled_value_arg_8h_source.html">UnlabeledValueArg.h</a>.</p>

<p>References <a class="el" href="_optional_unlabeled_tracker_8h_source.html#l00048">TCLAP::OptionalUnlabeledTracker::check()</a>, and <a class="el" href="class_t_c_l_a_p_1_1_cmd_line_interface.html#a13b29ab754c030185e58f779dc355631">TCLAP::CmdLineInterface::add()</a>.</p>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="abf35854aeecbbca671795b095874aa9a"></a><!-- doxytag: member="TCLAP::UnlabeledValueArg::_extractValue" ref="abf35854aeecbbca671795b095874aa9a" args="(const std::string &amp;val)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void TCLAP::ValueArg::_extractValue </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>val</em></td><td>)</td>
          <td><code> [protected, inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Extracts the value from the string. </p>
<p>Attempts to parse string as type T, if this fails an exception is thrown. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">val</td><td>- value to be parsed. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="aa3d1656b9883a4d491d7b59dff7f78aa"></a><!-- doxytag: member="TCLAP::UnlabeledValueArg::addToList" ref="aa3d1656b9883a4d491d7b59dff7f78aa" args="(std::list&lt; Arg * &gt; &amp;argList) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void TCLAP::UnlabeledValueArg::addToList </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classstd_1_1list.html">std::list</a>&lt; <a class="el" href="class_t_c_l_a_p_1_1_arg.html">Arg</a> * &gt; &amp;&#160;</td>
          <td class="paramname"><em>argList</em></td><td>)</td>
          <td> const<code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Instead of pushing to the front of list, push to the back. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">argList</td><td>- The list to add this to. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="_unlabeled_value_arg_8h_source.html#l00335">335</a> of file <a class="el" href="_unlabeled_value_arg_8h_source.html">UnlabeledValueArg.h</a>.</p>

</div>
</div>
<a class="anchor" id="a241ea8229448c9384b2a60c50ee395e9"></a><!-- doxytag: member="TCLAP::UnlabeledValueArg::getValue" ref="a241ea8229448c9384b2a60c50ee395e9" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">T&amp; TCLAP::ValueArg::getValue </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns the value of the argument. </p>
<p>Implementation of getValue(). </p>

</div>
</div>
<a class="anchor" id="ab9d8db393a4b65ca930dc2df8be166b7"></a><!-- doxytag: member="TCLAP::UnlabeledValueArg::longID" ref="ab9d8db393a4b65ca930dc2df8be166b7" args="(const std::string &amp;val=&quot;val&quot;) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classstd_1_1string.html">std::string</a> TCLAP::UnlabeledValueArg::longID </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>val</em> = <code>&quot;val&quot;</code></td><td>)</td>
          <td> const<code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Overrides longID for specific behavior. </p>
<p>Overriding longID for specific output. </p>

<p>Reimplemented from <a class="el" href="class_t_c_l_a_p_1_1_value_arg.html#a65f614d1864b7baf6857cdbdd5fc7830">TCLAP::ValueArg&lt; T &gt;</a>.</p>

<p>Definition at line <a class="el" href="_unlabeled_value_arg_8h_source.html#l00312">312</a> of file <a class="el" href="_unlabeled_value_arg_8h_source.html">UnlabeledValueArg.h</a>.</p>

</div>
</div>
<a class="anchor" id="a89fb547c775094d094a5113b1e968ce4"></a><!-- doxytag: member="TCLAP::UnlabeledValueArg::operator==" ref="a89fb547c775094d094a5113b1e968ce4" args="(const Arg &amp;a) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool TCLAP::UnlabeledValueArg::operator== </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="class_t_c_l_a_p_1_1_arg.html">Arg</a> &amp;&#160;</td>
          <td class="paramname"><em>a</em></td><td>)</td>
          <td> const<code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Overrides operator== for specific behavior. </p>
<p>Overriding operator== for specific behavior. </p>

<p>Definition at line <a class="el" href="_unlabeled_value_arg_8h_source.html#l00326">326</a> of file <a class="el" href="_unlabeled_value_arg_8h_source.html">UnlabeledValueArg.h</a>.</p>

<p>References <a class="el" href="_arg_8h_source.html#l00469">TCLAP::Arg::getName()</a>, and <a class="el" href="_arg_8h_source.html#l00454">TCLAP::Arg::getDescription()</a>.</p>

</div>
</div>
<a class="anchor" id="ae7d49bb6c88ffb5e7a1c12ae6737cbcb"></a><!-- doxytag: member="TCLAP::UnlabeledValueArg::processArg" ref="ae7d49bb6c88ffb5e7a1c12ae6737cbcb" args="(int *i, std::vector&lt; std::string &gt; &amp;args)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool TCLAP::UnlabeledValueArg::processArg </td>
          <td>(</td>
          <td class="paramtype">int *&#160;</td>
          <td class="paramname"><em>i</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classstd_1_1vector.html">std::vector</a>&lt; <a class="el" href="classstd_1_1string.html">std::string</a> &gt; &amp;&#160;</td>
          <td class="paramname"><em>args</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Handles the processing of the argument. </p>
<p>Implementation of <a class="el" href="class_t_c_l_a_p_1_1_unlabeled_value_arg.html#ae7d49bb6c88ffb5e7a1c12ae6737cbcb" title="Handles the processing of the argument.">processArg()</a>.</p>
<p>This re-implements the <a class="el" href="class_t_c_l_a_p_1_1_arg.html" title="A virtual base class that defines the essential data for all arguments.">Arg</a> version of this method to set the _value of the argument appropriately. Handling specific to unlabled arguments. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">i</td><td>- Pointer the the current argument in the list. </td></tr>
    <tr><td class="paramname">args</td><td>- Mutable list of strings. </td></tr>
  </table>
  </dd>
</dl>

<p>Reimplemented from <a class="el" href="class_t_c_l_a_p_1_1_value_arg.html#a8450096a5f8d383498e91b7ef78caf48">TCLAP::ValueArg&lt; T &gt;</a>.</p>

<p>Definition at line <a class="el" href="_unlabeled_value_arg_8h_source.html#l00281">281</a> of file <a class="el" href="_unlabeled_value_arg_8h_source.html">UnlabeledValueArg.h</a>.</p>

</div>
</div>
<a class="anchor" id="a5e6092156d8eca077b08611996750366"></a><!-- doxytag: member="TCLAP::UnlabeledValueArg::shortID" ref="a5e6092156d8eca077b08611996750366" args="(const std::string &amp;val=&quot;val&quot;) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classstd_1_1string.html">std::string</a> TCLAP::UnlabeledValueArg::shortID </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>val</em> = <code>&quot;val&quot;</code></td><td>)</td>
          <td> const<code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Overrides shortID for specific behavior. </p>
<p>Overriding shortID for specific output. </p>

<p>Reimplemented from <a class="el" href="class_t_c_l_a_p_1_1_value_arg.html#a0681144a46ae08d7ad354978c1bac2aa">TCLAP::ValueArg&lt; T &gt;</a>.</p>

<p>Definition at line <a class="el" href="_unlabeled_value_arg_8h_source.html#l00301">301</a> of file <a class="el" href="_unlabeled_value_arg_8h_source.html">UnlabeledValueArg.h</a>.</p>

</div>
</div>
<hr/><h2>Member Data Documentation</h2>
<a class="anchor" id="aab769ef038c9a1bbd9469e8d1b692d7a"></a><!-- doxytag: member="TCLAP::UnlabeledValueArg::_constraint" ref="aab769ef038c9a1bbd9469e8d1b692d7a" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_t_c_l_a_p_1_1_constraint.html">Constraint</a>&lt;T&gt;* <a class="el" href="class_t_c_l_a_p_1_1_value_arg.html#aab769ef038c9a1bbd9469e8d1b692d7a">TCLAP::ValueArg::_constraint</a><code> [protected, inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>A Constraint this Arg must conform to. </p>

<p>Definition at line <a class="el" href="_value_arg_8h_source.html#l00193">193</a> of file <a class="el" href="_value_arg_8h_source.html">ValueArg.h</a>.</p>

</div>
</div>
<a class="anchor" id="a892a2e3cbb939d1daee8950b414938fa"></a><!-- doxytag: member="TCLAP::UnlabeledValueArg::_typeDesc" ref="a892a2e3cbb939d1daee8950b414938fa" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classstd_1_1string.html">std::string</a> <a class="el" href="class_t_c_l_a_p_1_1_value_arg.html#a892a2e3cbb939d1daee8950b414938fa">TCLAP::ValueArg::_typeDesc</a><code> [protected, inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>A human readable description of the type to be parsed. </p>
<p>This is a hack, plain and simple. Ideally we would use RTTI to return the name of type T, but until there is some sort of consistent support for human readable names, we are left to our own devices. </p>

<p>Definition at line <a class="el" href="_value_arg_8h_source.html#l00188">188</a> of file <a class="el" href="_value_arg_8h_source.html">ValueArg.h</a>.</p>

</div>
</div>
<a class="anchor" id="a9952212bcf288f00240b41abdd92fc5c"></a><!-- doxytag: member="TCLAP::UnlabeledValueArg::_value" ref="a9952212bcf288f00240b41abdd92fc5c" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">T <a class="el" href="class_t_c_l_a_p_1_1_value_arg.html#a9952212bcf288f00240b41abdd92fc5c">TCLAP::ValueArg::_value</a><code> [protected, inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>The value parsed from the command line. </p>
<p>Can be of any type, as long as the &gt;&gt; operator for the type is defined. </p>

<p>Definition at line <a class="el" href="_value_arg_8h_source.html#l00179">179</a> of file <a class="el" href="_value_arg_8h_source.html">ValueArg.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.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>