This file is indexed.

/usr/share/doc/libucommon-dev/a00158.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
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
<!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::string::cstring 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="a00157.html">string</a>::<a class="el" href="a00158.html">cstring</a>
  </div>
</div>
<div class="contents">
<h1>ucc::string::cstring Class Reference</h1><!-- doxytag: class="ucc::string::cstring" --><!-- doxytag: inherits="ucc::CountedObject" -->
<p>This is an internal class which contains the actual string data along with some control fields.  
<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::string::cstring:</div>
<div class="dynsection">
<div class="center"><img src="a00559.png" border="0" usemap="#ucc_1_1string_1_1cstring_inherit__map" alt="Inheritance graph"/></div>
<map name="ucc_1_1string_1_1cstring_inherit__map" id="ucc_1_1string_1_1cstring_inherit__map">
<area shape="rect" id="node2" href="a00043.html" title="A base class for reference counted objects." alt="" coords="5,83,152,112"/><area shape="rect" id="node4" 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::string::cstring:</div>
<div class="dynsection">
<div class="center"><img src="a00560.png" border="0" usemap="#ucc_1_1string_1_1cstring_coll__map" alt="Collaboration graph"/></div>
<map name="ucc_1_1string_1_1cstring_coll__map" id="ucc_1_1string_1_1cstring_coll__map">
<area shape="rect" id="node2" href="a00043.html" title="A base class for reference counted objects." alt="" coords="5,83,152,112"/><area shape="rect" id="node4" 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>
<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="a00158.html#a4582fcc32fc41f10a953b3fce8bbd236">add</a> (char character)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Append a single character to our string buffer.  <a href="#a4582fcc32fc41f10a953b3fce8bbd236"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00158.html#ae791df5b41f51c9f08bc87d13e28cf7c">add</a> (const <a class="el" href="a00160.html">StringFormat</a> &amp;format)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Append text to string buffer from formatting object.  <a href="#ae791df5b41f51c9f08bc87d13e28cf7c"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00158.html#a7005b6f5294407ee0fbc3a88d441dce8">add</a> (const char *<a class="el" href="a00158.html#a2cd129a51fe1d8b1a0a7f1b64468b370">text</a>)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Append null terminated text to our string buffer.  <a href="#a7005b6f5294407ee0fbc3a88d441dce8"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00158.html#a1bb8d360840dd101f1e9476f0ad74a93">clear</a> (<a class="el" href="a00214.html#ab147df0377723db28a0d3ec1f419f2da">strsize_t</a> offset, <a class="el" href="a00214.html#ab147df0377723db28a0d3ec1f419f2da">strsize_t</a> size)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Used to clear a string.  <a href="#a1bb8d360840dd101f1e9476f0ad74a93"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00158.html#ad0ae12ae3d28a5c1006b3b236171c819">cstring</a> (<a class="el" href="a00214.html#ab147df0377723db28a0d3ec1f419f2da">strsize_t</a> size, char <a class="el" href="a00158.html#a03d0b879200c057fb96adba620685a2b">fill</a>)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Create a filled cstring node allocated for specified string size.  <a href="#ad0ae12ae3d28a5c1006b3b236171c819"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00158.html#a81de74ab87ea7924055eea39ae16ef4a">cstring</a> (<a class="el" href="a00214.html#ab147df0377723db28a0d3ec1f419f2da">strsize_t</a> size)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Create a cstring node allocated for specified string size.  <a href="#a81de74ab87ea7924055eea39ae16ef4a"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00158.html#a698a30873dc0880eaa29f32a15fbb73b">dec</a> (<a class="el" href="a00214.html#ab147df0377723db28a0d3ec1f419f2da">strsize_t</a> number)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Adjust size of our string buffer by deleting characters from end of buffer.  <a href="#a698a30873dc0880eaa29f32a15fbb73b"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a32cff949fc7858af1ceaf42ef03ae39a"></a><!-- doxytag: member="ucc::string::cstring::fix" ref="a32cff949fc7858af1ceaf42ef03ae39a" args="(void)" -->
void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00158.html#a32cff949fc7858af1ceaf42ef03ae39a">fix</a> (void)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Fill our string buffer to end if fill mode. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00158.html#a92e014f808ff7d69d809ca889001886a">inc</a> (<a class="el" href="a00214.html#ab147df0377723db28a0d3ec1f419f2da">strsize_t</a> number)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Adjust size of our string buffer by deleting characters from start of buffer.  <a href="#a92e014f808ff7d69d809ca889001886a"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00158.html#a6cd669f6a62bd4b0f47c5e47a1a0de55">set</a> (const char *<a class="el" href="a00158.html#a2cd129a51fe1d8b1a0a7f1b64468b370">text</a>)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set our string from null terminated text up to our allocated size.  <a href="#a6cd669f6a62bd4b0f47c5e47a1a0de55"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00158.html#a791eb8f20fa5c8d6dbdd2b3a0dc813ef">set</a> (const <a class="el" href="a00160.html">StringFormat</a> &amp;format)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set our string from a string formatting object.  <a href="#a791eb8f20fa5c8d6dbdd2b3a0dc813ef"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00158.html#ad419e2ef8ff715ac0761429c9be9da0c">set</a> (<a class="el" href="a00214.html#ab147df0377723db28a0d3ec1f419f2da">strsize_t</a> offset, const char *<a class="el" href="a00158.html#a2cd129a51fe1d8b1a0a7f1b64468b370">text</a>, <a class="el" href="a00214.html#ab147df0377723db28a0d3ec1f419f2da">strsize_t</a> size)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set part or all of a string with new text.  <a href="#ad419e2ef8ff715ac0761429c9be9da0c"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a03e4a34b58ac7309c6b5c85583586494"></a><!-- doxytag: member="ucc::string::cstring::unfix" ref="a03e4a34b58ac7309c6b5c85583586494" args="(void)" -->
void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00158.html#a03e4a34b58ac7309c6b5c85583586494">unfix</a> (void)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Trim filler at end to reduce filled string to null terminated string for further processing. <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="a03d0b879200c057fb96adba620685a2b"></a><!-- doxytag: member="ucc::string::cstring::fill" ref="a03d0b879200c057fb96adba620685a2b" args="" -->
char&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00158.html#a03d0b879200c057fb96adba620685a2b">fill</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Filler character or 0 for none. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af8f07a5a2279fc18aae1634093949431"></a><!-- doxytag: member="ucc::string::cstring::len" ref="af8f07a5a2279fc18aae1634093949431" args="" -->
<a class="el" href="a00214.html#ab147df0377723db28a0d3ec1f419f2da">strsize_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00158.html#af8f07a5a2279fc18aae1634093949431">len</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Current length of cstring text. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae59fd84ff5a0e89f8cabffceaade14ef"></a><!-- doxytag: member="ucc::string::cstring::max" ref="ae59fd84ff5a0e89f8cabffceaade14ef" args="" -->
<a class="el" href="a00214.html#ab147df0377723db28a0d3ec1f419f2da">strsize_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00158.html#ae59fd84ff5a0e89f8cabffceaade14ef">max</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Allocated size of cstring text. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a2cd129a51fe1d8b1a0a7f1b64468b370"></a><!-- doxytag: member="ucc::string::cstring::text" ref="a2cd129a51fe1d8b1a0a7f1b64468b370" args="[1]" -->
char&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00158.html#a2cd129a51fe1d8b1a0a7f1b64468b370">text</a> [1]</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Null terminated text, in overdraft space. <br/></td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>This is an internal class which contains the actual string data along with some control fields. </p>
<p>The string can be either NULL terminated or filled like a Pascal-style string, but with a user selected fill character. The cstring object is an overdraft object, as the actual string text which is of unknown size follows immediately after the class control data. This class is primarely for internal use. </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#l00094">94</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="a81de74ab87ea7924055eea39ae16ef4a"></a><!-- doxytag: member="ucc::string::cstring::cstring" ref="a81de74ab87ea7924055eea39ae16ef4a" args="(strsize_t size)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ucc::string::cstring::cstring </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00214.html#ab147df0377723db28a0d3ec1f419f2da">strsize_t</a>&nbsp;</td>
          <td class="paramname"> <em>size</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Create a cstring node allocated for specified string size. </p>
<p>The new operator would also need the size as an overdraft 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>size</em>&nbsp;</td><td>of string. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ad0ae12ae3d28a5c1006b3b236171c819"></a><!-- doxytag: member="ucc::string::cstring::cstring" ref="ad0ae12ae3d28a5c1006b3b236171c819" args="(strsize_t size, char fill)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ucc::string::cstring::cstring </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00214.html#ab147df0377723db28a0d3ec1f419f2da">strsize_t</a>&nbsp;</td>
          <td class="paramname"> <em>size</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char&nbsp;</td>
          <td class="paramname"> <em>fill</em></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 filled cstring node allocated for specified string size. </p>
<p>The new operator would also need the size as an overdraft value. The newly allocated string is filled with the fill 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>size</em>&nbsp;</td><td>of string. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>fill</em>&nbsp;</td><td>character value to fill string with. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a4582fcc32fc41f10a953b3fce8bbd236"></a><!-- doxytag: member="ucc::string::cstring::add" ref="a4582fcc32fc41f10a953b3fce8bbd236" args="(char character)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ucc::string::cstring::add </td>
          <td>(</td>
          <td class="paramtype">char&nbsp;</td>
          <td class="paramname"> <em>character</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Append a single character to our string buffer. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>character</em>&nbsp;</td><td>to append. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ae791df5b41f51c9f08bc87d13e28cf7c"></a><!-- doxytag: member="ucc::string::cstring::add" ref="ae791df5b41f51c9f08bc87d13e28cf7c" args="(const StringFormat &amp;format)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ucc::string::cstring::add </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="a00160.html">StringFormat</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>format</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Append text to string buffer from formatting 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>format</em>&nbsp;</td><td>object to add from. </td></tr>
  </table>
  </dd>
</dl>

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

<p>Append null terminated text to our string buffer. </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 append. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a1bb8d360840dd101f1e9476f0ad74a93"></a><!-- doxytag: member="ucc::string::cstring::clear" ref="a1bb8d360840dd101f1e9476f0ad74a93" args="(strsize_t offset, strsize_t size)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ucc::string::cstring::clear </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00214.html#ab147df0377723db28a0d3ec1f419f2da">strsize_t</a>&nbsp;</td>
          <td class="paramname"> <em>offset</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a00214.html#ab147df0377723db28a0d3ec1f419f2da">strsize_t</a>&nbsp;</td>
          <td class="paramname"> <em>size</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Used to clear a string. </p>
<p>If null terminated, then the string ends at the offset, otherwise it is simply filled with fill data up to the specified size. </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>to clear from. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>size</em>&nbsp;</td><td>of field to clear. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a698a30873dc0880eaa29f32a15fbb73b"></a><!-- doxytag: member="ucc::string::cstring::dec" ref="a698a30873dc0880eaa29f32a15fbb73b" args="(strsize_t number)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ucc::string::cstring::dec </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00214.html#ab147df0377723db28a0d3ec1f419f2da">strsize_t</a>&nbsp;</td>
          <td class="paramname"> <em>number</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Adjust size of our string buffer by deleting characters from end of buffer. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>number</em>&nbsp;</td><td>of characters to delete. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a92e014f808ff7d69d809ca889001886a"></a><!-- doxytag: member="ucc::string::cstring::inc" ref="a92e014f808ff7d69d809ca889001886a" args="(strsize_t number)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ucc::string::cstring::inc </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00214.html#ab147df0377723db28a0d3ec1f419f2da">strsize_t</a>&nbsp;</td>
          <td class="paramname"> <em>number</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Adjust size of our string buffer by deleting characters from start of buffer. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>number</em>&nbsp;</td><td>of characters to delete. </td></tr>
  </table>
  </dd>
</dl>

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

<p>Set our string from null terminated text up to our allocated size. </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 set from. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a791eb8f20fa5c8d6dbdd2b3a0dc813ef"></a><!-- doxytag: member="ucc::string::cstring::set" ref="a791eb8f20fa5c8d6dbdd2b3a0dc813ef" args="(const StringFormat &amp;format)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ucc::string::cstring::set </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="a00160.html">StringFormat</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>format</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Set our string from a string formatting 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>format</em>&nbsp;</td><td>object to set from. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ad419e2ef8ff715ac0761429c9be9da0c"></a><!-- doxytag: member="ucc::string::cstring::set" ref="ad419e2ef8ff715ac0761429c9be9da0c" args="(strsize_t offset, const char *text, strsize_t size)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ucc::string::cstring::set </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00214.html#ab147df0377723db28a0d3ec1f419f2da">strsize_t</a>&nbsp;</td>
          <td class="paramname"> <em>offset</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&nbsp;</td>
          <td class="paramname"> <em>text</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a00214.html#ab147df0377723db28a0d3ec1f419f2da">strsize_t</a>&nbsp;</td>
          <td class="paramname"> <em>size</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Set part or all of a string with new text. </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>to set from. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>text</em>&nbsp;</td><td>to insert from null terminated string. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>size</em>&nbsp;</td><td>of field to modify. This is filled for fill mode. </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="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>