/usr/share/doc/libgdamm5.0-doc/docs/reference/html/classGnome_1_1Gda_1_1ServerProvider.html is in libgdamm5.0-doc 4.99.6-0ubuntu2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 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 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>libgdamm: Gnome::Gda::ServerProvider Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td style="padding-left: 0.5em;">
<div id="projectname">libgdamm
 <span id="projectnumber">4.99.6</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- Generated by Doxygen 1.7.5.1-20110925 -->
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main Page</span></a></li>
<li><a href="pages.html"><span>Related Pages</span></a></li>
<li><a href="modules.html"><span>Modules</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
</ul>
</div>
<div id="navrow2" class="tabs2">
<ul class="tablist">
<li><a href="annotated.html"><span>Class List</span></a></li>
<li><a href="classes.html"><span>Class Index</span></a></li>
<li><a href="inherits.html"><span>Class Hierarchy</span></a></li>
<li><a href="functions.html"><span>Class Members</span></a></li>
</ul>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="namespaceGnome.html">Gnome</a> </li>
<li class="navelem"><a class="el" href="namespaceGnome_1_1Gda.html">Gda</a> </li>
<li class="navelem"><a class="el" href="classGnome_1_1Gda_1_1ServerProvider.html">ServerProvider</a> </li>
</ul>
</div>
</div>
<div class="header">
<div class="summary">
<a href="#pub-methods">Public Member Functions</a> |
<a href="#related">Related Functions</a> </div>
<div class="headertitle">
<div class="title">Gnome::Gda::ServerProvider Class Reference</div> </div>
</div>
<div class="contents">
<!-- doxytag: class="Gnome::Gda::ServerProvider" --><!-- doxytag: inherits="Glib::Object" -->
<p>Base class for all the DBMS providers. <a href="classGnome_1_1Gda_1_1ServerProvider.html#details">More...</a></p>
<div class="dynheader">
Inheritance diagram for Gnome::Gda::ServerProvider:</div>
<div class="dyncontent">
<div class="center"><img src="classGnome_1_1Gda_1_1ServerProvider__inherit__graph.png" border="0" usemap="#Gnome_1_1Gda_1_1ServerProvider_inherit__map" alt="Inheritance graph"/></div>
<map name="Gnome_1_1Gda_1_1ServerProvider_inherit__map" id="Gnome_1_1Gda_1_1ServerProvider_inherit__map">
<area shape="rect" id="node2" /></map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<div class="dynheader">
Collaboration diagram for Gnome::Gda::ServerProvider:</div>
<div class="dyncontent">
<div class="center"><img src="classGnome_1_1Gda_1_1ServerProvider__coll__graph.png" border="0" usemap="#Gnome_1_1Gda_1_1ServerProvider_coll__map" alt="Collaboration graph"/></div>
<map name="Gnome_1_1Gda_1_1ServerProvider_coll__map" id="Gnome_1_1Gda_1_1ServerProvider_coll__map">
<area shape="rect" id="node2" /></map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<p><a href="classGnome_1_1Gda_1_1ServerProvider-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1ServerProvider.html#a70f21177f5c62a74e61117889d82ec58">~ServerProvider</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">GdaServerProvider* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1ServerProvider.html#a427b7eb26c0ab7c79c217342c4e7bb73">gobj</a> ()</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Provides access to the underlying C GObject. <a href="#a427b7eb26c0ab7c79c217342c4e7bb73"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const GdaServerProvider* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1ServerProvider.html#a89d78b117d8c00e9361c76f502441a8f">gobj</a> () const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Provides access to the underlying C GObject. <a href="#a89d78b117d8c00e9361c76f502441a8f"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">GdaServerProvider* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1ServerProvider.html#ab1aafbbf95a594492ab048d8086f4a83">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="#ab1aafbbf95a594492ab048d8086f4a83"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" >get_version</a> () const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Get the version of the provider. <a href="#af8e3d359b247bb956087b0c6d910f928"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" >Connection</a> >& cnc) const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Get the version of the database to which the connection is opened. <a href="#ac74e97c24d325d2a3d203d06e8538350"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1ServerProvider.html#aa3aa832d11006c0fbc7cd643dd75af19">supports_operation</a> (const <a class="elRef" >Set</a> >& options) const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Tells if <em>provider</em> supports the <em>type</em> of operation on the <em>cnc</em> connection, using the (optional) <em>options</em> parameters. <a href="#aa3aa832d11006c0fbc7cd643dd75af19"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1ServerProvider.html#a552849055020d6d386d4706a9bbf3fbe">supports_operation</a> (const <a class="elRef" >type</a>) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" >Set</a> >& options)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Creates a new <a class="el" href="classGnome_1_1Gda_1_1ServerOperation.html" title="Handles any DDL query in an abstract way.">Gda::ServerOperation</a> object which can be modified in order to perform the <em>type</em> type of action. <a href="#a90b2a3f982289e55ce65dfd04fe125d0"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" >type</a>)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Creates a new <a class="el" href="classGnome_1_1Gda_1_1ServerOperation.html" title="Handles any DDL query in an abstract way.">Gda::ServerOperation</a> object which can be modified in order to perform the <em>type</em> type of action. <a href="#a40140d3885d36e1c9f373dd420fde91c"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" >ServerOperation</a> >& op)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Creates an SQL statement (possibly using some specific extensions of the DBMS) corresponding to the <em>op</em> operation. <a href="#a08fdb984181e75e38721d7a87e4f87d1"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1ServerProvider.html#aae525130d168a277ef8c0afffbf58e89">perform_operation</a> (const <a class="elRef" >ServerOperation</a> >& op)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Performs the operation described by <em>op</em>. <a href="#aae525130d168a277ef8c0afffbf58e89"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1ServerProvider.html#adfe7d8ba1f6832c4d1c391a353634b64">supports_feature</a> (const <a class="elRef" >ConnectionFeature</a> feature) const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Tests if a feature is supported. <a href="#adfe7d8ba1f6832c4d1c391a353634b64"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" >Value</a>& from) const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Produces a fully quoted and escaped string from a GValue. <a href="#a527404495e6b14c38710f52c5fb1c3e9"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" >Glib::ustring</a>& str) const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Escapes <em>str</em> for use within an SQL command (to avoid SQL injection attacks). <a href="#ac6f68d8e510b327e0b4c4009d8f5c344"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" >Glib::ustring</a>& str) const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Unescapes <em>str</em> for use within an SQL command. <a href="#afa5e4d7ba8f96c27ccb34013feae689c"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" >Glib::ustring</a>& for_type)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Find a <a class="el" href="classGnome_1_1Gda_1_1DataHandler.html" title="Base class which provides data handling capabilities.">Gda::DataHandler</a> object to manipulate data of type <em>for_type</em>. <a href="#ab53bdd2874881cc6c6cde71e853197c5"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" >Glib::ustring</a>& for_type) const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Find a <a class="el" href="classGnome_1_1Gda_1_1DataHandler.html" title="Base class which provides data handling capabilities.">Gda::DataHandler</a> object to manipulate data of type <em>for_type</em>. <a href="#a5e69c27a6fc0146ba934ffd783211506"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" >Connection</a> >& cnc, GType for_type)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Find a <a class="el" href="classGnome_1_1Gda_1_1DataHandler.html" title="Base class which provides data handling capabilities.">Gda::DataHandler</a> object to manipulate data of type <em>for_type</em>. <a href="#a96b37d74ed54f4dc73d23ce33798b12c"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" >Connection</a> >& cnc, GType for_type) const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Find a <a class="el" href="classGnome_1_1Gda_1_1DataHandler.html" title="Base class which provides data handling capabilities.">Gda::DataHandler</a> object to manipulate data of type <em>for_type</em>. <a href="#ac6f2af26b8476a00c10faf928f3eed98"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" >type</a>) const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Get the name of the most common data type which has <em>type</em> type. <a href="#a3299d59f22bd15d030f7076d49d2b0d9"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" >get_name</a> () const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Get the name (identifier) of the provider. <a href="#afb105f5c4efa2ced404d56c25e5ec622"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" >Connection</a> >& cnc)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Creates a new <a class="el" href="classGnome_1_1Gda_1_1SqlParser.html" title="SQL parser.">Gda::SqlParser</a> object which is adapted to <em>provider</em> (and possibly depending on <em>cnc</em> for the actual database version). <a href="#a8676058daf007a085469999e501dc897"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGnome_1_1Gda_1_1Value.html">Value</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1ServerProvider.html#aeee884d74e76b80b6bc8a2efbc85de89">string_to_value</a> (const <a class="elRef" >Glib::ustring</a>& dbms_type) const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Use <em>provider</em> to create a new <a class="el" href="classGnome_1_1Gda_1_1Value.html" title="Use value_type() to identify the value type at runtime.">Value</a> from a single string representation. <a href="#aeee884d74e76b80b6bc8a2efbc85de89"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" >Glib::ustring</a>& dbms_type)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Provides the implementation when the default Libgda's data handlers must be used. <a href="#ab72157fd3084bb9262d54364ff89efd4"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" >std::string</a>& filename)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Finds the location of a <em>filename</em>. <a href="#a0c9a1f961667cd369d3fbbc4426e2674"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1ServerProvider.html#ab2d480317b584f041ab74a72b5977bc0">perform_operation_default</a> (const <a class="elRef" >ServerOperation</a> >& op)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Performs the operation described by <em>op</em>, using the SQL from the rendering of the operation. <a href="#ab2d480317b584f041ab74a72b5977bc0"></a><br/></td></tr>
<tr><td colspan="2"><h2><a name="related"></a>
Related Functions</h2></td></tr>
<tr><td class="ititle" colspan="2"><p>(Note that these are not member functions.) </p>
</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" />
< <a class="el" href="classGnome_1_1Gda_1_1ServerProvider.html">Gnome::Gda::ServerProvider</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1ServerProvider.html#a5399c8489e1672bf48c77eec1d7318bf">wrap</a> (GdaServerProvider* object, bool take_copy=false)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">A <a class="elRef" ></a><br/></td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>Base class for all the DBMS providers. </p>
<p>The <a class="el" href="classGnome_1_1Gda_1_1ServerProvider.html" title="Base class for all the DBMS providers.">ServerProvider</a> class is an abstract class which all the DBMS providers must inherit, and implement its virtual methods. </p>
</div><hr/><h2>Constructor & Destructor Documentation</h2>
<a class="anchor" id="a70f21177f5c62a74e61117889d82ec58"></a><!-- doxytag: member="Gnome::Gda::ServerProvider::~ServerProvider" ref="a70f21177f5c62a74e61117889d82ec58" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual Gnome::Gda::ServerProvider::~ServerProvider </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td><code> [virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a90b2a3f982289e55ce65dfd04fe125d0"></a><!-- doxytag: member="Gnome::Gda::ServerProvider::create_operation" ref="a90b2a3f982289e55ce65dfd04fe125d0" args="(const Glib::RefPtr< Connection > &cnc, ServerOperationType type, const Glib::RefPtr< Set > &options)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="elRef" >ServerOperation</a>> Gnome::Gda::ServerProvider::create_operation </td>
<td>(</td>
<td class="paramtype">const <a class="elRef" >Connection</a> >& </td>
<td class="paramname"><em>cnc</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="group__libgdammEnums.html#ga0837bde71f4fee1ea3f06a0c22a04d68">ServerOperationType</a> </td>
<td class="paramname"><em>type</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="elRef" >Set</a> >& </td>
<td class="paramname"><em>options</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Creates a new <a class="el" href="classGnome_1_1Gda_1_1ServerOperation.html" title="Handles any DDL query in an abstract way.">Gda::ServerOperation</a> object which can be modified in order to perform the <em>type</em> type of action. </p>
<p>The <em>options</em> can contain: <itemizedlist> <listitem>named values which ID is a path in the resulting GdaServerOperation object, to initialize some value</listitem> <listitem>named values which may change the contents of the GdaServerOperation, see this section for more information</listitem> </itemizedlist> </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">cnc</td><td>A <a class="el" href="classGnome_1_1Gda_1_1Connection.html" title="Manages a connection to a data source.">Gda::Connection</a> object which will be used to perform an action, or <code>0</code>. </td></tr>
<tr><td class="paramname">type</td><td>The type of operation requested. </td></tr>
<tr><td class="paramname">options</td><td>An optional list of parameters. </td></tr>
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>A new <a class="el" href="classGnome_1_1Gda_1_1ServerOperation.html" title="Handles any DDL query in an abstract way.">Gda::ServerOperation</a> object, or <code>0</code> in the provider does not support the <em>type</em> type of operation or if an error occurred. </dd></dl>
</div>
</div>
<a class="anchor" id="a40140d3885d36e1c9f373dd420fde91c"></a><!-- doxytag: member="Gnome::Gda::ServerProvider::create_operation" ref="a40140d3885d36e1c9f373dd420fde91c" args="(const Glib::RefPtr< Connection > &cnc, ServerOperationType type)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="elRef" >ServerOperation</a>> Gnome::Gda::ServerProvider::create_operation </td>
<td>(</td>
<td class="paramtype">const <a class="elRef" >Connection</a> >& </td>
<td class="paramname"><em>cnc</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="group__libgdammEnums.html#ga0837bde71f4fee1ea3f06a0c22a04d68">ServerOperationType</a> </td>
<td class="paramname"><em>type</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Creates a new <a class="el" href="classGnome_1_1Gda_1_1ServerOperation.html" title="Handles any DDL query in an abstract way.">Gda::ServerOperation</a> object which can be modified in order to perform the <em>type</em> type of action. </p>
<p>The <em>options</em> can contain: <itemizedlist> <listitem>named values which ID is a path in the resulting GdaServerOperation object, to initialize some value</listitem> <listitem>named values which may change the contents of the GdaServerOperation, see this section for more information</listitem> </itemizedlist> </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">cnc</td><td>A <a class="el" href="classGnome_1_1Gda_1_1Connection.html" title="Manages a connection to a data source.">Gda::Connection</a> object which will be used to perform an action, or <code>0</code>. </td></tr>
<tr><td class="paramname">type</td><td>The type of operation requested. </td></tr>
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>A new <a class="el" href="classGnome_1_1Gda_1_1ServerOperation.html" title="Handles any DDL query in an abstract way.">Gda::ServerOperation</a> object, or <code>0</code> in the provider does not support the <em>type</em> type of operation or if an error occurred. </dd></dl>
</div>
</div>
<a class="anchor" id="a8676058daf007a085469999e501dc897"></a><!-- doxytag: member="Gnome::Gda::ServerProvider::create_parser" ref="a8676058daf007a085469999e501dc897" args="(const Glib::RefPtr< Connection > &cnc)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="elRef" >SqlParser</a>> Gnome::Gda::ServerProvider::create_parser </td>
<td>(</td>
<td class="paramtype">const <a class="elRef" >Connection</a> >& </td>
<td class="paramname"><em>cnc</em></td><td>)</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Creates a new <a class="el" href="classGnome_1_1Gda_1_1SqlParser.html" title="SQL parser.">Gda::SqlParser</a> object which is adapted to <em>provider</em> (and possibly depending on <em>cnc</em> for the actual database version). </p>
<p>If <em>prov</em> does not have its own parser, then <code>0</code> is returned, and a general SQL parser can be obtained using Gda::SqlParser::new(). </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">cnc</td><td>A <a class="el" href="classGnome_1_1Gda_1_1Connection.html" title="Manages a connection to a data source.">Gda::Connection</a>, or <code>0</code>. </td></tr>
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>A new <a class="el" href="classGnome_1_1Gda_1_1SqlParser.html" title="SQL parser.">Gda::SqlParser</a> object, or <code>0</code>. </dd></dl>
</div>
</div>
<a class="anchor" id="ac6f68d8e510b327e0b4c4009d8f5c344"></a><!-- doxytag: member="Gnome::Gda::ServerProvider::escape_string" ref="ac6f68d8e510b327e0b4c4009d8f5c344" args="(const Glib::RefPtr< Connection > &cnc, const Glib::ustring &str) const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="elRef" >Glib::ustring</a> Gnome::Gda::ServerProvider::escape_string </td>
<td>(</td>
<td class="paramtype">const <a class="elRef" >Connection</a> >& </td>
<td class="paramname"><em>cnc</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="elRef" >Glib::ustring</a> & </td>
<td class="paramname"><em>str</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> const</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Escapes <em>str</em> for use within an SQL command (to avoid SQL injection attacks). </p>
<p>Note that the returned value still needs to be enclosed in single quotes before being used in an SQL statement. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">cnc</td><td>A <a class="el" href="classGnome_1_1Gda_1_1Connection.html" title="Manages a connection to a data source.">Gda::Connection</a> object, or <code>0</code>. </td></tr>
<tr><td class="paramname">str</td><td>A string to escape. </td></tr>
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>A new string suitable to use in SQL statements. </dd></dl>
</div>
</div>
<a class="anchor" id="a0c9a1f961667cd369d3fbbc4426e2674"></a><!-- doxytag: member="Gnome::Gda::ServerProvider::find_file" ref="a0c9a1f961667cd369d3fbbc4426e2674" args="(const std::string &inst_dir, const std::string &filename)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="elRef" >std::string</a> Gnome::Gda::ServerProvider::find_file </td>
<td>(</td>
<td class="paramtype">const <a class="elRef" >std::string</a> & </td>
<td class="paramname"><em>inst_dir</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="elRef" >std::string</a> & </td>
<td class="paramname"><em>filename</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Finds the location of a <em>filename</em>. </p>
<p>This function should only be used by database provider's implementations </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">inst_dir</td><td>Directory where <em>prov</em> is installed. </td></tr>
<tr><td class="paramname">filename</td><td>Name of the file to find. </td></tr>
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The complete path to <em>filename</em>, or <code>0</code> if not found. </dd></dl>
</div>
</div>
<a class="anchor" id="ab53bdd2874881cc6c6cde71e853197c5"></a><!-- doxytag: member="Gnome::Gda::ServerProvider::get_data_handler_dbms" ref="ab53bdd2874881cc6c6cde71e853197c5" args="(const Glib::RefPtr< Connection > &cnc, const Glib::ustring &for_type)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="elRef" >DataHandler</a>> Gnome::Gda::ServerProvider::get_data_handler_dbms </td>
<td>(</td>
<td class="paramtype">const <a class="elRef" >Connection</a> >& </td>
<td class="paramname"><em>cnc</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="elRef" >Glib::ustring</a> & </td>
<td class="paramname"><em>for_type</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Find a <a class="el" href="classGnome_1_1Gda_1_1DataHandler.html" title="Base class which provides data handling capabilities.">Gda::DataHandler</a> object to manipulate data of type <em>for_type</em>. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">cnc</td><td>A <a class="el" href="classGnome_1_1Gda_1_1Connection.html" title="Manages a connection to a data source.">Gda::Connection</a> object, or <code>0</code>. </td></tr>
<tr><td class="paramname">for_type</td><td>A DBMS type definition. </td></tr>
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>A <a class="el" href="classGnome_1_1Gda_1_1DataHandler.html" title="Base class which provides data handling capabilities.">Gda::DataHandler</a>, or <code>0</code> if the provider does not know about the <em>for_type</em> type. </dd></dl>
</div>
</div>
<a class="anchor" id="a5e69c27a6fc0146ba934ffd783211506"></a><!-- doxytag: member="Gnome::Gda::ServerProvider::get_data_handler_dbms" ref="a5e69c27a6fc0146ba934ffd783211506" args="(const Glib::RefPtr< Connection > &cnc, const Glib::ustring &for_type) const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="elRef" >DataHandler</a>> Gnome::Gda::ServerProvider::get_data_handler_dbms </td>
<td>(</td>
<td class="paramtype">const <a class="elRef" >Connection</a> >& </td>
<td class="paramname"><em>cnc</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="elRef" >Glib::ustring</a> & </td>
<td class="paramname"><em>for_type</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> const</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Find a <a class="el" href="classGnome_1_1Gda_1_1DataHandler.html" title="Base class which provides data handling capabilities.">Gda::DataHandler</a> object to manipulate data of type <em>for_type</em>. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">cnc</td><td>A <a class="el" href="classGnome_1_1Gda_1_1Connection.html" title="Manages a connection to a data source.">Gda::Connection</a> object, or <code>0</code>. </td></tr>
<tr><td class="paramname">for_type</td><td>A DBMS type definition. </td></tr>
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>A <a class="el" href="classGnome_1_1Gda_1_1DataHandler.html" title="Base class which provides data handling capabilities.">Gda::DataHandler</a>, or <code>0</code> if the provider does not know about the <em>for_type</em> type. </dd></dl>
</div>
</div>
<a class="anchor" id="ab72157fd3084bb9262d54364ff89efd4"></a><!-- doxytag: member="Gnome::Gda::ServerProvider::get_data_handler_default" ref="ab72157fd3084bb9262d54364ff89efd4" args="(const Glib::RefPtr< Connection > &cnc, GType type, const Glib::ustring &dbms_type)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="elRef" >DataHandler</a>> Gnome::Gda::ServerProvider::get_data_handler_default </td>
<td>(</td>
<td class="paramtype">const <a class="elRef" >Connection</a> >& </td>
<td class="paramname"><em>cnc</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">GType </td>
<td class="paramname"><em>type</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="elRef" >Glib::ustring</a> & </td>
<td class="paramname"><em>dbms_type</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Provides the implementation when the default Libgda's data handlers must be used. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">cnc</td><td>A <a class="el" href="classGnome_1_1Gda_1_1Connection.html" title="Manages a connection to a data source.">Gda::Connection</a> object, or <code>0</code>. </td></tr>
<tr><td class="paramname">type</td><td>A Type. </td></tr>
<tr><td class="paramname">dbms_type</td><td>A DBMS type definition. </td></tr>
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>A <a class="el" href="classGnome_1_1Gda_1_1DataHandler.html" title="Base class which provides data handling capabilities.">Gda::DataHandler</a>, or <code>0</code>. </dd></dl>
</div>
</div>
<a class="anchor" id="a96b37d74ed54f4dc73d23ce33798b12c"></a><!-- doxytag: member="Gnome::Gda::ServerProvider::get_data_handler_g_type" ref="a96b37d74ed54f4dc73d23ce33798b12c" args="(const Glib::RefPtr< Connection > &cnc, GType for_type)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="elRef" >DataHandler</a>> Gnome::Gda::ServerProvider::get_data_handler_g_type </td>
<td>(</td>
<td class="paramtype">const <a class="elRef" >Connection</a> >& </td>
<td class="paramname"><em>cnc</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">GType </td>
<td class="paramname"><em>for_type</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Find a <a class="el" href="classGnome_1_1Gda_1_1DataHandler.html" title="Base class which provides data handling capabilities.">Gda::DataHandler</a> object to manipulate data of type <em>for_type</em>. </p>
<p>The returned object must not be modified. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">cnc</td><td>A <a class="el" href="classGnome_1_1Gda_1_1Connection.html" title="Manages a connection to a data source.">Gda::Connection</a> object, or <code>0</code>. </td></tr>
<tr><td class="paramname">for_type</td><td>A Type. </td></tr>
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>A <a class="el" href="classGnome_1_1Gda_1_1DataHandler.html" title="Base class which provides data handling capabilities.">Gda::DataHandler</a>, or <code>0</code> if the provider does not support the requested <em>for_type</em> data type. </dd></dl>
</div>
</div>
<a class="anchor" id="ac6f2af26b8476a00c10faf928f3eed98"></a><!-- doxytag: member="Gnome::Gda::ServerProvider::get_data_handler_g_type" ref="ac6f2af26b8476a00c10faf928f3eed98" args="(const Glib::RefPtr< Connection > &cnc, GType for_type) const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="elRef" >DataHandler</a>> Gnome::Gda::ServerProvider::get_data_handler_g_type </td>
<td>(</td>
<td class="paramtype">const <a class="elRef" >Connection</a> >& </td>
<td class="paramname"><em>cnc</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">GType </td>
<td class="paramname"><em>for_type</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> const</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Find a <a class="el" href="classGnome_1_1Gda_1_1DataHandler.html" title="Base class which provides data handling capabilities.">Gda::DataHandler</a> object to manipulate data of type <em>for_type</em>. </p>
<p>The returned object must not be modified. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">cnc</td><td>A <a class="el" href="classGnome_1_1Gda_1_1Connection.html" title="Manages a connection to a data source.">Gda::Connection</a> object, or <code>0</code>. </td></tr>
<tr><td class="paramname">for_type</td><td>A Type. </td></tr>
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>A <a class="el" href="classGnome_1_1Gda_1_1DataHandler.html" title="Base class which provides data handling capabilities.">Gda::DataHandler</a>, or <code>0</code> if the provider does not support the requested <em>for_type</em> data type. </dd></dl>
</div>
</div>
<a class="anchor" id="a3299d59f22bd15d030f7076d49d2b0d9"></a><!-- doxytag: member="Gnome::Gda::ServerProvider::get_default_dbms_type" ref="a3299d59f22bd15d030f7076d49d2b0d9" args="(const Glib::RefPtr< Connection > &cnc, GType type) const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="elRef" >Glib::ustring</a> Gnome::Gda::ServerProvider::get_default_dbms_type </td>
<td>(</td>
<td class="paramtype">const <a class="elRef" >Connection</a> >& </td>
<td class="paramname"><em>cnc</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">GType </td>
<td class="paramname"><em>type</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> const</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Get the name of the most common data type which has <em>type</em> type. </p>
<p>The returned value may be <code>0</code> either if the provider does not implement that method, or if there is no DBMS data type which could contain data of the <em>g_type</em> type (for example <code>0</code> may be returned if a DBMS has integers only up to 4 bytes and a G_TYPE_INT64 is requested). </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">cnc</td><td>A <a class="el" href="classGnome_1_1Gda_1_1Connection.html" title="Manages a connection to a data source.">Gda::Connection</a> object or <code>0</code>. </td></tr>
<tr><td class="paramname">type</td><td>A Type value type. </td></tr>
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The name of the DBMS type, or <code>0</code>. </dd></dl>
</div>
</div>
<a class="anchor" id="afb105f5c4efa2ced404d56c25e5ec622"></a><!-- doxytag: member="Gnome::Gda::ServerProvider::get_name" ref="afb105f5c4efa2ced404d56c25e5ec622" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="elRef" >Glib::ustring</a> Gnome::Gda::ServerProvider::get_name </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Get the name (identifier) of the provider. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>A string containing the provider's name. </dd></dl>
</div>
</div>
<a class="anchor" id="ac74e97c24d325d2a3d203d06e8538350"></a><!-- doxytag: member="Gnome::Gda::ServerProvider::get_server_version" ref="ac74e97c24d325d2a3d203d06e8538350" args="(const Glib::RefPtr< Connection > &cnc) const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="elRef" >Glib::ustring</a> Gnome::Gda::ServerProvider::get_server_version </td>
<td>(</td>
<td class="paramtype">const <a class="elRef" >Connection</a> >& </td>
<td class="paramname"><em>cnc</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Get the version of the database to which the connection is opened. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">cnc</td><td>A <a class="el" href="classGnome_1_1Gda_1_1Connection.html" title="Manages a connection to a data source.">Gda::Connection</a> object. </td></tr>
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>A (read only) string, or <code>0</code> if an error occurred. </dd></dl>
</div>
</div>
<a class="anchor" id="af8e3d359b247bb956087b0c6d910f928"></a><!-- doxytag: member="Gnome::Gda::ServerProvider::get_version" ref="af8e3d359b247bb956087b0c6d910f928" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="elRef" >Glib::ustring</a> Gnome::Gda::ServerProvider::get_version </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Get the version of the provider. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>A string containing the version identification. </dd></dl>
</div>
</div>
<a class="anchor" id="a427b7eb26c0ab7c79c217342c4e7bb73"></a><!-- doxytag: member="Gnome::Gda::ServerProvider::gobj" ref="a427b7eb26c0ab7c79c217342c4e7bb73" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">GdaServerProvider* Gnome::Gda::ServerProvider::gobj </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td><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" >Glib::ObjectBase</a>.</p>
</div>
</div>
<a class="anchor" id="a89d78b117d8c00e9361c76f502441a8f"></a><!-- doxytag: member="Gnome::Gda::ServerProvider::gobj" ref="a89d78b117d8c00e9361c76f502441a8f" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const GdaServerProvider* Gnome::Gda::ServerProvider::gobj </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> 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" >Glib::ObjectBase</a>.</p>
</div>
</div>
<a class="anchor" id="ab1aafbbf95a594492ab048d8086f4a83"></a><!-- doxytag: member="Gnome::Gda::ServerProvider::gobj_copy" ref="ab1aafbbf95a594492ab048d8086f4a83" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">GdaServerProvider* Gnome::Gda::ServerProvider::gobj_copy </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></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>
<a class="anchor" id="aae525130d168a277ef8c0afffbf58e89"></a><!-- doxytag: member="Gnome::Gda::ServerProvider::perform_operation" ref="aae525130d168a277ef8c0afffbf58e89" args="(const Glib::RefPtr< Connection > &cnc, const Glib::RefPtr< ServerOperation > &op)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool Gnome::Gda::ServerProvider::perform_operation </td>
<td>(</td>
<td class="paramtype">const <a class="elRef" >Connection</a> >& </td>
<td class="paramname"><em>cnc</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="elRef" >ServerOperation</a> >& </td>
<td class="paramname"><em>op</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Performs the operation described by <em>op</em>. </p>
<p>Note that <em>op</em> is not destroyed by this method and can be reused. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">cnc</td><td>A <a class="el" href="classGnome_1_1Gda_1_1Connection.html" title="Manages a connection to a data source.">Gda::Connection</a> object which will be used to perform the action, or <code>0</code>. </td></tr>
<tr><td class="paramname">op</td><td>A <a class="el" href="classGnome_1_1Gda_1_1ServerOperation.html" title="Handles any DDL query in an abstract way.">Gda::ServerOperation</a> object. </td></tr>
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> if no error occurred. </dd></dl>
</div>
</div>
<a class="anchor" id="ab2d480317b584f041ab74a72b5977bc0"></a><!-- doxytag: member="Gnome::Gda::ServerProvider::perform_operation_default" ref="ab2d480317b584f041ab74a72b5977bc0" args="(const Glib::RefPtr< Connection > &cnc, const Glib::RefPtr< ServerOperation > &op)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool Gnome::Gda::ServerProvider::perform_operation_default </td>
<td>(</td>
<td class="paramtype">const <a class="elRef" >Connection</a> >& </td>
<td class="paramname"><em>cnc</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="elRef" >ServerOperation</a> >& </td>
<td class="paramname"><em>op</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Performs the operation described by <em>op</em>, using the SQL from the rendering of the operation. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">cnc</td><td>A <a class="el" href="classGnome_1_1Gda_1_1Connection.html" title="Manages a connection to a data source.">Gda::Connection</a> object which will be used to perform an action, or <code>0</code>. </td></tr>
<tr><td class="paramname">op</td><td>A <a class="el" href="classGnome_1_1Gda_1_1ServerOperation.html" title="Handles any DDL query in an abstract way.">Gda::ServerOperation</a> object. </td></tr>
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> if no error occurred. </dd></dl>
</div>
</div>
<a class="anchor" id="a08fdb984181e75e38721d7a87e4f87d1"></a><!-- doxytag: member="Gnome::Gda::ServerProvider::render_operation" ref="a08fdb984181e75e38721d7a87e4f87d1" args="(const Glib::RefPtr< Connection > &cnc, const Glib::RefPtr< ServerOperation > &op)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="elRef" >Glib::ustring</a> Gnome::Gda::ServerProvider::render_operation </td>
<td>(</td>
<td class="paramtype">const <a class="elRef" >Connection</a> >& </td>
<td class="paramname"><em>cnc</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="elRef" >ServerOperation</a> >& </td>
<td class="paramname"><em>op</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Creates an SQL statement (possibly using some specific extensions of the DBMS) corresponding to the <em>op</em> operation. </p>
<p>Note that the returned string may actually contain more than one SQL statement.</p>
<p>This function's purpose is mainly informative to get the actual SQL code which would be executed to perform the operation; to actually perform the operation, use <a class="el" href="classGnome_1_1Gda_1_1ServerProvider.html#aae525130d168a277ef8c0afffbf58e89" title="Performs the operation described by op.">perform_operation()</a>. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">cnc</td><td>A <a class="el" href="classGnome_1_1Gda_1_1Connection.html" title="Manages a connection to a data source.">Gda::Connection</a> object which will be used to render the action, or <code>0</code>. </td></tr>
<tr><td class="paramname">op</td><td>A <a class="el" href="classGnome_1_1Gda_1_1ServerOperation.html" title="Handles any DDL query in an abstract way.">Gda::ServerOperation</a> object. </td></tr>
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>A new string, or <code>0</code> if an error occurred or operation cannot be rendered as SQL. </dd></dl>
</div>
</div>
<a class="anchor" id="aeee884d74e76b80b6bc8a2efbc85de89"></a><!-- doxytag: member="Gnome::Gda::ServerProvider::string_to_value" ref="aeee884d74e76b80b6bc8a2efbc85de89" args="(const Glib::RefPtr< Connection > &cnc, const Glib::ustring &string, GType prefered_type, Glib::ustring &dbms_type) 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::ServerProvider::string_to_value </td>
<td>(</td>
<td class="paramtype">const <a class="elRef" >Connection</a> >& </td>
<td class="paramname"><em>cnc</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="elRef" >Glib::ustring</a> & </td>
<td class="paramname"><em>string</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">GType </td>
<td class="paramname"><em>prefered_type</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="elRef" >Glib::ustring</a> & </td>
<td class="paramname"><em>dbms_type</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> const</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Use <em>provider</em> to create a new <a class="el" href="classGnome_1_1Gda_1_1Value.html" title="Use value_type() to identify the value type at runtime.">Value</a> from a single string representation. </p>
<p>The <em>preferred_type</em> can optionally ask <em>provider</em> to return a <a class="el" href="classGnome_1_1Gda_1_1Value.html" title="Use value_type() to identify the value type at runtime.">Value</a> of the requested type (but if such a value can't be created from <em>string</em>, then <code>0</code> is returned); pass G_TYPE_INVALID if any returned type is acceptable.</p>
<p>The returned value is either a new <a class="el" href="classGnome_1_1Gda_1_1Value.html" title="Use value_type() to identify the value type at runtime.">Value</a> or <code>0</code> in the following cases:</p>
<ul>
<li><em>string</em> cannot be converted to <em>preferred_type</em> type</li>
<li>the provider does not handle <em>preferred_type</em> </li>
<li>the provider could not make a <a class="el" href="classGnome_1_1Gda_1_1Value.html" title="Use value_type() to identify the value type at runtime.">Value</a> from <em>string</em> </li>
</ul>
<p>If <em>dbms_type</em> is not <code>0</code>, then if will contain a constant string representing the database type used for the conversion if the conversion was successfull, or <code>0</code> otherwise. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">cnc</td><td>A <a class="el" href="classGnome_1_1Gda_1_1Connection.html" title="Manages a connection to a data source.">Gda::Connection</a> object, or <code>0</code>. </td></tr>
<tr><td class="paramname">string</td><td>The SQL string to convert to a value. </td></tr>
<tr><td class="paramname">preferred_type</td><td>A Type, or G_TYPE_INVALID. </td></tr>
<tr><td class="paramname">dbms_type</td><td>Place to get the actual database type used if the conversion succeeded, or <code>0</code>. </td></tr>
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>A new <a class="el" href="classGnome_1_1Gda_1_1Value.html" title="Use value_type() to identify the value type at runtime.">Value</a>, or <code>0</code>. </dd></dl>
</div>
</div>
<a class="anchor" id="adfe7d8ba1f6832c4d1c391a353634b64"></a><!-- doxytag: member="Gnome::Gda::ServerProvider::supports_feature" ref="adfe7d8ba1f6832c4d1c391a353634b64" args="(const Glib::RefPtr< Connection > &cnc, ConnectionFeature feature) const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool Gnome::Gda::ServerProvider::supports_feature </td>
<td>(</td>
<td class="paramtype">const <a class="elRef" >Connection</a> >& </td>
<td class="paramname"><em>cnc</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="group__libgdammEnums.html#gaee005a48de360a73b16849b8a3f46b39">ConnectionFeature</a> </td>
<td class="paramname"><em>feature</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> const</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Tests if a feature is supported. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">cnc</td><td>A <a class="el" href="classGnome_1_1Gda_1_1Connection.html" title="Manages a connection to a data source.">Gda::Connection</a> object, or <code>0</code>. </td></tr>
<tr><td class="paramname">feature</td><td><a class="el" href="group__libgdammEnums.html#gaee005a48de360a73b16849b8a3f46b39">Gda::ConnectionFeature</a> feature to test. </td></tr>
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> if <em>feature</em> is supported. </dd></dl>
</div>
</div>
<a class="anchor" id="aa3aa832d11006c0fbc7cd643dd75af19"></a><!-- doxytag: member="Gnome::Gda::ServerProvider::supports_operation" ref="aa3aa832d11006c0fbc7cd643dd75af19" args="(const Glib::RefPtr< Connection > &cnc, ServerOperationType type, const Glib::RefPtr< Set > &options) const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool Gnome::Gda::ServerProvider::supports_operation </td>
<td>(</td>
<td class="paramtype">const <a class="elRef" >Connection</a> >& </td>
<td class="paramname"><em>cnc</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="group__libgdammEnums.html#ga0837bde71f4fee1ea3f06a0c22a04d68">ServerOperationType</a> </td>
<td class="paramname"><em>type</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="elRef" >Set</a> >& </td>
<td class="paramname"><em>options</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> const</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Tells if <em>provider</em> supports the <em>type</em> of operation on the <em>cnc</em> connection, using the (optional) <em>options</em> parameters. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">cnc</td><td>A <a class="el" href="classGnome_1_1Gda_1_1Connection.html" title="Manages a connection to a data source.">Gda::Connection</a> object which would be used to perform an action, or <code>0</code>. </td></tr>
<tr><td class="paramname">type</td><td>The type of operation requested. </td></tr>
<tr><td class="paramname">options</td><td>A list of named parameters, or <code>0</code>. </td></tr>
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> if the operation is supported. </dd></dl>
</div>
</div>
<a class="anchor" id="a552849055020d6d386d4706a9bbf3fbe"></a><!-- doxytag: member="Gnome::Gda::ServerProvider::supports_operation" ref="a552849055020d6d386d4706a9bbf3fbe" args="(const Glib::RefPtr< Connection > &cnc, ServerOperationType type) const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool Gnome::Gda::ServerProvider::supports_operation </td>
<td>(</td>
<td class="paramtype">const <a class="elRef" >Connection</a> >& </td>
<td class="paramname"><em>cnc</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="group__libgdammEnums.html#ga0837bde71f4fee1ea3f06a0c22a04d68">ServerOperationType</a> </td>
<td class="paramname"><em>type</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> const</td>
</tr>
</table>
</div>
<div class="memdoc">
</div>
</div>
<a class="anchor" id="afa5e4d7ba8f96c27ccb34013feae689c"></a><!-- doxytag: member="Gnome::Gda::ServerProvider::unescape_string" ref="afa5e4d7ba8f96c27ccb34013feae689c" args="(const Glib::RefPtr< Connection > &cnc, const Glib::ustring &str) const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="elRef" >Glib::ustring</a> Gnome::Gda::ServerProvider::unescape_string </td>
<td>(</td>
<td class="paramtype">const <a class="elRef" >Connection</a> >& </td>
<td class="paramname"><em>cnc</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="elRef" >Glib::ustring</a> & </td>
<td class="paramname"><em>str</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> const</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Unescapes <em>str</em> for use within an SQL command. </p>
<p>This is the exact opposite of <a class="el" href="classGnome_1_1Gda_1_1ServerProvider.html#ac6f68d8e510b327e0b4c4009d8f5c344" title="Escapes str for use within an SQL command (to avoid SQL injection attacks).">escape_string()</a>. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">cnc</td><td>A <a class="el" href="classGnome_1_1Gda_1_1Connection.html" title="Manages a connection to a data source.">Gda::Connection</a> object, or <code>0</code>. </td></tr>
<tr><td class="paramname">str</td><td>A string to escape. </td></tr>
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>A new string. </dd></dl>
</div>
</div>
<a class="anchor" id="a527404495e6b14c38710f52c5fb1c3e9"></a><!-- doxytag: member="Gnome::Gda::ServerProvider::value_to_sql_string" ref="a527404495e6b14c38710f52c5fb1c3e9" args="(const Glib::RefPtr< Connection > &cnc, const Value &from) const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="elRef" >Glib::ustring</a> Gnome::Gda::ServerProvider::value_to_sql_string </td>
<td>(</td>
<td class="paramtype">const <a class="elRef" >Connection</a> >& </td>
<td class="paramname"><em>cnc</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>& </td>
<td class="paramname"><em>from</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> const</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Produces a fully quoted and escaped string from a GValue. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">cnc</td><td>A <a class="el" href="classGnome_1_1Gda_1_1Connection.html" title="Manages a connection to a data source.">Gda::Connection</a> object, or <code>0</code>. </td></tr>
<tr><td class="paramname">from</td><td><a class="el" href="classGnome_1_1Gda_1_1Value.html" title="Use value_type() to identify the value type at runtime.">Value</a> to convert from. </td></tr>
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>Escaped and quoted value or <code>0</code> if not supported. </dd></dl>
</div>
</div>
<hr/><h2>Friends And Related Function Documentation</h2>
<a class="anchor" id="a5399c8489e1672bf48c77eec1d7318bf"></a><!-- doxytag: member="Gnome::Gda::ServerProvider::wrap" ref="a5399c8489e1672bf48c77eec1d7318bf" args="(GdaServerProvider *object, bool take_copy=false)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="elRef" >Gnome::Gda::ServerProvider</a> > wrap </td>
<td>(</td>
<td class="paramtype">GdaServerProvider * </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>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td><code> [related]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>A <a class="elRef" >Glib::wrap()</a> method for this object. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">object</td><td>The C instance. </td></tr>
<tr><td class="paramname">take_copy</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>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>A C++ instance that wraps this C instance. </dd></dl>
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>libgdamm/serverprovider.h</li>
</ul>
</div>
<hr class="footer"/><address class="footer"><small>
Generated on Sun Nov 20 2011 22:38:13 for libgdamm by  <a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.7.5.1-20110925
</small></address>
</body>
</html>
|