Sophie

Sophie

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

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::UnlabeledMultiArg 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_multi_arg.html">UnlabeledMultiArg</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::UnlabeledMultiArg Class Reference</div>  </div>
</div>
<div class="contents">
<!-- doxytag: class="TCLAP::UnlabeledMultiArg" --><!-- doxytag: inherits="MultiArg&lt; T &gt;" --><hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>Just like a <a class="el" href="class_t_c_l_a_p_1_1_multi_arg.html" title="An argument that allows multiple values of type T to be specified.">MultiArg</a>, except that the arguments are unlabeled. </p>
<p>Basically, 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> will slurp up everything that hasn't been matched to another <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>. </p>
</div>
<p><code>#include &lt;<a class="el" href="_unlabeled_multi_arg_8h_source.html">mrpt/otherlibs/tclap/UnlabeledMultiArg.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for TCLAP::UnlabeledMultiArg:</div>
<div class="dyncontent">
<div class="center"><img src="class_t_c_l_a_p_1_1_unlabeled_multi_arg__inherit__graph.png" border="0" usemap="#_t_c_l_a_p_1_1_unlabeled_multi_arg_inherit__map" alt="Inheritance graph"/></div>
<map name="_t_c_l_a_p_1_1_unlabeled_multi_arg_inherit__map" id="_t_c_l_a_p_1_1_unlabeled_multi_arg_inherit__map">
<area shape="rect" id="node2" href="class_t_c_l_a_p_1_1_multi_arg.html" title="TCLAP::MultiArg\&lt; T \&gt;" alt="" coords="18,173,171,200"/><area shape="rect" id="node4" href="class_t_c_l_a_p_1_1_multi_arg.html" title="An argument that allows multiple values of type T to be specified." alt="" coords="34,83,155,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="48,5,141,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_multi_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_multi_arg.html#a08a5b52952a6fa53e02a34bf93942b1a">UnlabeledMultiArg</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, 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">Constructor.  <a href="#a08a5b52952a6fa53e02a34bf93942b1a"></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_multi_arg.html#a1b2022850e09ac1611780d4c4729df8f">UnlabeledMultiArg</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, 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">Constructor.  <a href="#a1b2022850e09ac1611780d4c4729df8f"></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_multi_arg.html#af9e27964a6787682a4c9820e38af4f78">UnlabeledMultiArg</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, <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">Constructor.  <a href="#af9e27964a6787682a4c9820e38af4f78"></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_multi_arg.html#a4165dd0ead73c35448881a55f98d9859">UnlabeledMultiArg</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, <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">Constructor.  <a href="#a4165dd0ead73c35448881a55f98d9859"></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_multi_arg.html#ae7a5a1488c8e4474a6248e65aeb27de5">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="#ae7a5a1488c8e4474a6248e65aeb27de5"></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_multi_arg.html#a2bac770065d793df9d2d19b31a4e99a3">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">Returns the a short id string.  <a href="#a2bac770065d793df9d2d19b31a4e99a3"></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_multi_arg.html#a6dfdb05e7e7d5a8c2d287794ba812948">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">Returns the a long id string.  <a href="#a6dfdb05e7e7d5a8c2d287794ba812948"></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_multi_arg.html#aac3862e3a1a4a0b666504a94ceb28c99">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">Opertor ==.  <a href="#aac3862e3a1a4a0b666504a94ceb28c99"></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_multi_arg.html#ad0143f58ff56919e1a9dfd19462e134d">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">Pushes this to back of list rather than front.  <a href="#ad0143f58ff56919e1a9dfd19462e134d"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classstd_1_1vector.html">std::vector</a>&lt; T &gt; &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_c_l_a_p_1_1_multi_arg.html#a4921ee91019d6bbe2bdfb1245b291a06">getValue</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a vector of type T containing the values parsed from the command line.  <a href="#a4921ee91019d6bbe2bdfb1245b291a06"></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_multi_arg.html#add0f8021548e5f2a37674f47788af8b0">isRequired</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Once we've matched the first value, then the arg is no longer required.  <a href="#add0f8021548e5f2a37674f47788af8b0"></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_multi_arg.html#aef3bed723518c4361362c73f37830e82">allowMore</a> ()</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_multi_arg.html#a8bed6f0d24f677dfaf4e1bc50c035b50">_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="#a8bed6f0d24f677dfaf4e1bc50c035b50"></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_1vector.html">std::vector</a>&lt; T &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_c_l_a_p_1_1_multi_arg.html#abdcaa5c2a11ca40e67c3cdb24ad44787">_values</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">The list of values parsed from the CmdLine.  <a href="#abdcaa5c2a11ca40e67c3cdb24ad44787"></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_multi_arg.html#a32ca12bc926a082637e54cfa26e6b4d9">_typeDesc</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">The description of type T to be used in the usage.  <a href="#a32ca12bc926a082637e54cfa26e6b4d9"></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_multi_arg.html#ad49e0de4050e61292fb63db7f001f3af">_constraint</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">A list of constraint on this Arg.  <a href="#ad49e0de4050e61292fb63db7f001f3af"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_c_l_a_p_1_1_multi_arg.html#a63243dd7c1cf6d6a4d7e99bd764d7fd7">_allowMore</a></td></tr>
</table>
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a08a5b52952a6fa53e02a34bf93942b1a"></a><!-- doxytag: member="TCLAP::UnlabeledMultiArg::UnlabeledMultiArg" ref="a08a5b52952a6fa53e02a34bf93942b1a" args="(const std::string &amp;name, const std::string &amp;desc, bool req, 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::UnlabeledMultiArg::UnlabeledMultiArg </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">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>Constructor. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">name</td><td>- The name of 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>. Note that this is used for identification, not as a long flag. </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">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>- Whether or not this argument can be ignored using the "--" flag. </td></tr>
    <tr><td class="paramname">v</td><td>- An optional visitor. You probably should not use this unless you have a very good reason. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="_unlabeled_multi_arg_8h_source.html#l00187">187</a> of file <a class="el" href="_unlabeled_multi_arg_8h_source.html">UnlabeledMultiArg.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="a1b2022850e09ac1611780d4c4729df8f"></a><!-- doxytag: member="TCLAP::UnlabeledMultiArg::UnlabeledMultiArg" ref="a1b2022850e09ac1611780d4c4729df8f" args="(const std::string &amp;name, const std::string &amp;desc, bool req, 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::UnlabeledMultiArg::UnlabeledMultiArg </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">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>Constructor. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">name</td><td>- The name of 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>. Note that this is used for identification, not as a long flag. </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">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>- Whether or not this argument can be ignored using the "--" flag. </td></tr>
    <tr><td class="paramname">v</td><td>- An optional visitor. You probably should not use this unless you have a very good reason. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="_unlabeled_multi_arg_8h_source.html#l00200">200</a> of file <a class="el" href="_unlabeled_multi_arg_8h_source.html">UnlabeledMultiArg.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="af9e27964a6787682a4c9820e38af4f78"></a><!-- doxytag: member="TCLAP::UnlabeledMultiArg::UnlabeledMultiArg" ref="af9e27964a6787682a4c9820e38af4f78" args="(const std::string &amp;name, const std::string &amp;desc, bool req, 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::UnlabeledMultiArg::UnlabeledMultiArg </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"><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>Constructor. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">name</td><td>- The name of 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>. Note that this is used for identification, not as a long flag. </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">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>- Whether or not this argument can be ignored using the "--" flag. </td></tr>
    <tr><td class="paramname">v</td><td>- An optional visitor. You probably should not use this unless you have a very good reason. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="_unlabeled_multi_arg_8h_source.html#l00216">216</a> of file <a class="el" href="_unlabeled_multi_arg_8h_source.html">UnlabeledMultiArg.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="a4165dd0ead73c35448881a55f98d9859"></a><!-- doxytag: member="TCLAP::UnlabeledMultiArg::UnlabeledMultiArg" ref="a4165dd0ead73c35448881a55f98d9859" args="(const std::string &amp;name, const std::string &amp;desc, bool req, 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::UnlabeledMultiArg::UnlabeledMultiArg </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"><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>Constructor. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">name</td><td>- The name of 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>. Note that this is used for identification, not as a long flag. </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">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>- Whether or not this argument can be ignored using the "--" flag. </td></tr>
    <tr><td class="paramname">v</td><td>- An optional visitor. You probably should not use this unless you have a very good reason. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="_unlabeled_multi_arg_8h_source.html#l00229">229</a> of file <a class="el" href="_unlabeled_multi_arg_8h_source.html">UnlabeledMultiArg.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="a8bed6f0d24f677dfaf4e1bc50c035b50"></a><!-- doxytag: member="TCLAP::UnlabeledMultiArg::_extractValue" ref="a8bed6f0d24f677dfaf4e1bc50c035b50" args="(const std::string &amp;val)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void TCLAP::MultiArg::_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>- The string to be read. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ad0143f58ff56919e1a9dfd19462e134d"></a><!-- doxytag: member="TCLAP::UnlabeledMultiArg::addToList" ref="ad0143f58ff56919e1a9dfd19462e134d" args="(std::list&lt; Arg * &gt; &amp;argList) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void TCLAP::UnlabeledMultiArg::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>Pushes this to back of list rather than front. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">argList</td><td>- The list this should be added to. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="_unlabeled_multi_arg_8h_source.html#l00296">296</a> of file <a class="el" href="_unlabeled_multi_arg_8h_source.html">UnlabeledMultiArg.h</a>.</p>

</div>
</div>
<a class="anchor" id="aef3bed723518c4361362c73f37830e82"></a><!-- doxytag: member="TCLAP::UnlabeledMultiArg::allowMore" ref="aef3bed723518c4361362c73f37830e82" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual bool TCLAP::MultiArg::allowMore </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [virtual, inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a4921ee91019d6bbe2bdfb1245b291a06"></a><!-- doxytag: member="TCLAP::UnlabeledMultiArg::getValue" ref="a4921ee91019d6bbe2bdfb1245b291a06" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="classstd_1_1vector.html">std::vector</a>&lt;T&gt;&amp; TCLAP::MultiArg::getValue </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns a vector of type T containing the values parsed from the command line. </p>

</div>
</div>
<a class="anchor" id="add0f8021548e5f2a37674f47788af8b0"></a><!-- doxytag: member="TCLAP::UnlabeledMultiArg::isRequired" ref="add0f8021548e5f2a37674f47788af8b0" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual bool TCLAP::MultiArg::isRequired </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [virtual, inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Once we've matched the first value, then the arg is no longer required. </p>

</div>
</div>
<a class="anchor" id="a6dfdb05e7e7d5a8c2d287794ba812948"></a><!-- doxytag: member="TCLAP::UnlabeledMultiArg::longID" ref="a6dfdb05e7e7d5a8c2d287794ba812948" 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::UnlabeledMultiArg::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>Returns the a long id string. </p>
<p>Used in the usage. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">val</td><td>- value to be used. </td></tr>
  </table>
  </dd>
</dl>

<p>Reimplemented from <a class="el" href="class_t_c_l_a_p_1_1_multi_arg.html#ac5d45a5ae312d148e47b01a9e9d8c157">TCLAP::MultiArg&lt; T &gt;</a>.</p>

<p>Definition at line <a class="el" href="_unlabeled_multi_arg_8h_source.html#l00279">279</a> of file <a class="el" href="_unlabeled_multi_arg_8h_source.html">UnlabeledMultiArg.h</a>.</p>

</div>
</div>
<a class="anchor" id="aac3862e3a1a4a0b666504a94ceb28c99"></a><!-- doxytag: member="TCLAP::UnlabeledMultiArg::operator==" ref="aac3862e3a1a4a0b666504a94ceb28c99" args="(const Arg &amp;a) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool TCLAP::UnlabeledMultiArg::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>Opertor ==. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">a</td><td>- 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> to be compared to this. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="_unlabeled_multi_arg_8h_source.html#l00287">287</a> of file <a class="el" href="_unlabeled_multi_arg_8h_source.html">UnlabeledMultiArg.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="ae7a5a1488c8e4474a6248e65aeb27de5"></a><!-- doxytag: member="TCLAP::UnlabeledMultiArg::processArg" ref="ae7a5a1488c8e4474a6248e65aeb27de5" 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::UnlabeledMultiArg::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>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. It knows the difference between labeled and unlabeled. </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. Passed from main(). </td></tr>
  </table>
  </dd>
</dl>

<p>Reimplemented from <a class="el" href="class_t_c_l_a_p_1_1_multi_arg.html#a357e850e230cf7537c13d776f278c2ef">TCLAP::MultiArg&lt; T &gt;</a>.</p>

<p>Definition at line <a class="el" href="_unlabeled_multi_arg_8h_source.html#l00245">245</a> of file <a class="el" href="_unlabeled_multi_arg_8h_source.html">UnlabeledMultiArg.h</a>.</p>

</div>
</div>
<a class="anchor" id="a2bac770065d793df9d2d19b31a4e99a3"></a><!-- doxytag: member="TCLAP::UnlabeledMultiArg::shortID" ref="a2bac770065d793df9d2d19b31a4e99a3" 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::UnlabeledMultiArg::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>Returns the a short id string. </p>
<p>Used in the usage. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">val</td><td>- value to be used. </td></tr>
  </table>
  </dd>
</dl>

<p>Reimplemented from <a class="el" href="class_t_c_l_a_p_1_1_multi_arg.html#abe2ad6623b2959e4236bde1433c10bc2">TCLAP::MultiArg&lt; T &gt;</a>.</p>

<p>Definition at line <a class="el" href="_unlabeled_multi_arg_8h_source.html#l00271">271</a> of file <a class="el" href="_unlabeled_multi_arg_8h_source.html">UnlabeledMultiArg.h</a>.</p>

</div>
</div>
<hr/><h2>Member Data Documentation</h2>
<a class="anchor" id="a63243dd7c1cf6d6a4d7e99bd764d7fd7"></a><!-- doxytag: member="TCLAP::UnlabeledMultiArg::_allowMore" ref="a63243dd7c1cf6d6a4d7e99bd764d7fd7" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="class_t_c_l_a_p_1_1_multi_arg.html#a63243dd7c1cf6d6a4d7e99bd764d7fd7">TCLAP::MultiArg::_allowMore</a><code> [protected, inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_multi_arg_8h_source.html#l00194">194</a> of file <a class="el" href="_multi_arg_8h_source.html">MultiArg.h</a>.</p>

</div>
</div>
<a class="anchor" id="ad49e0de4050e61292fb63db7f001f3af"></a><!-- doxytag: member="TCLAP::UnlabeledMultiArg::_constraint" ref="ad49e0de4050e61292fb63db7f001f3af" 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_multi_arg.html#ad49e0de4050e61292fb63db7f001f3af">TCLAP::MultiArg::_constraint</a><code> [protected, inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>A list of constraint on this Arg. </p>

<p>Definition at line <a class="el" href="_multi_arg_8h_source.html#l00184">184</a> of file <a class="el" href="_multi_arg_8h_source.html">MultiArg.h</a>.</p>

</div>
</div>
<a class="anchor" id="a32ca12bc926a082637e54cfa26e6b4d9"></a><!-- doxytag: member="TCLAP::UnlabeledMultiArg::_typeDesc" ref="a32ca12bc926a082637e54cfa26e6b4d9" 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_multi_arg.html#a32ca12bc926a082637e54cfa26e6b4d9">TCLAP::MultiArg::_typeDesc</a><code> [protected, inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>The description of type T to be used in the usage. </p>

<p>Definition at line <a class="el" href="_multi_arg_8h_source.html#l00179">179</a> of file <a class="el" href="_multi_arg_8h_source.html">MultiArg.h</a>.</p>

</div>
</div>
<a class="anchor" id="abdcaa5c2a11ca40e67c3cdb24ad44787"></a><!-- doxytag: member="TCLAP::UnlabeledMultiArg::_values" ref="abdcaa5c2a11ca40e67c3cdb24ad44787" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classstd_1_1vector.html">std::vector</a>&lt;T&gt; <a class="el" href="class_t_c_l_a_p_1_1_multi_arg.html#abdcaa5c2a11ca40e67c3cdb24ad44787">TCLAP::MultiArg::_values</a><code> [protected, inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>The list of values parsed from the CmdLine. </p>

<p>Definition at line <a class="el" href="_multi_arg_8h_source.html#l00174">174</a> of file <a class="el" href="_multi_arg_8h_source.html">MultiArg.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>