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
|
<!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::Dict 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>
<a class="qindex" href="namespaces.html"> Namespaces</a>
<a href="../../../../../libgnomedbmm-3.0/docs/tutorial/html/index.html"> Book</a>
</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_1Dict.html">Dict</a></div>
<h1>Gnome::Gda::Dict Class Reference</h1><!-- doxytag: class="Gnome::Gda::Dict" --><!-- doxytag: inherits="Glib::Object" -->This object is a "proxy repository" for objects in a database.
<a href="#_details">More...</a>
<p>
Inheritance diagram for Gnome::Gda::Dict:<p><center><img src="classGnome_1_1Gda_1_1Dict__inherit__graph.png" border="0" usemap="#Gnome_1_1Gda_1_1Dict__inherit__map" alt="Inheritance graph"></center>
<map name="Gnome_1_1Gda_1_1Dict__inherit__map">
<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_1Object.html" shape="rect" coords="27,161,120,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="11,84,136,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="17,7,129,33" alt="">
</map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="classGnome_1_1Gda_1_1Dict-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">std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1Dict.html#118a780766ef1e2db6268f93e0a5160c">compute_xml_filename</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>& datasource, 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>& app_id)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Get the prefered filename which represents the data dictionary associated to the <em>datasource</em> data source. <a href="#118a780766ef1e2db6268f93e0a5160c"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1Dict.html#e0a117b0621b0e966f5a4fdb3c7dfcae">declare_object_string_id_change</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><<a class="el" href="classGnome_1_1Gda_1_1Object.html">Gda::Object</a>>& obj, 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>& oldid)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Internal function, not to be used directly. <a href="#e0a117b0621b0e966f5a4fdb3c7dfcae"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">GSList* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1Dict.html#dd9255f80bd0d60a2712077ae6dbc653">get_aggregates</a> () const</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><const <a class="el" href="classGnome_1_1Gda_1_1Connection.html">Connection</a>> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1Dict.html#d5cf5ac0206ccce142292e6c1b43fc27">get_connection</a> () const</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Fetch a pointer to the GdaConnection used by the GdaDict object. <a href="#d5cf5ac0206ccce142292e6c1b43fc27"></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><<a class="el" href="classGnome_1_1Gda_1_1Connection.html">Connection</a>> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1Dict.html#021ade880301946bb6864e632aba996f">get_connection</a> ()</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Fetch a pointer to the GdaConnection used by the GdaDict object. <a href="#021ade880301946bb6864e632aba996f"></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><const <a class="el" href="classGnome_1_1Gda_1_1DictDatabase.html">DictDatabase</a>> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1Dict.html#7a435b34ab4142957522b36af98a506d">get_database</a> () const</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Fetch a pointer to the GdaDictDatabase used by the GdaDict object. <a href="#7a435b34ab4142957522b36af98a506d"></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><<a class="el" href="classGnome_1_1Gda_1_1DictDatabase.html">DictDatabase</a>> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1Dict.html#d105dd2757591919f53b008601b9813f">get_database</a> ()</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Fetch a pointer to the GdaDictDatabase used by the GdaDict object. <a href="#d105dd2757591919f53b008601b9813f"></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><const <a class="el" href="classGnome_1_1Gda_1_1DataHandler.html">DataHandler</a>> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1Dict.html#8522e4112680567133ee7dbeaf7291ec">get_default_handler</a> (GType for_type) const</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Obtain a pointer to a <a class="el" href="classGnome_1_1Gda_1_1DataHandler.html">Gda::DataHandler</a> which can manage <a class="el" href="classGnome_1_1Gda_1_1Value.html">Value</a> values of type <em>for_type</em>. <a href="#8522e4112680567133ee7dbeaf7291ec"></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><<a class="el" href="classGnome_1_1Gda_1_1DataHandler.html">DataHandler</a>> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1Dict.html#69c28091f5ba03389c86246f714ba659">get_default_handler</a> (GType for_type)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Obtain a pointer to a <a class="el" href="classGnome_1_1Gda_1_1DataHandler.html">Gda::DataHandler</a> which can manage <a class="el" href="classGnome_1_1Gda_1_1Value.html">Value</a> values of type <em>for_type</em>. <a href="#69c28091f5ba03389c86246f714ba659"></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><const <a class="el" href="classGnome_1_1Gda_1_1DictType.html">DictType</a>> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1Dict.html#15956b5c898968c8578cb23675809bb2">get_dict_type_by_name</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>& type_name) const</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><<a class="el" href="classGnome_1_1Gda_1_1DictType.html">DictType</a>> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1Dict.html#9b24897f4acd17c2ada05f79939ecb20">get_dict_type_by_name</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>& type_name)</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><const <a class="el" href="classGnome_1_1Gda_1_1DictType.html">DictType</a>> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1Dict.html#fd092c5981c6df483be7d06fc03fb07f">get_dict_type_by_xml_id</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>& xml_id) const</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><<a class="el" href="classGnome_1_1Gda_1_1DictType.html">DictType</a>> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1Dict.html#d971937d00ea13afcc9f3c1a4629000a">get_dict_type_by_xml_id</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>& xml_id)</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_1SListHandle.html">Glib::SListHandle</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/classGlib_1_1RefPtr.html">Glib::RefPtr</a><<br>
const <a class="el" href="classGnome_1_1Gda_1_1DictType.html">DictType</a> > > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1Dict.html#7ec1fed736ffc0dafebe59a9c8872f8b">get_dict_types</a> () const</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_1SListHandle.html">Glib::SListHandle</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/classGlib_1_1RefPtr.html">Glib::RefPtr</a><<br>
<a class="el" href="classGnome_1_1Gda_1_1DictType.html">DictType</a> > > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1Dict.html#2e1c46a44c584a9de43a522543316330">get_dict_types</a> ()</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><const <a class="el" href="classGnome_1_1Gda_1_1DataHandler.html">DataHandler</a>> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1Dict.html#1d784ddc3e5752ff411a200b7a5d4281">get_handler</a> (GType for_type) const</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Obtain a pointer to a <a class="el" href="classGnome_1_1Gda_1_1DataHandler.html">Gda::DataHandler</a> which can convert <a class="el" href="classGnome_1_1Gda_1_1Value.html">Value</a> values of type <em>for_type</em>. <a href="#1d784ddc3e5752ff411a200b7a5d4281"></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><<a class="el" href="classGnome_1_1Gda_1_1DataHandler.html">DataHandler</a>> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1Dict.html#392f6a7baaef1f95b91f6f412246dd43">get_handler</a> (GType for_type)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Obtain a pointer to a <a class="el" href="classGnome_1_1Gda_1_1DataHandler.html">Gda::DataHandler</a> which can convert <a class="el" href="classGnome_1_1Gda_1_1Value.html">Value</a> values of type <em>for_type</em>. <a href="#392f6a7baaef1f95b91f6f412246dd43"></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><const <a class="el" href="classGnome_1_1Gda_1_1Object.html">Gda::Object</a>> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1Dict.html#e1b51ed046bb76e26fb37028c6dfc0db">get_object_by_string_id</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>& strid) const</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Fetch a pointer to the <a class="el" href="classGnome_1_1Gda_1_1Object.html">Gda::Object</a> which has the <em>strid</em> string ID. <a href="#e1b51ed046bb76e26fb37028c6dfc0db"></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><<a class="el" href="classGnome_1_1Gda_1_1Object.html">Gda::Object</a>> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1Dict.html#65c8ffcadb1ae264b2a43aa5b7444e20">get_object_by_string_id</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>& strid)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Fetch a pointer to the <a class="el" href="classGnome_1_1Gda_1_1Object.html">Gda::Object</a> which has the <em>strid</em> string ID. <a href="#65c8ffcadb1ae264b2a43aa5b7444e20"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1Dict.html#407890e031b0bd3b68828823b3055af5">get_xml_filename</a> () const</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Get the filename <em>dict</em> will use when gda_dict_save_xml() and gda_dict_load_xml() are called. <a href="#407890e031b0bd3b68828823b3055af5"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">const GdaDict* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1Dict.html#e494c24cb4987d89a5900637fac769b5">gobj</a> () const</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Provides access to the underlying C GObject. <a href="#e494c24cb4987d89a5900637fac769b5"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">GdaDict* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1Dict.html#24b3e31ba0463e41975832dcfb586927">gobj</a> ()</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Provides access to the underlying C GObject. <a href="#24b3e31ba0463e41975832dcfb586927"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">GdaDict* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1Dict.html#1d1a306a3ea1503098b67ee675e25903">gobj_copy</a> ()</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs. <a href="#1d1a306a3ea1503098b67ee675e25903"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1Dict.html#64e14a8573f64a25ef6dcac3cef03d91">load</a> ()</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Loads an XML file which respects the Libgda DTD, and creates all the necessary objects that are defined within the XML file. <a href="#64e14a8573f64a25ef6dcac3cef03d91"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1Dict.html#706ddc7f7cca5a3a868dd2e518e7abb1">load_xml_file</a> (const std::string& xmlfile)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Loads an XML file which respects the Libgda DTD, and creates all the necessary objects that are defined within the XML file. <a href="#706ddc7f7cca5a3a868dd2e518e7abb1"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1Dict.html#9115c62bca88ae7d5015198142200636">save</a> ()</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Saves the contents of a GdaDict object to a file which is specified using the <a class="el" href="classGnome_1_1Gda_1_1Dict.html#c4bdceeb56bc52b9c5726bd08f6b3dba">set_xml_filename()</a> method. <a href="#9115c62bca88ae7d5015198142200636"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1Dict.html#f2838570cb103b91a9a69e5cca4d876e">save_xml_file</a> (const std::string& xmlfile)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Saves the contents of a GdaDict object to a file which is given as argument. <a href="#f2838570cb103b91a9a69e5cca4d876e"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1Dict.html#08d7994865cd234d1224658a64319cc7">set_connection</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><<a class="el" href="classGnome_1_1Gda_1_1Connection.html">Connection</a>>& cnc)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the associated connection to <em>dict</em>. <a href="#08d7994865cd234d1224658a64319cc7"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1Dict.html#c4bdceeb56bc52b9c5726bd08f6b3dba">set_xml_filename</a> (const std::string& xmlfile)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the filename <em>dict</em> will use when gda_dict_save_xml() and gda_dict_load_xml() are called. <a href="#c4bdceeb56bc52b9c5726bd08f6b3dba"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1Dict.html#1ff1645ab85d3a7070e89599887cd233">stop_update_dbms_meta_data</a> ()</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">When the dictionary updates its internal lists of DBMS objects, a call to this function will stop that update process. <a href="#1ff1645ab85d3a7070e89599887cd233"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1Dict.html#3b05c3096720dd65d3fd43b531c87ba1">update_dbms_meta_data</a> ()</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Updates the list of data types, functions, tables, etc from the database, which means that the dict object uses an opened connection to the DBMS. <a href="#3b05c3096720dd65d3fd43b531c87ba1"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1Dict.html#26658ba81752a607923eea80cfe2754f">update_dbms_meta_data</a> (GType limit_to_type)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Updates the list of data types, functions, tables, etc from the database, which means that the dict object uses an opened connection to the DBMS. <a href="#26658ba81752a607923eea80cfe2754f"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1Dict.html#20eaa8a3a505ad4d82efbb20d7d10358">update_dbms_meta_data</a> (GType limit_to_type, 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>& limit_obj_name)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Updates the list of data types, functions, tables, etc from the database, which means that the <em>dict</em> object uses an opened connection to the DBMS. <a href="#20eaa8a3a505ad4d82efbb20d7d10358"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1Dict.html#99d36306a10ccb727c9859d0e9ed8708">~Dict</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 <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><<a class="el" href="classGnome_1_1Gda_1_1Dict.html">Dict</a>> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1Dict.html#fbd57eb88d8eeb06f656312fa3e500da">create</a> ()</td></tr>
<tr><td colspan="2"><br><h2>Protected Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1Dict.html#1e8e46edce43ce0ca4b78b69dc07380b">Dict</a> ()</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><<a class="el" href="classGnome_1_1Gda_1_1Dict.html">Gnome::Gda::Dict</a>> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1Dict.html#7e0fd6ed2e7d43c7c3e08d19aca22895">wrap</a> (GdaDict* object, bool take_copy=false)</td></tr>
<tr><td class="mdescLeft"> </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="#7e0fd6ed2e7d43c7c3e08d19aca22895"></a><br></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
This object is a "proxy repository" for objects in a database.
<p>
This is a proxy repository for<ul>
<li>object existing within a database such as data types (see the <a class="el" href="classGnome_1_1Gda_1_1DictType.html">Gda::DictType</a> object), functions (see the <a class="el" href="classGnome_1_1Gda_1_1DictFunction.html">Gda::DictFunction</a> object), aggregates (see the <a class="el" href="classGnome_1_1Gda_1_1DictAggregate.html">Gda::DictAggregate</a> object), and the database structure (through the <a class="el" href="classGnome_1_1Gda_1_1DictDatabase.html">Gda::DictDatabase</a> and associated object)</li><li>pre-defined queries as <a class="el" href="classGnome_1_1Gda_1_1Query.html">Gda::Query</a> objects</li><li>graphs as Gda::Graph objects</li></ul>
<p>
Each <a class="el" href="classGnome_1_1Gda_1_1Dict.html">Dict</a> object can be saved to an XML file and loaded back in an efficient way. Any <a class="el" href="classGnome_1_1Gda_1_1Dict.html">Dict</a> object can be assigned a <a class="el" href="classGnome_1_1Gda_1_1Connection.html">Gda::Connection</a> object which tells it how to use a real connection to a data source.<p>
The <a class="el" href="classGnome_1_1Gda_1_1Dict.html">Dict</a> object is responsible for the lifetime management of all the objects it handles. See the <a class="el" href="classGnome_1_1Gda_1_1Object.html">Gda::Object</a> class for more information.
<p>
<hr><h2>Constructor & Destructor Documentation</h2>
<a class="anchor" name="99d36306a10ccb727c9859d0e9ed8708"></a><!-- doxytag: member="Gnome::Gda::Dict::~Dict" ref="99d36306a10ccb727c9859d0e9ed8708" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual Gnome::Gda::Dict::~Dict </td>
<td>(</td>
<td class="paramname"> </td>
<td> ) </td>
<td width="100%"><code> [virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
</div>
</div><p>
<a class="anchor" name="1e8e46edce43ce0ca4b78b69dc07380b"></a><!-- doxytag: member="Gnome::Gda::Dict::Dict" ref="1e8e46edce43ce0ca4b78b69dc07380b" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">Gnome::Gda::Dict::Dict </td>
<td>(</td>
<td class="paramname"> </td>
<td> ) </td>
<td width="100%"><code> [protected]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
</div>
</div><p>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="118a780766ef1e2db6268f93e0a5160c"></a><!-- doxytag: member="Gnome::Gda::Dict::compute_xml_filename" ref="118a780766ef1e2db6268f93e0a5160c" args="(const Glib::ustring &datasource, const Glib::ustring &app_id)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">std::string Gnome::Gda::Dict::compute_xml_filename </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> & </td>
<td class="paramname"> <em>datasource</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> & </td>
<td class="paramname"> <em>app_id</em></td><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td width="100%"></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Get the prefered filename which represents the data dictionary associated to the <em>datasource</em> data source.
<p>
Using the returned value in conjunction with <a class="el" href="classGnome_1_1Gda_1_1Dict.html#706ddc7f7cca5a3a868dd2e518e7abb1">load_xml_file()</a> and <a class="el" href="classGnome_1_1Gda_1_1Dict.html#f2838570cb103b91a9a69e5cca4d876e">save_xml_file()</a> has the advantage of letting the library handle file naming onventions.<p>
if <em>datasource</em> is <code>0</code>, and a <a class="el" href="classGnome_1_1Gda_1_1Connection.html">Gda::Connection</a> object has been assigned to <em>dict</em>, then the returned string will take into account the data source used by that connection.<p>
The <em>app_id</em> argument allows to give an extra identification to the request, when some special features must be saved but not interfere with the default dictionary. <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>datasource</em> </td><td>A data source, or <code>0</code>. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>app_id</em> </td><td>An extra identification, or <code>0</code>. </td></tr>
</table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>A new string. </dd></dl>
</div>
</div><p>
<a class="anchor" name="fbd57eb88d8eeb06f656312fa3e500da"></a><!-- doxytag: member="Gnome::Gda::Dict::create" ref="fbd57eb88d8eeb06f656312fa3e500da" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">static <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><<a class="el" href="classGnome_1_1Gda_1_1Dict.html">Dict</a>> Gnome::Gda::Dict::create </td>
<td>(</td>
<td class="paramname"> </td>
<td> ) </td>
<td width="100%"><code> [static]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
</div>
</div><p>
<a class="anchor" name="e0a117b0621b0e966f5a4fdb3c7dfcae"></a><!-- doxytag: member="Gnome::Gda::Dict::declare_object_string_id_change" ref="e0a117b0621b0e966f5a4fdb3c7dfcae" args="(const Glib::RefPtr< Gda::Object > &obj, const Glib::ustring &oldid)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Gnome::Gda::Dict::declare_object_string_id_change </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><<a class="el" href="classGnome_1_1Gda_1_1Object.html">Gda::Object</a>>& </td>
<td class="paramname"> <em>obj</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> & </td>
<td class="paramname"> <em>oldid</em></td><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td width="100%"></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Internal function, not to be used directly.
<p>
</div>
</div><p>
<a class="anchor" name="dd9255f80bd0d60a2712077ae6dbc653"></a><!-- doxytag: member="Gnome::Gda::Dict::get_aggregates" ref="dd9255f80bd0d60a2712077ae6dbc653" args="() const" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">GSList* Gnome::Gda::Dict::get_aggregates </td>
<td>(</td>
<td class="paramname"> </td>
<td> ) </td>
<td width="100%"> const</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
</div>
</div><p>
<a class="anchor" name="d5cf5ac0206ccce142292e6c1b43fc27"></a><!-- doxytag: member="Gnome::Gda::Dict::get_connection" ref="d5cf5ac0206ccce142292e6c1b43fc27" 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_1RefPtr.html">Glib::RefPtr</a><const <a class="el" href="classGnome_1_1Gda_1_1Connection.html">Connection</a>> Gnome::Gda::Dict::get_connection </td>
<td>(</td>
<td class="paramname"> </td>
<td> ) </td>
<td width="100%"> const</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Fetch a pointer to the GdaConnection used by the GdaDict object.
<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>A pointer to the GdaConnection, if one has been assigned to <em>dict</em>. </dd></dl>
</div>
</div><p>
<a class="anchor" name="021ade880301946bb6864e632aba996f"></a><!-- doxytag: member="Gnome::Gda::Dict::get_connection" ref="021ade880301946bb6864e632aba996f" 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><<a class="el" href="classGnome_1_1Gda_1_1Connection.html">Connection</a>> Gnome::Gda::Dict::get_connection </td>
<td>(</td>
<td class="paramname"> </td>
<td> ) </td>
<td width="100%"></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Fetch a pointer to the GdaConnection used by the GdaDict object.
<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>A pointer to the GdaConnection, if one has been assigned to <em>dict</em>. </dd></dl>
</div>
</div><p>
<a class="anchor" name="7a435b34ab4142957522b36af98a506d"></a><!-- doxytag: member="Gnome::Gda::Dict::get_database" ref="7a435b34ab4142957522b36af98a506d" 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_1RefPtr.html">Glib::RefPtr</a><const <a class="el" href="classGnome_1_1Gda_1_1DictDatabase.html">DictDatabase</a>> Gnome::Gda::Dict::get_database </td>
<td>(</td>
<td class="paramname"> </td>
<td> ) </td>
<td width="100%"> const</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Fetch a pointer to the GdaDictDatabase used by the GdaDict object.
<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>A pointer to the GdaDictDatabase. </dd></dl>
</div>
</div><p>
<a class="anchor" name="d105dd2757591919f53b008601b9813f"></a><!-- doxytag: member="Gnome::Gda::Dict::get_database" ref="d105dd2757591919f53b008601b9813f" 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><<a class="el" href="classGnome_1_1Gda_1_1DictDatabase.html">DictDatabase</a>> Gnome::Gda::Dict::get_database </td>
<td>(</td>
<td class="paramname"> </td>
<td> ) </td>
<td width="100%"></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Fetch a pointer to the GdaDictDatabase used by the GdaDict object.
<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>A pointer to the GdaDictDatabase. </dd></dl>
</div>
</div><p>
<a class="anchor" name="8522e4112680567133ee7dbeaf7291ec"></a><!-- doxytag: member="Gnome::Gda::Dict::get_default_handler" ref="8522e4112680567133ee7dbeaf7291ec" args="(GType for_type) 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><const <a class="el" href="classGnome_1_1Gda_1_1DataHandler.html">DataHandler</a>> Gnome::Gda::Dict::get_default_handler </td>
<td>(</td>
<td class="paramtype">GType </td>
<td class="paramname"> <em>for_type</em> </td>
<td> ) </td>
<td width="100%"> const</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Obtain a pointer to a <a class="el" href="classGnome_1_1Gda_1_1DataHandler.html">Gda::DataHandler</a> which can manage <a class="el" href="classGnome_1_1Gda_1_1Value.html">Value</a> values of type <em>for_type</em>.
<p>
The returned pointer is <code>0</code> if there is no default data handler available for the <em>for_type</em> data type <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>for_type</em> </td><td>A Type type. </td></tr>
</table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>A <a class="el" href="classGnome_1_1Gda_1_1DataHandler.html">Gda::DataHandler</a>. </dd></dl>
</div>
</div><p>
<a class="anchor" name="69c28091f5ba03389c86246f714ba659"></a><!-- doxytag: member="Gnome::Gda::Dict::get_default_handler" ref="69c28091f5ba03389c86246f714ba659" args="(GType for_type)" -->
<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><<a class="el" href="classGnome_1_1Gda_1_1DataHandler.html">DataHandler</a>> Gnome::Gda::Dict::get_default_handler </td>
<td>(</td>
<td class="paramtype">GType </td>
<td class="paramname"> <em>for_type</em> </td>
<td> ) </td>
<td width="100%"></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Obtain a pointer to a <a class="el" href="classGnome_1_1Gda_1_1DataHandler.html">Gda::DataHandler</a> which can manage <a class="el" href="classGnome_1_1Gda_1_1Value.html">Value</a> values of type <em>for_type</em>.
<p>
The returned pointer is <code>0</code> if there is no default data handler available for the <em>for_type</em> data type <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>for_type</em> </td><td>A Type type. </td></tr>
</table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>A <a class="el" href="classGnome_1_1Gda_1_1DataHandler.html">Gda::DataHandler</a>. </dd></dl>
</div>
</div><p>
<a class="anchor" name="15956b5c898968c8578cb23675809bb2"></a><!-- doxytag: member="Gnome::Gda::Dict::get_dict_type_by_name" ref="15956b5c898968c8578cb23675809bb2" args="(const Glib::ustring &type_name) 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><const <a class="el" href="classGnome_1_1Gda_1_1DictType.html">DictType</a>> Gnome::Gda::Dict::get_dict_type_by_name </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> & </td>
<td class="paramname"> <em>type_name</em> </td>
<td> ) </td>
<td width="100%"> const</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
</div>
</div><p>
<a class="anchor" name="9b24897f4acd17c2ada05f79939ecb20"></a><!-- doxytag: member="Gnome::Gda::Dict::get_dict_type_by_name" ref="9b24897f4acd17c2ada05f79939ecb20" args="(const Glib::ustring &type_name)" -->
<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><<a class="el" href="classGnome_1_1Gda_1_1DictType.html">DictType</a>> Gnome::Gda::Dict::get_dict_type_by_name </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> & </td>
<td class="paramname"> <em>type_name</em> </td>
<td> ) </td>
<td width="100%"></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
</div>
</div><p>
<a class="anchor" name="fd092c5981c6df483be7d06fc03fb07f"></a><!-- doxytag: member="Gnome::Gda::Dict::get_dict_type_by_xml_id" ref="fd092c5981c6df483be7d06fc03fb07f" args="(const Glib::ustring &xml_id) 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><const <a class="el" href="classGnome_1_1Gda_1_1DictType.html">DictType</a>> Gnome::Gda::Dict::get_dict_type_by_xml_id </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> & </td>
<td class="paramname"> <em>xml_id</em> </td>
<td> ) </td>
<td width="100%"> const</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
</div>
</div><p>
<a class="anchor" name="d971937d00ea13afcc9f3c1a4629000a"></a><!-- doxytag: member="Gnome::Gda::Dict::get_dict_type_by_xml_id" ref="d971937d00ea13afcc9f3c1a4629000a" args="(const Glib::ustring &xml_id)" -->
<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><<a class="el" href="classGnome_1_1Gda_1_1DictType.html">DictType</a>> Gnome::Gda::Dict::get_dict_type_by_xml_id </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> & </td>
<td class="paramname"> <em>xml_id</em> </td>
<td> ) </td>
<td width="100%"></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
</div>
</div><p>
<a class="anchor" name="7ec1fed736ffc0dafebe59a9c8872f8b"></a><!-- doxytag: member="Gnome::Gda::Dict::get_dict_types" ref="7ec1fed736ffc0dafebe59a9c8872f8b" 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_1SListHandle.html">Glib::SListHandle</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/classGlib_1_1RefPtr.html">Glib::RefPtr</a><const <a class="el" href="classGnome_1_1Gda_1_1DictType.html">DictType</a>> > Gnome::Gda::Dict::get_dict_types </td>
<td>(</td>
<td class="paramname"> </td>
<td> ) </td>
<td width="100%"> const</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
</div>
</div><p>
<a class="anchor" name="2e1c46a44c584a9de43a522543316330"></a><!-- doxytag: member="Gnome::Gda::Dict::get_dict_types" ref="2e1c46a44c584a9de43a522543316330" 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_1SListHandle.html">Glib::SListHandle</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/classGlib_1_1RefPtr.html">Glib::RefPtr</a><<a class="el" href="classGnome_1_1Gda_1_1DictType.html">DictType</a>> > Gnome::Gda::Dict::get_dict_types </td>
<td>(</td>
<td class="paramname"> </td>
<td> ) </td>
<td width="100%"></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
</div>
</div><p>
<a class="anchor" name="1d784ddc3e5752ff411a200b7a5d4281"></a><!-- doxytag: member="Gnome::Gda::Dict::get_handler" ref="1d784ddc3e5752ff411a200b7a5d4281" args="(GType for_type) 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><const <a class="el" href="classGnome_1_1Gda_1_1DataHandler.html">DataHandler</a>> Gnome::Gda::Dict::get_handler </td>
<td>(</td>
<td class="paramtype">GType </td>
<td class="paramname"> <em>for_type</em> </td>
<td> ) </td>
<td width="100%"> const</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Obtain a pointer to a <a class="el" href="classGnome_1_1Gda_1_1DataHandler.html">Gda::DataHandler</a> which can convert <a class="el" href="classGnome_1_1Gda_1_1Value.html">Value</a> values of type <em>for_type</em>.
<p>
Unlike the <a class="el" href="classGnome_1_1Gda_1_1Dict.html#69c28091f5ba03389c86246f714ba659">get_default_handler()</a> method, this method asks the provider (for the connection assigned to <em>dict</em> using <a class="el" href="classGnome_1_1Gda_1_1Dict.html#08d7994865cd234d1224658a64319cc7">set_connection()</a>) if there is any.<p>
It fallbacks to the same data handler as <a class="el" href="classGnome_1_1Gda_1_1Dict.html#69c28091f5ba03389c86246f714ba659">get_default_handler()</a> if no connection has been assigned, or if the assigned'd provider offers no data handler for that type.<p>
The returned pointer is <code>0</code> if there is no data handler available for the <em>for_type</em> type. <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>for_type</em> </td><td>A Type type. </td></tr>
</table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>A <a class="el" href="classGnome_1_1Gda_1_1DataHandler.html">Gda::DataHandler</a>. </dd></dl>
</div>
</div><p>
<a class="anchor" name="392f6a7baaef1f95b91f6f412246dd43"></a><!-- doxytag: member="Gnome::Gda::Dict::get_handler" ref="392f6a7baaef1f95b91f6f412246dd43" args="(GType for_type)" -->
<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><<a class="el" href="classGnome_1_1Gda_1_1DataHandler.html">DataHandler</a>> Gnome::Gda::Dict::get_handler </td>
<td>(</td>
<td class="paramtype">GType </td>
<td class="paramname"> <em>for_type</em> </td>
<td> ) </td>
<td width="100%"></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Obtain a pointer to a <a class="el" href="classGnome_1_1Gda_1_1DataHandler.html">Gda::DataHandler</a> which can convert <a class="el" href="classGnome_1_1Gda_1_1Value.html">Value</a> values of type <em>for_type</em>.
<p>
Unlike the <a class="el" href="classGnome_1_1Gda_1_1Dict.html#69c28091f5ba03389c86246f714ba659">get_default_handler()</a> method, this method asks the provider (for the connection assigned to <em>dict</em> using <a class="el" href="classGnome_1_1Gda_1_1Dict.html#08d7994865cd234d1224658a64319cc7">set_connection()</a>) if there is any.<p>
It fallbacks to the same data handler as <a class="el" href="classGnome_1_1Gda_1_1Dict.html#69c28091f5ba03389c86246f714ba659">get_default_handler()</a> if no connection has been assigned, or if the assigned'd provider offers no data handler for that type.<p>
The returned pointer is <code>0</code> if there is no data handler available for the <em>for_type</em> type. <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>for_type</em> </td><td>A Type type. </td></tr>
</table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>A <a class="el" href="classGnome_1_1Gda_1_1DataHandler.html">Gda::DataHandler</a>. </dd></dl>
</div>
</div><p>
<a class="anchor" name="e1b51ed046bb76e26fb37028c6dfc0db"></a><!-- doxytag: member="Gnome::Gda::Dict::get_object_by_string_id" ref="e1b51ed046bb76e26fb37028c6dfc0db" args="(const Glib::ustring &strid) 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><const <a class="el" href="classGnome_1_1Gda_1_1Object.html">Gda::Object</a>> Gnome::Gda::Dict::get_object_by_string_id </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> & </td>
<td class="paramname"> <em>strid</em> </td>
<td> ) </td>
<td width="100%"> const</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Fetch a pointer to the <a class="el" href="classGnome_1_1Gda_1_1Object.html">Gda::Object</a> which has the <em>strid</em> string ID.
<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>strid</em> </td><td>A string. </td></tr>
</table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>The corresponding <a class="el" href="classGnome_1_1Gda_1_1Object.html">Gda::Object</a>, or <code>0</code> if none found. </dd></dl>
</div>
</div><p>
<a class="anchor" name="65c8ffcadb1ae264b2a43aa5b7444e20"></a><!-- doxytag: member="Gnome::Gda::Dict::get_object_by_string_id" ref="65c8ffcadb1ae264b2a43aa5b7444e20" args="(const Glib::ustring &strid)" -->
<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><<a class="el" href="classGnome_1_1Gda_1_1Object.html">Gda::Object</a>> Gnome::Gda::Dict::get_object_by_string_id </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> & </td>
<td class="paramname"> <em>strid</em> </td>
<td> ) </td>
<td width="100%"></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Fetch a pointer to the <a class="el" href="classGnome_1_1Gda_1_1Object.html">Gda::Object</a> which has the <em>strid</em> string ID.
<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>strid</em> </td><td>A string. </td></tr>
</table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>The corresponding <a class="el" href="classGnome_1_1Gda_1_1Object.html">Gda::Object</a>, or <code>0</code> if none found. </dd></dl>
</div>
</div><p>
<a class="anchor" name="407890e031b0bd3b68828823b3055af5"></a><!-- doxytag: member="Gnome::Gda::Dict::get_xml_filename" ref="407890e031b0bd3b68828823b3055af5" args="() const" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">std::string Gnome::Gda::Dict::get_xml_filename </td>
<td>(</td>
<td class="paramname"> </td>
<td> ) </td>
<td width="100%"> const</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Get the filename <em>dict</em> will use when gda_dict_save_xml() and gda_dict_load_xml() are called.
<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>The filename, or <code>0</code> if none have been set. </dd></dl>
</div>
</div><p>
<a class="anchor" name="e494c24cb4987d89a5900637fac769b5"></a><!-- doxytag: member="Gnome::Gda::Dict::gobj" ref="e494c24cb4987d89a5900637fac769b5" args="() const" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const GdaDict* Gnome::Gda::Dict::gobj </td>
<td>(</td>
<td class="paramname"> </td>
<td> ) </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_1ObjectBase.html#2b7010748d60e770e9e0b3d65c100cf2">Glib::ObjectBase</a>.
</div>
</div><p>
<a class="anchor" name="24b3e31ba0463e41975832dcfb586927"></a><!-- doxytag: member="Gnome::Gda::Dict::gobj" ref="24b3e31ba0463e41975832dcfb586927" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">GdaDict* Gnome::Gda::Dict::gobj </td>
<td>(</td>
<td class="paramname"> </td>
<td> ) </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_1ObjectBase.html#4c6efc18be8cb9c56e58fc0bd20fafbe">Glib::ObjectBase</a>.
</div>
</div><p>
<a class="anchor" name="1d1a306a3ea1503098b67ee675e25903"></a><!-- doxytag: member="Gnome::Gda::Dict::gobj_copy" ref="1d1a306a3ea1503098b67ee675e25903" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">GdaDict* Gnome::Gda::Dict::gobj_copy </td>
<td>(</td>
<td class="paramname"> </td>
<td> ) </td>
<td width="100%"></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs.
<p>
</div>
</div><p>
<a class="anchor" name="64e14a8573f64a25ef6dcac3cef03d91"></a><!-- doxytag: member="Gnome::Gda::Dict::load" ref="64e14a8573f64a25ef6dcac3cef03d91" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool Gnome::Gda::Dict::load </td>
<td>(</td>
<td class="paramname"> </td>
<td> ) </td>
<td width="100%"></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Loads an XML file which respects the Libgda DTD, and creates all the necessary objects that are defined within the XML file.
<p>
During the creation of the other objects, all the normal signals are emitted.<p>
If the GdaDict object already has some contents, then it is first of all destroyed (to return its state as when it was first created).<p>
If an error occurs during loading then the GdaDict object is left as empty as when it is first created.<p>
The file loaded is the one specified using <a class="el" href="classGnome_1_1Gda_1_1Dict.html#c4bdceeb56bc52b9c5726bd08f6b3dba">set_xml_filename()</a> <dl class="return" compact><dt><b>Returns:</b></dt><dd><code>true</code> if loading was successfull and <code>false</code> otherwise. </dd></dl>
</div>
</div><p>
<a class="anchor" name="706ddc7f7cca5a3a868dd2e518e7abb1"></a><!-- doxytag: member="Gnome::Gda::Dict::load_xml_file" ref="706ddc7f7cca5a3a868dd2e518e7abb1" args="(const std::string &xmlfile)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool Gnome::Gda::Dict::load_xml_file </td>
<td>(</td>
<td class="paramtype">const std::string & </td>
<td class="paramname"> <em>xmlfile</em> </td>
<td> ) </td>
<td width="100%"></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Loads an XML file which respects the Libgda DTD, and creates all the necessary objects that are defined within the XML file.
<p>
During the creation of the other objects, all the normal signals are emitted.<p>
If the GdaDict object already has some contents, then it is first of all destroyed (to return its state as when it was first created).<p>
If an error occurs during loading then the GdaDict object is left as empty as when it is first created. <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>xmlfile</em> </td><td>The name of the file to which the XML will be written to. </td></tr>
</table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd><code>true</code> if loading was successfull and <code>false</code> otherwise. </dd></dl>
</div>
</div><p>
<a class="anchor" name="9115c62bca88ae7d5015198142200636"></a><!-- doxytag: member="Gnome::Gda::Dict::save" ref="9115c62bca88ae7d5015198142200636" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool Gnome::Gda::Dict::save </td>
<td>(</td>
<td class="paramname"> </td>
<td> ) </td>
<td width="100%"></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Saves the contents of a GdaDict object to a file which is specified using the <a class="el" href="classGnome_1_1Gda_1_1Dict.html#c4bdceeb56bc52b9c5726bd08f6b3dba">set_xml_filename()</a> method.
<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd><code>true</code> if saving was successfull and <code>false</code> otherwise. </dd></dl>
</div>
</div><p>
<a class="anchor" name="f2838570cb103b91a9a69e5cca4d876e"></a><!-- doxytag: member="Gnome::Gda::Dict::save_xml_file" ref="f2838570cb103b91a9a69e5cca4d876e" args="(const std::string &xmlfile)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool Gnome::Gda::Dict::save_xml_file </td>
<td>(</td>
<td class="paramtype">const std::string & </td>
<td class="paramname"> <em>xmlfile</em> </td>
<td> ) </td>
<td width="100%"></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Saves the contents of a GdaDict object to a file which is given as argument.
<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>xmlfile</em> </td><td>The name of the file to which the XML will be written to. </td></tr>
</table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd><code>true</code> if saving was successfull and <code>false</code> otherwise. </dd></dl>
</div>
</div><p>
<a class="anchor" name="08d7994865cd234d1224658a64319cc7"></a><!-- doxytag: member="Gnome::Gda::Dict::set_connection" ref="08d7994865cd234d1224658a64319cc7" args="(const Glib::RefPtr< Connection > &cnc)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Gnome::Gda::Dict::set_connection </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><<a class="el" href="classGnome_1_1Gda_1_1Connection.html">Connection</a>>& </td>
<td class="paramname"> <em>cnc</em> </td>
<td> ) </td>
<td width="100%"></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Sets the associated connection to <em>dict</em>.
<p>
This connection is then used when the dictionary synchronises itself, and when manipulating data (the <a class="el" href="classGnome_1_1Gda_1_1Dict.html#392f6a7baaef1f95b91f6f412246dd43">get_handler()</a> method). <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>cnc</em> </td><td>A <a class="el" href="classGnome_1_1Gda_1_1Connection.html">Gda::Connection</a> object. </td></tr>
</table>
</dl>
</div>
</div><p>
<a class="anchor" name="c4bdceeb56bc52b9c5726bd08f6b3dba"></a><!-- doxytag: member="Gnome::Gda::Dict::set_xml_filename" ref="c4bdceeb56bc52b9c5726bd08f6b3dba" args="(const std::string &xmlfile)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Gnome::Gda::Dict::set_xml_filename </td>
<td>(</td>
<td class="paramtype">const std::string & </td>
<td class="paramname"> <em>xmlfile</em> </td>
<td> ) </td>
<td width="100%"></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Sets the filename <em>dict</em> will use when gda_dict_save_xml() and gda_dict_load_xml() are called.
<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>xmlfile</em> </td><td>A file name. </td></tr>
</table>
</dl>
</div>
</div><p>
<a class="anchor" name="1ff1645ab85d3a7070e89599887cd233"></a><!-- doxytag: member="Gnome::Gda::Dict::stop_update_dbms_meta_data" ref="1ff1645ab85d3a7070e89599887cd233" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Gnome::Gda::Dict::stop_update_dbms_meta_data </td>
<td>(</td>
<td class="paramname"> </td>
<td> ) </td>
<td width="100%"></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
When the dictionary updates its internal lists of DBMS objects, a call to this function will stop that update process.
<p>
It has no effect when the dictionary is not updating its DBMS data.
</div>
</div><p>
<a class="anchor" name="3b05c3096720dd65d3fd43b531c87ba1"></a><!-- doxytag: member="Gnome::Gda::Dict::update_dbms_meta_data" ref="3b05c3096720dd65d3fd43b531c87ba1" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool Gnome::Gda::Dict::update_dbms_meta_data </td>
<td>(</td>
<td class="paramname"> </td>
<td> ) </td>
<td width="100%"></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Updates the list of data types, functions, tables, etc from the database, which means that the dict object uses an opened connection to the DBMS.
<p>
Use <a class="el" href="classGnome_1_1Gda_1_1Dict.html#08d7994865cd234d1224658a64319cc7">set_connection()</a> to set a <a class="el" href="classGnome_1_1Gda_1_1Connection.html">Gda::Connection</a> for the <a class="el" href="classGnome_1_1Gda_1_1Dict.html">Dict</a>.<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>True if there was no error. </dd></dl>
</div>
</div><p>
<a class="anchor" name="26658ba81752a607923eea80cfe2754f"></a><!-- doxytag: member="Gnome::Gda::Dict::update_dbms_meta_data" ref="26658ba81752a607923eea80cfe2754f" args="(GType limit_to_type)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool Gnome::Gda::Dict::update_dbms_meta_data </td>
<td>(</td>
<td class="paramtype">GType </td>
<td class="paramname"> <em>limit_to_type</em> </td>
<td> ) </td>
<td width="100%"></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Updates the list of data types, functions, tables, etc from the database, which means that the dict object uses an opened connection to the DBMS.
<p>
Use <a class="el" href="classGnome_1_1Gda_1_1Dict.html#08d7994865cd234d1224658a64319cc7">set_connection()</a> to set a <a class="el" href="classGnome_1_1Gda_1_1Connection.html">Gda::Connection</a> for the <a class="el" href="classGnome_1_1Gda_1_1Dict.html">Dict</a>.<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>limit_to_type</em> </td><td>Limit the DBMS update to this type, or 0 for no limit. </td></tr>
</table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>True if there was no error. </dd></dl>
</div>
</div><p>
<a class="anchor" name="20eaa8a3a505ad4d82efbb20d7d10358"></a><!-- doxytag: member="Gnome::Gda::Dict::update_dbms_meta_data" ref="20eaa8a3a505ad4d82efbb20d7d10358" args="(GType limit_to_type, const Glib::ustring &limit_obj_name)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool Gnome::Gda::Dict::update_dbms_meta_data </td>
<td>(</td>
<td class="paramtype">GType </td>
<td class="paramname"> <em>limit_to_type</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> & </td>
<td class="paramname"> <em>limit_obj_name</em></td><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td width="100%"></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Updates the list of data types, functions, tables, etc from the database, which means that the <em>dict</em> object uses an opened connection to the DBMS.
<p>
Use <a class="el" href="classGnome_1_1Gda_1_1Dict.html#08d7994865cd234d1224658a64319cc7">set_connection()</a> to set a <a class="el" href="classGnome_1_1Gda_1_1Connection.html">Gda::Connection</a> to <em>dict</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>limit_to_type</em> </td><td>Limit the DBMS update to this type, or 0 for no limit. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>limit_obj_name</em> </td><td>Limit the DBMS update to objects of this name, or <code>0</code> for no limit. </td></tr>
</table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd><code>true</code> if no error. </dd></dl>
</div>
</div><p>
<hr><h2>Friends And Related Function Documentation</h2>
<a class="anchor" name="7e0fd6ed2e7d43c7c3e08d19aca22895"></a><!-- doxytag: member="Gnome::Gda::Dict::wrap" ref="7e0fd6ed2e7d43c7c3e08d19aca22895" args="(GdaDict *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><<a class="el" href="classGnome_1_1Gda_1_1Dict.html">Gnome::Gda::Dict</a>> wrap </td>
<td>(</td>
<td class="paramtype">GdaDict * </td>
<td class="paramname"> <em>object</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool </td>
<td class="paramname"> <em>take_copy</em> = <code>false</code></td><td> </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> </td><td>The C instance. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>take_copy</em> </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="dict_8h.html">dict.h</a></ul>
<hr><address><small>
Generated for libgdamm by <a href="http://www.doxygen.org/index.html">
Doxygen</a> 1.5.1 © 1997-2001</small></address>
</body>
</html>
|