<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <title>GNU CommonC++: cmdoptns.h File Reference</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <link href="doxygen.css" rel="stylesheet" type="text/css"/> </head> <body> <!-- Generated by Doxygen 1.6.3 --> <div class="navigation" id="top"> <div class="tabs"> <ul> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="namespaces.html"><span>Namespaces</span></a></li> <li><a href="annotated.html"><span>Classes</span></a></li> <li class="current"><a href="files.html"><span>Files</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 List</span></a></li> <li><a href="globals.html"><span>File Members</span></a></li> </ul> </div> </div> <div class="contents"> <h1>cmdoptns.h File Reference</h1> <p>Command line option parsing interface. <a href="#_details">More...</a></p> <code>#include <<a class="el" href="string_8h_source.html">cc++/string.h</a>></code><br/> <p><a href="cmdoptns_8h_source.html">Go to the source code of this file.</a></p> <table border="0" cellpadding="0" cellspacing="0"> <tr><td colspan="2"><h2>Classes</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top">class </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"> </td><td class="mdescRight"><a class="el" href="classost_1_1_command_option.html" title="CommandOption is the base class for all command line options.">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" align="right" valign="top">class </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"> </td><td class="mdescRight">Derived class of <a class="el" href="classost_1_1_command_option.html" title="CommandOption is the base class for all command line options.">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" align="right" valign="top">class </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"> </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" align="right" valign="top">class </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"> </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_collect.html" title="It only makes sense to have a single one of these set and it is also exclusive with...">CommandOptionCollect</a>. <a href="classost_1_1_command_option_rest.html#_details">More...</a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">class </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"> </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_rest.html" title="It only makes sense to have a single one of these set and it is exclusive with CommandOptionCollect...">CommandOptionRest</a>. <a href="classost_1_1_command_option_collect.html#_details">More...</a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">class </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"> </td><td class="mdescRight"><a class="el" href="classost_1_1_command_option.html" title="CommandOption is the base class for all command line options.">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" align="right" valign="top">class </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"> </td><td class="mdescRight">This is the <a class="el" href="classost_1_1_command_option_parse.html" title="This is the CommandOptionParse interface class.">CommandOptionParse</a> interface class. <a href="classost_1_1_command_option_parse.html#_details">More...</a><br/></td></tr> <tr><td colspan="2"><h2>Namespaces</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top">namespace </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceost.html">ost</a></td></tr> <tr><td colspan="2"><h2>Functions</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top">__EXPORT CommandOptionParse * </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceost.html#a282d97c4c4323467d6e8b82cb93ec89d">ost::makeCommandOptionParse</a> (int argc, char **argv, const char *comment, CommandOption *options=defaultCommandOptionList)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">makeCommandOptionParse will create an implementation of a <a class="el" href="classost_1_1_command_option_parse.html" title="This is the CommandOptionParse interface class.">CommandOptionParse</a> object. <a href="#a282d97c4c4323467d6e8b82cb93ec89d"></a><br/></td></tr> <tr><td colspan="2"><h2>Variables</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top">__EXPORT CommandOption * </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceost.html#a3b701311bbf7cf16f954820e316f5766">ost::defaultCommandOptionList</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">This defines a linked list head pointer for all the command line options that use the default list. <a href="#a3b701311bbf7cf16f954820e316f5766"></a><br/></td></tr> </table> <hr/><a name="_details"></a><h2>Detailed Description</h2> <p>Command line option parsing interface. </p> </div> <hr class="footer"/><address style="text-align: right;"><small>Generated on Fri Mar 12 10:07:39 2010 for GNU CommonC++ by <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.3 </small></address> </body> </html>