This file is indexed.

/usr/share/doc/libucommon-dev/a00159.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
<!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::stringbuf&lt; S &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="a00159.html">stringbuf</a>
  </div>
</div>
<div class="contents">
<h1>ucc::stringbuf&lt; S &gt; Class Template Reference</h1><!-- doxytag: class="ucc::stringbuf" --><!-- doxytag: inherits="ucc::memstring" -->
<p>A string class that has a predefined string buffer.  
<a href="#_details">More...</a></p>

<p><code>#include &lt;<a class="el" href="a00207_source.html">string.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for ucc::stringbuf&lt; S &gt;:</div>
<div class="dynsection">
<div class="center"><img src="a00561.png" border="0" usemap="#ucc_1_1stringbuf_3_01_s_01_4_inherit__map" alt="Inheritance graph"/></div>
<map name="ucc_1_1stringbuf_3_01_s_01_4_inherit__map" id="ucc_1_1stringbuf_3_01_s_01_4_inherit__map">
<area shape="rect" id="node2" href="a00082.html" title="A string class that uses a cstring buffer that is fixed in memory." alt="" coords="17,160,140,189"/><area shape="rect" id="node4" href="a00157.html" title="A copy&#45;on&#45;write string class that operates by reference count." alt="" coords="35,83,123,112"/><area shape="rect" id="node6" href="a00093.html" title="A common base class for all managed objects." alt="" coords="32,5,125,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::stringbuf&lt; S &gt;:</div>
<div class="dynsection">
<div class="center"><img src="a00562.png" border="0" usemap="#ucc_1_1stringbuf_3_01_s_01_4_coll__map" alt="Collaboration graph"/></div>
<map name="ucc_1_1stringbuf_3_01_s_01_4_coll__map" id="ucc_1_1stringbuf_3_01_s_01_4_coll__map">
<area shape="rect" id="node2" href="a00082.html" title="A string class that uses a cstring buffer that is fixed in memory." alt="" coords="17,341,140,371"/><area shape="rect" id="node4" href="a00157.html" title="A copy&#45;on&#45;write string class that operates by reference count." alt="" coords="35,261,123,291"/><area shape="rect" id="node6" href="a00093.html" title="A common base class for all managed objects." alt="" coords="47,5,140,35"/><area shape="rect" id="node10" href="a00043.html" title="A base class for reference counted objects." alt="" coords="95,85,241,115"/><area shape="rect" id="node8" href="a00158.html" title="This is an internal class which contains the actual string data along with some control..." alt="" coords="96,165,235,195"/></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">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00159.html#ae702e26ed8b5d84c7ecc2bf05a2b5005">operator=</a> (<a class="el" href="a00157.html">string</a> &amp;object)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Assign a string buffer from another string object.  <a href="#ae702e26ed8b5d84c7ecc2bf05a2b5005"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00159.html#a3e92c96e44b3fc93d60f07ecfe7599b5">operator=</a> (const char *text)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Assign a string buffer from a null terminated string.  <a href="#a3e92c96e44b3fc93d60f07ecfe7599b5"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00159.html#a2ce8b5bf24b4079901784a55ac57de60">stringbuf</a> (const char *text)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Create a string buffer from a null terminated string.  <a href="#a2ce8b5bf24b4079901784a55ac57de60"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a8a8e8dcc78a68275448dbf18b46767d1"></a><!-- doxytag: member="ucc::stringbuf::stringbuf" ref="a8a8e8dcc78a68275448dbf18b46767d1" args="()" -->
&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00159.html#a8a8e8dcc78a68275448dbf18b46767d1">stringbuf</a> ()</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Create an empty instance of a string buffer. <br/></td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<h3>template&lt;strsize_t S&gt;<br/>
 class ucc::stringbuf&lt; S &gt;</h3>

<p>A string class that has a predefined string buffer. </p>
<p>The string class and buffer are allocated together as one object. This allows one to use string objects entirely resident on the local stack as well as on the heap. Using a string class on the local stack may be more convenient than a char array since one can use all the features of the class including assignment and concatenation which a char buffer cannot as easily do. </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="a00207_source.html#l01621">1621</a> of file <a class="el" href="a00207_source.html">string.h</a>.</p>
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a2ce8b5bf24b4079901784a55ac57de60"></a><!-- doxytag: member="ucc::stringbuf::stringbuf" ref="a2ce8b5bf24b4079901784a55ac57de60" args="(const char *text)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;strsize_t S&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="a00159.html">ucc::stringbuf</a>&lt; S &gt;::<a class="el" href="a00159.html">stringbuf</a> </td>
          <td>(</td>
          <td class="paramtype">const char *&nbsp;</td>
          <td class="paramname"> <em>text</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Create a string buffer from a null terminated string. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>text</em>&nbsp;</td><td>to place in object. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="a00207_source.html#l01636">1636</a> of file <a class="el" href="a00207_source.html">string.h</a>.</p>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="ae702e26ed8b5d84c7ecc2bf05a2b5005"></a><!-- doxytag: member="ucc::stringbuf::operator=" ref="ae702e26ed8b5d84c7ecc2bf05a2b5005" args="(string &amp;object)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;strsize_t S&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="a00159.html">ucc::stringbuf</a>&lt; S &gt;::operator= </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00157.html">string</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>object</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Assign a string buffer from another string object. </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 from. </td></tr>
  </table>
  </dd>
</dl>

<p>Reimplemented from <a class="el" href="a00082.html#aa5a9207b25a00f7f83b827dac97f534b">ucc::memstring</a>.</p>

<p>Definition at line <a class="el" href="a00207_source.html#l01649">1649</a> of file <a class="el" href="a00207_source.html">string.h</a>.</p>

</div>
</div>
<a class="anchor" id="a3e92c96e44b3fc93d60f07ecfe7599b5"></a><!-- doxytag: member="ucc::stringbuf::operator=" ref="a3e92c96e44b3fc93d60f07ecfe7599b5" args="(const char *text)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;strsize_t S&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="a00159.html">ucc::stringbuf</a>&lt; S &gt;::operator= </td>
          <td>(</td>
          <td class="paramtype">const char *&nbsp;</td>
          <td class="paramname"> <em>text</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Assign a string buffer from a null terminated string. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>text</em>&nbsp;</td><td>to assign to object. </td></tr>
  </table>
  </dd>
</dl>

<p>Reimplemented from <a class="el" href="a00082.html#a0574470a217e47864ecf6ca6b33290e8">ucc::memstring</a>.</p>

<p>Definition at line <a class="el" href="a00207_source.html#l01642">1642</a> of file <a class="el" href="a00207_source.html">string.h</a>.</p>

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