Sophie

Sophie

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

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::ArgException 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_arg_exception.html">ArgException</a>      </li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pri-attribs">Private Attributes</a>  </div>
  <div class="headertitle">
<div class="title">TCLAP::ArgException Class Reference</div>  </div>
</div>
<div class="contents">
<!-- doxytag: class="TCLAP::ArgException" --><!-- doxytag: inherits="std::exception" --><hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>A simple class that defines and argument exception. </p>
<p>Should be caught whenever 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> is created and parsed. </p>
</div>
<p><code>#include &lt;<a class="el" href="_arg_exception_8h_source.html">mrpt/otherlibs/tclap/ArgException.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for TCLAP::ArgException:</div>
<div class="dyncontent">
<div class="center"><img src="class_t_c_l_a_p_1_1_arg_exception__inherit__graph.png" border="0" usemap="#_t_c_l_a_p_1_1_arg_exception_inherit__map" alt="Inheritance graph"/></div>
<map name="_t_c_l_a_p_1_1_arg_exception_inherit__map" id="_t_c_l_a_p_1_1_arg_exception_inherit__map">
<area shape="rect" id="node5" href="class_t_c_l_a_p_1_1_arg_parse_exception.html" title="Thrown from within the child Arg classes when it fails to properly parse the argument it has been pas..." alt="" coords="374,5,559,32"/><area shape="rect" id="node7" href="class_t_c_l_a_p_1_1_cmd_line_parse_exception.html" title="Thrown from CmdLine when the arguments on the command line are not properly specified, e.g." alt="" coords="358,56,575,83"/><area shape="rect" id="node9" href="class_t_c_l_a_p_1_1_specification_exception.html" title="Thrown from Arg and CmdLine when an Arg is improperly specified, e.g." alt="" coords="363,107,570,133"/><area shape="rect" id="node2" href="classstd_1_1exception.html" title="STL class." alt="" coords="5,56,109,83"/></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_arg_exception-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_arg_exception.html#a67389912b628e95d530f8bb8de97b309">ArgException</a> (const <a class="el" href="classstd_1_1string.html">std::string</a> &amp;text=&quot;undefined exception&quot;, const <a class="el" href="classstd_1_1string.html">std::string</a> &amp;id=&quot;undefined&quot;, const <a class="el" href="classstd_1_1string.html">std::string</a> &amp;td=&quot;Generic <a class="el" href="class_t_c_l_a_p_1_1_arg_exception.html">ArgException</a>&quot;)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor.  <a href="#a67389912b628e95d530f8bb8de97b309"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_c_l_a_p_1_1_arg_exception.html#a5c5df6a814b05c623a01607fb82980f4">~ArgException</a> ()  throw ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor.  <a href="#a5c5df6a814b05c623a01607fb82980f4"></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_arg_exception.html#a0656dab88a7129bc288821bacd653d08">error</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the error text.  <a href="#a0656dab88a7129bc288821bacd653d08"></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_arg_exception.html#a18ffd1ad34c1799865f8e03df4ebdff1">argId</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the argument id.  <a href="#a18ffd1ad34c1799865f8e03df4ebdff1"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_c_l_a_p_1_1_arg_exception.html#af51c89da2e4ae54fc9d05038ea484c83">what</a> () const   throw ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the arg id and error text.  <a href="#af51c89da2e4ae54fc9d05038ea484c83"></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_arg_exception.html#abd271955e1b808bb92f8db7a16ea7c95">typeDescription</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the type of the exception.  <a href="#abd271955e1b808bb92f8db7a16ea7c95"></a><br/></td></tr>
<tr><td colspan="2"><h2><a name="pri-attribs"></a>
Private Attributes</h2></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_arg_exception.html#ad94d68e5948f6b74aacb8b2023e96c50">_errorText</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">The text of the exception message.  <a href="#ad94d68e5948f6b74aacb8b2023e96c50"></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_arg_exception.html#a6bfa7ed4e5cc1404d6b4cc5d28cb1f28">_argId</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">The argument related to this exception.  <a href="#a6bfa7ed4e5cc1404d6b4cc5d28cb1f28"></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_arg_exception.html#a7c69e599ae4a5b874a3e19cd4cf7c910">_typeDescription</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Describes the type of the exception.  <a href="#a7c69e599ae4a5b874a3e19cd4cf7c910"></a><br/></td></tr>
</table>
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a67389912b628e95d530f8bb8de97b309"></a><!-- doxytag: member="TCLAP::ArgException::ArgException" ref="a67389912b628e95d530f8bb8de97b309" args="(const std::string &amp;text=&quot;undefined exception&quot;, const std::string &amp;id=&quot;undefined&quot;, const std::string &amp;td=&quot;Generic ArgException&quot;)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">TCLAP::ArgException::ArgException </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>text</em> = <code>&quot;undefined&#160;exception&quot;</code>, </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>id</em> = <code>&quot;undefined&quot;</code>, </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>td</em> = <code>&quot;Generic&#160;<a class="el" href="class_t_c_l_a_p_1_1_arg_exception.html">ArgException</a>&quot;</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Constructor. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">text</td><td>- The text of the exception. </td></tr>
    <tr><td class="paramname">id</td><td>- The text identifying the argument source. </td></tr>
    <tr><td class="paramname">td</td><td>- Text describing the type of <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> it is. of the exception. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="_arg_exception_8h_source.html#l00046">46</a> of file <a class="el" href="_arg_exception_8h_source.html">ArgException.h</a>.</p>

</div>
</div>
<a class="anchor" id="a5c5df6a814b05c623a01607fb82980f4"></a><!-- doxytag: member="TCLAP::ArgException::~ArgException" ref="a5c5df6a814b05c623a01607fb82980f4" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual TCLAP::ArgException::~ArgException </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td>  throw ()<code> [inline, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Destructor. </p>

<p>Definition at line <a class="el" href="_arg_exception_8h_source.html#l00058">58</a> of file <a class="el" href="_arg_exception_8h_source.html">ArgException.h</a>.</p>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a18ffd1ad34c1799865f8e03df4ebdff1"></a><!-- doxytag: member="TCLAP::ArgException::argId" ref="a18ffd1ad34c1799865f8e03df4ebdff1" args="() 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::ArgException::argId </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns the argument id. </p>

<p>Definition at line <a class="el" href="_arg_exception_8h_source.html#l00068">68</a> of file <a class="el" href="_arg_exception_8h_source.html">ArgException.h</a>.</p>

<p>References <a class="el" href="_arg_exception_8h_source.html#l00106">_argId</a>.</p>

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

</div>
</div>
<a class="anchor" id="a0656dab88a7129bc288821bacd653d08"></a><!-- doxytag: member="TCLAP::ArgException::error" ref="a0656dab88a7129bc288821bacd653d08" args="() 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::ArgException::error </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns the error text. </p>

<p>Definition at line <a class="el" href="_arg_exception_8h_source.html#l00063">63</a> of file <a class="el" href="_arg_exception_8h_source.html">ArgException.h</a>.</p>

<p>References <a class="el" href="_arg_exception_8h_source.html#l00101">_errorText</a>.</p>

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

</div>
</div>
<a class="anchor" id="abd271955e1b808bb92f8db7a16ea7c95"></a><!-- doxytag: member="TCLAP::ArgException::typeDescription" ref="abd271955e1b808bb92f8db7a16ea7c95" args="() 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::ArgException::typeDescription </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns the type of the exception. </p>
<p>Used to explain and distinguish between different child exceptions. </p>

<p>Definition at line <a class="el" href="_arg_exception_8h_source.html#l00090">90</a> of file <a class="el" href="_arg_exception_8h_source.html">ArgException.h</a>.</p>

<p>References <a class="el" href="_arg_exception_8h_source.html#l00112">_typeDescription</a>.</p>

</div>
</div>
<a class="anchor" id="af51c89da2e4ae54fc9d05038ea484c83"></a><!-- doxytag: member="TCLAP::ArgException::what" ref="af51c89da2e4ae54fc9d05038ea484c83" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const char* TCLAP::ArgException::what </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const  throw ()<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns the arg id and error text. </p>

<p>Definition at line <a class="el" href="_arg_exception_8h_source.html#l00079">79</a> of file <a class="el" href="_arg_exception_8h_source.html">ArgException.h</a>.</p>

<p>References <a class="el" href="_arg_exception_8h_source.html#l00106">_argId</a>, and <a class="el" href="_arg_exception_8h_source.html#l00101">_errorText</a>.</p>

<p>Referenced by <a class="el" href="_doc_book_output_8h_source.html#l00191">TCLAP::DocBookOutput::failure()</a>.</p>

</div>
</div>
<hr/><h2>Member Data Documentation</h2>
<a class="anchor" id="a6bfa7ed4e5cc1404d6b4cc5d28cb1f28"></a><!-- doxytag: member="TCLAP::ArgException::_argId" ref="a6bfa7ed4e5cc1404d6b4cc5d28cb1f28" 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_arg_exception.html#a6bfa7ed4e5cc1404d6b4cc5d28cb1f28">TCLAP::ArgException::_argId</a><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>The argument related to this exception. </p>

<p>Definition at line <a class="el" href="_arg_exception_8h_source.html#l00106">106</a> of file <a class="el" href="_arg_exception_8h_source.html">ArgException.h</a>.</p>

<p>Referenced by <a class="el" href="_arg_exception_8h_source.html#l00068">argId()</a>, and <a class="el" href="_arg_exception_8h_source.html#l00079">what()</a>.</p>

</div>
</div>
<a class="anchor" id="ad94d68e5948f6b74aacb8b2023e96c50"></a><!-- doxytag: member="TCLAP::ArgException::_errorText" ref="ad94d68e5948f6b74aacb8b2023e96c50" 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_arg_exception.html#ad94d68e5948f6b74aacb8b2023e96c50">TCLAP::ArgException::_errorText</a><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>The text of the exception message. </p>

<p>Definition at line <a class="el" href="_arg_exception_8h_source.html#l00101">101</a> of file <a class="el" href="_arg_exception_8h_source.html">ArgException.h</a>.</p>

<p>Referenced by <a class="el" href="_arg_exception_8h_source.html#l00063">error()</a>, and <a class="el" href="_arg_exception_8h_source.html#l00079">what()</a>.</p>

</div>
</div>
<a class="anchor" id="a7c69e599ae4a5b874a3e19cd4cf7c910"></a><!-- doxytag: member="TCLAP::ArgException::_typeDescription" ref="a7c69e599ae4a5b874a3e19cd4cf7c910" 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_arg_exception.html#a7c69e599ae4a5b874a3e19cd4cf7c910">TCLAP::ArgException::_typeDescription</a><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Describes the type of the exception. </p>
<p>Used to distinguish between different child exceptions. </p>

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

<p>Referenced by <a class="el" href="_arg_exception_8h_source.html#l00090">typeDescription()</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>