This file is indexed.

/usr/share/doc/libdime-doc/html/classdimeDict.html is in libdime-doc 0.20030921-4.

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
<HTML>
<HEAD>
<TITLE>DIME Source Code Documentation</TITLE>
<META NAME=description
      CONTENT="Documentation for DIME">
<META NAME=keywords
      CONTENT="DXF, AutoCAD, C++ class library">
</HEAD>
<BODY>
<!-- Generated by Doxygen 1.8.4 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="classdimeDict-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">dimeDict Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>The <a class="el" href="classdimeDict.html" title="The dimeDict class is internal / private. ">dimeDict</a> class is internal / private.  
 <a href="classdimeDict.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="Dict_8h_source.html">dime/util/Dict.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:afdaae8a74c2fa3eb52e4e2316babca83"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdimeDict.html#afdaae8a74c2fa3eb52e4e2316babca83">dimeDict</a> (const int entries=17989)</td></tr>
<tr class="separator:afdaae8a74c2fa3eb52e4e2316babca83"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5dc67b83d3bd3932b157fc9685785c40"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdimeDict.html#a5dc67b83d3bd3932b157fc9685785c40">~dimeDict</a> ()</td></tr>
<tr class="separator:a5dc67b83d3bd3932b157fc9685785c40"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2eb6a6c1309f23e216b34156bd0d322c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdimeDict.html#a2eb6a6c1309f23e216b34156bd0d322c">clear</a> ()</td></tr>
<tr class="separator:a2eb6a6c1309f23e216b34156bd0d322c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3090243d740d19e73b80843886c0f89e"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdimeDict.html#a3090243d740d19e73b80843886c0f89e">enter</a> (const char *const key, char *&amp;ptr, void *value)</td></tr>
<tr class="separator:a3090243d740d19e73b80843886c0f89e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a83c21176219f3f1e554ee9275be6a140"><td class="memItemLeft" align="right" valign="top">const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdimeDict.html#a83c21176219f3f1e554ee9275be6a140">enter</a> (const char *const key, void *value)</td></tr>
<tr class="separator:a83c21176219f3f1e554ee9275be6a140"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af245e44bdf79b9cac0a8fa7e97afd06f"><td class="memItemLeft" align="right" valign="top">const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdimeDict.html#af245e44bdf79b9cac0a8fa7e97afd06f">find</a> (const char *const key) const </td></tr>
<tr class="separator:af245e44bdf79b9cac0a8fa7e97afd06f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5ce763fb861e59f2b4a27879a84f8400"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdimeDict.html#a5ce763fb861e59f2b4a27879a84f8400">find</a> (const char *const key, void *&amp;value) const </td></tr>
<tr class="separator:a5ce763fb861e59f2b4a27879a84f8400"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acb59b1f617457186902ea9045f56cafe"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdimeDict.html#acb59b1f617457186902ea9045f56cafe">remove</a> (const char *const key)</td></tr>
<tr class="separator:acb59b1f617457186902ea9045f56cafe"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abcf0fed886a4632db2b9523c1edee735"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="abcf0fed886a4632db2b9523c1edee735"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>dump</b> (void)</td></tr>
<tr class="separator:abcf0fed886a4632db2b9523c1edee735"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a025c47e0d522659fdb065d1dc1ebb5e9"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a025c47e0d522659fdb065d1dc1ebb5e9"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>print_info</b> ()</td></tr>
<tr class="separator:a025c47e0d522659fdb065d1dc1ebb5e9"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>The <a class="el" href="classdimeDict.html" title="The dimeDict class is internal / private. ">dimeDict</a> class is internal / private. </p>
<p>It offers quick (hashing) lookup for strings. </p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="afdaae8a74c2fa3eb52e4e2316babca83"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">dimeDict::dimeDict </td>
          <td>(</td>
          <td class="paramtype">const int&#160;</td>
          <td class="paramname"><em>entries</em> = <code>17989</code>)</td><td></td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Constructor. Creates <em>entries</em> buckets. </p>

</div>
</div>
<a class="anchor" id="a5dc67b83d3bd3932b157fc9685785c40"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">dimeDict::~dimeDict </td>
          <td>(</td>
          <td class="paramname">)</td><td></td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Destructor. </p>

<p>References <a class="el" href="classdimeDict.html#a2eb6a6c1309f23e216b34156bd0d322c">clear()</a>.</p>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="a2eb6a6c1309f23e216b34156bd0d322c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void dimeDict::clear </td>
          <td>(</td>
          <td class="paramname">)</td><td></td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Clear all entries in the dictionary. </p>

<p>Referenced by <a class="el" href="classdimeDict.html#a5dc67b83d3bd3932b157fc9685785c40">~dimeDict()</a>.</p>

</div>
</div>
<a class="anchor" id="a3090243d740d19e73b80843886c0f89e"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool dimeDict::enter </td>
          <td>(</td>
          <td class="paramtype">const char *const&#160;</td>
          <td class="paramname"><em>key</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char *&amp;&#160;</td>
          <td class="paramname"><em>ptr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>value</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Inserts a new string <em>key</em> in the dictionary. This function returns <em>true</em> if the string was not already in the dictionary, <em>false</em> otherwise. The string pointer is returned in <em>ptr</em>. </p>

<p>Referenced by <a class="el" href="classdimeModel.html#afe555a75881e4800d54d9c3cda49c7ad">dimeModel::addBlock()</a>, <a class="el" href="classdimeModel.html#a9c3cc1dda8637364cd8c91abaa570718">dimeModel::addLayer()</a>, and <a class="el" href="classdimeModel.html#ac1cf63deced269303c96cea103419070">dimeModel::addReference()</a>.</p>

</div>
</div>
<a class="anchor" id="a83c21176219f3f1e554ee9275be6a140"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const char * dimeDict::enter </td>
          <td>(</td>
          <td class="paramtype">const char *const&#160;</td>
          <td class="paramname"><em>key</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>value</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Insert a new string <em>key</em> in the dictionary, and associates a id (= <em>value</em>) to it. Returns a pointer to the string. If the string is already in the dictionary, the old id is replaced with <em>value</em>; </p>

</div>
</div>
<a class="anchor" id="af245e44bdf79b9cac0a8fa7e97afd06f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const char * dimeDict::find </td>
          <td>(</td>
          <td class="paramtype">const char *const&#160;</td>
          <td class="paramname"><em>key</em>)</td><td></td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Finds if <em>key</em> is in the dictionary. Returns the string pointer if found, NULL otherwise. </p>

<p>Referenced by <a class="el" href="classdimeModel.html#a9c3cc1dda8637364cd8c91abaa570718">dimeModel::addLayer()</a>, <a class="el" href="classdimeModel.html#ab17fbd9de7656355b912499998ab1f46">dimeModel::findBlock()</a>, <a class="el" href="classdimeModel.html#a1d27f1d732ffcd4fa053d20f04da7bc0">dimeModel::findReference()</a>, <a class="el" href="classdimeModel.html#a7b53c0910dd5a3f928d9dbe555c48b00">dimeModel::findRefStringPtr()</a>, and <a class="el" href="classdimeModel.html#a797e5fac17f36729ebeee2e0837c4edc">dimeModel::getLayer()</a>.</p>

</div>
</div>
<a class="anchor" id="a5ce763fb861e59f2b4a27879a84f8400"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool dimeDict::find </td>
          <td>(</td>
          <td class="paramtype">const char *const&#160;</td>
          <td class="paramname"><em>key</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">void *&amp;&#160;</td>
          <td class="paramname"><em>value</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Finds if <em>key</em> is in the dictionary. Returns true if found. </p>

</div>
</div>
<a class="anchor" id="acb59b1f617457186902ea9045f56cafe"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool dimeDict::remove </td>
          <td>(</td>
          <td class="paramtype">const char *const&#160;</td>
          <td class="paramname"><em>key</em>)</td><td></td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Remove <em>key</em> from the dictionary. </p>

<p>Referenced by <a class="el" href="classdimeModel.html#a65587b9b074df1ae15510bf7652ec2fa">dimeModel::removeReference()</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="Dict_8h_source.html">Dict.h</a></li>
<li>Dict.cpp</li>
</ul>
</div><!-- contents -->
<HR>
<DIV ALIGN=right>
<FONT SIZE=-2><I>
Copyright &copy; 1998-1999, <A HREF=http://www.sim.no/>Systems In Motion</A>
&lt;<A HREF=mailto:sales@sim.no>sales@sim.no</A>&gt;.
All rights reserved.
<BR>
System documentation was generated using
<A HREF=http://www.stack.nl/~dimitri/doxygen/>doxygen</A>.
</I></FONT>
<DIV ALIGN=left>
</BODY>
</HTML>