<!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"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <meta name="generator" content="Doxygen 1.8.5"/> <title>GNU CommonC++: ost::CommandOptionArg Class Reference</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript" src="dynsections.js"></script> <link href="doxygen.css" rel="stylesheet" type="text/css" /> </head> <body> <div id="top"><!-- do not remove this div, it is closed by doxygen! --> <div id="titlearea"> <table cellspacing="0" cellpadding="0"> <tbody> <tr style="height: 56px;"> <td style="padding-left: 0.5em;"> <div id="projectname">GNU CommonC++ </div> </td> </tr> </tbody> </table> </div> <!-- end header part --> <!-- Generated by Doxygen 1.8.5 --> <div id="navrow1" class="tabs"> <ul class="tablist"> <li><a href="index.html"><span>Main Page</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><a href="examples.html"><span>Examples</span></a></li> </ul> </div> <div id="navrow2" class="tabs2"> <ul class="tablist"> <li><a href="annotated.html"><span>Class List</span></a></li> <li><a href="classes.html"><span>Class Index</span></a></li> <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> <li><a href="functions.html"><span>Class Members</span></a></li> </ul> </div> <div id="nav-path" class="navpath"> <ul> <li class="navelem"><a class="el" href="namespaceost.html">ost</a></li><li class="navelem"><a class="el" href="classost_1_1_command_option_arg.html">CommandOptionArg</a></li> </ul> </div> </div><!-- top --> <div class="header"> <div class="summary"> <a href="#pub-methods">Public Member Functions</a> | <a href="classost_1_1_command_option_arg-members.html">List of all members</a> </div> <div class="headertitle"> <div class="title">ost::CommandOptionArg Class Reference</div> </div> </div><!--header--> <div class="contents"> <p>Class for options with an argument e.g. <a href="classost_1_1_command_option_arg.html#details">More...</a></p> <p><code>#include <<a class="el" href="cmdoptns_8h_source.html">cmdoptns.h</a>></code></p> <div class="dynheader"> Inheritance diagram for ost::CommandOptionArg:</div> <div class="dyncontent"> <div class="center"> <img src="classost_1_1_command_option_arg.png" usemap="#ost::CommandOptionArg_map" alt=""/> <map id="ost::CommandOptionArg_map" name="ost::CommandOptionArg_map"> <area href="classost_1_1_command_option_with_arg.html" title="Derived class of CommandOption for options that have a value associated with them. " alt="ost::CommandOptionWithArg" shape="rect" coords="0,56,171,80"/> <area href="classost_1_1_command_option.html" title="CommandOption is the base class for all command line options. " alt="ost::CommandOption" shape="rect" coords="0,0,171,24"/> </map> </div></div> <table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a> Public Member Functions</h2></td></tr> <tr class="memitem:acfa90cbd4d2e74b79642b305059ca9ac"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classost_1_1_command_option_arg.html#acfa90cbd4d2e74b79642b305059ca9ac">CommandOptionArg</a> (const char *inOptionName, const char *inOptionLetter, const char *inDescription, bool inRequired=false, <a class="el" href="classost_1_1_command_option.html">CommandOption</a> **ppNext=&<a class="el" href="namespaceost.html#a3b701311bbf7cf16f954820e316f5766">defaultCommandOptionList</a>)</td></tr> <tr class="memdesc:acfa90cbd4d2e74b79642b305059ca9ac"><td class="mdescLeft"> </td><td class="mdescRight"><a class="el" href="classost_1_1_command_option_arg.html" title="Class for options with an argument e.g. ">CommandOptionArg</a> contructor. <a href="#acfa90cbd4d2e74b79642b305059ca9ac">More...</a><br/></td></tr> <tr class="separator:acfa90cbd4d2e74b79642b305059ca9ac"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ab6ab4ec0fb10ab0791f4ede5242bc59e"><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classost_1_1_command_option_arg.html#ab6ab4ec0fb10ab0791f4ede5242bc59e">~CommandOptionArg</a> ()</td></tr> <tr class="separator:ab6ab4ec0fb10ab0791f4ede5242bc59e"><td class="memSeparator" colspan="2"> </td></tr> <tr class="inherit_header pub_methods_classost_1_1_command_option_with_arg"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classost_1_1_command_option_with_arg')"><img src="closed.png" alt="-"/> Public Member Functions inherited from <a class="el" href="classost_1_1_command_option_with_arg.html">ost::CommandOptionWithArg</a></td></tr> <tr class="memitem:a874400acc8820fe88023245903b471a8 inherit pub_methods_classost_1_1_command_option_with_arg"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classost_1_1_command_option_with_arg.html#a874400acc8820fe88023245903b471a8">CommandOptionWithArg</a> (const char *inOptionName, const char *inOptionLetter, const char *inDescription, <a class="el" href="classost_1_1_command_option.html#ab56f222627bb3843d2b055d42ceaa493">OptionType</a> inOptionType, bool inRequired=false, <a class="el" href="classost_1_1_command_option.html">CommandOption</a> **ppNext=&<a class="el" href="namespaceost.html#a3b701311bbf7cf16f954820e316f5766">defaultCommandOptionList</a>)</td></tr> <tr class="memdesc:a874400acc8820fe88023245903b471a8 inherit pub_methods_classost_1_1_command_option_with_arg"><td class="mdescLeft"> </td><td class="mdescRight"><a class="el" href="classost_1_1_command_option_with_arg.html" title="Derived class of CommandOption for options that have a value associated with them. ">CommandOptionWithArg</a> contructor. <a href="#a874400acc8820fe88023245903b471a8">More...</a><br/></td></tr> <tr class="separator:a874400acc8820fe88023245903b471a8 inherit pub_methods_classost_1_1_command_option_with_arg"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:aa2405c8615aef3b4503ead25d4e687b7 inherit pub_methods_classost_1_1_command_option_with_arg"><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classost_1_1_command_option_with_arg.html#aa2405c8615aef3b4503ead25d4e687b7">~CommandOptionWithArg</a> ()</td></tr> <tr class="separator:aa2405c8615aef3b4503ead25d4e687b7 inherit pub_methods_classost_1_1_command_option_with_arg"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:aa7a9e87b68ef493f84688355062fc9a8 inherit pub_methods_classost_1_1_command_option_with_arg"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classost_1_1_command_option_with_arg.html#aa7a9e87b68ef493f84688355062fc9a8">foundOption</a> (<a class="el" href="classost_1_1_command_option_parse.html">CommandOptionParse</a> *cop, const char *value=0)</td></tr> <tr class="separator:aa7a9e87b68ef493f84688355062fc9a8 inherit pub_methods_classost_1_1_command_option_with_arg"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a7e012538193acafda06b609dc1dee369 inherit pub_methods_classost_1_1_command_option_with_arg"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classost_1_1_command_option_with_arg.html#a7e012538193acafda06b609dc1dee369">foundOption</a> (<a class="el" href="classost_1_1_command_option_parse.html">CommandOptionParse</a> *cop, const char **value, int num)</td></tr> <tr class="separator:a7e012538193acafda06b609dc1dee369 inherit pub_methods_classost_1_1_command_option_with_arg"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:acf0c03d84b032dab059ae219922dadde inherit pub_methods_classost_1_1_command_option_with_arg"><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classost_1_1_command_option_with_arg.html#acf0c03d84b032dab059ae219922dadde">hasValue</a> ()</td></tr> <tr class="separator:acf0c03d84b032dab059ae219922dadde inherit pub_methods_classost_1_1_command_option_with_arg"><td class="memSeparator" colspan="2"> </td></tr> <tr class="inherit_header pub_methods_classost_1_1_command_option"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classost_1_1_command_option')"><img src="closed.png" alt="-"/> Public Member Functions inherited from <a class="el" href="classost_1_1_command_option.html">ost::CommandOption</a></td></tr> <tr class="memitem:a7e42ca61d049698df46daae73bb205bb inherit pub_methods_classost_1_1_command_option"><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classost_1_1_command_option.html#a7e42ca61d049698df46daae73bb205bb">~CommandOption</a> ()</td></tr> <tr class="memdesc:a7e42ca61d049698df46daae73bb205bb inherit pub_methods_classost_1_1_command_option"><td class="mdescLeft"> </td><td class="mdescRight">A virtual destructor just in case. <a href="#a7e42ca61d049698df46daae73bb205bb">More...</a><br/></td></tr> <tr class="separator:a7e42ca61d049698df46daae73bb205bb inherit pub_methods_classost_1_1_command_option"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a989bf900aed6323812ae6922edcdc4af inherit pub_methods_classost_1_1_command_option"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classost_1_1_command_option.html#a989bf900aed6323812ae6922edcdc4af">CommandOption</a> (const char *inOptionName, const char *inOptionLetter, const char *inDescription, <a class="el" href="classost_1_1_command_option.html#ab56f222627bb3843d2b055d42ceaa493">OptionType</a> inOptionType, bool inRequired=false, <a class="el" href="classost_1_1_command_option.html">CommandOption</a> **ppNext=&<a class="el" href="namespaceost.html#a3b701311bbf7cf16f954820e316f5766">defaultCommandOptionList</a>)</td></tr> <tr class="memdesc:a989bf900aed6323812ae6922edcdc4af inherit pub_methods_classost_1_1_command_option"><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> contructor. <a href="#a989bf900aed6323812ae6922edcdc4af">More...</a><br/></td></tr> <tr class="separator:a989bf900aed6323812ae6922edcdc4af inherit pub_methods_classost_1_1_command_option"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a1cc99afcc775ca21d16c38a0661839a2 inherit pub_methods_classost_1_1_command_option"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classost_1_1_command_option.html#a1cc99afcc775ca21d16c38a0661839a2">parseDone</a> (<a class="el" href="classost_1_1_command_option_parse.html">CommandOptionParse</a> *cop)</td></tr> <tr class="memdesc:a1cc99afcc775ca21d16c38a0661839a2 inherit pub_methods_classost_1_1_command_option"><td class="mdescLeft"> </td><td class="mdescRight">Once parsing of command line options is complete, this method is called. <a href="#a1cc99afcc775ca21d16c38a0661839a2">More...</a><br/></td></tr> <tr class="separator:a1cc99afcc775ca21d16c38a0661839a2 inherit pub_methods_classost_1_1_command_option"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:af52fe62b7a0d3c40b726fa2447cb3b78 inherit pub_methods_classost_1_1_command_option"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classost_1_1_command_option.html#af52fe62b7a0d3c40b726fa2447cb3b78">performTask</a> (<a class="el" href="classost_1_1_command_option_parse.html">CommandOptionParse</a> *cop)</td></tr> <tr class="memdesc:af52fe62b7a0d3c40b726fa2447cb3b78 inherit pub_methods_classost_1_1_command_option"><td class="mdescLeft"> </td><td class="mdescRight">Once <a class="el" href="classost_1_1_command_option.html" title="CommandOption is the base class for all command line options. ">CommandOption</a> objects have completed parsing and there are no errors they may have some specific tasks to perform. <a href="#af52fe62b7a0d3c40b726fa2447cb3b78">More...</a><br/></td></tr> <tr class="separator:af52fe62b7a0d3c40b726fa2447cb3b78 inherit pub_methods_classost_1_1_command_option"><td class="memSeparator" colspan="2"> </td></tr> </table><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a> Additional Inherited Members</h2></td></tr> <tr class="inherit_header pub_types_classost_1_1_command_option"><td colspan="2" onclick="javascript:toggleInherit('pub_types_classost_1_1_command_option')"><img src="closed.png" alt="-"/> Public Types inherited from <a class="el" href="classost_1_1_command_option.html">ost::CommandOption</a></td></tr> <tr class="memitem:ab56f222627bb3843d2b055d42ceaa493 inherit pub_types_classost_1_1_command_option"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="classost_1_1_command_option.html#ab56f222627bb3843d2b055d42ceaa493">OptionType</a> { <a class="el" href="classost_1_1_command_option.html#ab56f222627bb3843d2b055d42ceaa493a51afdccef3c1eefa378b4ea79872fb9f">hasArg</a>, <a class="el" href="classost_1_1_command_option.html#ab56f222627bb3843d2b055d42ceaa493a206297cbdc29de03edfa0e24d589b227">noArg</a>, <a class="el" href="classost_1_1_command_option.html#ab56f222627bb3843d2b055d42ceaa493a4fbaf902c23f48a6d217585297f3afb5">trailing</a>, <a class="el" href="classost_1_1_command_option.html#ab56f222627bb3843d2b055d42ceaa493a9ebaee9fbe6ef1338347908f6e410095">collect</a> }</td></tr> <tr class="memdesc:ab56f222627bb3843d2b055d42ceaa493"><td class="mdescLeft"> </td><td class="mdescRight">OptionType is for denoting what type of option this is, with an arg, without an arg or the trailing args. <a href="classost_1_1_command_option.html#ab56f222627bb3843d2b055d42ceaa493">More...</a><br/></td></tr> <tr class="separator:ab56f222627bb3843d2b055d42ceaa493 inherit pub_types_classost_1_1_command_option"><td class="memSeparator" colspan="2"> </td></tr> <tr class="inherit_header pub_attribs_classost_1_1_command_option_with_arg"><td colspan="2" onclick="javascript:toggleInherit('pub_attribs_classost_1_1_command_option_with_arg')"><img src="closed.png" alt="-"/> Public Attributes inherited from <a class="el" href="classost_1_1_command_option_with_arg.html">ost::CommandOptionWithArg</a></td></tr> <tr class="memitem:a5ccc2d9deb4a248d8414193385a1fc09 inherit pub_attribs_classost_1_1_command_option_with_arg"><td class="memItemLeft" align="right" valign="top">const char ** </td><td class="memItemRight" valign="bottom"><a class="el" href="classost_1_1_command_option_with_arg.html#a5ccc2d9deb4a248d8414193385a1fc09">values</a></td></tr> <tr class="memdesc:a5ccc2d9deb4a248d8414193385a1fc09 inherit pub_attribs_classost_1_1_command_option_with_arg"><td class="mdescLeft"> </td><td class="mdescRight">Array of list of values collected for this option. <a href="#a5ccc2d9deb4a248d8414193385a1fc09">More...</a><br/></td></tr> <tr class="separator:a5ccc2d9deb4a248d8414193385a1fc09 inherit pub_attribs_classost_1_1_command_option_with_arg"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a1fdb4121e6a385dd52e6599338019ce7 inherit pub_attribs_classost_1_1_command_option_with_arg"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classost_1_1_command_option_with_arg.html#a1fdb4121e6a385dd52e6599338019ce7">numValue</a></td></tr> <tr class="memdesc:a1fdb4121e6a385dd52e6599338019ce7 inherit pub_attribs_classost_1_1_command_option_with_arg"><td class="mdescLeft"> </td><td class="mdescRight"><a class="el" href="classost_1_1_number.html" title="A number manipulation class. ">Number</a> of values in the values array. <a href="#a1fdb4121e6a385dd52e6599338019ce7">More...</a><br/></td></tr> <tr class="separator:a1fdb4121e6a385dd52e6599338019ce7 inherit pub_attribs_classost_1_1_command_option_with_arg"><td class="memSeparator" colspan="2"> </td></tr> <tr class="inherit_header pub_attribs_classost_1_1_command_option"><td colspan="2" onclick="javascript:toggleInherit('pub_attribs_classost_1_1_command_option')"><img src="closed.png" alt="-"/> Public Attributes inherited from <a class="el" href="classost_1_1_command_option.html">ost::CommandOption</a></td></tr> <tr class="memitem:a3cf7d6f9d1943e981d29c38e2e188231 inherit pub_attribs_classost_1_1_command_option"><td class="memItemLeft" align="right" valign="top">const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="classost_1_1_command_option.html#a3cf7d6f9d1943e981d29c38e2e188231">optionName</a></td></tr> <tr class="memdesc:a3cf7d6f9d1943e981d29c38e2e188231 inherit pub_attribs_classost_1_1_command_option"><td class="mdescLeft"> </td><td class="mdescRight">Long option name, these will be preceded with "--" on the command line. <a href="#a3cf7d6f9d1943e981d29c38e2e188231">More...</a><br/></td></tr> <tr class="separator:a3cf7d6f9d1943e981d29c38e2e188231 inherit pub_attribs_classost_1_1_command_option"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ac894a27c5aeeb70ff07387bb721bd7c6 inherit pub_attribs_classost_1_1_command_option"><td class="memItemLeft" align="right" valign="top">const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="classost_1_1_command_option.html#ac894a27c5aeeb70ff07387bb721bd7c6">optionLetter</a></td></tr> <tr class="memdesc:ac894a27c5aeeb70ff07387bb721bd7c6 inherit pub_attribs_classost_1_1_command_option"><td class="mdescLeft"> </td><td class="mdescRight">option letter, these will be preceded with "-" on the command line. <a href="#ac894a27c5aeeb70ff07387bb721bd7c6">More...</a><br/></td></tr> <tr class="separator:ac894a27c5aeeb70ff07387bb721bd7c6 inherit pub_attribs_classost_1_1_command_option"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ae7c1ad2ef21198b1bef933847ff5d197 inherit pub_attribs_classost_1_1_command_option"><td class="memItemLeft" align="right" valign="top">const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="classost_1_1_command_option.html#ae7c1ad2ef21198b1bef933847ff5d197">description</a></td></tr> <tr class="memdesc:ae7c1ad2ef21198b1bef933847ff5d197 inherit pub_attribs_classost_1_1_command_option"><td class="mdescLeft"> </td><td class="mdescRight">A short description of the option for Usage messages. <a href="#ae7c1ad2ef21198b1bef933847ff5d197">More...</a><br/></td></tr> <tr class="separator:ae7c1ad2ef21198b1bef933847ff5d197 inherit pub_attribs_classost_1_1_command_option"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a2e5f9f895bda7cf7dbe48e0106866368 inherit pub_attribs_classost_1_1_command_option"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classost_1_1_command_option.html#ab56f222627bb3843d2b055d42ceaa493">OptionType</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classost_1_1_command_option.html#a2e5f9f895bda7cf7dbe48e0106866368">optionType</a></td></tr> <tr class="memdesc:a2e5f9f895bda7cf7dbe48e0106866368 inherit pub_attribs_classost_1_1_command_option"><td class="mdescLeft"> </td><td class="mdescRight">This command option's OptionType. <a href="#a2e5f9f895bda7cf7dbe48e0106866368">More...</a><br/></td></tr> <tr class="separator:a2e5f9f895bda7cf7dbe48e0106866368 inherit pub_attribs_classost_1_1_command_option"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a05f8b1439cbf0cf33f47707a33baad57 inherit pub_attribs_classost_1_1_command_option"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classost_1_1_command_option.html#a05f8b1439cbf0cf33f47707a33baad57">required</a></td></tr> <tr class="memdesc:a05f8b1439cbf0cf33f47707a33baad57 inherit pub_attribs_classost_1_1_command_option"><td class="mdescLeft"> </td><td class="mdescRight">True if this parameter is required. <a href="#a05f8b1439cbf0cf33f47707a33baad57">More...</a><br/></td></tr> <tr class="separator:a05f8b1439cbf0cf33f47707a33baad57 inherit pub_attribs_classost_1_1_command_option"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a0dd94d805913bf11cd188de53baaf27c inherit pub_attribs_classost_1_1_command_option"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classost_1_1_command_option.html">CommandOption</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classost_1_1_command_option.html#a0dd94d805913bf11cd188de53baaf27c">next</a></td></tr> <tr class="memdesc:a0dd94d805913bf11cd188de53baaf27c inherit pub_attribs_classost_1_1_command_option"><td class="mdescLeft"> </td><td class="mdescRight">This next <a class="el" href="classost_1_1_command_option.html" title="CommandOption is the base class for all command line options. ">CommandOption</a> in this list of options or nil if no more options exist. <a href="#a0dd94d805913bf11cd188de53baaf27c">More...</a><br/></td></tr> <tr class="separator:a0dd94d805913bf11cd188de53baaf27c inherit pub_attribs_classost_1_1_command_option"><td class="memSeparator" colspan="2"> </td></tr> </table> <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> <div class="textblock"><p>Class for options with an argument e.g. </p> <p>–option value . </p> <dl><dt><b>Examples: </b></dt><dd><a class="el" href="cmdlineopt_8cpp-example.html#_a0">cmdlineopt.cpp</a>.</dd> </dl></div><h2 class="groupheader">Constructor & Destructor Documentation</h2> <a class="anchor" id="acfa90cbd4d2e74b79642b305059ca9ac"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">ost::CommandOptionArg::CommandOptionArg </td> <td>(</td> <td class="paramtype">const char * </td> <td class="paramname"><em>inOptionName</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const char * </td> <td class="paramname"><em>inOptionLetter</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const char * </td> <td class="paramname"><em>inDescription</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">bool </td> <td class="paramname"><em>inRequired</em> = <code>false</code>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="classost_1_1_command_option.html">CommandOption</a> ** </td> <td class="paramname"><em>ppNext</em> = <code>&<a class="el" href="namespaceost.html#a3b701311bbf7cf16f954820e316f5766">defaultCommandOptionList</a></code> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p><a class="el" href="classost_1_1_command_option_arg.html" title="Class for options with an argument e.g. ">CommandOptionArg</a> contructor. </p> <p>This sets the optionType for this object to HasArg.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">inOptionName</td><td>long option name </td></tr> <tr><td class="paramname">inOptionLetter</td><td>short letter name </td></tr> <tr><td class="paramname">inDescription</td><td>short description of the option </td></tr> <tr><td class="paramname">inRequired</td><td>true if option is required </td></tr> <tr><td class="paramname">ppNext</td><td>the linked list header </td></tr> </table> </dd> </dl> </div> </div> <a class="anchor" id="ab6ab4ec0fb10ab0791f4ede5242bc59e"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">virtual ost::CommandOptionArg::~CommandOptionArg </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> </div> </div> <hr/>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="cmdoptns_8h_source.html">cmdoptns.h</a></li> </ul> </div><!-- contents --> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> Generated on Thu Oct 17 2013 23:24:57 for GNU CommonC++ by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/> </a> 1.8.5 </small></address> </body> </html>