File: classGnome_1_1Gda_1_1DataModel.html

package info (click to toggle)
libgdamm3.0 3.0.0-2
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 13,804 kB
  • ctags: 6,365
  • sloc: xml: 14,451; sh: 8,913; cpp: 1,473; makefile: 138; perl: 108
file content (1540 lines) | stat: -rw-r--r-- 98,019 bytes parent folder | download
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
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>libgdamm: Gnome::Gda::DataModel Class Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head>
<body bgcolor="#ffffff">
<table border="0" width="100%">
<tr>
    <td>libgdamm Reference Documentation</td>
</tr>
</table>
<center>
  <a class="qindex" href="../../../../../libgnomedbmm-3.0/docs/index.html">Main Page</a> &nbsp;
  <a class="qindex" href="namespaces.html"> Namespaces</a> &nbsp;
  <a href="../../../../../libgnomedbmm-3.0/docs/tutorial/html/index.html"> Book</a> &nbsp;
</center>
<hr width="100%"/>

<!-- Generated by Doxygen 1.5.1 -->
<div class="nav">
<a class="el" href="namespaceGnome.html">Gnome</a>::<a class="el" href="namespaceGnome_1_1Gda.html">Gda</a>::<a class="el" href="classGnome_1_1Gda_1_1DataModel.html">DataModel</a></div>
<h1>Gnome::Gda::DataModel Class Reference<br>
<small>
[<a class="el" href="group__DataModels.html">Data Models</a>]</small>
</h1><!-- doxytag: class="Gnome::Gda::DataModel" --><!-- doxytag: inherits="Glib::Interface" -->Abstract <a class="el" href="classGnome_1_1Gda_1_1DataModel.html">DataModel</a> (Base class for all DataModels).  
<a href="#_details">More...</a>
<p>
Inheritance diagram for Gnome::Gda::DataModel:<p><center><img src="classGnome_1_1Gda_1_1DataModel__inherit__graph.png" border="0" usemap="#Gnome_1_1Gda_1_1DataModel__inherit__map" alt="Inheritance graph"></center>
<map name="Gnome_1_1Gda_1_1DataModel__inherit__map">
<area href="classGnome_1_1Gda_1_1DataModelQuery.html" shape="rect" coords="141,316,357,343" alt="">
<area href="classGnome_1_1Gda_1_1DataModelRow.html" shape="rect" coords="381,316,584,343" alt="">
<area href="classGnome_1_1Gda_1_1DataProxy.html" shape="rect" coords="608,316,784,343" alt="">
<area doxygen="glibmm_doxygen_tags:http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/" href="http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/classGlib_1_1Interface.html" shape="rect" coords="428,162,537,188" alt="">
<area doxygen="glibmm_doxygen_tags:http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/" href="http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/classGlib_1_1ObjectBase.html" shape="rect" coords="420,84,545,111" alt="">
<area doxygen="glibmm_doxygen_tags:http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/" href="http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/classsigc_1_1trackable.html" shape="rect" coords="427,7,539,34" alt="">
<area href="classGnome_1_1Gda_1_1DataModelArray.html" shape="rect" coords="5,394,219,420" alt="">
<area href="classGnome_1_1Gda_1_1DataModelFilterSQL.html" shape="rect" coords="243,394,477,420" alt="">
<area href="classGnome_1_1Gda_1_1DataModelHash.html" shape="rect" coords="501,394,712,420" alt="">
<area href="classGnome_1_1Gda_1_1DataModelImport.html" shape="rect" coords="736,394,957,420" alt="">
</map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="classGnome_1_1Gda_1_1DataModel-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1DataModel.html#ef126649a1d5931d4fce85510d8e8097">append_row</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Appends a row to the data model.  <a href="#ef126649a1d5931d4fce85510d8e8097"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1DataModel.html#6b0063f5fd3128f79bfebc652cddaae7">append_values</a> (const <a class="elRef" doxygen="glibmm_doxygen_tags:http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/" href="http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/classGlib_1_1ListHandle.html">ValueList</a>&amp; values)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Appends a row to the given data model.  <a href="#6b0063f5fd3128f79bfebc652cddaae7"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" doxygen="glibmm_doxygen_tags:http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/" href="http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classGnome_1_1Gda_1_1DataModelIter.html">DataModelIter</a>&gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1DataModel.html#f49b02014c4bd22bd4028b2f253767a4">create_iter</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Creates a new iterator object <a class="el" href="classGnome_1_1Gda_1_1DataModelIter.html">Gda::DataModelIter</a> object which can be used to iterate through rows in <em>model</em>.  <a href="#f49b02014c4bd22bd4028b2f253767a4"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" doxygen="glibmm_doxygen_tags:http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/" href="http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;const <a class="el" href="classGnome_1_1Gda_1_1Column.html">Column</a>&gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1DataModel.html#90b50166cbdb131829200712eeb2a70e">describe_column</a> (int col) const</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Queries the underlying data model implementation for a description of a given column.  <a href="#90b50166cbdb131829200712eeb2a70e"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" doxygen="glibmm_doxygen_tags:http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/" href="http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classGnome_1_1Gda_1_1Column.html">Column</a>&gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1DataModel.html#e76fe532b9fb3c54268267b7579b0efb">describe_column</a> (int col)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Queries the underlying data model implementation for a description of a given column.  <a href="#e76fe532b9fb3c54268267b7579b0efb"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1DataModel.html#a3244e12c8d39c114c6cc3368fc4ea11">dump</a> (FILE* to_stream) const</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Dumps a textual representation of the <em>model</em> to the <em>to_stream</em> stream.  <a href="#a3244e12c8d39c114c6cc3368fc4ea11"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" doxygen="glibmm_doxygen_tags:http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/" href="http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1DataModel.html#aca8f1ae0c74527e559a0029931f193e">dump_as_string</a> () const</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Dumps a textual representation of the <em>model</em> into a new string.  <a href="#aca8f1ae0c74527e559a0029931f193e"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1DataModel.html#4bfafd12cedb513cf6b359ac202d014d">export_to_file</a> (<a class="el" href="group__libgdammEnums.html#g16f02cba372bf9920461c7132e63b7f1">DataModelIOFormat</a> format, const std::string&amp; file, const <a class="elRef" doxygen="glibmm_doxygen_tags:http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/" href="http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/classGlib_1_1ArrayHandle.html">Glib::ArrayHandle</a>&lt;int&gt;&amp; cols, const <a class="elRef" doxygen="glibmm_doxygen_tags:http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/" href="http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/classGlib_1_1ArrayHandle.html">Glib::ArrayHandle</a>&lt;int&gt;&amp; rows, const <a class="elRef" doxygen="glibmm_doxygen_tags:http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/" href="http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classGnome_1_1Gda_1_1ParameterList.html">ParameterList</a>&gt;&amp; options)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Exports data contained in <em>model</em> to the <em>file</em>; the format is specified using the <em>format</em> argument.  <a href="#4bfafd12cedb513cf6b359ac202d014d"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" doxygen="glibmm_doxygen_tags:http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/" href="http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1DataModel.html#5ef0a552285eb1b148afb1fca567bdb7">export_to_string</a> (<a class="el" href="group__libgdammEnums.html#g16f02cba372bf9920461c7132e63b7f1">DataModelIOFormat</a> format, const <a class="elRef" doxygen="glibmm_doxygen_tags:http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/" href="http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/classGlib_1_1ArrayHandle.html">Glib::ArrayHandle</a>&lt;int&gt;&amp; cols, const <a class="elRef" doxygen="glibmm_doxygen_tags:http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/" href="http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/classGlib_1_1ArrayHandle.html">Glib::ArrayHandle</a>&lt;int&gt;&amp; rows, const <a class="elRef" doxygen="glibmm_doxygen_tags:http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/" href="http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classGnome_1_1Gda_1_1ParameterList.html">ParameterList</a>&gt;&amp; options)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Exports data contained in <em>model</em> to the a string; the format is specified using the <em>format</em> argument.  <a href="#5ef0a552285eb1b148afb1fca567bdb7"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1DataModel.html#11c039a2fa5ea9cd4f8044d2cf86d22f">freeze</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Disables notifications of changes on the given data model.  <a href="#11c039a2fa5ea9cd4f8044d2cf86d22f"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="group__libgdammEnums.html#gfa7c1a4a6efb9ca4d60dbddecc940126">DataModelAccessFlags</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1DataModel.html#c47cfc83c63af2e199b94b3523b6d419">get_access_flags</a> () const</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get the attributes of <em>model</em> such as how to access the data it contains if it's modifiable, etc.  <a href="#c47cfc83c63af2e199b94b3523b6d419"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="group__libgdammEnums.html#g0c4994bac3ab00c77f700f18eb54c1d0">ValueAttribute</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1DataModel.html#3239a79e5adf78a91d5e50cd5af4f511">get_attributes_at</a> (int col, int row)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get the attributes of the value stored at (row, col) in <em>proxy</em>, which is an ORed value of <a class="el" href="group__libgdammEnums.html#g0c4994bac3ab00c77f700f18eb54c1d0">Gda::ValueAttribute</a> flags.  <a href="#3239a79e5adf78a91d5e50cd5af4f511"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1DataModel.html#e0a1f6aef8857538449ae7b7fd09b46d">get_column_index</a> (const <a class="elRef" doxygen="glibmm_doxygen_tags:http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/" href="http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&amp; name) const</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get the index of the column named <em>name</em> in <em>model</em>.  <a href="#e0a1f6aef8857538449ae7b7fd09b46d"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" doxygen="glibmm_doxygen_tags:http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/" href="http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1DataModel.html#9626fd566f8186565887b5012672e916">get_column_title</a> (int col) const</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight"><dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>col</em>&nbsp;</td><td><a class="el" href="classGnome_1_1Gda_1_1Column.html">Column</a> number. </td></tr>
  </table>
</dl>
 <a href="#9626fd566f8186565887b5012672e916"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1DataModel.html#9186749085b13d61706fbcc1f5b681f6">get_n_columns</a> () const</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight"><dl class="return" compact><dt><b>Returns:</b></dt><dd>The number of columns in the given data model. </dd></dl>
 <a href="#9186749085b13d61706fbcc1f5b681f6"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1DataModel.html#d8ed2cc4535e6d1a76af505f779f889e">get_n_rows</a> () const</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight"><dl class="return" compact><dt><b>Returns:</b></dt><dd>The number of rows in the given data model, or -1 if the number of rows is not known. </dd></dl>
 <a href="#d8ed2cc4535e6d1a76af505f779f889e"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1DataModel.html#1e2f186626cfdf825c87d303f3b2534f">get_row_from_values</a> (const <a class="elRef" doxygen="glibmm_doxygen_tags:http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/" href="http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/classGlib_1_1SListHandle.html">ValueSList</a>&amp; values, const <a class="elRef" doxygen="glibmm_doxygen_tags:http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/" href="http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/classGlib_1_1ArrayHandle.html">Glib::ArrayHandle</a>&lt;int&gt;&amp; cols_index)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns: the requested row number, of -1 if not found.  <a href="#1e2f186626cfdf825c87d303f3b2534f"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classGnome_1_1Gda_1_1Value.html">Value</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1DataModel.html#05c56806dd1c3f5b90431af3a2653de2">get_value_at</a> (const <a class="elRef" doxygen="glibmm_doxygen_tags:http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/" href="http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&amp; column_name, int row) const</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classGnome_1_1Gda_1_1Value.html">Value</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1DataModel.html#bbc4e36df6b0dc18362e56b84d1e40c1">get_value_at</a> (int col, int row) const</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">const GdaDataModel*&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1DataModel.html#44a07c77b0f65262db76cde69596261d">gobj</a> () const</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Provides access to the underlying C GObject.  <a href="#44a07c77b0f65262db76cde69596261d"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">GdaDataModel*&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1DataModel.html#63b551e8308d050dbd5ab8964b405e76">gobj</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Provides access to the underlying C GObject.  <a href="#63b551e8308d050dbd5ab8964b405e76"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1DataModel.html#5b4956899eb9326a3293a38831700673">import_from_file</a> (const std::string&amp; file, GHashTable* cols_trans, const <a class="elRef" doxygen="glibmm_doxygen_tags:http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/" href="http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;const <a class="el" href="classGnome_1_1Gda_1_1ParameterList.html">ParameterList</a>&gt;&amp; options)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Imports data contained in the <em>file</em> file into <em>model</em>; the format is detected.  <a href="#5b4956899eb9326a3293a38831700673"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1DataModel.html#527391220808d06de95a4bcc82fdaece">import_from_model</a> (const <a class="elRef" doxygen="glibmm_doxygen_tags:http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/" href="http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classGnome_1_1Gda_1_1DataModel.html">DataModel</a>&gt;&amp; from, bool overwrite, GHashTable* cols_trans)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Copy the contents of the <em>from</em> data model to the <em>to</em> data model.  <a href="#527391220808d06de95a4bcc82fdaece"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1DataModel.html#ba03b09ebccafb5728374bb2829c3c4a">import_from_string</a> (const <a class="elRef" doxygen="glibmm_doxygen_tags:http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/" href="http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&amp; string, GHashTable* cols_trans, const <a class="elRef" doxygen="glibmm_doxygen_tags:http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/" href="http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;const <a class="el" href="classGnome_1_1Gda_1_1ParameterList.html">ParameterList</a>&gt;&amp; options)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Loads the data from <em>string</em> into <em>model</em>.  <a href="#ba03b09ebccafb5728374bb2829c3c4a"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1DataModel.html#8b6f6a13e16396233c34643d7dc83191">is_updatable</a> () const</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Tells if <em>model</em> can be modified.  <a href="#8b6f6a13e16396233c34643d7dc83191"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1DataModel.html#d38b40d2a016ebf67f7c45b157a2f980">move_iter_at_row_default</a> (const <a class="elRef" doxygen="glibmm_doxygen_tags:http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/" href="http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classGnome_1_1Gda_1_1DataModelIter.html">DataModelIter</a>&gt;&amp; iter, int row)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1DataModel.html#3dcb634fadb9226b0a623bffb1587bb0">move_iter_next_default</a> (const <a class="elRef" doxygen="glibmm_doxygen_tags:http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/" href="http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classGnome_1_1Gda_1_1DataModelIter.html">DataModelIter</a>&gt;&amp; iter)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1DataModel.html#ac9ba535638d3f83dd04338f8fcec8ac">move_iter_prev_default</a> (const <a class="elRef" doxygen="glibmm_doxygen_tags:http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/" href="http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classGnome_1_1Gda_1_1DataModelIter.html">DataModelIter</a>&gt;&amp; iter)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1DataModel.html#271239b1bbf8e95beae98c8b07983e40">remove_row</a> (int row)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Removes a row from the data model.  <a href="#271239b1bbf8e95beae98c8b07983e40"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1DataModel.html#5d56e9975dd2afbd56e428ddd5924811">send_hint</a> (<a class="el" href="group__libgdammEnums.html#gb6a206a09f087871d4b2f11c2dc7d801">DataModelHint</a> hint, const <a class="el" href="classGnome_1_1Gda_1_1Value.html">Value</a>&amp; hint_value)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sends a hint to the data model.  <a href="#5d56e9975dd2afbd56e428ddd5924811"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1DataModel.html#d309e4134cbdda6f79691b43e16e5eb5">set_column_title</a> (int col, const <a class="elRef" doxygen="glibmm_doxygen_tags:http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/" href="http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&amp; title)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sets the <em>title</em> of the given <em>col</em> in <em>model</em>.  <a href="#d309e4134cbdda6f79691b43e16e5eb5"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1DataModel.html#4c7d98e434b2ed8b86432203fd831f3f">set_value_at</a> (int col, int row, const <a class="el" href="classGnome_1_1Gda_1_1Value.html">Value</a>&amp; value)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight"><dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>col</em>&nbsp;</td><td><a class="el" href="classGnome_1_1Gda_1_1Column.html">Column</a> number. </td></tr>
  </table>
</dl>
 <a href="#4c7d98e434b2ed8b86432203fd831f3f"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1DataModel.html#d3e9fce8ecb0aaf9ba16932f8b8a77cd">set_values</a> (int row, const <a class="elRef" doxygen="glibmm_doxygen_tags:http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/" href="http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/classGlib_1_1ListHandle.html">ValueList</a>&amp; values)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">If any value in <em>values</em> is actually <code>0</code>, then it is considered as a default value.  <a href="#d3e9fce8ecb0aaf9ba16932f8b8a77cd"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1DataModel.html#180c40e2649d21acc4aafba0b628c56b">signal_emit_changed</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Notifies listeners of the given data model object of changes in the underlying data.  <a href="#180c40e2649d21acc4aafba0b628c56b"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" doxygen="glibmm_doxygen_tags:http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/" href="http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/classGlib_1_1SignalProxy0.html">Glib::SignalProxy0</a>&lt;void&gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1DataModel.html#bf4a9efb6bffd0f90da482f24c59f798">signal_reset</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight"><dl class="user" compact><dt><b>Prototype:</b></dt><dd><code>void on_my_reset()</code> </dd></dl>
 <a href="#bf4a9efb6bffd0f90da482f24c59f798"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" doxygen="glibmm_doxygen_tags:http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/" href="http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/classGlib_1_1SignalProxy1.html">Glib::SignalProxy1</a>&lt; void,<br>
 int &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1DataModel.html#44d1fef2b89bb777e8920627187167a4">signal_row_inserted</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight"><dl class="user" compact><dt><b>Prototype:</b></dt><dd><code>void on_my_row_inserted(int row)</code> </dd></dl>
 <a href="#44d1fef2b89bb777e8920627187167a4"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" doxygen="glibmm_doxygen_tags:http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/" href="http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/classGlib_1_1SignalProxy1.html">Glib::SignalProxy1</a>&lt; void,<br>
 int &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1DataModel.html#9bec8ba89312927f9751724ec8fab8e8">signal_row_removed</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight"><dl class="user" compact><dt><b>Prototype:</b></dt><dd><code>void on_my_row_removed(int row)</code> </dd></dl>
 <a href="#9bec8ba89312927f9751724ec8fab8e8"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" doxygen="glibmm_doxygen_tags:http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/" href="http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/classGlib_1_1SignalProxy1.html">Glib::SignalProxy1</a>&lt; void,<br>
 int &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1DataModel.html#cc7b871c4f55e6092790e03283bcf43d">signal_row_updated</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight"><dl class="user" compact><dt><b>Prototype:</b></dt><dd><code>void on_my_row_updated(int row)</code> </dd></dl>
 <a href="#cc7b871c4f55e6092790e03283bcf43d"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1DataModel.html#a610f9a23f26d46f68b55b82900c9690">thaw</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Re-enables notifications of changes on the given data model.  <a href="#a610f9a23f26d46f68b55b82900c9690"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1DataModel.html#29cbf4718d97130b06d94a8bc815f517">~DataModel</a> ()</td></tr>

<tr><td colspan="2"><br><h2>Static Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">static void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1DataModel.html#02553845053f5afe4bbde0ff5a2f7bf5">add_interface</a> (GType gtype_implementer)</td></tr>

<tr><td colspan="2"><br><h2>Protected Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1DataModel.html#fe8e17786482da3dac487bb939a385bd">on_reset</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1DataModel.html#7eaaaaaa4454e6ba834710339967c61a">on_row_inserted</a> (int row)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1DataModel.html#a732165f7b86afdda700d934bdf39ab9">on_row_removed</a> (int row)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1DataModel.html#4f8e768af7e1eac582934ed7e1572f4f">on_row_updated</a> (int row)</td></tr>

<tr><td colspan="2"><br><h2>Related Functions</h2></td></tr>
<tr><td colspan="2">(Note that these are not member functions.) <br><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" doxygen="glibmm_doxygen_tags:http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/" href="http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classGnome_1_1Gda_1_1DataModel.html">Gnome::Gda::DataModel</a>&gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1DataModel.html#d64ded50f437e10a594c43517c45a389">wrap</a> (GdaDataModel* object, bool take_copy=false)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">A <a class="elRef" doxygen="glibmm_doxygen_tags:http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/" href="http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/namespaceGlib.html#671306f4a3a0cae5ab4d7a9d54886592">Glib::wrap()</a> method for this object.  <a href="#d64ded50f437e10a594c43517c45a389"></a><br></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
Abstract <a class="el" href="classGnome_1_1Gda_1_1DataModel.html">DataModel</a> (Base class for all DataModels). 
<p>
A <a class="el" href="classGnome_1_1Gda_1_1DataModel.html">DataModel</a> represents an array of values organized in rows and columns. All the data in the same column have the same type, and all the data in each row have the same semantic meaning. The <a class="el" href="classGnome_1_1Gda_1_1DataModel.html">DataModel</a> is actually an interface implemented by other objects to support various kinds of data storage and operations.<p>
Depending on the real implementation, the contents of data models may be modified by the user by using functions provided by the model. The actual operations that a data model permits can be discovered using the <a class="el" href="classGnome_1_1Gda_1_1DataModel.html#c47cfc83c63af2e199b94b3523b6d419">get_access_flags()</a> method.<p>
Again, depending on the real implementation, data retreival can be done either by accessing direct random values located by their row and column, or by using a <a class="el" href="classGnome_1_1Gda_1_1DataModelIter.html">DataModelIter</a> cursor, or both. Use the <a class="el" href="classGnome_1_1Gda_1_1DataModel.html#c47cfc83c63af2e199b94b3523b6d419">get_access_flags()</a> method to discover how the data model can be accessed. Note that a Datamodel which can be accessed in a random way can also be accessed using cursors (and several cusrors may be used at the same time), whereas a data model which can only be accessed using cursors can only have one cursor for iterating.<p>
Random access data models are easier to use since picking a value is very simple by using the <a class="el" href="classGnome_1_1Gda_1_1DataModel.html#bbc4e36df6b0dc18362e56b84d1e40c1">get_value_at()</a>, but they consume more memory since all the accessible values must generally be present in memory even if they are not used. Thus, if a data model must handle large quantities of data, it is generally wiser to use a data model which can be only accessed using a cursor.<p>
As a side note there are also data models which wrap other data models such as:<ul>
<li>The <a class="el" href="classGnome_1_1Gda_1_1DataProxy.html">DataProxy</a> data model which stores temporary modifications and shows only some parts of the wrapped data model.</li><li>The DataAccessWrapper data model which offers memory-efficient random access on top of a wrapped cursor based access data model. </li></ul>

<p>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="29cbf4718d97130b06d94a8bc815f517"></a><!-- doxytag: member="Gnome::Gda::DataModel::~DataModel" ref="29cbf4718d97130b06d94a8bc815f517" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual Gnome::Gda::DataModel::~DataModel           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="02553845053f5afe4bbde0ff5a2f7bf5"></a><!-- doxytag: member="Gnome::Gda::DataModel::add_interface" ref="02553845053f5afe4bbde0ff5a2f7bf5" args="(GType gtype_implementer)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static void Gnome::Gda::DataModel::add_interface           </td>
          <td>(</td>
          <td class="paramtype">GType&nbsp;</td>
          <td class="paramname"> <em>gtype_implementer</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<a class="anchor" name="ef126649a1d5931d4fce85510d8e8097"></a><!-- doxytag: member="Gnome::Gda::DataModel::append_row" ref="ef126649a1d5931d4fce85510d8e8097" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Gnome::Gda::DataModel::append_row           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Appends a row to the data model. 
<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>The number of the added row, or -1 if an error occurred. </dd></dl>

</div>
</div><p>
<a class="anchor" name="6b0063f5fd3128f79bfebc652cddaae7"></a><!-- doxytag: member="Gnome::Gda::DataModel::append_values" ref="6b0063f5fd3128f79bfebc652cddaae7" args="(const ValueList &amp;values)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int Gnome::Gda::DataModel::append_values           </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" doxygen="glibmm_doxygen_tags:http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/" href="http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/classGlib_1_1ListHandle.html">ValueList</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>values</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Appends a row to the given data model. 
<p>
If any value in <em>values</em> is actually <code>0</code>, then it is considered as a default value. <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>values</em>&nbsp;</td><td>List of Value* representing the row to add. The length must match model's column count. These <a class="el" href="classGnome_1_1Gda_1_1Value.html">Value</a> are value-copied (the user is still responsible for freeing them). </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>The number of the added row, or -1 if an error occurred. </dd></dl>

</div>
</div><p>
<a class="anchor" name="f49b02014c4bd22bd4028b2f253767a4"></a><!-- doxytag: member="Gnome::Gda::DataModel::create_iter" ref="f49b02014c4bd22bd4028b2f253767a4" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" doxygen="glibmm_doxygen_tags:http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/" href="http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classGnome_1_1Gda_1_1DataModelIter.html">DataModelIter</a>&gt; Gnome::Gda::DataModel::create_iter           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Creates a new iterator object <a class="el" href="classGnome_1_1Gda_1_1DataModelIter.html">Gda::DataModelIter</a> object which can be used to iterate through rows in <em>model</em>. 
<p>
The row the returned <a class="el" href="classGnome_1_1Gda_1_1DataModelIter.html">Gda::DataModelIter</a> represents is undefined. For models which can be accessed randomly the correspoding row can be set using gda_data_model_move_iter_at_row(), and for models which are accessible sequentially only then the first row will be fetched using gda_data_model_move_iter_next(). <dl class="return" compact><dt><b>Returns:</b></dt><dd>A new <a class="el" href="classGnome_1_1Gda_1_1DataModelIter.html">Gda::DataModelIter</a> object, or <code>0</code> if an error occurred. </dd></dl>

</div>
</div><p>
<a class="anchor" name="90b50166cbdb131829200712eeb2a70e"></a><!-- doxytag: member="Gnome::Gda::DataModel::describe_column" ref="90b50166cbdb131829200712eeb2a70e" args="(int col) const" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" doxygen="glibmm_doxygen_tags:http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/" href="http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;const <a class="el" href="classGnome_1_1Gda_1_1Column.html">Column</a>&gt; Gnome::Gda::DataModel::describe_column           </td>
          <td>(</td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>col</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Queries the underlying data model implementation for a description of a given column. 
<p>
That description is returned in the form of a <a class="el" href="classGnome_1_1Gda_1_1Column.html">Gda::Column</a> structure, which contains all the information about the given column in the data model.<p>
WARNING: the returned <a class="el" href="classGnome_1_1Gda_1_1Column.html">Gda::Column</a> object belongs to the <em>model</em> model and and should not be destroyed; any modification will impact the whole data model. <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>col</em>&nbsp;</td><td><a class="el" href="classGnome_1_1Gda_1_1Column.html">Column</a> number. </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>The description of the column. </dd></dl>

</div>
</div><p>
<a class="anchor" name="e76fe532b9fb3c54268267b7579b0efb"></a><!-- doxytag: member="Gnome::Gda::DataModel::describe_column" ref="e76fe532b9fb3c54268267b7579b0efb" args="(int col)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" doxygen="glibmm_doxygen_tags:http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/" href="http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classGnome_1_1Gda_1_1Column.html">Column</a>&gt; Gnome::Gda::DataModel::describe_column           </td>
          <td>(</td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>col</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Queries the underlying data model implementation for a description of a given column. 
<p>
That description is returned in the form of a <a class="el" href="classGnome_1_1Gda_1_1Column.html">Gda::Column</a> structure, which contains all the information about the given column in the data model.<p>
WARNING: the returned <a class="el" href="classGnome_1_1Gda_1_1Column.html">Gda::Column</a> object belongs to the <em>model</em> model and and should not be destroyed; any modification will impact the whole data model. <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>col</em>&nbsp;</td><td><a class="el" href="classGnome_1_1Gda_1_1Column.html">Column</a> number. </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>The description of the column. </dd></dl>

</div>
</div><p>
<a class="anchor" name="a3244e12c8d39c114c6cc3368fc4ea11"></a><!-- doxytag: member="Gnome::Gda::DataModel::dump" ref="a3244e12c8d39c114c6cc3368fc4ea11" args="(FILE *to_stream) const" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gnome::Gda::DataModel::dump           </td>
          <td>(</td>
          <td class="paramtype">FILE *&nbsp;</td>
          <td class="paramname"> <em>to_stream</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Dumps a textual representation of the <em>model</em> to the <em>to_stream</em> stream. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>to_stream</em>&nbsp;</td><td>Where to dump the data model. </td></tr>
  </table>
</dl>

</div>
</div><p>
<a class="anchor" name="aca8f1ae0c74527e559a0029931f193e"></a><!-- doxytag: member="Gnome::Gda::DataModel::dump_as_string" ref="aca8f1ae0c74527e559a0029931f193e" args="() const" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" doxygen="glibmm_doxygen_tags:http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/" href="http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> Gnome::Gda::DataModel::dump_as_string           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Dumps a textual representation of the <em>model</em> into a new string. 
<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>A new string. </dd></dl>

</div>
</div><p>
<a class="anchor" name="4bfafd12cedb513cf6b359ac202d014d"></a><!-- doxytag: member="Gnome::Gda::DataModel::export_to_file" ref="4bfafd12cedb513cf6b359ac202d014d" args="(DataModelIOFormat format, const std::string &amp;file, const Glib::ArrayHandle&lt; int &gt; &amp;cols, const Glib::ArrayHandle&lt; int &gt; &amp;rows, const Glib::RefPtr&lt; ParameterList &gt; &amp;options)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Gnome::Gda::DataModel::export_to_file           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__libgdammEnums.html#g16f02cba372bf9920461c7132e63b7f1">DataModelIOFormat</a>&nbsp;</td>
          <td class="paramname"> <em>format</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const std::string &amp;&nbsp;</td>
          <td class="paramname"> <em>file</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" doxygen="glibmm_doxygen_tags:http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/" href="http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/classGlib_1_1ArrayHandle.html">Glib::ArrayHandle</a>&lt; int &gt; &amp;&nbsp;</td>
          <td class="paramname"> <em>cols</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" doxygen="glibmm_doxygen_tags:http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/" href="http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/classGlib_1_1ArrayHandle.html">Glib::ArrayHandle</a>&lt; int &gt; &amp;&nbsp;</td>
          <td class="paramname"> <em>rows</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" doxygen="glibmm_doxygen_tags:http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/" href="http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classGnome_1_1Gda_1_1ParameterList.html">ParameterList</a>&gt;&amp;&nbsp;</td>
          <td class="paramname"> <em>options</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Exports data contained in <em>model</em> to the <em>file</em>; the format is specified using the <em>format</em> argument. 
<p>
Specifically, the parameters in the  list can be:<ul>
<li>SEPARATOR: a string value of which the first character is used as a separator in case of CSV export. -"NAME: a string value used to name the exported data if the export format is XML.</li><li>OVERWRITE: a boolean value which tells if the file must be over-written if it already exists.</li></ul>
<p>
<dl compact><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>The format in which to export data. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>file</em>&nbsp;</td><td>The filename to export to. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>cols</em>&nbsp;</td><td>An array containing which columns of  will be exported. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>rows</em>&nbsp;</td><td>An array containing which rows of  will be exported. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>options</em>&nbsp;</td><td>List of options for the export. </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>true if no error occurred. </dd></dl>

</div>
</div><p>
<a class="anchor" name="5ef0a552285eb1b148afb1fca567bdb7"></a><!-- doxytag: member="Gnome::Gda::DataModel::export_to_string" ref="5ef0a552285eb1b148afb1fca567bdb7" args="(DataModelIOFormat format, const Glib::ArrayHandle&lt; int &gt; &amp;cols, const Glib::ArrayHandle&lt; int &gt; &amp;rows, const Glib::RefPtr&lt; ParameterList &gt; &amp;options)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" doxygen="glibmm_doxygen_tags:http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/" href="http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> Gnome::Gda::DataModel::export_to_string           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__libgdammEnums.html#g16f02cba372bf9920461c7132e63b7f1">DataModelIOFormat</a>&nbsp;</td>
          <td class="paramname"> <em>format</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" doxygen="glibmm_doxygen_tags:http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/" href="http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/classGlib_1_1ArrayHandle.html">Glib::ArrayHandle</a>&lt; int &gt; &amp;&nbsp;</td>
          <td class="paramname"> <em>cols</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" doxygen="glibmm_doxygen_tags:http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/" href="http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/classGlib_1_1ArrayHandle.html">Glib::ArrayHandle</a>&lt; int &gt; &amp;&nbsp;</td>
          <td class="paramname"> <em>rows</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" doxygen="glibmm_doxygen_tags:http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/" href="http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classGnome_1_1Gda_1_1ParameterList.html">ParameterList</a>&gt;&amp;&nbsp;</td>
          <td class="paramname"> <em>options</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Exports data contained in <em>model</em> to the a string; the format is specified using the <em>format</em> argument. 
<p>
Specifically, the parameters in the  list can be:<ul>
<li>SEPARATOR: a string value of which the first character is used as a separator in case of CSV export. -"NAME: a string value used to name the exported data if the export format is XML.</li><li>OVERWRITE: a boolean value which tells if the file must be over-written if it already exists.</li></ul>
<p>
<dl compact><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>The format in which to export data. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>cols</em>&nbsp;</td><td>An array containing which columns of  will be exported. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>rows</em>&nbsp;</td><td>An array containing which rows of  will be exported. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>options</em>&nbsp;</td><td>List of options for the export. </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>The string. </dd></dl>

</div>
</div><p>
<a class="anchor" name="11c039a2fa5ea9cd4f8044d2cf86d22f"></a><!-- doxytag: member="Gnome::Gda::DataModel::freeze" ref="11c039a2fa5ea9cd4f8044d2cf86d22f" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gnome::Gda::DataModel::freeze           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Disables notifications of changes on the given data model. 
<p>
To re-enable notifications again, you should call the gda_data_model_thaw function. 
</div>
</div><p>
<a class="anchor" name="c47cfc83c63af2e199b94b3523b6d419"></a><!-- doxytag: member="Gnome::Gda::DataModel::get_access_flags" ref="c47cfc83c63af2e199b94b3523b6d419" args="() const" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__libgdammEnums.html#gfa7c1a4a6efb9ca4d60dbddecc940126">DataModelAccessFlags</a> Gnome::Gda::DataModel::get_access_flags           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Get the attributes of <em>model</em> such as how to access the data it contains if it's modifiable, etc. 
<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>An ORed value of <a class="el" href="group__libgdammEnums.html#gfa7c1a4a6efb9ca4d60dbddecc940126">Gda::DataModelAccessFlags</a> flags. </dd></dl>

</div>
</div><p>
<a class="anchor" name="3239a79e5adf78a91d5e50cd5af4f511"></a><!-- doxytag: member="Gnome::Gda::DataModel::get_attributes_at" ref="3239a79e5adf78a91d5e50cd5af4f511" args="(int col, int row)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__libgdammEnums.html#g0c4994bac3ab00c77f700f18eb54c1d0">ValueAttribute</a> Gnome::Gda::DataModel::get_attributes_at           </td>
          <td>(</td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>col</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>row</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Get the attributes of the value stored at (row, col) in <em>proxy</em>, which is an ORed value of <a class="el" href="group__libgdammEnums.html#g0c4994bac3ab00c77f700f18eb54c1d0">Gda::ValueAttribute</a> flags. 
<p>
As a special case, if <em>row</em> is -1, then the attributes returned correspond to a "would be" value if a row was added to <em>model</em>. <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>col</em>&nbsp;</td><td>A valid column number. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>row</em>&nbsp;</td><td>A valid row number, or -1. </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>The attributes as an ORed value of <a class="el" href="group__libgdammEnums.html#g0c4994bac3ab00c77f700f18eb54c1d0">Gda::ValueAttribute</a>. </dd></dl>

</div>
</div><p>
<a class="anchor" name="e0a1f6aef8857538449ae7b7fd09b46d"></a><!-- doxytag: member="Gnome::Gda::DataModel::get_column_index" ref="e0a1f6aef8857538449ae7b7fd09b46d" args="(const Glib::ustring &amp;name) const" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int Gnome::Gda::DataModel::get_column_index           </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" doxygen="glibmm_doxygen_tags:http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/" href="http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>name</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Get the index of the column named <em>name</em> in <em>model</em>. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>name</em>&nbsp;</td><td>A column name. </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>The column index, or -1 if no column named <em>name</em> was found. </dd></dl>

</div>
</div><p>
<a class="anchor" name="9626fd566f8186565887b5012672e916"></a><!-- doxytag: member="Gnome::Gda::DataModel::get_column_title" ref="9626fd566f8186565887b5012672e916" args="(int col) const" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" doxygen="glibmm_doxygen_tags:http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/" href="http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> Gnome::Gda::DataModel::get_column_title           </td>
          <td>(</td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>col</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>col</em>&nbsp;</td><td><a class="el" href="classGnome_1_1Gda_1_1Column.html">Column</a> number. </td></tr>
  </table>
</dl>

<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>The title for the given column in a data model object. </dd></dl>

</div>
</div><p>
<a class="anchor" name="9186749085b13d61706fbcc1f5b681f6"></a><!-- doxytag: member="Gnome::Gda::DataModel::get_n_columns" ref="9186749085b13d61706fbcc1f5b681f6" args="() const" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int Gnome::Gda::DataModel::get_n_columns           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>The number of columns in the given data model. </dd></dl>

<p>

</div>
</div><p>
<a class="anchor" name="d8ed2cc4535e6d1a76af505f779f889e"></a><!-- doxytag: member="Gnome::Gda::DataModel::get_n_rows" ref="d8ed2cc4535e6d1a76af505f779f889e" args="() const" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int Gnome::Gda::DataModel::get_n_rows           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>The number of rows in the given data model, or -1 if the number of rows is not known. </dd></dl>

<p>

</div>
</div><p>
<a class="anchor" name="1e2f186626cfdf825c87d303f3b2534f"></a><!-- doxytag: member="Gnome::Gda::DataModel::get_row_from_values" ref="1e2f186626cfdf825c87d303f3b2534f" args="(const ValueSList &amp;values, const Glib::ArrayHandle&lt; int &gt; &amp;cols_index)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int Gnome::Gda::DataModel::get_row_from_values           </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" doxygen="glibmm_doxygen_tags:http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/" href="http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/classGlib_1_1SListHandle.html">ValueSList</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>values</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" doxygen="glibmm_doxygen_tags:http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/" href="http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/classGlib_1_1ArrayHandle.html">Glib::ArrayHandle</a>&lt; int &gt; &amp;&nbsp;</td>
          <td class="paramname"> <em>cols_index</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Returns: the requested row number, of -1 if not found. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>values</em>&nbsp;</td><td>A list of <a class="el" href="classGnome_1_1Gda_1_1Value.html">Value</a> values. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>cols_index</em>&nbsp;</td><td>An array of <code>int</code> containing the column number to match each value of <em>values</em>. </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>The requested row number, of -1 if not found. </dd></dl>

</div>
</div><p>
<a class="anchor" name="05c56806dd1c3f5b90431af3a2653de2"></a><!-- doxytag: member="Gnome::Gda::DataModel::get_value_at" ref="05c56806dd1c3f5b90431af3a2653de2" args="(const Glib::ustring &amp;column_name, int row) const" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classGnome_1_1Gda_1_1Value.html">Value</a> Gnome::Gda::DataModel::get_value_at           </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" doxygen="glibmm_doxygen_tags:http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/" href="http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>column_name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>row</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<a class="anchor" name="bbc4e36df6b0dc18362e56b84d1e40c1"></a><!-- doxytag: member="Gnome::Gda::DataModel::get_value_at" ref="bbc4e36df6b0dc18362e56b84d1e40c1" args="(int col, int row) const" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classGnome_1_1Gda_1_1Value.html">Value</a> Gnome::Gda::DataModel::get_value_at           </td>
          <td>(</td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>col</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>row</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<a class="anchor" name="44a07c77b0f65262db76cde69596261d"></a><!-- doxytag: member="Gnome::Gda::DataModel::gobj" ref="44a07c77b0f65262db76cde69596261d" args="() const" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const GdaDataModel* Gnome::Gda::DataModel::gobj           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Provides access to the underlying C GObject. 
<p>

<p>
Reimplemented from <a class="elRef" doxygen="glibmm_doxygen_tags:http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/" href="http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/classGlib_1_1Interface.html#4737c92fa9930b4f006ab8b3c9487504">Glib::Interface</a>.
<p>
Reimplemented in <a class="el" href="classGnome_1_1Gda_1_1DataModelArray.html#6741298f29f11f2134c2bdb433a94f31">Gnome::Gda::DataModelArray</a>, <a class="el" href="classGnome_1_1Gda_1_1DataModelFilterSQL.html#aed86a4c400488478140a09d90192cc8">Gnome::Gda::DataModelFilterSQL</a>, <a class="el" href="classGnome_1_1Gda_1_1DataModelHash.html#a1e76fda5f488b64ad640416abca6cc3">Gnome::Gda::DataModelHash</a>, <a class="el" href="classGnome_1_1Gda_1_1DataModelImport.html#326018c26a32794d595ba5b6def42931">Gnome::Gda::DataModelImport</a>, <a class="el" href="classGnome_1_1Gda_1_1DataModelQuery.html#e0ef2c738580c5222c4327fbdfcb9717">Gnome::Gda::DataModelQuery</a>, <a class="el" href="classGnome_1_1Gda_1_1DataModelRow.html#f2a066d35ed632ae4166a2dfd7a22870">Gnome::Gda::DataModelRow</a>, and <a class="el" href="classGnome_1_1Gda_1_1DataProxy.html#9fccc26a56e43edf2342d56c1979cb1c">Gnome::Gda::DataProxy</a>.
</div>
</div><p>
<a class="anchor" name="63b551e8308d050dbd5ab8964b405e76"></a><!-- doxytag: member="Gnome::Gda::DataModel::gobj" ref="63b551e8308d050dbd5ab8964b405e76" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">GdaDataModel* Gnome::Gda::DataModel::gobj           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Provides access to the underlying C GObject. 
<p>

<p>
Reimplemented from <a class="elRef" doxygen="glibmm_doxygen_tags:http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/" href="http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/classGlib_1_1Interface.html#969e9396f75132a9577428f4fa932d42">Glib::Interface</a>.
<p>
Reimplemented in <a class="el" href="classGnome_1_1Gda_1_1DataModelArray.html#0cf8a628099c6b3b23e114458bb1b16b">Gnome::Gda::DataModelArray</a>, <a class="el" href="classGnome_1_1Gda_1_1DataModelFilterSQL.html#b1b92cf5a1e40f1151d8dc1b6f624c8d">Gnome::Gda::DataModelFilterSQL</a>, <a class="el" href="classGnome_1_1Gda_1_1DataModelHash.html#a9e4c7994602ed403b8a8a6895ac5f49">Gnome::Gda::DataModelHash</a>, <a class="el" href="classGnome_1_1Gda_1_1DataModelImport.html#4d1cd4e117fd0e73dbfecb477fd2ec35">Gnome::Gda::DataModelImport</a>, <a class="el" href="classGnome_1_1Gda_1_1DataModelQuery.html#c05365474ea8fd5fb93f5953420ccdab">Gnome::Gda::DataModelQuery</a>, <a class="el" href="classGnome_1_1Gda_1_1DataModelRow.html#e2e30c26104e4584e17601eeb3b76daa">Gnome::Gda::DataModelRow</a>, and <a class="el" href="classGnome_1_1Gda_1_1DataProxy.html#20ff1348fc0013fb9c33c82d7d494401">Gnome::Gda::DataProxy</a>.
</div>
</div><p>
<a class="anchor" name="5b4956899eb9326a3293a38831700673"></a><!-- doxytag: member="Gnome::Gda::DataModel::import_from_file" ref="5b4956899eb9326a3293a38831700673" args="(const std::string &amp;file, GHashTable *cols_trans, const Glib::RefPtr&lt; const ParameterList &gt; &amp;options)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Gnome::Gda::DataModel::import_from_file           </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;&nbsp;</td>
          <td class="paramname"> <em>file</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">GHashTable *&nbsp;</td>
          <td class="paramname"> <em>cols_trans</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" doxygen="glibmm_doxygen_tags:http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/" href="http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;const <a class="el" href="classGnome_1_1Gda_1_1ParameterList.html">ParameterList</a>&gt;&amp;&nbsp;</td>
          <td class="paramname"> <em>options</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Imports data contained in the <em>file</em> file into <em>model</em>; the format is detected. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>file</em>&nbsp;</td><td>The filename to import from. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>cols_trans</em>&nbsp;</td><td>A HashTable for columns translating, or <code>0</code>. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>options</em>&nbsp;</td><td>List of options for the export. </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd><code>true</code> if no error occurred. </dd></dl>

</div>
</div><p>
<a class="anchor" name="527391220808d06de95a4bcc82fdaece"></a><!-- doxytag: member="Gnome::Gda::DataModel::import_from_model" ref="527391220808d06de95a4bcc82fdaece" args="(const Glib::RefPtr&lt; DataModel &gt; &amp;from, bool overwrite, GHashTable *cols_trans)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Gnome::Gda::DataModel::import_from_model           </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" doxygen="glibmm_doxygen_tags:http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/" href="http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classGnome_1_1Gda_1_1DataModel.html">DataModel</a>&gt;&amp;&nbsp;</td>
          <td class="paramname"> <em>from</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&nbsp;</td>
          <td class="paramname"> <em>overwrite</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">GHashTable *&nbsp;</td>
          <td class="paramname"> <em>cols_trans</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Copy the contents of the <em>from</em> data model to the <em>to</em> data model. 
<p>
The copy stops as soon as an error orrurs.<p>
The <em>cols_trans</em> is a hash table for which keys are <em>to</em> columns numbers and the values are the corresponding column numbers in the <em>from</em> data model. To set the values of a column in <em>to</em> to <code>0</code>, create an entry in the hash table with a negative value. <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>from</em>&nbsp;</td><td>The source <a class="el" href="classGnome_1_1Gda_1_1DataModel.html">Gda::DataModel</a>. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>overwrite</em>&nbsp;</td><td><code>true</code> if <em>to</em> is completely overwritten by <em>from's</em> data, and <code>false</code> if <em>from's</em> data is appended to <em>to</em>. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>cols_trans</em>&nbsp;</td><td>A HashTable for columns translating, or <code>0</code>. </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd><code>true</code> if no error occurred. </dd></dl>

</div>
</div><p>
<a class="anchor" name="ba03b09ebccafb5728374bb2829c3c4a"></a><!-- doxytag: member="Gnome::Gda::DataModel::import_from_string" ref="ba03b09ebccafb5728374bb2829c3c4a" args="(const Glib::ustring &amp;string, GHashTable *cols_trans, const Glib::RefPtr&lt; const ParameterList &gt; &amp;options)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Gnome::Gda::DataModel::import_from_string           </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" doxygen="glibmm_doxygen_tags:http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/" href="http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>string</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">GHashTable *&nbsp;</td>
          <td class="paramname"> <em>cols_trans</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" doxygen="glibmm_doxygen_tags:http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/" href="http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;const <a class="el" href="classGnome_1_1Gda_1_1ParameterList.html">ParameterList</a>&gt;&amp;&nbsp;</td>
          <td class="paramname"> <em>options</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Loads the data from <em>string</em> into <em>model</em>. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>string</em>&nbsp;</td><td>The string to import data from. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>cols_trans</em>&nbsp;</td><td>A hash table containing which columns of <em>model</em> will be imported, or <code>0</code> for all columns. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>options</em>&nbsp;</td><td>List of options for the export. </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd><code>true</code> if no error occurred. </dd></dl>

</div>
</div><p>
<a class="anchor" name="8b6f6a13e16396233c34643d7dc83191"></a><!-- doxytag: member="Gnome::Gda::DataModel::is_updatable" ref="8b6f6a13e16396233c34643d7dc83191" args="() const" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Gnome::Gda::DataModel::is_updatable           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Tells if <em>model</em> can be modified. 
<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd><code>true</code> if <em>model</em> can be modified. </dd></dl>

</div>
</div><p>
<a class="anchor" name="d38b40d2a016ebf67f7c45b157a2f980"></a><!-- doxytag: member="Gnome::Gda::DataModel::move_iter_at_row_default" ref="d38b40d2a016ebf67f7c45b157a2f980" args="(const Glib::RefPtr&lt; DataModelIter &gt; &amp;iter, int row)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Gnome::Gda::DataModel::move_iter_at_row_default           </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" doxygen="glibmm_doxygen_tags:http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/" href="http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classGnome_1_1Gda_1_1DataModelIter.html">DataModelIter</a>&gt;&amp;&nbsp;</td>
          <td class="paramname"> <em>iter</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>row</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<a class="anchor" name="3dcb634fadb9226b0a623bffb1587bb0"></a><!-- doxytag: member="Gnome::Gda::DataModel::move_iter_next_default" ref="3dcb634fadb9226b0a623bffb1587bb0" args="(const Glib::RefPtr&lt; DataModelIter &gt; &amp;iter)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Gnome::Gda::DataModel::move_iter_next_default           </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" doxygen="glibmm_doxygen_tags:http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/" href="http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classGnome_1_1Gda_1_1DataModelIter.html">DataModelIter</a>&gt;&amp;&nbsp;</td>
          <td class="paramname"> <em>iter</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<a class="anchor" name="ac9ba535638d3f83dd04338f8fcec8ac"></a><!-- doxytag: member="Gnome::Gda::DataModel::move_iter_prev_default" ref="ac9ba535638d3f83dd04338f8fcec8ac" args="(const Glib::RefPtr&lt; DataModelIter &gt; &amp;iter)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Gnome::Gda::DataModel::move_iter_prev_default           </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" doxygen="glibmm_doxygen_tags:http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/" href="http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classGnome_1_1Gda_1_1DataModelIter.html">DataModelIter</a>&gt;&amp;&nbsp;</td>
          <td class="paramname"> <em>iter</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<a class="anchor" name="fe8e17786482da3dac487bb939a385bd"></a><!-- doxytag: member="Gnome::Gda::DataModel::on_reset" ref="fe8e17786482da3dac487bb939a385bd" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void Gnome::Gda::DataModel::on_reset           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<a class="anchor" name="7eaaaaaa4454e6ba834710339967c61a"></a><!-- doxytag: member="Gnome::Gda::DataModel::on_row_inserted" ref="7eaaaaaa4454e6ba834710339967c61a" args="(int row)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void Gnome::Gda::DataModel::on_row_inserted           </td>
          <td>(</td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>row</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<a class="anchor" name="a732165f7b86afdda700d934bdf39ab9"></a><!-- doxytag: member="Gnome::Gda::DataModel::on_row_removed" ref="a732165f7b86afdda700d934bdf39ab9" args="(int row)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void Gnome::Gda::DataModel::on_row_removed           </td>
          <td>(</td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>row</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<a class="anchor" name="4f8e768af7e1eac582934ed7e1572f4f"></a><!-- doxytag: member="Gnome::Gda::DataModel::on_row_updated" ref="4f8e768af7e1eac582934ed7e1572f4f" args="(int row)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void Gnome::Gda::DataModel::on_row_updated           </td>
          <td>(</td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>row</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<a class="anchor" name="271239b1bbf8e95beae98c8b07983e40"></a><!-- doxytag: member="Gnome::Gda::DataModel::remove_row" ref="271239b1bbf8e95beae98c8b07983e40" args="(int row)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Gnome::Gda::DataModel::remove_row           </td>
          <td>(</td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>row</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Removes a row from the data model. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>row</em>&nbsp;</td><td>The row number to be removed. </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd><code>true</code> if successful, <code>false</code> otherwise. </dd></dl>

</div>
</div><p>
<a class="anchor" name="5d56e9975dd2afbd56e428ddd5924811"></a><!-- doxytag: member="Gnome::Gda::DataModel::send_hint" ref="5d56e9975dd2afbd56e428ddd5924811" args="(DataModelHint hint, const Value &amp;hint_value)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gnome::Gda::DataModel::send_hint           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__libgdammEnums.html#gb6a206a09f087871d4b2f11c2dc7d801">DataModelHint</a>&nbsp;</td>
          <td class="paramname"> <em>hint</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classGnome_1_1Gda_1_1Value.html">Value</a>&amp;&nbsp;</td>
          <td class="paramname"> <em>hint_value</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Sends a hint to the data model. 
<p>
The hint may or may not be handled by the data model, depending on its implementation <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>hint</em>&nbsp;</td><td>A hint to send to the model. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>hint_value</em>&nbsp;</td><td>An optional value to specify the hint, or <code>0</code>. </td></tr>
  </table>
</dl>

</div>
</div><p>
<a class="anchor" name="d309e4134cbdda6f79691b43e16e5eb5"></a><!-- doxytag: member="Gnome::Gda::DataModel::set_column_title" ref="d309e4134cbdda6f79691b43e16e5eb5" args="(int col, const Glib::ustring &amp;title)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gnome::Gda::DataModel::set_column_title           </td>
          <td>(</td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>col</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" doxygen="glibmm_doxygen_tags:http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/" href="http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>title</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Sets the <em>title</em> of the given <em>col</em> in <em>model</em>. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>col</em>&nbsp;</td><td><a class="el" href="classGnome_1_1Gda_1_1Column.html">Column</a> number. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>title</em>&nbsp;</td><td>Title for the given column. </td></tr>
  </table>
</dl>

</div>
</div><p>
<a class="anchor" name="4c7d98e434b2ed8b86432203fd831f3f"></a><!-- doxytag: member="Gnome::Gda::DataModel::set_value_at" ref="4c7d98e434b2ed8b86432203fd831f3f" args="(int col, int row, const Value &amp;value)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Gnome::Gda::DataModel::set_value_at           </td>
          <td>(</td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>col</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>row</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classGnome_1_1Gda_1_1Value.html">Value</a>&amp;&nbsp;</td>
          <td class="paramname"> <em>value</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>col</em>&nbsp;</td><td><a class="el" href="classGnome_1_1Gda_1_1Column.html">Column</a> number. </td></tr>
  </table>
</dl>

<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>row</em>&nbsp;</td><td><a class="el" href="classGnome_1_1Gda_1_1Row.html">Row</a> number. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>value</em>&nbsp;</td><td>A <a class="el" href="classGnome_1_1Gda_1_1Value.html">Value</a>, or <code>0</code>. </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd><code>true</code> if the value in the data model has been updated and no error occurred. </dd></dl>

</div>
</div><p>
<a class="anchor" name="d3e9fce8ecb0aaf9ba16932f8b8a77cd"></a><!-- doxytag: member="Gnome::Gda::DataModel::set_values" ref="d3e9fce8ecb0aaf9ba16932f8b8a77cd" args="(int row, const ValueList &amp;values)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Gnome::Gda::DataModel::set_values           </td>
          <td>(</td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>row</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" doxygen="glibmm_doxygen_tags:http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/" href="http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/classGlib_1_1ListHandle.html">ValueList</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>values</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
If any value in <em>values</em> is actually <code>0</code>, then it is considered as a default value. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>row</em>&nbsp;</td><td><a class="el" href="classGnome_1_1Gda_1_1Row.html">Row</a> number. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>values</em>&nbsp;</td><td>A list of <a class="el" href="classGnome_1_1Gda_1_1Value.html">Value</a>, one for each n (&lt;nb_cols) columns of <em>model</em>. </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd><code>true</code> if the value in the data model has been updated and no error occurred. </dd></dl>

</div>
</div><p>
<a class="anchor" name="180c40e2649d21acc4aafba0b628c56b"></a><!-- doxytag: member="Gnome::Gda::DataModel::signal_emit_changed" ref="180c40e2649d21acc4aafba0b628c56b" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gnome::Gda::DataModel::signal_emit_changed           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Notifies listeners of the given data model object of changes in the underlying data. 
<p>
Listeners usually will connect themselves to the "changed" signal in the <a class="el" href="classGnome_1_1Gda_1_1DataModel.html">Gda::DataModel</a> class, thus being notified of any new data being appended or removed from the data model. 
</div>
</div><p>
<a class="anchor" name="bf4a9efb6bffd0f90da482f24c59f798"></a><!-- doxytag: member="Gnome::Gda::DataModel::signal_reset" ref="bf4a9efb6bffd0f90da482f24c59f798" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" doxygen="glibmm_doxygen_tags:http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/" href="http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/classGlib_1_1SignalProxy0.html">Glib::SignalProxy0</a>&lt; void &gt; Gnome::Gda::DataModel::signal_reset           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
<dl class="user" compact><dt><b>Prototype:</b></dt><dd><code>void on_my_reset()</code> </dd></dl>

<p>

</div>
</div><p>
<a class="anchor" name="44d1fef2b89bb777e8920627187167a4"></a><!-- doxytag: member="Gnome::Gda::DataModel::signal_row_inserted" ref="44d1fef2b89bb777e8920627187167a4" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" doxygen="glibmm_doxygen_tags:http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/" href="http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/classGlib_1_1SignalProxy1.html">Glib::SignalProxy1</a>&lt; void,int &gt; Gnome::Gda::DataModel::signal_row_inserted           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
<dl class="user" compact><dt><b>Prototype:</b></dt><dd><code>void on_my_row_inserted(int row)</code> </dd></dl>

<p>

</div>
</div><p>
<a class="anchor" name="9bec8ba89312927f9751724ec8fab8e8"></a><!-- doxytag: member="Gnome::Gda::DataModel::signal_row_removed" ref="9bec8ba89312927f9751724ec8fab8e8" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" doxygen="glibmm_doxygen_tags:http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/" href="http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/classGlib_1_1SignalProxy1.html">Glib::SignalProxy1</a>&lt; void,int &gt; Gnome::Gda::DataModel::signal_row_removed           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
<dl class="user" compact><dt><b>Prototype:</b></dt><dd><code>void on_my_row_removed(int row)</code> </dd></dl>

<p>

</div>
</div><p>
<a class="anchor" name="cc7b871c4f55e6092790e03283bcf43d"></a><!-- doxytag: member="Gnome::Gda::DataModel::signal_row_updated" ref="cc7b871c4f55e6092790e03283bcf43d" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" doxygen="glibmm_doxygen_tags:http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/" href="http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/classGlib_1_1SignalProxy1.html">Glib::SignalProxy1</a>&lt; void,int &gt; Gnome::Gda::DataModel::signal_row_updated           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
<dl class="user" compact><dt><b>Prototype:</b></dt><dd><code>void on_my_row_updated(int row)</code> </dd></dl>

<p>

</div>
</div><p>
<a class="anchor" name="a610f9a23f26d46f68b55b82900c9690"></a><!-- doxytag: member="Gnome::Gda::DataModel::thaw" ref="a610f9a23f26d46f68b55b82900c9690" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gnome::Gda::DataModel::thaw           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Re-enables notifications of changes on the given data model. 
<p>

</div>
</div><p>
<hr><h2>Friends And Related Function Documentation</h2>
<a class="anchor" name="d64ded50f437e10a594c43517c45a389"></a><!-- doxytag: member="Gnome::Gda::DataModel::wrap" ref="d64ded50f437e10a594c43517c45a389" args="(GdaDataModel *object, bool take_copy=false)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" doxygen="glibmm_doxygen_tags:http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/" href="http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classGnome_1_1Gda_1_1DataModel.html">Gnome::Gda::DataModel</a>&gt; wrap           </td>
          <td>(</td>
          <td class="paramtype">GdaDataModel *&nbsp;</td>
          <td class="paramname"> <em>object</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&nbsp;</td>
          <td class="paramname"> <em>take_copy</em> = <code>false</code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [related]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
A <a class="elRef" doxygen="glibmm_doxygen_tags:http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/" href="http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/namespaceGlib.html#671306f4a3a0cae5ab4d7a9d54886592">Glib::wrap()</a> method for this object. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>object</em>&nbsp;</td><td>The C instance. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>take_copy</em>&nbsp;</td><td>False if the result should take ownership of the C instance. True if it should take a new copy or ref. </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>A C++ instance that wraps this C instance. </dd></dl>

</div>
</div><p>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="datamodel_8h.html">datamodel.h</a></ul>
<hr><address><small>
Generated for libgdamm by <a href="http://www.doxygen.org/index.html">
Doxygen</a> 1.5.1 &copy;&nbsp;1997-2001</small></address>
</body>
</html>