Sophie

Sophie

distrib > * > 2010.0 > * > by-pkgid > 8d90331d2ecb84d76208e0114aebc325 > files > 186

lib64gdamm4.0-devel-3.99.17.1-1mdv2010.0.x86_64.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;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>
<!-- Generated by Doxygen 1.5.8 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;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 class="tabs">
    <ul>
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
  <div class="navpath"><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_1ServerProvider.html">ServerProvider</a>
  </div>
</div>
<div class="contents">
<h1>Gnome::Gda::ServerProvider Class Reference</h1><!-- doxytag: class="Gnome::Gda::ServerProvider" --><!-- doxytag: inherits="Glib::Object" -->Base class for all the DBMS providers. <a href="#_details">More...</a>
<p>
Inherits <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1Object.html">Glib::Object</a>.
<p>
<div class="dynheader">
Collaboration diagram for Gnome::Gda::ServerProvider:</div>
<div class="dynsection">
<p><center><img src="classGnome_1_1Gda_1_1ServerProvider__coll__graph.png" border="0" usemap="#Gnome_1_1Gda_1_1ServerProvider__coll__map" alt="Collaboration graph"></center>
<map name="Gnome_1_1Gda_1_1ServerProvider__coll__map">
<area shape="rect" href="../../../glibmm-2.4/reference/html/classGlib_1_1Object.html" title="Glib::Object" alt="" coords="55,155,145,181"><area shape="rect" href="../../../glibmm-2.4/reference/html/classGlib_1_1ObjectBase.html" title="Glib::ObjectBase" alt="" coords="40,80,160,107"><area shape="rect" href="../../../libsigc++-2.0/reference/html/structsigc_1_1trackable.html" title="sigc::trackable" alt="" coords="47,5,153,32"></map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div>

<p>
<a href="classGnome_1_1Gda_1_1ServerProvider-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">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1ServerProvider.html#70f21177f5c62a74e61117889d82ec58">~ServerProvider</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">GdaServerProvider*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1ServerProvider.html#427b7eb26c0ab7c79c217342c4e7bb73">gobj</a> ()</td></tr>

<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Provides access to the underlying C GObject. <a href="#427b7eb26c0ab7c79c217342c4e7bb73"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">const GdaServerProvider*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1ServerProvider.html#89d78b117d8c00e9361c76f502441a8f">gobj</a> () const </td></tr>

<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Provides access to the underlying C GObject. <a href="#89d78b117d8c00e9361c76f502441a8f"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">GdaServerProvider*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1ServerProvider.html#b1aafbbf95a594492ab048d8086f4a83">gobj_copy</a> ()</td></tr>

<tr><td class="mdescLeft">&#160;</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="#b1aafbbf95a594492ab048d8086f4a83"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1ServerProvider.html#f8e3d359b247bb956087b0c6d910f928">get_version</a> () const </td></tr>

<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the version of the provider. <a href="#f8e3d359b247bb956087b0c6d910f928"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1ServerProvider.html#c74e97c24d325d2a3d203d06e8538350">get_server_version</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGnome_1_1Gda_1_1Connection.html">Connection</a> &gt;&amp; cnc) const </td></tr>

<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the version of the database to which the connection is opened. <a href="#c74e97c24d325d2a3d203d06e8538350"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1ServerProvider.html#a3aa832d11006c0fbc7cd643dd75af19">supports_operation</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGnome_1_1Gda_1_1Connection.html">Connection</a> &gt;&amp; cnc, <a class="el" href="group__libgdammEnums.html#g0837bde71f4fee1ea3f06a0c22a04d68">ServerOperationType</a> type, const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGnome_1_1Gda_1_1Set.html">Set</a> &gt;&amp; options) const </td></tr>

<tr><td class="mdescLeft">&#160;</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="#a3aa832d11006c0fbc7cd643dd75af19"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGnome_1_1Gda_1_1ServerOperation.html">ServerOperation</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1ServerProvider.html#90b2a3f982289e55ce65dfd04fe125d0">create_operation</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGnome_1_1Gda_1_1Connection.html">Connection</a> &gt;&amp; cnc, <a class="el" href="group__libgdammEnums.html#g0837bde71f4fee1ea3f06a0c22a04d68">ServerOperationType</a> type, const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGnome_1_1Gda_1_1Set.html">Set</a> &gt;&amp; options)</td></tr>

<tr><td class="mdescLeft">&#160;</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="#90b2a3f982289e55ce65dfd04fe125d0"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGnome_1_1Gda_1_1ServerOperation.html">ServerOperation</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1ServerProvider.html#40140d3885d36e1c9f373dd420fde91c">create_operation</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGnome_1_1Gda_1_1Connection.html">Connection</a> &gt;&amp; cnc, <a class="el" href="group__libgdammEnums.html#g0837bde71f4fee1ea3f06a0c22a04d68">ServerOperationType</a> type)</td></tr>

<tr><td class="mdescLeft">&#160;</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="#40140d3885d36e1c9f373dd420fde91c"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1ServerProvider.html#08fdb984181e75e38721d7a87e4f87d1">render_operation</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGnome_1_1Gda_1_1Connection.html">Connection</a> &gt;&amp; cnc, const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGnome_1_1Gda_1_1ServerOperation.html">ServerOperation</a> &gt;&amp; op)</td></tr>

<tr><td class="mdescLeft">&#160;</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="#08fdb984181e75e38721d7a87e4f87d1"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1ServerProvider.html#ae525130d168a277ef8c0afffbf58e89">perform_operation</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGnome_1_1Gda_1_1Connection.html">Connection</a> &gt;&amp; cnc, const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGnome_1_1Gda_1_1ServerOperation.html">ServerOperation</a> &gt;&amp; op)</td></tr>

<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Performs the operation described by <em>op</em>. <a href="#ae525130d168a277ef8c0afffbf58e89"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1ServerProvider.html#dfe7d8ba1f6832c4d1c391a353634b64">supports_feature</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGnome_1_1Gda_1_1Connection.html">Connection</a> &gt;&amp; cnc, <a class="el" href="group__libgdammEnums.html#gee005a48de360a73b16849b8a3f46b39">ConnectionFeature</a> feature) const </td></tr>

<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Tests if a feature is supported. <a href="#dfe7d8ba1f6832c4d1c391a353634b64"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1ServerProvider.html#527404495e6b14c38710f52c5fb1c3e9">value_to_sql_string</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGnome_1_1Gda_1_1Connection.html">Connection</a> &gt;&amp; cnc, const <a class="el" href="classGnome_1_1Gda_1_1Value.html">Value</a>&amp; from) const </td></tr>

<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Produces a fully quoted and escaped string from a GValue. <a href="#527404495e6b14c38710f52c5fb1c3e9"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1ServerProvider.html#c6f68d8e510b327e0b4c4009d8f5c344">escape_string</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGnome_1_1Gda_1_1Connection.html">Connection</a> &gt;&amp; cnc, const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&amp; str) const </td></tr>

<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Escapes <em>str</em> for use within an SQL command (to avoid SQL injection attacks). <a href="#c6f68d8e510b327e0b4c4009d8f5c344"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1ServerProvider.html#fa5e4d7ba8f96c27ccb34013feae689c">unescape_string</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGnome_1_1Gda_1_1Connection.html">Connection</a> &gt;&amp; cnc, const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&amp; str) const </td></tr>

<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Unescapes <em>str</em> for use within an SQL command. <a href="#fa5e4d7ba8f96c27ccb34013feae689c"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGnome_1_1Gda_1_1DataHandler.html">DataHandler</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1ServerProvider.html#b53bdd2874881cc6c6cde71e853197c5">get_data_handler_dbms</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGnome_1_1Gda_1_1Connection.html">Connection</a> &gt;&amp; cnc, const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&amp; for_type)</td></tr>

<tr><td class="mdescLeft">&#160;</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="#b53bdd2874881cc6c6cde71e853197c5"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; const <a class="el" href="classGnome_1_1Gda_1_1DataHandler.html">DataHandler</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1ServerProvider.html#5e69c27a6fc0146ba934ffd783211506">get_data_handler_dbms</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGnome_1_1Gda_1_1Connection.html">Connection</a> &gt;&amp; cnc, const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&amp; for_type) const </td></tr>

<tr><td class="mdescLeft">&#160;</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="#5e69c27a6fc0146ba934ffd783211506"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGnome_1_1Gda_1_1DataHandler.html">DataHandler</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1ServerProvider.html#96b37d74ed54f4dc73d23ce33798b12c">get_data_handler_g_type</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGnome_1_1Gda_1_1Connection.html">Connection</a> &gt;&amp; cnc, GType for_type)</td></tr>

<tr><td class="mdescLeft">&#160;</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="#96b37d74ed54f4dc73d23ce33798b12c"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; const <a class="el" href="classGnome_1_1Gda_1_1DataHandler.html">DataHandler</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1ServerProvider.html#c6f2af26b8476a00c10faf928f3eed98">get_data_handler_g_type</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGnome_1_1Gda_1_1Connection.html">Connection</a> &gt;&amp; cnc, GType for_type) const </td></tr>

<tr><td class="mdescLeft">&#160;</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="#c6f2af26b8476a00c10faf928f3eed98"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1ServerProvider.html#3299d59f22bd15d030f7076d49d2b0d9">get_default_dbms_type</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGnome_1_1Gda_1_1Connection.html">Connection</a> &gt;&amp; cnc, GType type) const </td></tr>

<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the name of the most common data type which has <em>type</em> type. <a href="#3299d59f22bd15d030f7076d49d2b0d9"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1ServerProvider.html#fb105f5c4efa2ced404d56c25e5ec622">get_name</a> () const </td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGnome_1_1Gda_1_1SqlParser.html">SqlParser</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1ServerProvider.html#8676058daf007a085469999e501dc897">create_parser</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGnome_1_1Gda_1_1Connection.html">Connection</a> &gt;&amp; cnc)</td></tr>

<tr><td class="mdescLeft">&#160;</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="#8676058daf007a085469999e501dc897"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classGnome_1_1Gda_1_1Value.html">Value</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1ServerProvider.html#eee884d74e76b80b6bc8a2efbc85de89">string_to_value</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGnome_1_1Gda_1_1Connection.html">Connection</a> &gt;&amp; cnc, const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&amp;<a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a00962.html#f4d08898cac5ae6fe1d0a15a6f90d271">string</a>, GType prefered_type, <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&amp; dbms_type) const </td></tr>

<tr><td class="mdescLeft">&#160;</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="#eee884d74e76b80b6bc8a2efbc85de89"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGnome_1_1Gda_1_1DataHandler.html">DataHandler</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1ServerProvider.html#b72157fd3084bb9262d54364ff89efd4">get_data_handler_default</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGnome_1_1Gda_1_1Connection.html">Connection</a> &gt;&amp; cnc, GType type, const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&amp; dbms_type)</td></tr>

<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Provides the implementation when the default Libgda's data handlers must be used. <a href="#b72157fd3084bb9262d54364ff89efd4"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a00969.html#32db3d9898c44d3b3a578b560f7758cc">std::string</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1ServerProvider.html#0c9a1f961667cd369d3fbbc4426e2674">find_file</a> (const <a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a00969.html#32db3d9898c44d3b3a578b560f7758cc">std::string</a>&amp; inst_dir, const <a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a00969.html#32db3d9898c44d3b3a578b560f7758cc">std::string</a>&amp; filename)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1ServerProvider.html#b2d480317b584f041ab74a72b5977bc0">perform_operation_default</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGnome_1_1Gda_1_1Connection.html">Connection</a> &gt;&amp; cnc, const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGnome_1_1Gda_1_1ServerOperation.html">ServerOperation</a> &gt;&amp; op)</td></tr>

<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Performs the operation described by <em>op</em>, using the SQL from the rendering of the operation. <a href="#b2d480317b584f041ab74a72b5977bc0"></a><br></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" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a><br class="typebreak">
&lt; <a class="el" href="classGnome_1_1Gda_1_1ServerProvider.html">Gnome::Gda::ServerProvider</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1ServerProvider.html#5399c8489e1672bf48c77eec1d7318bf">wrap</a> (GdaServerProvider* object, bool take_copy=false)</td></tr>

<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">A <a class="elRef" href="../../../glibmm-2.4/reference/html/namespaceGlib.html#671306f4a3a0cae5ab4d7a9d54886592">Glib::wrap()</a> method for this object. <a href="#5399c8489e1672bf48c77eec1d7318bf"></a><br></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
Base class for all the DBMS providers. <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. <hr><h2>Constructor&amp; Destructor Documentation</h2>
<a class="anchor" name="70f21177f5c62a74e61117889d82ec58"></a><!-- doxytag: member="Gnome::Gda::ServerProvider::~ServerProvider" ref="70f21177f5c62a74e61117889d82ec58" 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>&#160;)&#160;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="40140d3885d36e1c9f373dd420fde91c"></a><!-- doxytag: member="Gnome::Gda::ServerProvider::create_operation" ref="40140d3885d36e1c9f373dd420fde91c" args="(const Glib::RefPtr&lt; Connection &gt; &amp;cnc, ServerOperationType type)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classGnome_1_1Gda_1_1ServerOperation.html">ServerOperation</a>&gt; Gnome::Gda::ServerProvider::create_operation </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGnome_1_1Gda_1_1Connection.html">Connection</a> &gt;&amp;&#160;</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#g0837bde71f4fee1ea3f06a0c22a04d68">ServerOperationType</a>&#160;</td>
          <td class="paramname"> <em>type</em></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <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>
The <em>options</em> can contain: &lt;itemizedlist&gt; &lt;listitem&gt;named values which ID is a path in the resulting GdaServerOperation object, to initialize some value&lt;/listitem&gt; &lt;listitem&gt;named values which may change the contents of the GdaServerOperation, see this section for more information&lt;/listitem&gt; &lt;/itemizedlist&gt; <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>&#160;</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 valign="top"></td><td valign="top"><em>type</em>&#160;</td><td>The type of operation requested. </td></tr>
  </table>
</dl>
<dl class="return" compact><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><p>
<a class="anchor" name="90b2a3f982289e55ce65dfd04fe125d0"></a><!-- doxytag: member="Gnome::Gda::ServerProvider::create_operation" ref="90b2a3f982289e55ce65dfd04fe125d0" args="(const Glib::RefPtr&lt; Connection &gt; &amp;cnc, ServerOperationType type, const Glib::RefPtr&lt; Set &gt; &amp;options)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classGnome_1_1Gda_1_1ServerOperation.html">ServerOperation</a>&gt; Gnome::Gda::ServerProvider::create_operation </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGnome_1_1Gda_1_1Connection.html">Connection</a> &gt;&amp;&#160;</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#g0837bde71f4fee1ea3f06a0c22a04d68">ServerOperationType</a>&#160;</td>
          <td class="paramname"> <em>type</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGnome_1_1Gda_1_1Set.html">Set</a> &gt;&amp;&#160;</td>
          <td class="paramname"> <em>options</em></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <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>
The <em>options</em> can contain: &lt;itemizedlist&gt; &lt;listitem&gt;named values which ID is a path in the resulting GdaServerOperation object, to initialize some value&lt;/listitem&gt; &lt;listitem&gt;named values which may change the contents of the GdaServerOperation, see this section for more information&lt;/listitem&gt; &lt;/itemizedlist&gt; <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>&#160;</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 valign="top"></td><td valign="top"><em>type</em>&#160;</td><td>The type of operation requested. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>options</em>&#160;</td><td>An optional list of parameters. </td></tr>
  </table>
</dl>
<dl class="return" compact><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><p>
<a class="anchor" name="8676058daf007a085469999e501dc897"></a><!-- doxytag: member="Gnome::Gda::ServerProvider::create_parser" ref="8676058daf007a085469999e501dc897" args="(const Glib::RefPtr&lt; Connection &gt; &amp;cnc)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classGnome_1_1Gda_1_1SqlParser.html">SqlParser</a>&gt; Gnome::Gda::ServerProvider::create_parser </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGnome_1_1Gda_1_1Connection.html">Connection</a> &gt;&amp;&#160;</td>
          <td class="paramname"> <em>cnc</em> </td>
          <td>&#160;)&#160;</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>
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(). <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>&#160;</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>
</dl>
<dl class="return" compact><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><p>
<a class="anchor" name="c6f68d8e510b327e0b4c4009d8f5c344"></a><!-- doxytag: member="Gnome::Gda::ServerProvider::escape_string" ref="c6f68d8e510b327e0b4c4009d8f5c344" args="(const Glib::RefPtr&lt; Connection &gt; &amp;cnc, const Glib::ustring &amp;str) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> Gnome::Gda::ServerProvider::escape_string </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGnome_1_1Gda_1_1Connection.html">Connection</a> &gt;&amp;&#160;</td>
          <td class="paramname"> <em>cnc</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> &amp;&#160;</td>
          <td class="paramname"> <em>str</em></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <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>
Note that the returned value still needs to be enclosed in single quotes before being used in an SQL statement. <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>&#160;</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 valign="top"></td><td valign="top"><em>str</em>&#160;</td><td>A string to escape. </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>A new string suitable to use in SQL statements. </dd></dl>

</div>
</div><p>
<a class="anchor" name="0c9a1f961667cd369d3fbbc4426e2674"></a><!-- doxytag: member="Gnome::Gda::ServerProvider::find_file" ref="0c9a1f961667cd369d3fbbc4426e2674" args="(const std::string &amp;inst_dir, const std::string &amp;filename)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a00969.html#32db3d9898c44d3b3a578b560f7758cc">std::string</a> Gnome::Gda::ServerProvider::find_file </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a00969.html#32db3d9898c44d3b3a578b560f7758cc">std::string</a> &amp;&#160;</td>
          <td class="paramname"> <em>inst_dir</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a00969.html#32db3d9898c44d3b3a578b560f7758cc">std::string</a> &amp;&#160;</td>
          <td class="paramname"> <em>filename</em></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<a class="anchor" name="5e69c27a6fc0146ba934ffd783211506"></a><!-- doxytag: member="Gnome::Gda::ServerProvider::get_data_handler_dbms" ref="5e69c27a6fc0146ba934ffd783211506" args="(const Glib::RefPtr&lt; Connection &gt; &amp;cnc, const Glib::ustring &amp;for_type) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;const <a class="el" href="classGnome_1_1Gda_1_1DataHandler.html">DataHandler</a>&gt; Gnome::Gda::ServerProvider::get_data_handler_dbms </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGnome_1_1Gda_1_1Connection.html">Connection</a> &gt;&amp;&#160;</td>
          <td class="paramname"> <em>cnc</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> &amp;&#160;</td>
          <td class="paramname"> <em>for_type</em></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <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 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>&#160;</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 valign="top"></td><td valign="top"><em>for_type</em>&#160;</td><td>A DBMS type definition. </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" 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><p>
<a class="anchor" name="b53bdd2874881cc6c6cde71e853197c5"></a><!-- doxytag: member="Gnome::Gda::ServerProvider::get_data_handler_dbms" ref="b53bdd2874881cc6c6cde71e853197c5" args="(const Glib::RefPtr&lt; Connection &gt; &amp;cnc, const Glib::ustring &amp;for_type)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classGnome_1_1Gda_1_1DataHandler.html">DataHandler</a>&gt; Gnome::Gda::ServerProvider::get_data_handler_dbms </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGnome_1_1Gda_1_1Connection.html">Connection</a> &gt;&amp;&#160;</td>
          <td class="paramname"> <em>cnc</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> &amp;&#160;</td>
          <td class="paramname"> <em>for_type</em></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <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 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>&#160;</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 valign="top"></td><td valign="top"><em>for_type</em>&#160;</td><td>A DBMS type definition. </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" 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><p>
<a class="anchor" name="b72157fd3084bb9262d54364ff89efd4"></a><!-- doxytag: member="Gnome::Gda::ServerProvider::get_data_handler_default" ref="b72157fd3084bb9262d54364ff89efd4" args="(const Glib::RefPtr&lt; Connection &gt; &amp;cnc, GType type, const Glib::ustring &amp;dbms_type)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classGnome_1_1Gda_1_1DataHandler.html">DataHandler</a>&gt; Gnome::Gda::ServerProvider::get_data_handler_default </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGnome_1_1Gda_1_1Connection.html">Connection</a> &gt;&amp;&#160;</td>
          <td class="paramname"> <em>cnc</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">GType&#160;</td>
          <td class="paramname"> <em>type</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> &amp;&#160;</td>
          <td class="paramname"> <em>dbms_type</em></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <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 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>&#160;</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 valign="top"></td><td valign="top"><em>for_type</em>&#160;</td><td>A Type. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>dbms_type</em>&#160;</td><td>A DBMS type definition. </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" title="Base class which provides data handling capabilities.">Gda::DataHandler</a>, or <code>0</code>. </dd></dl>

</div>
</div><p>
<a class="anchor" name="c6f2af26b8476a00c10faf928f3eed98"></a><!-- doxytag: member="Gnome::Gda::ServerProvider::get_data_handler_g_type" ref="c6f2af26b8476a00c10faf928f3eed98" args="(const Glib::RefPtr&lt; Connection &gt; &amp;cnc, GType for_type) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;const <a class="el" href="classGnome_1_1Gda_1_1DataHandler.html">DataHandler</a>&gt; Gnome::Gda::ServerProvider::get_data_handler_g_type </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGnome_1_1Gda_1_1Connection.html">Connection</a> &gt;&amp;&#160;</td>
          <td class="paramname"> <em>cnc</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">GType&#160;</td>
          <td class="paramname"> <em>for_type</em></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <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>
The returned object must not be modified. <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>&#160;</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 valign="top"></td><td valign="top"><em>for_type</em>&#160;</td><td>A 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" 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><p>
<a class="anchor" name="96b37d74ed54f4dc73d23ce33798b12c"></a><!-- doxytag: member="Gnome::Gda::ServerProvider::get_data_handler_g_type" ref="96b37d74ed54f4dc73d23ce33798b12c" args="(const Glib::RefPtr&lt; Connection &gt; &amp;cnc, GType for_type)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classGnome_1_1Gda_1_1DataHandler.html">DataHandler</a>&gt; Gnome::Gda::ServerProvider::get_data_handler_g_type </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGnome_1_1Gda_1_1Connection.html">Connection</a> &gt;&amp;&#160;</td>
          <td class="paramname"> <em>cnc</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">GType&#160;</td>
          <td class="paramname"> <em>for_type</em></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <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>
The returned object must not be modified. <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>&#160;</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 valign="top"></td><td valign="top"><em>for_type</em>&#160;</td><td>A 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" 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><p>
<a class="anchor" name="3299d59f22bd15d030f7076d49d2b0d9"></a><!-- doxytag: member="Gnome::Gda::ServerProvider::get_default_dbms_type" ref="3299d59f22bd15d030f7076d49d2b0d9" args="(const Glib::RefPtr&lt; Connection &gt; &amp;cnc, GType type) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> Gnome::Gda::ServerProvider::get_default_dbms_type </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGnome_1_1Gda_1_1Connection.html">Connection</a> &gt;&amp;&#160;</td>
          <td class="paramname"> <em>cnc</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">GType&#160;</td>
          <td class="paramname"> <em>type</em></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <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>
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). <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>&#160;</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 valign="top"></td><td valign="top"><em>type</em>&#160;</td><td>A Type value type. </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>The name of the DBMS type, or <code>0</code>. </dd></dl>

</div>
</div><p>
<a class="anchor" name="fb105f5c4efa2ced404d56c25e5ec622"></a><!-- doxytag: member="Gnome::Gda::ServerProvider::get_name" ref="fb105f5c4efa2ced404d56c25e5ec622" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> Gnome::Gda::ServerProvider::get_name </td>
          <td>(</td>
          <td class="paramname"> </td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<a class="anchor" name="c74e97c24d325d2a3d203d06e8538350"></a><!-- doxytag: member="Gnome::Gda::ServerProvider::get_server_version" ref="c74e97c24d325d2a3d203d06e8538350" args="(const Glib::RefPtr&lt; Connection &gt; &amp;cnc) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> Gnome::Gda::ServerProvider::get_server_version </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGnome_1_1Gda_1_1Connection.html">Connection</a> &gt;&amp;&#160;</td>
          <td class="paramname"> <em>cnc</em> </td>
          <td>&#160;)&#160;</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 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>&#160;</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>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>A (read only) string, or <code>0</code> if an error occurred. </dd></dl>

</div>
</div><p>
<a class="anchor" name="f8e3d359b247bb956087b0c6d910f928"></a><!-- doxytag: member="Gnome::Gda::ServerProvider::get_version" ref="f8e3d359b247bb956087b0c6d910f928" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> Gnome::Gda::ServerProvider::get_version </td>
          <td>(</td>
          <td class="paramname"> </td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Get the version of the provider. <p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>A string containing the version identification. </dd></dl>

</div>
</div><p>
<a class="anchor" name="89d78b117d8c00e9361c76f502441a8f"></a><!-- doxytag: member="Gnome::Gda::ServerProvider::gobj" ref="89d78b117d8c00e9361c76f502441a8f" 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>&#160;)&#160;</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" href="../../../glibmm-2.4/reference/html/classGlib_1_1ObjectBase.html#778a94181132976bbfb0519793f3b32e">Glib::ObjectBase</a>.</p>

</div>
</div><p>
<a class="anchor" name="427b7eb26c0ab7c79c217342c4e7bb73"></a><!-- doxytag: member="Gnome::Gda::ServerProvider::gobj" ref="427b7eb26c0ab7c79c217342c4e7bb73" 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>&#160;)&#160;</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" href="../../../glibmm-2.4/reference/html/classGlib_1_1ObjectBase.html#4c6efc18be8cb9c56e58fc0bd20fafbe">Glib::ObjectBase</a>.</p>

</div>
</div><p>
<a class="anchor" name="b1aafbbf95a594492ab048d8086f4a83"></a><!-- doxytag: member="Gnome::Gda::ServerProvider::gobj_copy" ref="b1aafbbf95a594492ab048d8086f4a83" 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>&#160;)&#160;</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><p>
<a class="anchor" name="ae525130d168a277ef8c0afffbf58e89"></a><!-- doxytag: member="Gnome::Gda::ServerProvider::perform_operation" ref="ae525130d168a277ef8c0afffbf58e89" args="(const Glib::RefPtr&lt; Connection &gt; &amp;cnc, const Glib::RefPtr&lt; ServerOperation &gt; &amp;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" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGnome_1_1Gda_1_1Connection.html">Connection</a> &gt;&amp;&#160;</td>
          <td class="paramname"> <em>cnc</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGnome_1_1Gda_1_1ServerOperation.html">ServerOperation</a> &gt;&amp;&#160;</td>
          <td class="paramname"> <em>op</em></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Performs the operation described by <em>op</em>. <p>
Note that <em>op</em> is not destroyed by this method and can be reused. <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>&#160;</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 valign="top"></td><td valign="top"><em>op</em>&#160;</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>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd><code>true</code> if no error occurred. </dd></dl>

</div>
</div><p>
<a class="anchor" name="b2d480317b584f041ab74a72b5977bc0"></a><!-- doxytag: member="Gnome::Gda::ServerProvider::perform_operation_default" ref="b2d480317b584f041ab74a72b5977bc0" args="(const Glib::RefPtr&lt; Connection &gt; &amp;cnc, const Glib::RefPtr&lt; ServerOperation &gt; &amp;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" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGnome_1_1Gda_1_1Connection.html">Connection</a> &gt;&amp;&#160;</td>
          <td class="paramname"> <em>cnc</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGnome_1_1Gda_1_1ServerOperation.html">ServerOperation</a> &gt;&amp;&#160;</td>
          <td class="paramname"> <em>op</em></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <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 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>&#160;</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 valign="top"></td><td valign="top"><em>op</em>&#160;</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>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd><code>true</code> if no error occurred. </dd></dl>

</div>
</div><p>
<a class="anchor" name="08fdb984181e75e38721d7a87e4f87d1"></a><!-- doxytag: member="Gnome::Gda::ServerProvider::render_operation" ref="08fdb984181e75e38721d7a87e4f87d1" args="(const Glib::RefPtr&lt; Connection &gt; &amp;cnc, const Glib::RefPtr&lt; ServerOperation &gt; &amp;op)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> Gnome::Gda::ServerProvider::render_operation </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGnome_1_1Gda_1_1Connection.html">Connection</a> &gt;&amp;&#160;</td>
          <td class="paramname"> <em>cnc</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGnome_1_1Gda_1_1ServerOperation.html">ServerOperation</a> &gt;&amp;&#160;</td>
          <td class="paramname"> <em>op</em></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <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>
Note that the returned string may actually contain more than one SQL statement.<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#ae525130d168a277ef8c0afffbf58e89" title="Performs the operation described by op.">perform_operation()</a>. <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>&#160;</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 valign="top"></td><td valign="top"><em>op</em>&#160;</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>
</dl>
<dl class="return" compact><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><p>
<a class="anchor" name="eee884d74e76b80b6bc8a2efbc85de89"></a><!-- doxytag: member="Gnome::Gda::ServerProvider::string_to_value" ref="eee884d74e76b80b6bc8a2efbc85de89" args="(const Glib::RefPtr&lt; Connection &gt; &amp;cnc, const Glib::ustring &amp;string, GType prefered_type, Glib::ustring &amp;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" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGnome_1_1Gda_1_1Connection.html">Connection</a> &gt;&amp;&#160;</td>
          <td class="paramname"> <em>cnc</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> &amp;&#160;</td>
          <td class="paramname"> <em>string</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">GType&#160;</td>
          <td class="paramname"> <em>prefered_type</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> &amp;&#160;</td>
          <td class="paramname"> <em>dbms_type</em></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <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>
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>
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:<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> <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>&#160;</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 valign="top"></td><td valign="top"><em>string</em>&#160;</td><td>The SQL string to convert to a value. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>preferred_type</em>&#160;</td><td>A Type, or G_TYPE_INVALID. </td></tr>
  </table>
</dl>
<dl class="return" compact><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>
</li></ul>

</div>
</div><p>
<a class="anchor" name="dfe7d8ba1f6832c4d1c391a353634b64"></a><!-- doxytag: member="Gnome::Gda::ServerProvider::supports_feature" ref="dfe7d8ba1f6832c4d1c391a353634b64" args="(const Glib::RefPtr&lt; Connection &gt; &amp;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" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGnome_1_1Gda_1_1Connection.html">Connection</a> &gt;&amp;&#160;</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#gee005a48de360a73b16849b8a3f46b39">ConnectionFeature</a>&#160;</td>
          <td class="paramname"> <em>feature</em></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Tests if a feature is supported. <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>cnc</em>&#160;</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 valign="top"></td><td valign="top"><em>feature</em>&#160;</td><td><a class="el" href="group__libgdammEnums.html#gee005a48de360a73b16849b8a3f46b39">Gda::ConnectionFeature</a> feature to test. </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd><code>true</code> if <em>feature</em> is supported. </dd></dl>

</div>
</div><p>
<a class="anchor" name="a3aa832d11006c0fbc7cd643dd75af19"></a><!-- doxytag: member="Gnome::Gda::ServerProvider::supports_operation" ref="a3aa832d11006c0fbc7cd643dd75af19" args="(const Glib::RefPtr&lt; Connection &gt; &amp;cnc, ServerOperationType type, const Glib::RefPtr&lt; Set &gt; &amp;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" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGnome_1_1Gda_1_1Connection.html">Connection</a> &gt;&amp;&#160;</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#g0837bde71f4fee1ea3f06a0c22a04d68">ServerOperationType</a>&#160;</td>
          <td class="paramname"> <em>type</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGnome_1_1Gda_1_1Set.html">Set</a> &gt;&amp;&#160;</td>
          <td class="paramname"> <em>options</em></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <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 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>&#160;</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 valign="top"></td><td valign="top"><em>type</em>&#160;</td><td>The type of operation requested. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>options</em>&#160;</td><td>A list of named parameters, or <code>0</code>. </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd><code>true</code> if the operation is supported. </dd></dl>

</div>
</div><p>
<a class="anchor" name="fa5e4d7ba8f96c27ccb34013feae689c"></a><!-- doxytag: member="Gnome::Gda::ServerProvider::unescape_string" ref="fa5e4d7ba8f96c27ccb34013feae689c" args="(const Glib::RefPtr&lt; Connection &gt; &amp;cnc, const Glib::ustring &amp;str) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> Gnome::Gda::ServerProvider::unescape_string </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGnome_1_1Gda_1_1Connection.html">Connection</a> &gt;&amp;&#160;</td>
          <td class="paramname"> <em>cnc</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> &amp;&#160;</td>
          <td class="paramname"> <em>str</em></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <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>
This is the exact opposite of <a class="el" href="classGnome_1_1Gda_1_1ServerProvider.html#c6f68d8e510b327e0b4c4009d8f5c344" title="Escapes str for use within an SQL command (to avoid SQL injection attacks).">escape_string()</a>. <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>&#160;</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 valign="top"></td><td valign="top"><em>str</em>&#160;</td><td>A string to escape. </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="527404495e6b14c38710f52c5fb1c3e9"></a><!-- doxytag: member="Gnome::Gda::ServerProvider::value_to_sql_string" ref="527404495e6b14c38710f52c5fb1c3e9" args="(const Glib::RefPtr&lt; Connection &gt; &amp;cnc, const Value &amp;from) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> Gnome::Gda::ServerProvider::value_to_sql_string </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGnome_1_1Gda_1_1Connection.html">Connection</a> &gt;&amp;&#160;</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>&amp;&#160;</td>
          <td class="paramname"> <em>from</em></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <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 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>&#160;</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 valign="top"></td><td valign="top"><em>from</em>&#160;</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>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>Escaped and quoted value or <code>0</code> if not supported. </dd></dl>

</div>
</div><p>
<hr><h2>Friends And Related Function Documentation</h2>
<a class="anchor" name="5399c8489e1672bf48c77eec1d7318bf"></a><!-- doxytag: member="Gnome::Gda::ServerProvider::wrap" ref="5399c8489e1672bf48c77eec1d7318bf" args="(GdaServerProvider *object, bool take_copy=false)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGnome_1_1Gda_1_1ServerProvider.html">Gnome::Gda::ServerProvider</a> &gt; wrap </td>
          <td>(</td>
          <td class="paramtype">GdaServerProvider *&#160;</td>
          <td class="paramname"> <em>object</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"> <em>take_copy</em> = <code>false</code></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [related]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
A <a class="elRef" href="../../../glibmm-2.4/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>&#160;</td><td>The C instance. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>take_copy</em>&#160;</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>libgdamm/serverprovider.h</ul>
</div>
<hr size="1"><address style="text-align: right;"><small>Generated on Fri Aug 28 20:01:56 2009 for libgdamm by&#160;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address>
</body>
</html>