This file is indexed.

/usr/share/doc/libucommon-dev/a00094.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
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
<!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::object_value&lt; T, O &gt; Class Template 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="a00094.html">object_value</a>
  </div>
</div>
<div class="contents">
<h1>ucc::object_value&lt; T, O &gt; Class Template Reference</h1><!-- doxytag: class="ucc::object_value" --><!-- doxytag: inherits="O" -->
<p>Template for embedding a data structure into a reference counted object.  
<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::object_value&lt; T, O &gt;:</div>
<div class="dynsection">
<div class="center"><img src="a00461.png" border="0" usemap="#ucc_1_1object__value_3_01_t_00_01_o_01_4_inherit__map" alt="Inheritance graph"/></div>
<map name="ucc_1_1object__value_3_01_t_00_01_o_01_4_inherit__map" id="ucc_1_1object__value_3_01_t_00_01_o_01_4_inherit__map">
<area shape="rect" id="node3" href="a00067.html" title="Templated value class to embed data structure into a linked list." alt="" coords="5,83,189,112"/><area shape="rect" id="node5" href="a00089.html" title="Templated value class to embed data structure into a named list." alt="" coords="213,83,405,112"/></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">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00094.html#ae552b596eae1fe8861994f0771986b48">object_value</a> (T &amp;existing)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Construct composite value object and assign from existing data value.  <a href="#ae552b596eae1fe8861994f0771986b48"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a8bbab09d5c0865cf3af0cacc7b33c3ff"></a><!-- doxytag: member="ucc::object_value::object_value" ref="a8bbab09d5c0865cf3af0cacc7b33c3ff" args="()" -->
&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00094.html#a8bbab09d5c0865cf3af0cacc7b33c3ff">object_value</a> ()</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Construct composite value object. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00094.html#a0f5a0e77f12d39dbcde58267a3fd7b21">operator T</a> ()</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Retrieve data value by casting reference.  <a href="#a0f5a0e77f12d39dbcde58267a3fd7b21"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00094.html#a092f92867cb974155da4e6a21bd6e10a">operator()</a> (T &amp;data)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set data value by expression reference.  <a href="#a092f92867cb974155da4e6a21bd6e10a"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">T &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00094.html#a3fd287604ee325328aa9ccb6eb679296">operator()</a> ()</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Retrieve data value by expression reference.  <a href="#a3fd287604ee325328aa9ccb6eb679296"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">T &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00094.html#a341c0932d7c1f10fd24265b77d9f998a">operator*</a> ()</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Pointer reference to embedded data value.  <a href="#a341c0932d7c1f10fd24265b77d9f998a"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00094.html#af6bcc17b006ab4445f1f823ee2889f1c">operator=</a> (const T &amp;data)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Assign embedded data value.  <a href="#af6bcc17b006ab4445f1f823ee2889f1c"></a><br/></td></tr>
<tr><td colspan="2"><h2>Data Fields</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac2324e8526e0cbb9539145af27414fd1"></a><!-- doxytag: member="ucc::object_value::value" ref="ac2324e8526e0cbb9539145af27414fd1" args="" -->
T&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00094.html#ac2324e8526e0cbb9539145af27414fd1">value</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Embedded data value. <br/></td></tr>
<tr><td colspan="2"><h2>Protected Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00094.html#a2c82a2d616db68f7b471ab78b2b2c286">set</a> (const T &amp;object)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Assign our value from a typed data object.  <a href="#a2c82a2d616db68f7b471ab78b2b2c286"></a><br/></td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<h3>template&lt;class T, class O = CountedObject&gt;<br/>
 class ucc::object_value&lt; T, O &gt;</h3>

<p>Template for embedding a data structure into a reference counted object. </p>
<p>This is a convenient means to create reference counted heap managed data structure. This template can be used for embedding data into other kinds of managed object classes in addition to reference counting. For example, it can be used to embed a data structure into a linked list, as shown in the <a class="el" href="a00067.html" title="Templated value class to embed data structure into a linked list.">linked_value</a> 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#l00408">408</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="ae552b596eae1fe8861994f0771986b48"></a><!-- doxytag: member="ucc::object_value::object_value" ref="ae552b596eae1fe8861994f0771986b48" args="(T &amp;existing)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T , class O  = CountedObject&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="a00094.html">ucc::object_value</a>&lt; T, O &gt;::<a class="el" href="a00094.html">object_value</a> </td>
          <td>(</td>
          <td class="paramtype">T &amp;&nbsp;</td>
          <td class="paramname"> <em>existing</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Construct composite value object and assign from existing data value. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>existing</em>&nbsp;</td><td>typed value to assign. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="a00199_source.html#l00430">430</a> of file <a class="el" href="a00199_source.html">object.h</a>.</p>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a0f5a0e77f12d39dbcde58267a3fd7b21"></a><!-- doxytag: member="ucc::object_value::operator T" ref="a0f5a0e77f12d39dbcde58267a3fd7b21" args="()" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T , class O  = CountedObject&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="a00094.html">ucc::object_value</a>&lt; T, O &gt;::operator T </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Retrieve data value by casting reference. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>embedded value. </dd></dl>

<p>Definition at line <a class="el" href="a00199_source.html#l00451">451</a> of file <a class="el" href="a00199_source.html">object.h</a>.</p>

</div>
</div>
<a class="anchor" id="a092f92867cb974155da4e6a21bd6e10a"></a><!-- doxytag: member="ucc::object_value::operator()" ref="a092f92867cb974155da4e6a21bd6e10a" args="(T &amp;data)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T , class O  = CountedObject&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="a00094.html">ucc::object_value</a>&lt; T, O &gt;::operator() </td>
          <td>(</td>
          <td class="paramtype">T &amp;&nbsp;</td>
          <td class="paramname"> <em>data</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Set data value by expression reference. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>data</em>&nbsp;</td><td>value to assign. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="a00199_source.html#l00465">465</a> of file <a class="el" href="a00199_source.html">object.h</a>.</p>

</div>
</div>
<a class="anchor" id="a3fd287604ee325328aa9ccb6eb679296"></a><!-- doxytag: member="ucc::object_value::operator()" ref="a3fd287604ee325328aa9ccb6eb679296" args="()" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T , class O  = CountedObject&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">T&amp; <a class="el" href="a00094.html">ucc::object_value</a>&lt; T, O &gt;::operator() </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Retrieve data value by expression reference. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>embedded value. </dd></dl>

<p>Definition at line <a class="el" href="a00199_source.html#l00458">458</a> of file <a class="el" href="a00199_source.html">object.h</a>.</p>

</div>
</div>
<a class="anchor" id="a341c0932d7c1f10fd24265b77d9f998a"></a><!-- doxytag: member="ucc::object_value::operator*" ref="a341c0932d7c1f10fd24265b77d9f998a" args="()" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T , class O  = CountedObject&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">T&amp; <a class="el" href="a00094.html">ucc::object_value</a>&lt; T, O &gt;::operator* </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Pointer reference to embedded data value. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>embedded value. </dd></dl>

<p>Definition at line <a class="el" href="a00199_source.html#l00437">437</a> of file <a class="el" href="a00199_source.html">object.h</a>.</p>

</div>
</div>
<a class="anchor" id="af6bcc17b006ab4445f1f823ee2889f1c"></a><!-- doxytag: member="ucc::object_value::operator=" ref="af6bcc17b006ab4445f1f823ee2889f1c" args="(const T &amp;data)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T , class O  = CountedObject&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="a00094.html">ucc::object_value</a>&lt; T, O &gt;::operator= </td>
          <td>(</td>
          <td class="paramtype">const T &amp;&nbsp;</td>
          <td class="paramname"> <em>data</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Assign embedded data value. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>data</em>&nbsp;</td><td>value to assign. </td></tr>
  </table>
  </dd>
</dl>

<p>Reimplemented in <a class="el" href="a00089.html#a9c9486916cd1cce31087f2e40bc5f9fb">ucc::named_value&lt; T, O &gt;</a>, and <a class="el" href="a00067.html#ace985b29081bfb9fc3823326e6f663b6">ucc::linked_value&lt; T, O &gt;</a>.</p>

<p>Definition at line <a class="el" href="a00199_source.html#l00444">444</a> of file <a class="el" href="a00199_source.html">object.h</a>.</p>

</div>
</div>
<a class="anchor" id="a2c82a2d616db68f7b471ab78b2b2c286"></a><!-- doxytag: member="ucc::object_value::set" ref="a2c82a2d616db68f7b471ab78b2b2c286" args="(const T &amp;object)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T , class O  = CountedObject&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="a00094.html">ucc::object_value</a>&lt; T, O &gt;::set </td>
          <td>(</td>
          <td class="paramtype">const T &amp;&nbsp;</td>
          <td class="paramname"> <em>object</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline, protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Assign our value from a typed data object. </p>
<p>This is a helper method. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>object</em>&nbsp;</td><td>to assign our value from. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="a00199_source.html#l00415">415</a> of file <a class="el" href="a00199_source.html">object.h</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:36 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>