Sophie

Sophie

distrib > * > cooker > x86_64 > by-pkgid > 4b70137e0857c8f75af1e4cac0b6981b > files > 126

lib64gdamm4.0-devel-4.1.3-1.x86_64.rpm

<!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::ConnectionEvent 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.7.3 -->
<div id="top">
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">libgdamm&#160;<span id="projectnumber">4.1.3</span></div>
  </td>
 </tr>
 </tbody>
</table>
</div>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <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 id="navrow2" class="tabs2">
    <ul class="tablist">
      <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="inherits.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;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_1ConnectionEvent.html">ConnectionEvent</a> </li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="#pro-methods">Protected Member Functions</a> &#124;
<a href="#related">Related Functions</a> </div>
  <div class="headertitle">
<h1>Gnome::Gda::ConnectionEvent Class Reference</h1> </div>
</div>
<div class="contents">
<!-- doxytag: class="Gnome::Gda::ConnectionEvent" --><!-- doxytag: inherits="Glib::Object" -->
<p>Any event which has occurred on a <a class="el" href="classGnome_1_1Gda_1_1Connection.html" title="Manages a connection to a data source.">Gda::Connection</a>. <a href="#_details">More...</a></p>
<div class="dynheader">
Inheritance diagram for Gnome::Gda::ConnectionEvent:</div>
<div class="dyncontent">
<div class="center"><img src="classGnome_1_1Gda_1_1ConnectionEvent__inherit__graph.png" border="0" usemap="#Gnome_1_1Gda_1_1ConnectionEvent_inherit__map" alt="Inheritance graph"/></div>
<map name="Gnome_1_1Gda_1_1ConnectionEvent_inherit__map" id="Gnome_1_1Gda_1_1ConnectionEvent_inherit__map">
<area shape="rect" id="node2" href="../../../glibmm-2.4/reference/html/classGlib_1_1Object.html" title="Glib::Object" alt="" coords="61,166,152,197"/><area shape="rect" id="node4" href="../../../glibmm-2.4/reference/html/classGlib_1_1ObjectBase.html" title="Glib::ObjectBase" alt="" coords="47,86,167,117"/><area shape="rect" id="node6" href="../../../libsigc++-2.0/reference/html/structsigc_1_1trackable.html" title="sigc::trackable" alt="" coords="53,6,160,37"/></map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<div class="dynheader">
Collaboration diagram for Gnome::Gda::ConnectionEvent:</div>
<div class="dyncontent">
<div class="center"><img src="classGnome_1_1Gda_1_1ConnectionEvent__coll__graph.png" border="0" usemap="#Gnome_1_1Gda_1_1ConnectionEvent_coll__map" alt="Collaboration graph"/></div>
<map name="Gnome_1_1Gda_1_1ConnectionEvent_coll__map" id="Gnome_1_1Gda_1_1ConnectionEvent_coll__map">
<area shape="rect" id="node2" href="../../../glibmm-2.4/reference/html/classGlib_1_1Object.html" title="Glib::Object" alt="" coords="61,166,152,197"/><area shape="rect" id="node4" href="../../../glibmm-2.4/reference/html/classGlib_1_1ObjectBase.html" title="Glib::ObjectBase" alt="" coords="47,86,167,117"/><area shape="rect" id="node6" href="../../../libsigc++-2.0/reference/html/structsigc_1_1trackable.html" title="sigc::trackable" alt="" coords="53,6,160,37"/></map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>

<p><a href="classGnome_1_1Gda_1_1ConnectionEvent-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&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1ConnectionEvent.html#ada1cd1a90bb1b6e2db07d6c088486ce7">~ConnectionEvent</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">GdaConnectionEvent*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1ConnectionEvent.html#a6175b8ee4a28baa32fa25eb508cb37b7">gobj</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Provides access to the underlying C GObject. <a href="#a6175b8ee4a28baa32fa25eb508cb37b7"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const GdaConnectionEvent*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1ConnectionEvent.html#a46f46af0af30421ee92d8ed2966ac40f">gobj</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Provides access to the underlying C GObject. <a href="#a46f46af0af30421ee92d8ed2966ac40f"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">GdaConnectionEvent*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1ConnectionEvent.html#af1b899cb0df60dfb95b1db9a7115f460">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="#af1b899cb0df60dfb95b1db9a7115f460"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1ConnectionEvent.html#ad2d86c976f10335602bc69147c64d406">set_event_type</a> (<a class="el" href="group__libgdammEnums.html#gae58dd3b57f9c1c6429834c90d461879f">ConnectionEventType</a> <a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01565.html#ga79d96b6335c46a5a2a7386970a91cd9b">type</a>)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets <em>event's</em> severity (from a simple notice to a fatal event) This function should not be called directly. <a href="#ad2d86c976f10335602bc69147c64d406"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__libgdammEnums.html#gae58dd3b57f9c1c6429834c90d461879f">ConnectionEventType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1ConnectionEvent.html#a7c01261022021324f60b86e126b49169">get_event_type</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Get <em>event's</em> severity (from a simple notice to a fatal event) <a href="#a7c01261022021324f60b86e126b49169"></a><br/></td></tr>
<tr><td class="memItemLeft" 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_1ConnectionEvent.html#a45bdbd0da05dddf1b5f9d67c3f1ce553">get_description</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the description of the event. <a href="#a45bdbd0da05dddf1b5f9d67c3f1ce553"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1ConnectionEvent.html#a9f3ce867119bdf2ea99d28bd05d1ce1e">set_description</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&amp; description)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets <em>event's</em> <em>description</em>. <a href="#a9f3ce867119bdf2ea99d28bd05d1ce1e"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">glong&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1ConnectionEvent.html#a662714e36b60af00938893e9ad117a02">get_code</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1ConnectionEvent.html#a03a85fad2a16deb8de9565869bd178a5">set_code</a> (glong code)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets <em>event's</em> code: the code is specific to the provider being used. <a href="#a03a85fad2a16deb8de9565869bd178a5"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__libgdammEnums.html#gad2aec20f32ab9c34fbd79ef6716abca4">ConnectionEventCode</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1ConnectionEvent.html#ab021517125bcac2928de7f5713e45fb4">get_gda_code</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Retrieve the code associated to <em>event</em>. <a href="#ab021517125bcac2928de7f5713e45fb4"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1ConnectionEvent.html#afd3ceecd50da849e7f1bde01293d964e">set_gda_code</a> (<a class="el" href="group__libgdammEnums.html#gad2aec20f32ab9c34fbd79ef6716abca4">ConnectionEventCode</a> code)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets <em>event's</em> gda code: that code is standardized by the libgda library. <a href="#afd3ceecd50da849e7f1bde01293d964e"></a><br/></td></tr>
<tr><td class="memItemLeft" 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_1ConnectionEvent.html#a4d37a17e64894d6012ccc73acd8c8333">get_source</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1ConnectionEvent.html#a7f46e323e6699500e8777536506eedfa">set_source</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&amp; source)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets <em>event's</em> <em>source</em>; this function should not be called directly. <a href="#a7f46e323e6699500e8777536506eedfa"></a><br/></td></tr>
<tr><td class="memItemLeft" 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_1ConnectionEvent.html#a42d897bfcbb77d4fb2760ec99d05496c">get_sqlstate</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the SQLSTATE value of <em>event</em>. <a href="#a42d897bfcbb77d4fb2760ec99d05496c"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1ConnectionEvent.html#a545fda6896ed08ddbc83f598c89cd04b">set_sqlstate</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&amp; sqlstate)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Changes the SQLSTATE code of <em>event</em>, this function should not be called directly. <a href="#a545fda6896ed08ddbc83f598c89cd04b"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a><br class="typebreak"/>
&lt; <a class="el" href="group__libgdammEnums.html#gae58dd3b57f9c1c6429834c90d461879f">ConnectionEventType</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1ConnectionEvent.html#a6eb33565bdfc65bdff84d6c80f844033">property_type</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight"><a class="el" href="classGnome_1_1Gda_1_1Connection.html" title="Manages a connection to a data source.">Connection</a> event type. <a href="#a6eb33565bdfc65bdff84d6c80f844033"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a><br class="typebreak"/>
&lt; <a class="el" href="group__libgdammEnums.html#gae58dd3b57f9c1c6429834c90d461879f">ConnectionEventType</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1ConnectionEvent.html#aa2e2f47ea57f8005679cb1064e46d42f">property_type</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight"><a class="el" href="classGnome_1_1Gda_1_1Connection.html" title="Manages a connection to a data source.">Connection</a> event type. <a href="#aa2e2f47ea57f8005679cb1064e46d42f"></a><br/></td></tr>
<tr><td colspan="2"><h2><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <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_1ConnectionEvent.html">ConnectionEvent</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1ConnectionEvent.html#aa29859ad2d0a8c8ce4bf3c0a8b42f350">create</a> ()</td></tr>
<tr><td colspan="2"><h2><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1ConnectionEvent.html#a1b94c65e7fe071eca9f7a75e3320e447">ConnectionEvent</a> ()</td></tr>
<tr><td colspan="2"><h2><a name="related"></a>
Related Functions</h2></td></tr>
<tr><td colspan="2">(Note that these are not member functions.) <br/></td></tr>
<tr><td class="memItemLeft" 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_1ConnectionEvent.html">Gnome::Gda::ConnectionEvent</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1ConnectionEvent.html#ab03a81971d13efcfe20f99965e00f45b">wrap</a> (GdaConnectionEvent* 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#a671306f4a3a0cae5ab4d7a9d54886592">Glib::wrap()</a> method for this object. <a href="#ab03a81971d13efcfe20f99965e00f45b"></a><br/></td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>Any event which has occurred on a <a class="el" href="classGnome_1_1Gda_1_1Connection.html" title="Manages a connection to a data source.">Gda::Connection</a>. </p>
<p>Events occuring on a connection are each represented as a <a class="el" href="classGnome_1_1Gda_1_1ConnectionEvent.html" title="Any event which has occurred on a Gda::Connection.">ConnectionEvent</a> object. Each <a class="el" href="classGnome_1_1Gda_1_1Connection.html" title="Manages a connection to a data source.">Connection</a> is responsible for keeping a list of past events; that list can be consulted using the <a class="el" href="classGnome_1_1Gda_1_1Connection.html#aec62a361183f4e3785478cb66e5f268d" title="Retrieves a list of the last errors occurred during the connection.">Connection::get_events()</a> function. </p>
</div><hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="ada1cd1a90bb1b6e2db07d6c088486ce7"></a><!-- doxytag: member="Gnome::Gda::ConnectionEvent::~ConnectionEvent" ref="ada1cd1a90bb1b6e2db07d6c088486ce7" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual Gnome::Gda::ConnectionEvent::~ConnectionEvent </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a1b94c65e7fe071eca9f7a75e3320e447"></a><!-- doxytag: member="Gnome::Gda::ConnectionEvent::ConnectionEvent" ref="a1b94c65e7fe071eca9f7a75e3320e447" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Gnome::Gda::ConnectionEvent::ConnectionEvent </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="aa29859ad2d0a8c8ce4bf3c0a8b42f350"></a><!-- doxytag: member="Gnome::Gda::ConnectionEvent::create" ref="aa29859ad2d0a8c8ce4bf3c0a8b42f350" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <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_1ConnectionEvent.html">ConnectionEvent</a>&gt; Gnome::Gda::ConnectionEvent::create </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a662714e36b60af00938893e9ad117a02"></a><!-- doxytag: member="Gnome::Gda::ConnectionEvent::get_code" ref="a662714e36b60af00938893e9ad117a02" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">glong Gnome::Gda::ConnectionEvent::get_code </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="return"><dt><b>Returns:</b></dt><dd><em>event's</em> code (the code is specific to the provider being used). </dd></dl>

</div>
</div>
<a class="anchor" id="a45bdbd0da05dddf1b5f9d67c3f1ce553"></a><!-- doxytag: member="Gnome::Gda::ConnectionEvent::get_description" ref="a45bdbd0da05dddf1b5f9d67c3f1ce553" 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::ConnectionEvent::get_description </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Get the description of the event. </p>
<p>Note that is <em>event's</em> type is GDA_CONNECTION_EVENT_COMMAND, the the description is the SQL of the command. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd><em>event's</em> description. </dd></dl>

</div>
</div>
<a class="anchor" id="a7c01261022021324f60b86e126b49169"></a><!-- doxytag: member="Gnome::Gda::ConnectionEvent::get_event_type" ref="a7c01261022021324f60b86e126b49169" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__libgdammEnums.html#gae58dd3b57f9c1c6429834c90d461879f">ConnectionEventType</a> Gnome::Gda::ConnectionEvent::get_event_type </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Get <em>event's</em> severity (from a simple notice to a fatal event) </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>The event type. </dd></dl>

</div>
</div>
<a class="anchor" id="ab021517125bcac2928de7f5713e45fb4"></a><!-- doxytag: member="Gnome::Gda::ConnectionEvent::get_gda_code" ref="ab021517125bcac2928de7f5713e45fb4" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__libgdammEnums.html#gad2aec20f32ab9c34fbd79ef6716abca4">ConnectionEventCode</a> Gnome::Gda::ConnectionEvent::get_gda_code </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Retrieve the code associated to <em>event</em>. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>The Gda::ConnectionEventCode event's code. </dd></dl>

</div>
</div>
<a class="anchor" id="a4d37a17e64894d6012ccc73acd8c8333"></a><!-- doxytag: member="Gnome::Gda::ConnectionEvent::get_source" ref="a4d37a17e64894d6012ccc73acd8c8333" 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::ConnectionEvent::get_source </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="return"><dt><b>Returns:</b></dt><dd><em>event's</em> source. </dd></dl>

</div>
</div>
<a class="anchor" id="a42d897bfcbb77d4fb2760ec99d05496c"></a><!-- doxytag: member="Gnome::Gda::ConnectionEvent::get_sqlstate" ref="a42d897bfcbb77d4fb2760ec99d05496c" 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::ConnectionEvent::get_sqlstate </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Get the SQLSTATE value of <em>event</em>. </p>
<p>Even though the SQLSTATE values are specified by ANSI SQL and ODBC, consult each DBMS for the possible values. However, the "00000" (success) value means that there is no error, and the "HY000" (general error) value means an error but no better error code available. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd><em>event's</em> SQL state. </dd></dl>

</div>
</div>
<a class="anchor" id="a6175b8ee4a28baa32fa25eb508cb37b7"></a><!-- doxytag: member="Gnome::Gda::ConnectionEvent::gobj" ref="a6175b8ee4a28baa32fa25eb508cb37b7" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">GdaConnectionEvent* Gnome::Gda::ConnectionEvent::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" href="../../../glibmm-2.4/reference/html/classGlib_1_1ObjectBase.html#a4c6efc18be8cb9c56e58fc0bd20fafbe">Glib::ObjectBase</a>.</p>

</div>
</div>
<a class="anchor" id="a46f46af0af30421ee92d8ed2966ac40f"></a><!-- doxytag: member="Gnome::Gda::ConnectionEvent::gobj" ref="a46f46af0af30421ee92d8ed2966ac40f" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const GdaConnectionEvent* Gnome::Gda::ConnectionEvent::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" href="../../../glibmm-2.4/reference/html/classGlib_1_1ObjectBase.html#a778a94181132976bbfb0519793f3b32e">Glib::ObjectBase</a>.</p>

</div>
</div>
<a class="anchor" id="af1b899cb0df60dfb95b1db9a7115f460"></a><!-- doxytag: member="Gnome::Gda::ConnectionEvent::gobj_copy" ref="af1b899cb0df60dfb95b1db9a7115f460" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">GdaConnectionEvent* Gnome::Gda::ConnectionEvent::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="a6eb33565bdfc65bdff84d6c80f844033"></a><!-- doxytag: member="Gnome::Gda::ConnectionEvent::property_type" ref="a6eb33565bdfc65bdff84d6c80f844033" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a>&lt;<a class="el" href="group__libgdammEnums.html#gae58dd3b57f9c1c6429834c90d461879f">ConnectionEventType</a>&gt; Gnome::Gda::ConnectionEvent::property_type </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p><a class="el" href="classGnome_1_1Gda_1_1Connection.html" title="Manages a connection to a data source.">Connection</a> event type. </p>
<p>You rarely need to use properties because there are get_ and set_ methods for almost all of them. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes. </dd></dl>

</div>
</div>
<a class="anchor" id="aa2e2f47ea57f8005679cb1064e46d42f"></a><!-- doxytag: member="Gnome::Gda::ConnectionEvent::property_type" ref="aa2e2f47ea57f8005679cb1064e46d42f" 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_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a>&lt;<a class="el" href="group__libgdammEnums.html#gae58dd3b57f9c1c6429834c90d461879f">ConnectionEventType</a>&gt; Gnome::Gda::ConnectionEvent::property_type </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p><a class="el" href="classGnome_1_1Gda_1_1Connection.html" title="Manages a connection to a data source.">Connection</a> event type. </p>
<p>You rarely need to use properties because there are get_ and set_ methods for almost all of them. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes. </dd></dl>

</div>
</div>
<a class="anchor" id="a03a85fad2a16deb8de9565869bd178a5"></a><!-- doxytag: member="Gnome::Gda::ConnectionEvent::set_code" ref="a03a85fad2a16deb8de9565869bd178a5" args="(glong code)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gnome::Gda::ConnectionEvent::set_code </td>
          <td>(</td>
          <td class="paramtype">glong&#160;</td>
          <td class="paramname"><em>code</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets <em>event's</em> code: the code is specific to the provider being used. </p>
<p>If you want to have a common understanding of the event codes, use <a class="el" href="classGnome_1_1Gda_1_1ConnectionEvent.html#ab021517125bcac2928de7f5713e45fb4" title="Retrieve the code associated to event.">get_gda_code()</a> instead.</p>
<p>This function should not be called directly </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">code</td><td>A code. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a9f3ce867119bdf2ea99d28bd05d1ce1e"></a><!-- doxytag: member="Gnome::Gda::ConnectionEvent::set_description" ref="a9f3ce867119bdf2ea99d28bd05d1ce1e" args="(const Glib::ustring &amp;description)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gnome::Gda::ConnectionEvent::set_description </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>description</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets <em>event's</em> <em>description</em>. </p>
<p>This function should not be called directly. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">description</td><td>A description. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ad2d86c976f10335602bc69147c64d406"></a><!-- doxytag: member="Gnome::Gda::ConnectionEvent::set_event_type" ref="ad2d86c976f10335602bc69147c64d406" args="(ConnectionEventType type)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gnome::Gda::ConnectionEvent::set_event_type </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__libgdammEnums.html#gae58dd3b57f9c1c6429834c90d461879f">ConnectionEventType</a>&#160;</td>
          <td class="paramname"><em>type</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets <em>event's</em> severity (from a simple notice to a fatal event) This function should not be called directly. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">type</td><td>The severity of the event. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="afd3ceecd50da849e7f1bde01293d964e"></a><!-- doxytag: member="Gnome::Gda::ConnectionEvent::set_gda_code" ref="afd3ceecd50da849e7f1bde01293d964e" args="(ConnectionEventCode code)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gnome::Gda::ConnectionEvent::set_gda_code </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__libgdammEnums.html#gad2aec20f32ab9c34fbd79ef6716abca4">ConnectionEventCode</a>&#160;</td>
          <td class="paramname"><em>code</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets <em>event's</em> gda code: that code is standardized by the libgda library. </p>
<p>If you want to specify the corresponding provider specific code, use <a class="el" href="classGnome_1_1Gda_1_1ConnectionEvent.html#a662714e36b60af00938893e9ad117a02">get_code()</a> or <a class="el" href="classGnome_1_1Gda_1_1ConnectionEvent.html#a42d897bfcbb77d4fb2760ec99d05496c" title="Get the SQLSTATE value of event.">get_sqlstate()</a> instead.</p>
<p>This function should not be called directly </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">code</td><td>A code. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a7f46e323e6699500e8777536506eedfa"></a><!-- doxytag: member="Gnome::Gda::ConnectionEvent::set_source" ref="a7f46e323e6699500e8777536506eedfa" args="(const Glib::ustring &amp;source)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gnome::Gda::ConnectionEvent::set_source </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>source</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets <em>event's</em> <em>source</em>; this function should not be called directly. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">source</td><td>A source. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a545fda6896ed08ddbc83f598c89cd04b"></a><!-- doxytag: member="Gnome::Gda::ConnectionEvent::set_sqlstate" ref="a545fda6896ed08ddbc83f598c89cd04b" args="(const Glib::ustring &amp;sqlstate)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gnome::Gda::ConnectionEvent::set_sqlstate </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>sqlstate</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Changes the SQLSTATE code of <em>event</em>, this function should not be called directly. </p>
<p>Sets <em>event's</em> SQL state. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">sqlstate</td><td>SQL state. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<hr/><h2>Friends And Related Function Documentation</h2>
<a class="anchor" id="ab03a81971d13efcfe20f99965e00f45b"></a><!-- doxytag: member="Gnome::Gda::ConnectionEvent::wrap" ref="ab03a81971d13efcfe20f99965e00f45b" args="(GdaConnectionEvent *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_1ConnectionEvent.html">Gnome::Gda::ConnectionEvent</a> &gt; wrap </td>
          <td>(</td>
          <td class="paramtype">GdaConnectionEvent *&#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>&#160;</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" href="../../../glibmm-2.4/reference/html/namespaceGlib.html#a671306f4a3a0cae5ab4d7a9d54886592">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/connectionevent.h</li>
</ul>
</div>
<hr class="footer"/><address class="footer"><small>Generated on Thu Sep 22 2011 11:20:02 for libgdamm by&#160;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.3 </small></address>
</body>
</html>