This file is indexed.

/usr/share/gtk-doc/html/couchdb-glib/CouchdbStructField.html is in libcouchdb-glib-doc 0.7.4-0ubuntu3.

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
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>couchdb-struct-field</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
<link rel="home" href="index.html" title="Reference Manual for CouchDB GLib Bindings">
<link rel="up" href="ch01.html" title="Core API">
<link rel="prev" href="couchdb-glib-CouchdbArrayField.html" title="couchdb-array-field">
<link rel="next" href="ch02.html" title="Desktopcouch API">
<meta name="generator" content="GTK-Doc V1.18 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
<tr valign="middle">
<td><a accesskey="p" href="couchdb-glib-CouchdbArrayField.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="ch01.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
<th width="100%" align="center">Reference Manual for CouchDB GLib Bindings</th>
<td><a accesskey="n" href="ch02.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts">
<a href="#CouchdbStructField.synopsis" class="shortcut">Top</a>
                   | 
                  <a href="#CouchdbStructField.description" class="shortcut">Description</a>
</td></tr>
</table>
<div class="refentry">
<a name="CouchdbStructField"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="CouchdbStructField.top_of_page"></a>couchdb-struct-field</span></h2>
<p>couchdb-struct-field</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv">
<a name="CouchdbStructField.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis">                    <a class="link" href="CouchdbStructField.html#CouchdbStructFieldClass" title="CouchdbStructFieldClass">CouchdbStructFieldClass</a>;
<a class="link" href="CouchdbStructField.html" title="couchdb-struct-field"><span class="returnvalue">CouchdbStructField</span></a> * <a class="link" href="CouchdbStructField.html#couchdb-struct-field-new" title="couchdb_struct_field_new ()">couchdb_struct_field_new</a>           (<em class="parameter"><code><span class="type">void</span></code></em>);
<a class="link" href="CouchdbStructField.html" title="couchdb-struct-field"><span class="returnvalue">CouchdbStructField</span></a> * <a class="link" href="CouchdbStructField.html#couchdb-struct-field-new-from-string" title="couchdb_struct_field_new_from_string ()">couchdb_struct_field_new_from_string</a>
                                                        (<em class="parameter"><code>const <span class="type">char</span> *str</code></em>);
<span class="returnvalue">gboolean</span>            <a class="link" href="CouchdbStructField.html#couchdb-struct-field-has-field" title="couchdb_struct_field_has_field ()">couchdb_struct_field_has_field</a>      (<em class="parameter"><code><a class="link" href="CouchdbStructField.html" title="couchdb-struct-field"><span class="type">CouchdbStructField</span></a> *sf</code></em>,
                                                         <em class="parameter"><code>const <span class="type">char</span> *field</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="CouchdbStructField.html#couchdb-struct-field-remove-field" title="couchdb_struct_field_remove_field ()">couchdb_struct_field_remove_field</a>   (<em class="parameter"><code><a class="link" href="CouchdbStructField.html" title="couchdb-struct-field"><span class="type">CouchdbStructField</span></a> *sf</code></em>,
                                                         <em class="parameter"><code>const <span class="type">char</span> *field</code></em>);
<span class="returnvalue">GSList</span> *            <a class="link" href="CouchdbStructField.html#couchdb-struct-field-get-field-names" title="couchdb_struct_field_get_field_names ()">couchdb_struct_field_get_field_names</a>
                                                        (<em class="parameter"><code><a class="link" href="CouchdbStructField.html" title="couchdb-struct-field"><span class="type">CouchdbStructField</span></a> *sf</code></em>);
<span class="returnvalue">GType</span>               <a class="link" href="CouchdbStructField.html#couchdb-struct-field-get-field-type" title="couchdb_struct_field_get_field_type ()">couchdb_struct_field_get_field_type</a> (<em class="parameter"><code><a class="link" href="CouchdbStructField.html" title="couchdb-struct-field"><span class="type">CouchdbStructField</span></a> *sf</code></em>,
                                                         <em class="parameter"><code>const <span class="type">char</span> *field</code></em>);
<span class="returnvalue">CouchdbArrayField</span> * <a class="link" href="CouchdbStructField.html#couchdb-struct-field-get-array-field" title="couchdb_struct_field_get_array_field ()">couchdb_struct_field_get_array_field</a>
                                                        (<em class="parameter"><code><a class="link" href="CouchdbStructField.html" title="couchdb-struct-field"><span class="type">CouchdbStructField</span></a> *sf</code></em>,
                                                         <em class="parameter"><code>const <span class="type">char</span> *field</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="CouchdbStructField.html#couchdb-struct-field-set-array-field" title="couchdb_struct_field_set_array_field ()">couchdb_struct_field_set_array_field</a>
                                                        (<em class="parameter"><code><a class="link" href="CouchdbStructField.html" title="couchdb-struct-field"><span class="type">CouchdbStructField</span></a> *sf</code></em>,
                                                         <em class="parameter"><code>const <span class="type">char</span> *field</code></em>,
                                                         <em class="parameter"><code><span class="type">CouchdbArrayField</span> *value</code></em>);
<span class="returnvalue">gboolean</span>            <a class="link" href="CouchdbStructField.html#couchdb-struct-field-get-boolean-field" title="couchdb_struct_field_get_boolean_field ()">couchdb_struct_field_get_boolean_field</a>
                                                        (<em class="parameter"><code><a class="link" href="CouchdbStructField.html" title="couchdb-struct-field"><span class="type">CouchdbStructField</span></a> *sf</code></em>,
                                                         <em class="parameter"><code>const <span class="type">char</span> *field</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="CouchdbStructField.html#couchdb-struct-field-set-boolean-field" title="couchdb_struct_field_set_boolean_field ()">couchdb_struct_field_set_boolean_field</a>
                                                        (<em class="parameter"><code><a class="link" href="CouchdbStructField.html" title="couchdb-struct-field"><span class="type">CouchdbStructField</span></a> *sf</code></em>,
                                                         <em class="parameter"><code>const <span class="type">char</span> *field</code></em>,
                                                         <em class="parameter"><code><span class="type">gboolean</span> value</code></em>);
<span class="returnvalue">gdouble</span>             <a class="link" href="CouchdbStructField.html#couchdb-struct-field-get-double-field" title="couchdb_struct_field_get_double_field ()">couchdb_struct_field_get_double_field</a>
                                                        (<em class="parameter"><code><a class="link" href="CouchdbStructField.html" title="couchdb-struct-field"><span class="type">CouchdbStructField</span></a> *sf</code></em>,
                                                         <em class="parameter"><code>const <span class="type">char</span> *field</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="CouchdbStructField.html#couchdb-struct-field-set-double-field" title="couchdb_struct_field_set_double_field ()">couchdb_struct_field_set_double_field</a>
                                                        (<em class="parameter"><code><a class="link" href="CouchdbStructField.html" title="couchdb-struct-field"><span class="type">CouchdbStructField</span></a> *sf</code></em>,
                                                         <em class="parameter"><code>const <span class="type">char</span> *field</code></em>,
                                                         <em class="parameter"><code><span class="type">gdouble</span> value</code></em>);
<span class="returnvalue">gint</span>                <a class="link" href="CouchdbStructField.html#couchdb-struct-field-get-int-field" title="couchdb_struct_field_get_int_field ()">couchdb_struct_field_get_int_field</a>  (<em class="parameter"><code><a class="link" href="CouchdbStructField.html" title="couchdb-struct-field"><span class="type">CouchdbStructField</span></a> *sf</code></em>,
                                                         <em class="parameter"><code>const <span class="type">char</span> *field</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="CouchdbStructField.html#couchdb-struct-field-set-int-field" title="couchdb_struct_field_set_int_field ()">couchdb_struct_field_set_int_field</a>  (<em class="parameter"><code><a class="link" href="CouchdbStructField.html" title="couchdb-struct-field"><span class="type">CouchdbStructField</span></a> *sf</code></em>,
                                                         <em class="parameter"><code>const <span class="type">char</span> *field</code></em>,
                                                         <em class="parameter"><code><span class="type">gint</span> value</code></em>);
const <span class="returnvalue">char</span> *        <a class="link" href="CouchdbStructField.html#couchdb-struct-field-get-string-field" title="couchdb_struct_field_get_string_field ()">couchdb_struct_field_get_string_field</a>
                                                        (<em class="parameter"><code><a class="link" href="CouchdbStructField.html" title="couchdb-struct-field"><span class="type">CouchdbStructField</span></a> *sf</code></em>,
                                                         <em class="parameter"><code>const <span class="type">char</span> *field</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="CouchdbStructField.html#couchdb-struct-field-set-string-field" title="couchdb_struct_field_set_string_field ()">couchdb_struct_field_set_string_field</a>
                                                        (<em class="parameter"><code><a class="link" href="CouchdbStructField.html" title="couchdb-struct-field"><span class="type">CouchdbStructField</span></a> *sf</code></em>,
                                                         <em class="parameter"><code>const <span class="type">char</span> *field</code></em>,
                                                         <em class="parameter"><code>const <span class="type">char</span> *value</code></em>);
<a class="link" href="CouchdbStructField.html" title="couchdb-struct-field"><span class="returnvalue">CouchdbStructField</span></a> * <a class="link" href="CouchdbStructField.html#couchdb-struct-field-get-struct-field" title="couchdb_struct_field_get_struct_field ()">couchdb_struct_field_get_struct_field</a>
                                                        (<em class="parameter"><code><a class="link" href="CouchdbStructField.html" title="couchdb-struct-field"><span class="type">CouchdbStructField</span></a> *sf</code></em>,
                                                         <em class="parameter"><code>const <span class="type">char</span> *field</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="CouchdbStructField.html#couchdb-struct-field-set-struct-field" title="couchdb_struct_field_set_struct_field ()">couchdb_struct_field_set_struct_field</a>
                                                        (<em class="parameter"><code><a class="link" href="CouchdbStructField.html" title="couchdb-struct-field"><span class="type">CouchdbStructField</span></a> *sf</code></em>,
                                                         <em class="parameter"><code>const <span class="type">char</span> *field</code></em>,
                                                         <em class="parameter"><code><a class="link" href="CouchdbStructField.html" title="couchdb-struct-field"><span class="type">CouchdbStructField</span></a> *value</code></em>);
const <span class="returnvalue">char</span> *        <a class="link" href="CouchdbStructField.html#couchdb-struct-field-get-uuid" title="couchdb_struct_field_get_uuid ()">couchdb_struct_field_get_uuid</a>       (<em class="parameter"><code><a class="link" href="CouchdbStructField.html" title="couchdb-struct-field"><span class="type">CouchdbStructField</span></a> *sf</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="CouchdbStructField.html#couchdb-struct-field-set-uuid" title="couchdb_struct_field_set_uuid ()">couchdb_struct_field_set_uuid</a>       (<em class="parameter"><code><a class="link" href="CouchdbStructField.html" title="couchdb-struct-field"><span class="type">CouchdbStructField</span></a> *sf</code></em>,
                                                         <em class="parameter"><code>const <span class="type">char</span> *uuid</code></em>);
<span class="returnvalue">char</span> *              <a class="link" href="CouchdbStructField.html#couchdb-struct-field-to-string" title="couchdb_struct_field_to_string ()">couchdb_struct_field_to_string</a>      (<em class="parameter"><code><a class="link" href="CouchdbStructField.html" title="couchdb-struct-field"><span class="type">CouchdbStructField</span></a> *sf</code></em>);
</pre>
</div>
<div class="refsect1">
<a name="CouchdbStructField.description"></a><h2>Description</h2>
<p>
</p>
</div>
<div class="refsect1">
<a name="CouchdbStructField.details"></a><h2>Details</h2>
<div class="refsect2">
<a name="CouchdbStructFieldClass"></a><h3>CouchdbStructFieldClass</h3>
<pre class="programlisting">typedef struct {
	GObjectClass parent_class;
} CouchdbStructFieldClass;
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="couchdb-struct-field-new"></a><h3>couchdb_struct_field_new ()</h3>
<pre class="programlisting"><a class="link" href="CouchdbStructField.html" title="couchdb-struct-field"><span class="returnvalue">CouchdbStructField</span></a> * couchdb_struct_field_new           (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
<p>
Create a new struct field object, to be added to a <a class="link" href="CouchdbDocument.html" title="CouchdbDocument"><span class="type">CouchdbDocument</span></a> or to
another <a class="link" href="CouchdbStructField.html" title="couchdb-struct-field"><span class="type">CouchdbStructField</span></a>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>A newly-created <a class="link" href="CouchdbStructField.html" title="couchdb-struct-field"><span class="type">CouchdbStructField</span></a> object.</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="couchdb-struct-field-new-from-string"></a><h3>couchdb_struct_field_new_from_string ()</h3>
<pre class="programlisting"><a class="link" href="CouchdbStructField.html" title="couchdb-struct-field"><span class="returnvalue">CouchdbStructField</span></a> * couchdb_struct_field_new_from_string
                                                        (<em class="parameter"><code>const <span class="type">char</span> *str</code></em>);</pre>
<p>
Create a new struct field object, filling it with values taken from a string
representing a JSON object.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>str</code></em> :</span></p></td>
<td>A JSON string</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>A newly-created <a class="link" href="CouchdbStructField.html" title="couchdb-struct-field"><span class="type">CouchdbStructField</span></a> object.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="couchdb-struct-field-has-field"></a><h3>couchdb_struct_field_has_field ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span>            couchdb_struct_field_has_field      (<em class="parameter"><code><a class="link" href="CouchdbStructField.html" title="couchdb-struct-field"><span class="type">CouchdbStructField</span></a> *sf</code></em>,
                                                         <em class="parameter"><code>const <span class="type">char</span> *field</code></em>);</pre>
<p>
Check whether a given field exists in the given <a class="link" href="CouchdbStructField.html" title="couchdb-struct-field"><span class="type">CouchdbStructField</span></a> object.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>sf</code></em> :</span></p></td>
<td>A <a class="link" href="CouchdbStructField.html" title="couchdb-struct-field"><span class="type">CouchdbStructField</span></a> object</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>field</code></em> :</span></p></td>
<td>Name of the field to check</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>TRUE if the field exists, FALSE if not.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="couchdb-struct-field-remove-field"></a><h3>couchdb_struct_field_remove_field ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                couchdb_struct_field_remove_field   (<em class="parameter"><code><a class="link" href="CouchdbStructField.html" title="couchdb-struct-field"><span class="type">CouchdbStructField</span></a> *sf</code></em>,
                                                         <em class="parameter"><code>const <span class="type">char</span> *field</code></em>);</pre>
<p>
Remove a field from the given <a class="link" href="CouchdbStructField.html" title="couchdb-struct-field"><span class="type">CouchdbStructField</span></a> object.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>sf</code></em> :</span></p></td>
<td>A <a class="link" href="CouchdbStructField.html" title="couchdb-struct-field"><span class="type">CouchdbStructField</span></a> object</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>field</code></em> :</span></p></td>
<td>Name of the field to remove</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="couchdb-struct-field-get-field-names"></a><h3>couchdb_struct_field_get_field_names ()</h3>
<pre class="programlisting"><span class="returnvalue">GSList</span> *            couchdb_struct_field_get_field_names
                                                        (<em class="parameter"><code><a class="link" href="CouchdbStructField.html" title="couchdb-struct-field"><span class="type">CouchdbStructField</span></a> *sf</code></em>);</pre>
<p>
Get the list of field names the given <a class="link" href="CouchdbStructField.html" title="couchdb-struct-field"><span class="type">CouchdbStructField</span></a> object contains.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>sf</code></em> :</span></p></td>
<td>A <a class="link" href="CouchdbStructField.html" title="couchdb-struct-field"><span class="type">CouchdbStructField</span></a> object</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>A list of strings containing the names of all the fields contained
in the given <a class="link" href="CouchdbStructField.html" title="couchdb-struct-field"><span class="type">CouchdbStructField</span></a> object. When no longer needed, the list should
be freed by calling <span class="type">g_slist_free</span>.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="couchdb-struct-field-get-field-type"></a><h3>couchdb_struct_field_get_field_type ()</h3>
<pre class="programlisting"><span class="returnvalue">GType</span>               couchdb_struct_field_get_field_type (<em class="parameter"><code><a class="link" href="CouchdbStructField.html" title="couchdb-struct-field"><span class="type">CouchdbStructField</span></a> *sf</code></em>,
                                                         <em class="parameter"><code>const <span class="type">char</span> *field</code></em>);</pre>
<p>
Get the value type of the given <a class="link" href="CouchdbStructField.html" title="couchdb-struct-field"><span class="type">CouchdbStructField</span></a>'s field.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>sf</code></em> :</span></p></td>
<td>A <a class="link" href="CouchdbStructField.html" title="couchdb-struct-field"><span class="type">CouchdbStructField</span></a> object</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>field</code></em> :</span></p></td>
<td>Name of the field to get type</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>Type of the field.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="couchdb-struct-field-get-array-field"></a><h3>couchdb_struct_field_get_array_field ()</h3>
<pre class="programlisting"><span class="returnvalue">CouchdbArrayField</span> * couchdb_struct_field_get_array_field
                                                        (<em class="parameter"><code><a class="link" href="CouchdbStructField.html" title="couchdb-struct-field"><span class="type">CouchdbStructField</span></a> *sf</code></em>,
                                                         <em class="parameter"><code>const <span class="type">char</span> *field</code></em>);</pre>
<p>
Retrieve the value of an array field from the given struct field.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>sf</code></em> :</span></p></td>
<td>A <a class="link" href="CouchdbStructField.html" title="couchdb-struct-field"><span class="type">CouchdbStructField</span></a> object</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>field</code></em> :</span></p></td>
<td>Name of the field</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>The value of the given field.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="couchdb-struct-field-set-array-field"></a><h3>couchdb_struct_field_set_array_field ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                couchdb_struct_field_set_array_field
                                                        (<em class="parameter"><code><a class="link" href="CouchdbStructField.html" title="couchdb-struct-field"><span class="type">CouchdbStructField</span></a> *sf</code></em>,
                                                         <em class="parameter"><code>const <span class="type">char</span> *field</code></em>,
                                                         <em class="parameter"><code><span class="type">CouchdbArrayField</span> *value</code></em>);</pre>
<p>
Set the value of an array field in the given struct field.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>sf</code></em> :</span></p></td>
<td>A <a class="link" href="CouchdbStructField.html" title="couchdb-struct-field"><span class="type">CouchdbStructField</span></a> object</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>field</code></em> :</span></p></td>
<td>Name of the field</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="couchdb-struct-field-get-boolean-field"></a><h3>couchdb_struct_field_get_boolean_field ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span>            couchdb_struct_field_get_boolean_field
                                                        (<em class="parameter"><code><a class="link" href="CouchdbStructField.html" title="couchdb-struct-field"><span class="type">CouchdbStructField</span></a> *sf</code></em>,
                                                         <em class="parameter"><code>const <span class="type">char</span> *field</code></em>);</pre>
<p>
Retrieve the value of a boolean field from the given struct field.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>sf</code></em> :</span></p></td>
<td>A <a class="link" href="CouchdbStructField.html" title="couchdb-struct-field"><span class="type">CouchdbStructField</span></a> object</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>field</code></em> :</span></p></td>
<td>Name of the field</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>The value of the given field.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="couchdb-struct-field-set-boolean-field"></a><h3>couchdb_struct_field_set_boolean_field ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                couchdb_struct_field_set_boolean_field
                                                        (<em class="parameter"><code><a class="link" href="CouchdbStructField.html" title="couchdb-struct-field"><span class="type">CouchdbStructField</span></a> *sf</code></em>,
                                                         <em class="parameter"><code>const <span class="type">char</span> *field</code></em>,
                                                         <em class="parameter"><code><span class="type">gboolean</span> value</code></em>);</pre>
<p>
Set the value of a boolean field in the given struct field.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>sf</code></em> :</span></p></td>
<td>A <a class="link" href="CouchdbStructField.html" title="couchdb-struct-field"><span class="type">CouchdbStructField</span></a> object</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>field</code></em> :</span></p></td>
<td>Name of the field</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="couchdb-struct-field-get-double-field"></a><h3>couchdb_struct_field_get_double_field ()</h3>
<pre class="programlisting"><span class="returnvalue">gdouble</span>             couchdb_struct_field_get_double_field
                                                        (<em class="parameter"><code><a class="link" href="CouchdbStructField.html" title="couchdb-struct-field"><span class="type">CouchdbStructField</span></a> *sf</code></em>,
                                                         <em class="parameter"><code>const <span class="type">char</span> *field</code></em>);</pre>
<p>
Retrieve the value of a decimal number field from the given struct field.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>sf</code></em> :</span></p></td>
<td>A <a class="link" href="CouchdbStructField.html" title="couchdb-struct-field"><span class="type">CouchdbStructField</span></a> object</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>field</code></em> :</span></p></td>
<td>Name of the field</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>The value of the given field.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="couchdb-struct-field-set-double-field"></a><h3>couchdb_struct_field_set_double_field ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                couchdb_struct_field_set_double_field
                                                        (<em class="parameter"><code><a class="link" href="CouchdbStructField.html" title="couchdb-struct-field"><span class="type">CouchdbStructField</span></a> *sf</code></em>,
                                                         <em class="parameter"><code>const <span class="type">char</span> *field</code></em>,
                                                         <em class="parameter"><code><span class="type">gdouble</span> value</code></em>);</pre>
<p>
Set the value of a decimal number field in the given struct field.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>sf</code></em> :</span></p></td>
<td>A <a class="link" href="CouchdbStructField.html" title="couchdb-struct-field"><span class="type">CouchdbStructField</span></a> object</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>field</code></em> :</span></p></td>
<td>Name of the field</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="couchdb-struct-field-get-int-field"></a><h3>couchdb_struct_field_get_int_field ()</h3>
<pre class="programlisting"><span class="returnvalue">gint</span>                couchdb_struct_field_get_int_field  (<em class="parameter"><code><a class="link" href="CouchdbStructField.html" title="couchdb-struct-field"><span class="type">CouchdbStructField</span></a> *sf</code></em>,
                                                         <em class="parameter"><code>const <span class="type">char</span> *field</code></em>);</pre>
<p>
Retrieve the value of an integer field from the given struct field.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>sf</code></em> :</span></p></td>
<td>A <a class="link" href="CouchdbStructField.html" title="couchdb-struct-field"><span class="type">CouchdbStructField</span></a> object</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>field</code></em> :</span></p></td>
<td>Name of the field</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>The value of the given field.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="couchdb-struct-field-set-int-field"></a><h3>couchdb_struct_field_set_int_field ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                couchdb_struct_field_set_int_field  (<em class="parameter"><code><a class="link" href="CouchdbStructField.html" title="couchdb-struct-field"><span class="type">CouchdbStructField</span></a> *sf</code></em>,
                                                         <em class="parameter"><code>const <span class="type">char</span> *field</code></em>,
                                                         <em class="parameter"><code><span class="type">gint</span> value</code></em>);</pre>
<p>
Set the value of an integer field in the given struct field.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>sf</code></em> :</span></p></td>
<td>A <a class="link" href="CouchdbStructField.html" title="couchdb-struct-field"><span class="type">CouchdbStructField</span></a> object</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>field</code></em> :</span></p></td>
<td>Name of the field</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="couchdb-struct-field-get-string-field"></a><h3>couchdb_struct_field_get_string_field ()</h3>
<pre class="programlisting">const <span class="returnvalue">char</span> *        couchdb_struct_field_get_string_field
                                                        (<em class="parameter"><code><a class="link" href="CouchdbStructField.html" title="couchdb-struct-field"><span class="type">CouchdbStructField</span></a> *sf</code></em>,
                                                         <em class="parameter"><code>const <span class="type">char</span> *field</code></em>);</pre>
<p>
Retrieve the value of a string field from the given struct field.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>sf</code></em> :</span></p></td>
<td>A <a class="link" href="CouchdbStructField.html" title="couchdb-struct-field"><span class="type">CouchdbStructField</span></a> object</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>field</code></em> :</span></p></td>
<td>Name of the field</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>The value of the given field.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="couchdb-struct-field-set-string-field"></a><h3>couchdb_struct_field_set_string_field ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                couchdb_struct_field_set_string_field
                                                        (<em class="parameter"><code><a class="link" href="CouchdbStructField.html" title="couchdb-struct-field"><span class="type">CouchdbStructField</span></a> *sf</code></em>,
                                                         <em class="parameter"><code>const <span class="type">char</span> *field</code></em>,
                                                         <em class="parameter"><code>const <span class="type">char</span> *value</code></em>);</pre>
<p>
Set the value of a string field in the given struct field.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>sf</code></em> :</span></p></td>
<td>A <a class="link" href="CouchdbStructField.html" title="couchdb-struct-field"><span class="type">CouchdbStructField</span></a> object</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>field</code></em> :</span></p></td>
<td>Name of the field</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="couchdb-struct-field-get-struct-field"></a><h3>couchdb_struct_field_get_struct_field ()</h3>
<pre class="programlisting"><a class="link" href="CouchdbStructField.html" title="couchdb-struct-field"><span class="returnvalue">CouchdbStructField</span></a> * couchdb_struct_field_get_struct_field
                                                        (<em class="parameter"><code><a class="link" href="CouchdbStructField.html" title="couchdb-struct-field"><span class="type">CouchdbStructField</span></a> *sf</code></em>,
                                                         <em class="parameter"><code>const <span class="type">char</span> *field</code></em>);</pre>
<p>
Retrieve the value of a struct field from the given struct field.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>sf</code></em> :</span></p></td>
<td>A <a class="link" href="CouchdbStructField.html" title="couchdb-struct-field"><span class="type">CouchdbStructField</span></a> object</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>field</code></em> :</span></p></td>
<td>Name of the field</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>The value of the given field.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="couchdb-struct-field-set-struct-field"></a><h3>couchdb_struct_field_set_struct_field ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                couchdb_struct_field_set_struct_field
                                                        (<em class="parameter"><code><a class="link" href="CouchdbStructField.html" title="couchdb-struct-field"><span class="type">CouchdbStructField</span></a> *sf</code></em>,
                                                         <em class="parameter"><code>const <span class="type">char</span> *field</code></em>,
                                                         <em class="parameter"><code><a class="link" href="CouchdbStructField.html" title="couchdb-struct-field"><span class="type">CouchdbStructField</span></a> *value</code></em>);</pre>
<p>
Set the value of a string field in the given struct field.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>sf</code></em> :</span></p></td>
<td>A <a class="link" href="CouchdbStructField.html" title="couchdb-struct-field"><span class="type">CouchdbStructField</span></a> object</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>field</code></em> :</span></p></td>
<td>Name of the field</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="couchdb-struct-field-get-uuid"></a><h3>couchdb_struct_field_get_uuid ()</h3>
<pre class="programlisting">const <span class="returnvalue">char</span> *        couchdb_struct_field_get_uuid       (<em class="parameter"><code><a class="link" href="CouchdbStructField.html" title="couchdb-struct-field"><span class="type">CouchdbStructField</span></a> *sf</code></em>);</pre>
<p>
Retrieve the unique ID of the given struct field. Note that this is a convenience
function to allow documents with a format similar to:
</p>
<p>
"list": {
       "unique-id-1": { "field": "value" },
       "unique-id-2": { "field": "value" }
}
</p>
<p>
So, not all <a class="link" href="CouchdbStructField.html" title="couchdb-struct-field"><span class="type">CouchdbStructField</span></a> objects would have a value for this, unless explicitly
used by the applications storing the documents on the CouchDB database.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>sf</code></em> :</span></p></td>
<td>A <a class="link" href="CouchdbStructField.html" title="couchdb-struct-field"><span class="type">CouchdbStructField</span></a> object</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>The unique ID of the given struct field.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="couchdb-struct-field-set-uuid"></a><h3>couchdb_struct_field_set_uuid ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                couchdb_struct_field_set_uuid       (<em class="parameter"><code><a class="link" href="CouchdbStructField.html" title="couchdb-struct-field"><span class="type">CouchdbStructField</span></a> *sf</code></em>,
                                                         <em class="parameter"><code>const <span class="type">char</span> *uuid</code></em>);</pre>
<p>
Set the unique ID for the given struct field. See the explanation for <a class="link" href="CouchdbStructField.html#couchdb-struct-field-get-uuid" title="couchdb_struct_field_get_uuid ()"><span class="type">couchdb_struct_field_get_uuid</span></a>
for knowing when to use this function.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>sf</code></em> :</span></p></td>
<td>A <a class="link" href="CouchdbStructField.html" title="couchdb-struct-field"><span class="type">CouchdbStructField</span></a> object</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>uuid</code></em> :</span></p></td>
<td>Unique ID</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="couchdb-struct-field-to-string"></a><h3>couchdb_struct_field_to_string ()</h3>
<pre class="programlisting"><span class="returnvalue">char</span> *              couchdb_struct_field_to_string      (<em class="parameter"><code><a class="link" href="CouchdbStructField.html" title="couchdb-struct-field"><span class="type">CouchdbStructField</span></a> *sf</code></em>);</pre>
<p>
Convert a <a class="link" href="CouchdbStructField.html" title="couchdb-struct-field"><span class="type">CouchdbStructField</span></a> to a JSON string.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>sf</code></em> :</span></p></td>
<td>A <a class="link" href="CouchdbStructField.html" title="couchdb-struct-field"><span class="type">CouchdbStructField</span></a> object</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>A string representing the contents of the given <a class="link" href="CouchdbStructField.html" title="couchdb-struct-field"><span class="type">CouchdbStructField</span></a>
object in JSON format.</td>
</tr>
</tbody>
</table></div>
</div>
</div>
</div>
<div class="footer">
<hr>
          Generated by GTK-Doc V1.18</div>
</body>
</html>