This file is indexed.

/usr/share/doc/libucommon-dev/a00153.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
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
<!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::sparse_array 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&nbsp;Page</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Data&nbsp;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&nbsp;Structures</span></a></li>
      <li><a href="classes.html"><span>Data&nbsp;Structure&nbsp;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Data&nbsp;Fields</span></a></li>
    </ul>
  </div>
  <div class="navpath"><a class="el" href="a00214.html">ucc</a>::<a class="el" href="a00153.html">sparse_array</a>
  </div>
</div>
<div class="contents">
<h1>ucc::sparse_array Class Reference</h1><!-- doxytag: class="ucc::sparse_array" -->
<p>A sparse array of managed objects.  
<a href="#_details">More...</a></p>

<p><code>#include &lt;<a class="el" href="a00199_source.html">object.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for ucc::sparse_array:</div>
<div class="dynsection">
<div class="center"><img src="a00549.png" border="0" usemap="#ucc_1_1sparse__array_inherit__map" alt="Inheritance graph"/></div>
<map name="ucc_1_1sparse__array_inherit__map" id="ucc_1_1sparse__array_inherit__map">
<area shape="rect" id="node3" href="a00118.html" title="Generate a typed sparse managed object array." alt="" coords="8,83,136,112"/></map>
<center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div>
<div class="dynheader">
Collaboration diagram for ucc::sparse_array:</div>
<div class="dynsection">
<div class="center"><img src="a00550.png" border="0" usemap="#ucc_1_1sparse__array_coll__map" alt="Collaboration graph"/></div>
<map name="ucc_1_1sparse__array_coll__map" id="ucc_1_1sparse__array_coll__map">
<area shape="rect" id="node2" href="a00093.html" title="A common base class for all managed objects." alt="" coords="25,5,119,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">unsigned&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00153.html#a23df715e7a0d34e888385fa7cb2b20b5">count</a> (void)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get count of array elements.  <a href="#a23df715e7a0d34e888385fa7cb2b20b5"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae04f24ea1d3c38108c9f9c1e49be26ca"></a><!-- doxytag: member="ucc::sparse_array::~sparse_array" ref="ae04f24ea1d3c38108c9f9c1e49be26ca" args="()" -->
virtual&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00153.html#ae04f24ea1d3c38108c9f9c1e49be26ca">~sparse_array</a> ()</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Destroy sparse array and delete all generated objects. <br/></td></tr>
<tr><td colspan="2"><h2>Protected Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="a00093.html">Object</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00153.html#a396aefb1aabc8c8777a56c0e64947c35">create</a> (void)=0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight"><a class="el" href="a00093.html" title="A common base class for all managed objects.">Object</a> factory for creating members of the spare array when they are initially requested.  <a href="#a396aefb1aabc8c8777a56c0e64947c35"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00093.html">Object</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00153.html#a59026c2f61f559c3ff389834450d3da2">get</a> (unsigned offset)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get (reference) an object at a specified offset in the array.  <a href="#a59026c2f61f559c3ff389834450d3da2"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a1855959970a7cdf1f98075a6225972a1"></a><!-- doxytag: member="ucc::sparse_array::purge" ref="a1855959970a7cdf1f98075a6225972a1" args="(void)" -->
void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00153.html#a1855959970a7cdf1f98075a6225972a1">purge</a> (void)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Purge the array by deleting all created objects. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00153.html#afcbf2ed95ec08744ba23758a8489bbff">sparse_array</a> (unsigned size)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Create a sparse array of known size.  <a href="#afcbf2ed95ec08744ba23758a8489bbff"></a><br/></td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>A sparse array of managed objects. </p>
<p>This might be used as a simple array class for reference counted objects. This class assumes that objects in the array exist when assigned, and that gaps in the array are positions that do not reference any object. Objects are automatically created (create on access/modify when an array position is referenced for the first time. This is an abstract class because it is a type factory for objects who's derived class form constructor is not known in advance and is a helper class for the sarray template. </p>
<dl class="author"><dt><b>Author:</b></dt><dd>David Sugar &lt;<a href="mailto:dyfet@gnutelephony.org">dyfet@gnutelephony.org</a>&gt; </dd></dl>

<p>Definition at line <a class="el" href="a00199_source.html#l00273">273</a> of file <a class="el" href="a00199_source.html">object.h</a>.</p>
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="afcbf2ed95ec08744ba23758a8489bbff"></a><!-- doxytag: member="ucc::sparse_array::sparse_array" ref="afcbf2ed95ec08744ba23758a8489bbff" args="(unsigned size)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ucc::sparse_array::sparse_array </td>
          <td>(</td>
          <td class="paramtype">unsigned&nbsp;</td>
          <td class="paramname"> <em>size</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Create a sparse array of known size. </p>
<p>No member objects are created until they are referenced. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>size</em>&nbsp;</td><td>of array. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a23df715e7a0d34e888385fa7cb2b20b5"></a><!-- doxytag: member="ucc::sparse_array::count" ref="a23df715e7a0d34e888385fa7cb2b20b5" args="(void)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">unsigned ucc::sparse_array::count </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Get count of array elements. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>array elements. </dd></dl>

</div>
</div>
<a class="anchor" id="a396aefb1aabc8c8777a56c0e64947c35"></a><!-- doxytag: member="ucc::sparse_array::create" ref="a396aefb1aabc8c8777a56c0e64947c35" args="(void)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="a00093.html">Object</a>* ucc::sparse_array::create </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [protected, pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p><a class="el" href="a00093.html" title="A common base class for all managed objects.">Object</a> factory for creating members of the spare array when they are initially requested. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>new object. </dd></dl>

</div>
</div>
<a class="anchor" id="a59026c2f61f559c3ff389834450d3da2"></a><!-- doxytag: member="ucc::sparse_array::get" ref="a59026c2f61f559c3ff389834450d3da2" args="(unsigned offset)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="a00093.html">Object</a>* ucc::sparse_array::get </td>
          <td>(</td>
          <td class="paramtype">unsigned&nbsp;</td>
          <td class="paramname"> <em>offset</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Get (reference) an object at a specified offset in the array. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>offset</em>&nbsp;</td><td>in array. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>new or existing object. </dd></dl>

<p>Reimplemented in <a class="el" href="a00118.html#a20586a8df1a4adfb36189b17bb0b4e5d">ucc::sarray&lt; T &gt;</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>ucommon/<a class="el" href="a00199_source.html">object.h</a></li>
</ul>
</div>
<hr class="footer"/><address style="text-align: right;"><small>Generated on Tue Jul 6 08:22:49 2010 for UCommon 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>