This file is indexed.

/usr/share/gtk-doc/html/libgda-5.0/GdaDataModelArray.html is in libgda-5.0-doc 5.2.4-9.

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
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>GdaDataModelArray: GNOME Data Access 5 manual</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="index.html" title="GNOME Data Access 5 manual">
<link rel="up" href="data_models.html" title="Data handling">
<link rel="prev" href="GdaDataAccessWrapper.html" title="GdaDataAccessWrapper">
<link rel="next" href="GdaRow.html" title="GdaRow">
<meta name="generator" content="GTK-Doc V1.27 (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="5"><tr valign="middle">
<td width="100%" align="left" class="shortcuts">
<a href="#" class="shortcut">Top</a><span id="nav_description">  <span class="dim">|</span> 
                  <a href="#GdaDataModelArray.description" class="shortcut">Description</a></span><span id="nav_hierarchy">  <span class="dim">|</span> 
                  <a href="#GdaDataModelArray.object-hierarchy" class="shortcut">Object Hierarchy</a></span><span id="nav_interfaces">  <span class="dim">|</span> 
                  <a href="#GdaDataModelArray.implemented-interfaces" class="shortcut">Implemented Interfaces</a></span><span id="nav_properties">  <span class="dim">|</span> 
                  <a href="#GdaDataModelArray.properties" class="shortcut">Properties</a></span>
</td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
<td><a accesskey="u" href="data_models.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
<td><a accesskey="p" href="GdaDataAccessWrapper.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
<td><a accesskey="n" href="GdaRow.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
</tr></table>
<div class="refentry">
<a name="GdaDataModelArray"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="GdaDataModelArray.top_of_page"></a>GdaDataModelArray</span></h2>
<p>GdaDataModelArray — An implementation of <a class="link" href="GdaDataModel.html" title="GdaDataModel"><span class="type">GdaDataModel</span></a> based on a <a href="../glib/glib-Arrays.html#GArray"><span class="type">GArray</span></a></p>
</td>
<td class="gallery_image" valign="top" align="right"></td>
</tr></table></div>
<div class="refsect1">
<a name="GdaDataModelArray.stability-level"></a><h2>Stability Level</h2>
<a href="http://foldoc.org/Stable"><span class="acronym">Stable</span></a>, unless otherwise indicated
</div>
<div class="refsect1">
<a name="GdaDataModelArray.functions"></a><h2>Functions</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="functions_return">
<col class="functions_name">
</colgroup>
<tbody>
<tr>
<td class="function_type">
<a class="link" href="GdaDataModel.html" title="GdaDataModel"><span class="returnvalue">GdaDataModel</span></a> *
</td>
<td class="function_name">
<a class="link" href="GdaDataModelArray.html#gda-data-model-array-new" title="gda_data_model_array_new ()">gda_data_model_array_new</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="GdaDataModel.html" title="GdaDataModel"><span class="returnvalue">GdaDataModel</span></a> *
</td>
<td class="function_name">
<a class="link" href="GdaDataModelArray.html#gda-data-model-array-new-with-g-types" title="gda_data_model_array_new_with_g_types ()">gda_data_model_array_new_with_g_types</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="GdaDataModel.html" title="GdaDataModel"><span class="returnvalue">GdaDataModel</span></a> *
</td>
<td class="function_name">
<a class="link" href="GdaDataModelArray.html#gda-data-model-array-new-with-g-types-v" title="gda_data_model_array_new_with_g_types_v ()">gda_data_model_array_new_with_g_types_v</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="GdaDataModelArray.html" title="GdaDataModelArray"><span class="returnvalue">GdaDataModelArray</span></a> *
</td>
<td class="function_name">
<a class="link" href="GdaDataModelArray.html#gda-data-model-array-copy-model" title="gda_data_model_array_copy_model ()">gda_data_model_array_copy_model</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="GdaDataModelArray.html" title="GdaDataModelArray"><span class="returnvalue">GdaDataModelArray</span></a> *
</td>
<td class="function_name">
<a class="link" href="GdaDataModelArray.html#gda-data-model-array-copy-model-ext" title="gda_data_model_array_copy_model_ext ()">gda_data_model_array_copy_model_ext</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="GdaRow.html" title="GdaRow"><span class="returnvalue">GdaRow</span></a> *
</td>
<td class="function_name">
<a class="link" href="GdaDataModelArray.html#gda-data-model-array-get-row" title="gda_data_model_array_get_row ()">gda_data_model_array_get_row</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GdaDataModelArray.html#gda-data-model-array-set-n-columns" title="gda_data_model_array_set_n_columns ()">gda_data_model_array_set_n_columns</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GdaDataModelArray.html#gda-data-model-array-clear" title="gda_data_model_array_clear ()">gda_data_model_array_clear</a> <span class="c_punctuation">()</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="GdaDataModelArray.properties"></a><h2>Properties</h2>
<div class="informaltable"><table class="informaltable" border="0">
<colgroup>
<col width="150px" class="properties_type">
<col width="300px" class="properties_name">
<col width="200px" class="properties_flags">
</colgroup>
<tbody>
<tr>
<td class="property_type"><a href="../glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a></td>
<td class="property_name"><a class="link" href="GdaDataModelArray.html#GdaDataModelArray--n-columns" title="The “n-columns” property">n-columns</a></td>
<td class="property_flags">Read / Write</td>
</tr>
<tr>
<td class="property_type"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td>
<td class="property_name"><a class="link" href="GdaDataModelArray.html#GdaDataModelArray--read-only" title="The “read-only” property">read-only</a></td>
<td class="property_flags">Read / Write</td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="GdaDataModelArray.other"></a><h2>Types and Values</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="name">
<col class="description">
</colgroup>
<tbody>
<tr>
<td class="datatype_keyword">struct</td>
<td class="function_name"><a class="link" href="GdaDataModelArray.html#GdaDataModelArray-struct" title="struct GdaDataModelArray">GdaDataModelArray</a></td>
</tr>
<tr>
<td class="datatype_keyword">struct</td>
<td class="function_name"><a class="link" href="GdaDataModelArray.html#GdaDataModelArrayClass" title="struct GdaDataModelArrayClass">GdaDataModelArrayClass</a></td>
</tr>
<tr>
<td class="datatype_keyword"> </td>
<td class="function_name"><a class="link" href="GdaDataModelArray.html#GdaDataModelArrayPrivate" title="GdaDataModelArrayPrivate">GdaDataModelArrayPrivate</a></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="GdaDataModelArray.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="screen">    <a href="../gobject/gobject-The-Base-Object-Type.html#GObject-struct">GObject</a>
    <span class="lineart">╰──</span> GdaDataModelArray
</pre>
</div>
<div class="refsect1">
<a name="GdaDataModelArray.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
<p>
GdaDataModelArray implements
 <a class="link" href="GdaDataModel.html" title="GdaDataModel">GdaDataModel</a>.</p>
</div>
<div class="refsect1">
<a name="GdaDataModelArray.description"></a><h2>Description</h2>
<p>The <a class="link" href="GdaDataModelArray.html" title="GdaDataModelArray"><span class="type">GdaDataModelArray</span></a> object is a data model which internally uses a <a href="../glib/glib-Arrays.html#GArray"><span class="type">GArray</span></a> to index all its rows (represented
as <a class="link" href="GdaRow.html" title="GdaRow"><span class="type">GdaRow</span></a> objects). In this data model, all the data is stored in memory, which can be a memory limitation if the number
of rows is huge.
This type of data model is easy to use to store some temporary data, and has a random access mode (any value can be accessed
at any time without the need for an iterator).</p>
</div>
<div class="refsect1">
<a name="GdaDataModelArray.functions_details"></a><h2>Functions</h2>
<div class="refsect2">
<a name="gda-data-model-array-new"></a><h3>gda_data_model_array_new ()</h3>
<pre class="programlisting"><a class="link" href="GdaDataModel.html" title="GdaDataModel"><span class="returnvalue">GdaDataModel</span></a> *
gda_data_model_array_new (<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> cols</code></em>);</pre>
<p>Creates a new <a class="link" href="GdaDataModel.html" title="GdaDataModel"><span class="type">GdaDataModel</span></a> object without initializing the column
types. Using <a class="link" href="GdaDataModelArray.html#gda-data-model-array-new-with-g-types" title="gda_data_model_array_new_with_g_types ()"><code class="function">gda_data_model_array_new_with_g_types()</code></a> is usually better.</p>
<div class="refsect3">
<a name="gda-data-model-array-new.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>cols</p></td>
<td class="parameter_description"><p>number of columns for rows in this data model.</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gda-data-model-array-new.returns"></a><h4>Returns</h4>
<p>a pointer to the newly created <a class="link" href="GdaDataModel.html" title="GdaDataModel"><span class="type">GdaDataModel</span></a>. </p>
<p><span class="annotation">[<a href="http://foldoc.org/transfer%20full"><span class="acronym">transfer full</span></a>]</span></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gda-data-model-array-new-with-g-types"></a><h3>gda_data_model_array_new_with_g_types ()</h3>
<pre class="programlisting"><a class="link" href="GdaDataModel.html" title="GdaDataModel"><span class="returnvalue">GdaDataModel</span></a> *
gda_data_model_array_new_with_g_types (<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> cols</code></em>,
                                       <em class="parameter"><code>...</code></em>);</pre>
<p>Creates a new <a class="link" href="GdaDataModel.html" title="GdaDataModel"><span class="type">GdaDataModel</span></a> object with the column types as
specified.</p>
<p><span class="annotation">[<a href="http://foldoc.org/skip"><span class="acronym">skip</span></a>]</span></p>
<div class="refsect3">
<a name="gda-data-model-array-new-with-g-types.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>cols</p></td>
<td class="parameter_description"><p>number of columns for rows in this data model.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>...</p></td>
<td class="parameter_description"><p>types of the columns of the model to create as <a href="../gobject/gobject-Type-Information.html#GType"><span class="type">GType</span></a>, as many as indicated by <em class="parameter"><code>cols</code></em>
</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gda-data-model-array-new-with-g-types.returns"></a><h4>Returns</h4>
<p>a pointer to the newly created <a class="link" href="GdaDataModel.html" title="GdaDataModel"><span class="type">GdaDataModel</span></a>. </p>
<p><span class="annotation">[<a href="http://foldoc.org/transfer%20full"><span class="acronym">transfer full</span></a>]</span></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gda-data-model-array-new-with-g-types-v"></a><h3>gda_data_model_array_new_with_g_types_v ()</h3>
<pre class="programlisting"><a class="link" href="GdaDataModel.html" title="GdaDataModel"><span class="returnvalue">GdaDataModel</span></a> *
gda_data_model_array_new_with_g_types_v
                               (<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> cols</code></em>,
                                <em class="parameter"><code><a href="../gobject/gobject-Type-Information.html#GType"><span class="type">GType</span></a> *types</code></em>);</pre>
<p>Creates a new <a class="link" href="GdaDataModel.html" title="GdaDataModel"><span class="type">GdaDataModel</span></a> object with the column types as
specified.</p>
<div class="refsect3">
<a name="gda-data-model-array-new-with-g-types-v.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>cols</p></td>
<td class="parameter_description"><p>number of columns for rows in this data model.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>types</p></td>
<td class="parameter_description"><p>array of types of the columns of the model to create as <a href="../gobject/gobject-Type-Information.html#GType"><span class="type">GType</span></a>, as many as indicated by <em class="parameter"><code>cols</code></em>
. </p></td>
<td class="parameter_annotations"><span class="annotation">[<a href="http://foldoc.org/array"><span class="acronym">array</span></a>]</span></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gda-data-model-array-new-with-g-types-v.returns"></a><h4>Returns</h4>
<p>a pointer to the newly created <a class="link" href="GdaDataModel.html" title="GdaDataModel"><span class="type">GdaDataModel</span></a>. </p>
<p><span class="annotation">[<a href="http://foldoc.org/transfer%20full"><span class="acronym">transfer full</span></a>]</span></p>
</div>
<p class="since">Since: 4.2.6</p>
</div>
<hr>
<div class="refsect2">
<a name="gda-data-model-array-copy-model"></a><h3>gda_data_model_array_copy_model ()</h3>
<pre class="programlisting"><a class="link" href="GdaDataModelArray.html" title="GdaDataModelArray"><span class="returnvalue">GdaDataModelArray</span></a> *
gda_data_model_array_copy_model (<em class="parameter"><code><a class="link" href="GdaDataModel.html" title="GdaDataModel"><span class="type">GdaDataModel</span></a> *src</code></em>,
                                 <em class="parameter"><code><a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
<p>Makes a copy of <em class="parameter"><code>src</code></em>
 into a new <a class="link" href="GdaDataModelArray.html" title="GdaDataModelArray"><span class="type">GdaDataModelArray</span></a> object</p>
<div class="refsect3">
<a name="gda-data-model-array-copy-model.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>src</p></td>
<td class="parameter_description"><p>a <a class="link" href="GdaDataModel.html" title="GdaDataModel"><span class="type">GdaDataModel</span></a> to copy data from</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>error</p></td>
<td class="parameter_description"><p>a place to store errors, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gda-data-model-array-copy-model.returns"></a><h4>Returns</h4>
<p>a new data model, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if an error occurred. </p>
<p><span class="annotation">[<a href="http://foldoc.org/transfer%20full"><span class="acronym">transfer full</span></a>][<a href="http://foldoc.org/allow-none"><span class="acronym">allow-none</span></a>]</span></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gda-data-model-array-copy-model-ext"></a><h3>gda_data_model_array_copy_model_ext ()</h3>
<pre class="programlisting"><a class="link" href="GdaDataModelArray.html" title="GdaDataModelArray"><span class="returnvalue">GdaDataModelArray</span></a> *
gda_data_model_array_copy_model_ext (<em class="parameter"><code><a class="link" href="GdaDataModel.html" title="GdaDataModel"><span class="type">GdaDataModel</span></a> *src</code></em>,
                                     <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> ncols</code></em>,
                                     <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *cols</code></em>,
                                     <em class="parameter"><code><a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
<p>Like <a class="link" href="GdaDataModelArray.html#gda-data-model-array-copy-model" title="gda_data_model_array_copy_model ()"><code class="function">gda_data_model_array_copy_model()</code></a>, makes a copy of <em class="parameter"><code>src</code></em>
, but copies only some
columns.</p>
<div class="refsect3">
<a name="gda-data-model-array-copy-model-ext.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>src</p></td>
<td class="parameter_description"><p>a <a class="link" href="GdaDataModel.html" title="GdaDataModel"><span class="type">GdaDataModel</span></a> to copy data from</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>ncols</p></td>
<td class="parameter_description"><p>size of <em class="parameter"><code>cols</code></em>
</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>cols</p></td>
<td class="parameter_description"><p>array of <em class="parameter"><code>src</code></em>
's columns to copy into the new array, not <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
<td class="parameter_annotations"><span class="annotation">[<a href="http://foldoc.org/array"><span class="acronym">array</span></a> length=ncols]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>error</p></td>
<td class="parameter_description"><p>a place to store errors, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gda-data-model-array-copy-model-ext.returns"></a><h4>Returns</h4>
<p>a new data model, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if an error occurred. </p>
<p><span class="annotation">[<a href="http://foldoc.org/transfer%20full"><span class="acronym">transfer full</span></a>][<a href="http://foldoc.org/allow-none"><span class="acronym">allow-none</span></a>]</span></p>
</div>
<p class="since">Since: 5.2.0</p>
</div>
<hr>
<div class="refsect2">
<a name="gda-data-model-array-get-row"></a><h3>gda_data_model_array_get_row ()</h3>
<pre class="programlisting"><a class="link" href="GdaRow.html" title="GdaRow"><span class="returnvalue">GdaRow</span></a> *
gda_data_model_array_get_row (<em class="parameter"><code><a class="link" href="GdaDataModelArray.html" title="GdaDataModelArray"><span class="type">GdaDataModelArray</span></a> *model</code></em>,
                              <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> row</code></em>,
                              <em class="parameter"><code><a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
<p>Get a pointer to a row in <em class="parameter"><code>model</code></em>
</p>
<div class="refsect3">
<a name="gda-data-model-array-get-row.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>model</p></td>
<td class="parameter_description"><p>a <a class="link" href="GdaDataModelArray.html" title="GdaDataModelArray"><span class="type">GdaDataModelArray</span></a> object</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>row</p></td>
<td class="parameter_description"><p>row number (starting from 0)</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>error</p></td>
<td class="parameter_description"><p>a place to store errors, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gda-data-model-array-get-row.returns"></a><h4>Returns</h4>
<p>the <a class="link" href="GdaRow.html" title="GdaRow"><span class="type">GdaRow</span></a>, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if an error occurred. </p>
<p><span class="annotation">[<a href="http://foldoc.org/transfer%20none"><span class="acronym">transfer none</span></a>]</span></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gda-data-model-array-set-n-columns"></a><h3>gda_data_model_array_set_n_columns ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gda_data_model_array_set_n_columns (<em class="parameter"><code><a class="link" href="GdaDataModelArray.html" title="GdaDataModelArray"><span class="type">GdaDataModelArray</span></a> *model</code></em>,
                                    <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> cols</code></em>);</pre>
<p>Sets the number of columns for rows inserted in this model. 
<em class="parameter"><code>cols</code></em>
 must be greated than or equal to 0.</p>
<p>Also clears <em class="parameter"><code>model</code></em>
's contents.</p>
<div class="refsect3">
<a name="gda-data-model-array-set-n-columns.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>model</p></td>
<td class="parameter_description"><p>the <a class="link" href="GdaDataModelArray.html" title="GdaDataModelArray"><span class="type">GdaDataModelArray</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>cols</p></td>
<td class="parameter_description"><p>number of columns for rows this data model should use.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gda-data-model-array-clear"></a><h3>gda_data_model_array_clear ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gda_data_model_array_clear (<em class="parameter"><code><a class="link" href="GdaDataModelArray.html" title="GdaDataModelArray"><span class="type">GdaDataModelArray</span></a> *model</code></em>);</pre>
<p>Frees all the rows in <em class="parameter"><code>model</code></em>
.</p>
<div class="refsect3">
<a name="gda-data-model-array-clear.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>model</p></td>
<td class="parameter_description"><p>the model to clear.</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
</div>
</div>
<div class="refsect1">
<a name="GdaDataModelArray.other_details"></a><h2>Types and Values</h2>
<div class="refsect2">
<a name="GdaDataModelArray-struct"></a><h3>struct GdaDataModelArray</h3>
<pre class="programlisting">struct GdaDataModelArray;</pre>
</div>
<hr>
<div class="refsect2">
<a name="GdaDataModelArrayClass"></a><h3>struct GdaDataModelArrayClass</h3>
<pre class="programlisting">struct GdaDataModelArrayClass {
	GObjectClass              parent_class;
};
</pre>
</div>
<hr>
<div class="refsect2">
<a name="GdaDataModelArrayPrivate"></a><h3>GdaDataModelArrayPrivate</h3>
<pre class="programlisting">typedef struct _GdaDataModelArrayPrivate GdaDataModelArrayPrivate;</pre>
</div>
</div>
<div class="refsect1">
<a name="GdaDataModelArray.property-details"></a><h2>Property Details</h2>
<div class="refsect2">
<a name="GdaDataModelArray--n-columns"></a><h3>The <code class="literal">“n-columns”</code> property</h3>
<pre class="programlisting">  “n-columns”                <a href="../glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a></pre>
<p>The number of columns in the model.</p>
<p>Flags: Read / Write</p>
<p>Default value: 0</p>
</div>
<hr>
<div class="refsect2">
<a name="GdaDataModelArray--read-only"></a><h3>The <code class="literal">“read-only”</code> property</h3>
<pre class="programlisting">  “read-only”                <a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre>
<p>Whether data model can be modified.</p>
<p>Flags: Read / Write</p>
<p>Default value: FALSE</p>
</div>
</div>
<div class="refsect1">
<a name="GdaDataModelArray.see-also"></a><h2>See Also</h2>
<p><a class="link" href="GdaDataModel.html" title="GdaDataModel"><span class="type">GdaDataModel</span></a></p>
</div>
</div>
<div class="footer">
<hr>Generated by GTK-Doc V1.27</div>
</body>
</html>