This file is indexed.

/usr/share/doc/libucommon-dev/a00062.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
<!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::keyfile 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="a00062.html">keyfile</a>
  </div>
</div>
<div class="contents">
<h1>ucc::keyfile Class Reference</h1><!-- doxytag: class="ucc::keyfile" --><!-- doxytag: inherits="ucc::memalloc" -->
<p>Traditional keypair config file parsing class.  
<a href="#_details">More...</a></p>

<p><code>#include &lt;<a class="el" href="a00194_source.html">keydata.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for ucc::keyfile:</div>
<div class="dynsection">
<div class="center"><img src="a00406.png" border="0" usemap="#ucc_1_1keyfile_inherit__map" alt="Inheritance graph"/></div>
<map name="ucc_1_1keyfile_inherit__map" id="ucc_1_1keyfile_inherit__map">
<area shape="rect" id="node2" href="a00080.html" title="An alternate memory pager private heap manager." alt="" coords="5,5,120,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::keyfile:</div>
<div class="dynsection">
<div class="center"><img src="a00407.png" border="0" usemap="#ucc_1_1keyfile_coll__map" alt="Collaboration graph"/></div>
<map name="ucc_1_1keyfile_coll__map" id="ucc_1_1keyfile_coll__map">
<area shape="rect" id="node13" href="a00060.html" title="Data keys parsed from a keyfile." alt="" coords="156,491,257,520"/><area shape="rect" id="node2" href="a00080.html" title="An alternate memory pager private heap manager." alt="" coords="168,299,283,328"/><area shape="rect" id="node4" href="a00099.html" title="An index container for maintaining an ordered list of objects." alt="" coords="5,299,144,328"/><area shape="rect" id="node6" href="a00100.html" title="A linked object base class for ordered objects." alt="" coords="173,187,317,216"/><area shape="rect" id="node8" href="a00069.html" title="Common base class for all objects that can be formed into a linked list." alt="" coords="179,96,312,125"/><area shape="rect" id="node10" href="a00093.html" title="A common base class for all managed objects." alt="" coords="199,5,292,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 Types</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a959fe87a68855c5220fffe12289b8e1d"></a><!-- doxytag: member="ucc::keyfile::iterator" ref="a959fe87a68855c5220fffe12289b8e1d" args="" -->
typedef <a class="el" href="a00066.html">linked_pointer</a>&lt; <a class="el" href="a00060.html">keydata</a> &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00062.html#a959fe87a68855c5220fffe12289b8e1d">iterator</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Convenience typedef for iterative pointer. <br/></td></tr>
<tr><td colspan="2"><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00060.html">keydata</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00062.html#a6cccc5706520cb54509093d0f110a7bc">begin</a> (void) const </td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get first keydata object, for iterative examinations.  <a href="#a6cccc5706520cb54509093d0f110a7bc"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00060.html">keydata</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00062.html#a2b14608863e05bd1a2e0206ece781fb9">end</a> (void) const </td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get last keydata object, for iterative examinations.  <a href="#a2b14608863e05bd1a2e0206ece781fb9"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00060.html">keydata</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00062.html#a6e09a638632e705f37f7d3109ac03c3b">get</a> (void) const </td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get the non-sectioned defaults if there are any.  <a href="#a6e09a638632e705f37f7d3109ac03c3b"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00060.html">keydata</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00062.html#ad8605c3167d65da1f0c05dd33c1eba15">get</a> (const char *section) const </td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get a keydata section name.  <a href="#ad8605c3167d65da1f0c05dd33c1eba15"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00062.html#aad11d63f3bb09f08c0ec78f7aff1353c">keyfile</a> (const char *path, size_t pagesize=0)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Create a key file object from an existing config file.  <a href="#aad11d63f3bb09f08c0ec78f7aff1353c"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00062.html#a9e65b109e7ab1ae85d841ca0b310183c">keyfile</a> (size_t pagesize=0)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Create an empty key file ready for loading.  <a href="#a9e65b109e7ab1ae85d841ca0b310183c"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00062.html#ac3b122978c73458876cce908c7d70f3d">load</a> (const char *path)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Load (overlay) another config file over the currently loaded one.  <a href="#ac3b122978c73458876cce908c7d70f3d"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a6e9e9727c6e32d95d60bd44ad2863e84"></a><!-- doxytag: member="ucc::keyfile::operator()" ref="a6e9e9727c6e32d95d60bd44ad2863e84" args="(const char *section) const " -->
<a class="el" href="a00060.html">keydata</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><b>operator()</b> (const char *section) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a751fcf93ebb405e7b130ef7da303e74d"></a><!-- doxytag: member="ucc::keyfile::operator[]" ref="a751fcf93ebb405e7b130ef7da303e74d" args="(const char *section) const " -->
<a class="el" href="a00060.html">keydata</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><b>operator[]</b> (const char *section) const </td></tr>
<tr><td colspan="2"><h2>Friends</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7e7e87a5d5b6ec44dd83e7dd632dc7ca"></a><!-- doxytag: member="ucc::keyfile::keydata" ref="a7e7e87a5d5b6ec44dd83e7dd632dc7ca" args="" -->
class&nbsp;</td><td class="memItemRight" valign="bottom"><b>keydata</b></td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>Traditional keypair config file parsing class. </p>
<p>This is used to get generic config data either from a /etc/xxx.conf, a windows style xxx.ini file, or a ~/.xxxrc file, and parses [] sections from the entire file at once. </p>

<p>Definition at line <a class="el" href="a00194_source.html#l00150">150</a> of file <a class="el" href="a00194_source.html">keydata.h</a>.</p>
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a9e65b109e7ab1ae85d841ca0b310183c"></a><!-- doxytag: member="ucc::keyfile::keyfile" ref="a9e65b109e7ab1ae85d841ca0b310183c" args="(size_t pagesize=0)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ucc::keyfile::keyfile </td>
          <td>(</td>
          <td class="paramtype">size_t&nbsp;</td>
          <td class="paramname"> <em>pagesize</em> = <code>0</code></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Create an empty key file ready for loading. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>pagesize</em>&nbsp;</td><td>for memory paging. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="aad11d63f3bb09f08c0ec78f7aff1353c"></a><!-- doxytag: member="ucc::keyfile::keyfile" ref="aad11d63f3bb09f08c0ec78f7aff1353c" args="(const char *path, size_t pagesize=0)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ucc::keyfile::keyfile </td>
          <td>(</td>
          <td class="paramtype">const char *&nbsp;</td>
          <td class="paramname"> <em>path</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">size_t&nbsp;</td>
          <td class="paramname"> <em>pagesize</em> = <code>0</code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Create a key file object from an existing config file. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>path</em>&nbsp;</td><td>to load from. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>pagesize</em>&nbsp;</td><td>for memory paging. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a6cccc5706520cb54509093d0f110a7bc"></a><!-- doxytag: member="ucc::keyfile::begin" ref="a6cccc5706520cb54509093d0f110a7bc" args="(void) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="a00060.html">keydata</a>* ucc::keyfile::begin </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Get first keydata object, for iterative examinations. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>first key value in chain. </dd></dl>

<p>Definition at line <a class="el" href="a00194_source.html#l00205">205</a> of file <a class="el" href="a00194_source.html">keydata.h</a>.</p>

</div>
</div>
<a class="anchor" id="a2b14608863e05bd1a2e0206ece781fb9"></a><!-- doxytag: member="ucc::keyfile::end" ref="a2b14608863e05bd1a2e0206ece781fb9" args="(void) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="a00060.html">keydata</a>* ucc::keyfile::end </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Get last keydata object, for iterative examinations. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>first key value in chain. </dd></dl>

<p>Definition at line <a class="el" href="a00194_source.html#l00212">212</a> of file <a class="el" href="a00194_source.html">keydata.h</a>.</p>

</div>
</div>
<a class="anchor" id="a6e09a638632e705f37f7d3109ac03c3b"></a><!-- doxytag: member="ucc::keyfile::get" ref="a6e09a638632e705f37f7d3109ac03c3b" args="(void) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="a00060.html">keydata</a>* ucc::keyfile::get </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Get the non-sectioned defaults if there are any. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>default key section. </dd></dl>

<p>Definition at line <a class="el" href="a00194_source.html#l00198">198</a> of file <a class="el" href="a00194_source.html">keydata.h</a>.</p>

</div>
</div>
<a class="anchor" id="ad8605c3167d65da1f0c05dd33c1eba15"></a><!-- doxytag: member="ucc::keyfile::get" ref="ad8605c3167d65da1f0c05dd33c1eba15" args="(const char *section) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="a00060.html">keydata</a>* ucc::keyfile::get </td>
          <td>(</td>
          <td class="paramtype">const char *&nbsp;</td>
          <td class="paramname"> <em>section</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Get a keydata section name. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>section</em>&nbsp;</td><td>name to look for. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>keydata section object if found, NULL if not. </dd></dl>

</div>
</div>
<a class="anchor" id="ac3b122978c73458876cce908c7d70f3d"></a><!-- doxytag: member="ucc::keyfile::load" ref="ac3b122978c73458876cce908c7d70f3d" args="(const char *path)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ucc::keyfile::load </td>
          <td>(</td>
          <td class="paramtype">const char *&nbsp;</td>
          <td class="paramname"> <em>path</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Load (overlay) another config file over the currently loaded one. </p>
<p>This is used to merge key data, such as getting default values from a global config, and then overlaying a local home config file. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>path</em>&nbsp;</td><td>to load keys from into current object. </td></tr>
  </table>
  </dd>
</dl>

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