Sophie

Sophie

distrib > Mandriva > 2010.1 > x86_64 > media > main-updates > by-pkgid > f36f42783f75191f5f2d47f1e8c5504e > files > 110

lib64commoncpp-devel-1.8.0-5.1mdv2010.1.x86_64.rpm

<!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++: ost::CommandOptionNoArg Class 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&nbsp;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 class="tabs">
    <ul>
      <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
      <li><a href="classes.html"><span>Class&nbsp;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
    </ul>
  </div>
  <div class="navpath"><a class="el" href="namespaceost.html">ost</a>::<a class="el" href="classost_1_1_command_option_no_arg.html">CommandOptionNoArg</a>
  </div>
</div>
<div class="contents">
<h1>ost::CommandOptionNoArg Class Reference</h1><!-- doxytag: class="ost::CommandOptionNoArg" --><!-- doxytag: inherits="ost::CommandOption" -->
<p><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="#_details">More...</a></p>

<p><code>#include &lt;<a class="el" href="cmdoptns_8h_source.html">cmdoptns.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for ost::CommandOptionNoArg:</div>
<div class="dynsection">
 <div class="center">
  <img src="classost_1_1_command_option_no_arg.png" usemap="#ost::CommandOptionNoArg_map" alt=""/>
  <map id="ost::CommandOptionNoArg_map" name="ost::CommandOptionNoArg_map">
<area href="classost_1_1_command_option.html" alt="ost::CommandOption" shape="rect" coords="0,0,163,24"/>
</map>
 </div>
</div>

<p><a href="classost_1_1_command_option_no_arg-members.html">List of all members.</a></p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td colspan="2"><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classost_1_1_command_option_no_arg.html#a1dcb38419a79d85aad39b58b5f5b6ece">CommandOptionNoArg</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=&amp;<a class="el" href="namespaceost.html#a3b701311bbf7cf16f954820e316f5766">defaultCommandOptionList</a>)</td></tr>
<tr><td class="mdescLeft">&nbsp;</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="#a1dcb38419a79d85aad39b58b5f5b6ece"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classost_1_1_command_option_no_arg.html#a5762755aabab3298e9e9d2fe45f4de61">foundOption</a> (<a class="el" href="classost_1_1_command_option_parse.html">CommandOptionParse</a> *cop, const char *value=0)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight"><a class="el" href="classost_1_1_command_option_no_arg.html#a5762755aabab3298e9e9d2fe45f4de61" title="CommandOptionNoArg::foundOption will evpect a nil &quot;value&quot; passed in.">CommandOptionNoArg::foundOption</a> will evpect a nil "value" passed in.  <a href="#a5762755aabab3298e9e9d2fe45f4de61"></a><br/></td></tr>
<tr><td colspan="2"><h2>Public Attributes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classost_1_1_command_option_no_arg.html#a34ad5c00e41da5cb4b113e5f5c989436">numSet</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The number of times this value has been set.  <a href="#a34ad5c00e41da5cb4b113e5f5c989436"></a><br/></td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p><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. </p>
<dl><dt><b>Examples: </b></dt><dd>
<p><a class="el" href="cmdlineopt_8cpp-example.html#_a1">cmdlineopt.cpp</a>.</p>
</dd>
</dl><hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a1dcb38419a79d85aad39b58b5f5b6ece"></a><!-- doxytag: member="ost::CommandOptionNoArg::CommandOptionNoArg" ref="a1dcb38419a79d85aad39b58b5f5b6ece" args="(const char *inOptionName, const char *inOptionLetter, const char *inDescription, bool inRequired=false, CommandOption **ppNext=&amp;defaultCommandOptionList)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ost::CommandOptionNoArg::CommandOptionNoArg </td>
          <td>(</td>
          <td class="paramtype">const char *&nbsp;</td>
          <td class="paramname"> <em>inOptionName</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&nbsp;</td>
          <td class="paramname"> <em>inOptionLetter</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&nbsp;</td>
          <td class="paramname"> <em>inDescription</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&nbsp;</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> **&nbsp;</td>
          <td class="paramname"> <em>ppNext</em> = <code>&amp;<a class="el" href="namespaceost.html#a3b701311bbf7cf16f954820e316f5766">defaultCommandOptionList</a></code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <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 NoArg.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>inOptionName</em>&nbsp;</td><td>long option name </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>inOptionLetter</em>&nbsp;</td><td>short letter name </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>inDescription</em>&nbsp;</td><td>short description of the option </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>inRequired</em>&nbsp;</td><td>true if option is required </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>ppNext</em>&nbsp;</td><td>the linked list header </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a5762755aabab3298e9e9d2fe45f4de61"></a><!-- doxytag: member="ost::CommandOptionNoArg::foundOption" ref="a5762755aabab3298e9e9d2fe45f4de61" args="(CommandOptionParse *cop, const char *value=0)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void ost::CommandOptionNoArg::foundOption </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classost_1_1_command_option_parse.html">CommandOptionParse</a> *&nbsp;</td>
          <td class="paramname"> <em>cop</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&nbsp;</td>
          <td class="paramname"> <em>value</em> = <code>0</code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p><a class="el" href="classost_1_1_command_option_no_arg.html#a5762755aabab3298e9e9d2fe45f4de61" title="CommandOptionNoArg::foundOption will evpect a nil &quot;value&quot; passed in.">CommandOptionNoArg::foundOption</a> will evpect a nil "value" passed in. </p>

<p>Reimplemented from <a class="el" href="classost_1_1_command_option.html#a70394fb2a025443e6890e0e076a94477">ost::CommandOption</a>.</p>

</div>
</div>
<hr/><h2>Member Data Documentation</h2>
<a class="anchor" id="a34ad5c00e41da5cb4b113e5f5c989436"></a><!-- doxytag: member="ost::CommandOptionNoArg::numSet" ref="a34ad5c00e41da5cb4b113e5f5c989436" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int <a class="el" href="classost_1_1_command_option_no_arg.html#a34ad5c00e41da5cb4b113e5f5c989436">ost::CommandOptionNoArg::numSet</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>The number of times this value has been set. </p>

</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>
<hr class="footer"/><address style="text-align: right;"><small>Generated on Fri Nov 12 09:57:39 2010 for GNU CommonC++ by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.3 </small></address>
</body>
</html>