/usr/share/doc/libucommon-dev/a00147.html is in libucommon-doc 3.2.0-0ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 | <!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>UCommon: ucc::shell::numericopt 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="main.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>Data Structures</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>Data Structures</span></a></li>
<li><a href="classes.html"><span>Data Structure Index</span></a></li>
<li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li>
<li><a href="functions.html"><span>Data Fields</span></a></li>
</ul>
</div>
<div class="navpath"><a class="el" href="a00214.html">ucc</a>::<a class="el" href="a00142.html">shell</a>::<a class="el" href="a00147.html">numericopt</a>
</div>
</div>
<div class="contents">
<h1>ucc::shell::numericopt Class Reference</h1><!-- doxytag: class="ucc::shell::numericopt" --><!-- doxytag: inherits="ucc::shell::Option" -->
<p>Numeric option for shell parsing.
<a href="#_details">More...</a></p>
<p><code>#include <<a class="el" href="a00204_source.html">shell.h</a>></code></p>
<div class="dynheader">
Inheritance diagram for ucc::shell::numericopt:</div>
<div class="dynsection">
<div class="center"><img src="a00541.png" border="0" usemap="#ucc_1_1shell_1_1numericopt_inherit__map" alt="Inheritance graph"/></div>
<map name="ucc_1_1shell_1_1numericopt_inherit__map" id="ucc_1_1shell_1_1numericopt_inherit__map">
<area shape="rect" id="node2" href="a00148.html" title="A base class used to create parsable shell options." alt="" coords="21,237,152,267"/><area shape="rect" id="node4" href="a00100.html" title="A linked object base class for ordered objects." alt="" coords="15,160,159,189"/><area shape="rect" id="node6" href="a00069.html" title="Common base class for all objects that can be formed into a linked list." alt="" coords="20,83,153,112"/><area shape="rect" id="node8" href="a00093.html" title="A common base class for all managed objects." alt="" coords="40,5,133,35"/></map>
<center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div>
<div class="dynheader">
Collaboration diagram for ucc::shell::numericopt:</div>
<div class="dynsection">
<div class="center"><img src="a00542.png" border="0" usemap="#ucc_1_1shell_1_1numericopt_coll__map" alt="Collaboration graph"/></div>
<map name="ucc_1_1shell_1_1numericopt_coll__map" id="ucc_1_1shell_1_1numericopt_coll__map">
<area shape="rect" id="node2" href="a00148.html" title="A base class used to create parsable shell options." alt="" coords="28,395,159,424"/><area shape="rect" id="node4" href="a00100.html" title="A linked object base class for ordered objects." alt="" coords="5,187,149,216"/><area shape="rect" id="node11" href="a00099.html" title="An index container for maintaining an ordered list of objects." alt="" coords="93,299,232,328"/><area shape="rect" id="node6" href="a00069.html" title="Common base class for all objects that can be formed into a linked list." alt="" coords="11,96,144,125"/><area shape="rect" id="node8" href="a00093.html" title="A common base class for all managed objects." alt="" coords="31,5,124,35"/></map>
<center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div>
<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"><a class="anchor" id="a22f0f5d4e90c0b82f2549c9140d0d6b1"></a><!-- doxytag: member="ucc::shell::numericopt::numericopt" ref="a22f0f5d4e90c0b82f2549c9140d0d6b1" args="(char short_option, const char *long_option=NULL, const char *help=NULL, const char *type="numeric", long def_value=0)" -->
</td><td class="memItemRight" valign="bottom"><b>numericopt</b> (char short_option, const char *long_option=NULL, const char *help=NULL, const char *type="numeric", long def_value=0)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="abf91a60aa82f9001daba55a9783dec8e"></a><!-- doxytag: member="ucc::shell::numericopt::operator bool" ref="abf91a60aa82f9001daba55a9783dec8e" args="()" -->
</td><td class="memItemRight" valign="bottom"><b>operator bool</b> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a5999b49221ec47ff7efaf5f892e64a94"></a><!-- doxytag: member="ucc::shell::numericopt::operator long" ref="a5999b49221ec47ff7efaf5f892e64a94" args="()" -->
</td><td class="memItemRight" valign="bottom"><b>operator long</b> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a554e024e6e1be7b6461186c5c763b4d6"></a><!-- doxytag: member="ucc::shell::numericopt::operator!" ref="a554e024e6e1be7b6461186c5c763b4d6" args="()" -->
bool </td><td class="memItemRight" valign="bottom"><b>operator!</b> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a8e437579b79ef7f0f9f293f1e7969564"></a><!-- doxytag: member="ucc::shell::numericopt::operator*" ref="a8e437579b79ef7f0f9f293f1e7969564" args="()" -->
long </td><td class="memItemRight" valign="bottom"><b>operator*</b> ()</td></tr>
<tr><td colspan="2"><h2>Protected Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="a00147.html#a7f619a6d4f9b27d66415f86a2155676a">assign</a> (const char *value)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Used to send option into derived receiver. <a href="#a7f619a6d4f9b27d66415f86a2155676a"></a><br/></td></tr>
<tr><td colspan="2"><h2>Protected Attributes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7acdaf2d7b7ebc0fcd26e02cab7012e5"></a><!-- doxytag: member="ucc::shell::numericopt::number" ref="a7acdaf2d7b7ebc0fcd26e02cab7012e5" args="" -->
long </td><td class="memItemRight" valign="bottom"><b>number</b></td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>Numeric option for shell parsing. </p>
<p>This offers a quick-use class to parse a shell flag, along with a numberic value that may be saved and a use counter, as multiple invokations is an error. </p>
<dl class="author"><dt><b>Author:</b></dt><dd>David Sugar <<a href="mailto:dyfet@gnutelephony.org">dyfet@gnutelephony.org</a>> </dd></dl>
<p>Definition at line <a class="el" href="a00204_source.html#l00415">415</a> of file <a class="el" href="a00204_source.html">shell.h</a>.</p>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a7f619a6d4f9b27d66415f86a2155676a"></a><!-- doxytag: member="ucc::shell::numericopt::assign" ref="a7f619a6d4f9b27d66415f86a2155676a" args="(const char *value)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual const char* ucc::shell::numericopt::assign </td>
<td>(</td>
<td class="paramtype">const char * </td>
<td class="paramname"> <em>value</em></td>
<td> ) </td>
<td><code> [protected, virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Used to send option into derived receiver. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>value</em> </td><td>option that was received. </td></tr>
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>NULL or error string to use. </dd></dl>
<p>Implements <a class="el" href="a00148.html#a4ec60b6fa661cebf405f3653fa715cd2">ucc::shell::Option</a>.</p>
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>ucommon/<a class="el" href="a00204_source.html">shell.h</a></li>
</ul>
</div>
<hr class="footer"/><address style="text-align: right;"><small>Generated on Tue Jul 6 08:22:46 2010 for UCommon 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>
|