Sophie

Sophie

distrib > Mandriva > 2007.0 > i586 > by-pkgid > ad1ba1135a9c9eeffc2e538163e00373 > files > 411

libCommonC++2_1.4-devel-1.4.1-1mdv2007.0.i586.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>GNU CommonC++: cmdoptns.h File Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.4.6 -->
<div class="tabs">
  <ul>
    <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
    <li><a href="namespaces.html"><span>Namespaces</span></a></li>
    <li><a href="classes.html"><span>Classes</span></a></li>
    <li id="current"><a href="files.html"><span>Files</span></a></li>
    <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
    <li><a href="examples.html"><span>Examples</span></a></li>
  </ul></div>
<div class="tabs">
  <ul>
    <li><a href="files.html"><span>File&nbsp;List</span></a></li>
    <li><a href="globals.html"><span>File&nbsp;Members</span></a></li>
  </ul></div>
<h1>cmdoptns.h File Reference</h1>Command line option parsing interface. <a href="#_details">More...</a>
<p>
<code>#include &lt;<a class="el" href="string_8h-source.html">cc++/string.h</a>&gt;</code><br>

<p>
<a href="cmdoptns_8h-source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Namespaces</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">namespace &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceost.html">ost</a></td></tr>

<tr><td colspan="2"><br><h2>Classes</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">class &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classost_1_1_command_option.html">ost::CommandOption</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight"><a class="el" href="classost_1_1_command_option.html">CommandOption</a> is the base class for all command line options.  <a href="classost_1_1_command_option.html#_details">More...</a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">class &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classost_1_1_command_option_with_arg.html">ost::CommandOptionWithArg</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Derived class of <a class="el" href="classost_1_1_command_option.html">CommandOption</a> for options that have a value associated with them.  <a href="classost_1_1_command_option_with_arg.html#_details">More...</a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">class &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classost_1_1_command_option_arg.html">ost::CommandOptionArg</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Class for options with an argument e.g.  <a href="classost_1_1_command_option_arg.html#_details">More...</a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">class &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classost_1_1_command_option_rest.html">ost::CommandOptionRest</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">It only makes sense to have a single one of these set and it is exclusive with <a class="el" href="classost_1_1_command_option.html#989bf900aed6323812ae6922edcdc4af">CommandOptionCollect.CommandOption</a> to take the rest of the command line.  <a href="classost_1_1_command_option_rest.html#_details">More...</a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">class &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classost_1_1_command_option_collect.html">ost::CommandOptionCollect</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">It only makes sense to have a single one of these set and it is also exclusive with <a class="el" href="classost_1_1_command_option.html#989bf900aed6323812ae6922edcdc4af">CommandOptionRest.CommandOption</a> to collect parameters that are not options.  <a href="classost_1_1_command_option_collect.html#_details">More...</a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">class &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classost_1_1_command_option_no_arg.html">ost::CommandOptionNoArg</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight"><a class="el" href="classost_1_1_command_option.html">CommandOption</a> type for flags.  <a href="classost_1_1_command_option_no_arg.html#_details">More...</a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">class &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classost_1_1_command_option_parse.html">ost::CommandOptionParse</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This is the <a class="el" href="classost_1_1_command_option_parse.html">CommandOptionParse</a> interface class.  <a href="classost_1_1_command_option_parse.html#_details">More...</a><br></td></tr>
<tr><td colspan="2"><br><h2>Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">__EXPORT CommandOptionParse *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceost.html#9c8722a3e68ba930b72211f47eacc5eb">ost::makeCommandOptionParse</a> (int argc, char **argv, char *comment, CommandOption *options=<a class="el" href="namespaceost.html#3b701311bbf7cf16f954820e316f5766">defaultCommandOptionList</a>)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">makeCommandOptionParse will create an implementation of a <a class="el" href="classost_1_1_command_option_parse.html">CommandOptionParse</a> object.  <a href="#9c8722a3e68ba930b72211f47eacc5eb"></a><br></td></tr>
<tr><td colspan="2"><br><h2>Variables</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">__EXPORT CommandOption *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceost.html#3b701311bbf7cf16f954820e316f5766">ost::defaultCommandOptionList</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This defines a linked list head pointer for all the command line options that use the default list.  <a href="#3b701311bbf7cf16f954820e316f5766"></a><br></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
Command line option parsing interface. 
<p>
<hr size="1"><address style="align: right;"><small>Generated on Mon Jun 19 10:50:55 2006 for GNU CommonC++ by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.6 </small></address>
</body>
</html>