Sophie

Sophie

distrib > Mandriva > 8.2 > i586 > media > contrib > by-pkgid > 68d373e54fb21da3730c08bede406633 > files > 95

libCommonC++1.9_3-devel-1.9.4-2mdk.i586.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>CommandOptionNoArg class Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body bgcolor="#ffffff">
<!-- Generated by Doxygen 1.2.10 -->
<center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="classes.html">Alphabetical List</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center>
<hr><h1>CommandOptionNoArg  Class Reference</h1><a class="el" href="class_command_option.html">CommandOption</a> type for flags. 
<a href="#_details">More...</a>
<p>
<code>#include &lt;<a class="el" href="cmdoptns_8h-source.html">cmdoptns.h</a>&gt;</code>
<p>
<p>Inheritance diagram for CommandOptionNoArg::
<p><center><img src="class_command_option_no_arg.gif" usemap="#CommandOptionNoArg_map" border="0"></center>
<map name="CommandOptionNoArg_map">
<area href="class_command_option.html" alt="CommandOption" shape="rect" coords="0,0,141,24">
</map>
<a href="class_command_option_no_arg-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0>
<tr><td colspan=2><br><h2>Public Methods</h2></td></tr>
<tr><td nowrap align=right valign=top>&nbsp;</td><td valign=bottom><a class="el" href="class_command_option_no_arg.html#a0">CommandOptionNoArg</a> (const char *in_option_name, const char *in_option_letter, const char *in_description, <a class="el" href="config_8h.html#a17">bool</a> in_required=false, <a class="el" href="class_command_option.html">CommandOption</a> **pp_next=&amp;<a class="el" href="cmdoptns_8h.html#a0">DefaultCommandOptionList</a>)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em><a class="el" href="class_command_option_arg.html">CommandOptionArg</a> contructor.</em> <a href="#a0">More...</a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>virtual void&nbsp;</td><td valign=bottom><a class="el" href="class_command_option_no_arg.html#a1">FoundOption</a> (<a class="el" href="class_command_option_parse.html">CommandOptionParse</a> *cop, const char *value=0)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em><a class="el" href="class_command_option_no_arg.html#a1">CommandOptionNoArg::FoundOption</a> will evpect a nil "value" passed in.</em> <a href="#a1">More...</a><em></em></font><br><br></td></tr>
<tr><td colspan=2><br><h2>Public Attributes</h2></td></tr>
<tr><td nowrap align=right valign=top>int&nbsp;</td><td valign=bottom><a class="el" href="class_command_option_no_arg.html#m0">numset</a></td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>The number of times this value has been set.</em> <a href="#m0">More...</a><em></em></font><br><br></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
<a class="el" href="class_command_option.html">CommandOption</a> type for flags.
<p>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a name="a0" doxytag="CommandOptionNoArg::CommandOptionNoArg"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> CommandOptionNoArg::CommandOptionNoArg </td>
          <td class="md">(&nbsp;</td>
          <td class="md">const char *</td>
          <td class="mdname">&nbsp; <em>in_option_name</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md">const char *</td>
          <td class="mdname">&nbsp; <em>in_option_letter</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md">const char *</td>
          <td class="mdname">&nbsp; <em>in_description</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md"><a class="el" href="config_8h.html#a17">bool</a></td>
          <td class="mdname">&nbsp; <em>in_required</em> = false, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md"><a class="el" href="class_command_option.html">CommandOption</a> **</td>
          <td class="mdname">&nbsp; <em>pp_next</em> = &amp; <a class="el" href="cmdoptns_8h.html#a0">DefaultCommandOptionList</a></td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
<a class="el" href="class_command_option_arg.html">CommandOptionArg</a> contructor.
<p>
This sets the option_type for this object to NoArg.<dl compact><dt><b>
Parameters: </b><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>in_option_name
</em>&nbsp;</td><td>
long option name </td></tr>
<tr><td valign=top><em>in_option_letter
</em>&nbsp;</td><td>
short letter name </td></tr>
<tr><td valign=top><em>in_description
</em>&nbsp;</td><td>
short description of the option </td></tr>
<tr><td valign=top><em>in_required
</em>&nbsp;</td><td>
true if option is required </td></tr>
<tr><td valign=top><em>pp_next
</em>&nbsp;</td><td>
the linked list header </td></tr>
</table>
</dl>    </td>
  </tr>
</table>
<hr><h2>Member Function Documentation</h2>
<a name="a1" doxytag="CommandOptionNoArg::FoundOption"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> virtual void CommandOptionNoArg::FoundOption </td>
          <td class="md">(&nbsp;</td>
          <td class="md"><a class="el" href="class_command_option_parse.html">CommandOptionParse</a> *</td>
          <td class="mdname">&nbsp; <em>cop</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md">const char *</td>
          <td class="mdname">&nbsp; <em>value</em> = 0</td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"><code> [virtual]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
<a class="el" href="class_command_option_no_arg.html#a1">CommandOptionNoArg::FoundOption</a> will evpect a nil "value" passed in.
<p>

<p>
Reimplemented from <a class="el" href="class_command_option.html#a2">CommandOption</a>.    </td>
  </tr>
</table>
<hr><h2>Member Data Documentation</h2>
<a name="m0" doxytag="CommandOptionNoArg::numset"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> int CommandOptionNoArg::numset
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
The number of times this value has been set.
<p>
    </td>
  </tr>
</table>
<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></ul>
<hr><address><small>Generated at Tue Oct 16 11:17:17 2001 for CommonC++ by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.gif" alt="doxygen" align="middle" border=0 
width=110 height=53></a>1.2.10 written by <a href="mailto:dimitri@stack.nl">Dimitri van Heesch</a>,
 &copy;&nbsp;1997-2001</small></address>
</body>
</html>