Sophie

Sophie

distrib > Mageia > 3 > i586 > by-pkgid > 45f6274740296aca6d03a98f5e28e8ca > files > 169

libgdamm5.0-devel-4.99.6-2.mga3.i586.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::DataProxy Class Reference</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />



</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">libgdamm
   &#160;<span id="projectnumber">4.99.6</span>
   </div>
   
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.5.1-20110925 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#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_1DataProxy.html">DataProxy</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">
<div class="title">Gnome::Gda::DataProxy Class Reference<div class="ingroups"><a class="el" href="group__DataModels.html">Data Models</a></div></div> </div>
</div>
<div class="contents">
<!-- doxytag: class="Gnome::Gda::DataProxy" --><!-- doxytag: inherits="Glib::Object,Gnome::Gda::DataModel" -->
<p>Proxy to hold modifications for any <a class="el" href="classGnome_1_1Gda_1_1DataModel.html" title="Abstract DataModel (Base class for all DataModels).">DataModel</a>, providing the <a class="el" href="classGnome_1_1Gda_1_1DataModel.html" title="Abstract DataModel (Base class for all DataModels).">DataModel</a> interface itself.  <a href="classGnome_1_1Gda_1_1DataProxy.html#details">More...</a></p>
<div class="dynheader">
Inheritance diagram for Gnome::Gda::DataProxy:</div>
<div class="dyncontent">
<div class="center"><img src="classGnome_1_1Gda_1_1DataProxy__inherit__graph.png" border="0" usemap="#Gnome_1_1Gda_1_1DataProxy_inherit__map" alt="Inheritance graph"/></div>
<map name="Gnome_1_1Gda_1_1DataProxy_inherit__map" id="Gnome_1_1Gda_1_1DataProxy_inherit__map">
<area shape="rect" id="node2"  /></map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<div class="dynheader">
Collaboration diagram for Gnome::Gda::DataProxy:</div>
<div class="dyncontent">
<div class="center"><img src="classGnome_1_1Gda_1_1DataProxy__coll__graph.png" border="0" usemap="#Gnome_1_1Gda_1_1DataProxy_coll__map" alt="Collaboration graph"/></div>
<map name="Gnome_1_1Gda_1_1DataProxy_coll__map" id="Gnome_1_1Gda_1_1DataProxy_coll__map">
<area shape="rect" id="node2"  /></map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>

<p><a href="classGnome_1_1Gda_1_1DataProxy-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_1DataProxy.html#aaa456bc82d03ce7e2ce64c227509be47">~DataProxy</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">GdaDataProxy*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1DataProxy.html#a20ff1348fc0013fb9c33c82d7d494401">gobj</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Provides access to the underlying C GObject. <a href="#a20ff1348fc0013fb9c33c82d7d494401"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const GdaDataProxy*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1DataProxy.html#a596dbec3180a1f066831130ae85a06dc">gobj</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Provides access to the underlying C GObject. <a href="#a596dbec3180a1f066831130ae85a06dc"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">GdaDataProxy*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1DataProxy.html#a13a9f1ff550fdc9d56d56326b3c4d913">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="#a13a9f1ff550fdc9d56d56326b3c4d913"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef"  >get_proxied_model</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Fetch the <a class="el" href="classGnome_1_1Gda_1_1DataModel.html" title="Abstract DataModel (Base class for all DataModels).">Gda::DataModel</a> which <em>proxy</em> does proxy. <a href="#a5d074bd6e3c57274050f74c9b96005a3"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef"  >get_proxied_model</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Fetch the <a class="el" href="classGnome_1_1Gda_1_1DataModel.html" title="Abstract DataModel (Base class for all DataModels).">Gda::DataModel</a> which <em>proxy</em> does proxy. <a href="#aa014abf27a434c4389ce43caf1d166ad"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1DataProxy.html#ab08280878e7a001ddca503f11cd14c32">get_proxied_model_n_cols</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the number of columns in the proxied data model. <a href="#ab08280878e7a001ddca503f11cd14c32"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1DataProxy.html#aa87b3e19bc5995a249719a09068d9d8d">get_proxied_model_n_rows</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the number of rows in the proxied data model. <a href="#aa87b3e19bc5995a249719a09068d9d8d"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1DataProxy.html#a968cd04871fb3c21948f3798a5848b8e">is_read_only</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGnome_1_1Gda_1_1DataModel.html#a0ed66299310af38e618f740a79fc3c52">ValueVector</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1DataProxy.html#a8bed3e92e6daa3cabcafb66beacae73b">get_values</a> (int proxy_row, const <a class="elRef"  >std::vector</a>&lt; int &gt;&amp; cols_index) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Retrieve a whole list of values from the <em>proxy</em> data model. <a href="#a8bed3e92e6daa3cabcafb66beacae73b"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespaceGnome_1_1Gda.html#a9f6ae7fb1f39a3e8f221f95151e89e28">ValueAttribute</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1DataProxy.html#a3b597666c13ba06b2fc0c66a5e709d36">get_value_attributes</a> (int proxy_row, int col) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the attributes of the value stored at (proxy_row, col) in <em>proxy</em>, which is an ORed value of <a class="el" href="namespaceGnome_1_1Gda.html#a9f6ae7fb1f39a3e8f221f95151e89e28">Gda::ValueAttribute</a> flags. <a href="#a3b597666c13ba06b2fc0c66a5e709d36"></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_1DataProxy.html#af6cb66b0b79c7401417f1ec8f1379285">alter_value_attributes</a> (int proxy_row, int col, <a class="el" href="namespaceGnome_1_1Gda.html#a9f6ae7fb1f39a3e8f221f95151e89e28">ValueAttribute</a> alter_flags)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Alters the attributes of the value stored at (proxy_row, col) in <em>proxy</em>. <a href="#af6cb66b0b79c7401417f1ec8f1379285"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1DataProxy.html#aff1c2ef56b16ec4fc9709ebb2d3c9c5f">get_proxied_model_row</a> (int proxy_row) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the <em>proxy's</em> proxied model row corresponding to <em>proxy_row</em>. <a href="#aff1c2ef56b16ec4fc9709ebb2d3c9c5f"></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_1DataProxy.html#a0a02bfb027d48ff4578a6edf0f4fea22">erase</a> (int proxy_row)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Marks the row <em>proxy_row</em> to be deleted. <a href="#a0a02bfb027d48ff4578a6edf0f4fea22"></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_1DataProxy.html#aa924b89d8c77a82af926eed675cf0919">unerase</a> (int proxy_row)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Remove the "to be deleted" mark at the row <em>proxy_row</em>, if it existed. <a href="#aa924b89d8c77a82af926eed675cf0919"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1DataProxy.html#a2bdadcc3f5f66d2edb191fe211403bbb">row_is_deleted</a> (int proxy_row) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Tells if the row number <em>proxy_row</em> is marked to be deleted. <a href="#a2bdadcc3f5f66d2edb191fe211403bbb"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1DataProxy.html#a779cd3b00bfc8b0126a62dbfac1ec857">row_is_inserted</a> (int proxy_row) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Tells if the row number <em>proxy_row</em> is a row which has been inserted in <em>proxy</em> (and is thus not in the proxied data model). <a href="#a779cd3b00bfc8b0126a62dbfac1ec857"></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_1DataProxy.html#abe2edadb419b26915650e77e07489a0f">cancel_row_changes</a> (int proxy_row, int col)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Resets data at the corresponding row and column. <a href="#abe2edadb419b26915650e77e07489a0f"></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_1DataProxy.html#ab8583dac60b58bf33d063c92f6d99474">apply_row_changes</a> (int proxy_row)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Commits the modified data in the proxy back into the <a class="el" href="classGnome_1_1Gda_1_1DataModel.html" title="Abstract DataModel (Base class for all DataModels).">Gda::DataModel</a>. <a href="#ab8583dac60b58bf33d063c92f6d99474"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1DataProxy.html#a6a5ec8f0ff423656d3eb90a79748382d">has_changed</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Tells if <em>proxy</em> contains any modifications not applied to the proxied data model. <a href="#a6a5ec8f0ff423656d3eb90a79748382d"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1DataProxy.html#a8d36c248041ba85d221bdd9d4a2e7d08">row_has_changed</a> (int proxy_row) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Tells if the row number <em>proxy_row</em> has changed. <a href="#a8d36c248041ba85d221bdd9d4a2e7d08"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1DataProxy.html#a6355be309052503450a8c0cc710860b7">get_n_new_rows</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the number of rows which have been added to <em>proxy</em> and which are not part of the proxied data model. <a href="#a6355be309052503450a8c0cc710860b7"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1DataProxy.html#a77c6ccd92246e4efb6be1b246460bc36">get_n_modified_rows</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the number of rows which have been modified in the proxy (the sum of rows existing in the proxied data model which have been modified, and new rows). <a href="#a77c6ccd92246e4efb6be1b246460bc36"></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_1DataProxy.html#a519edc04a930dda39ece993319beeb05">set_sample_size</a> (int sample_size)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the size of each chunk of data to display: the maximum number of rows which can be "displayed" at a time (the maximum number of rows which <em>proxy</em> pretends to have). <a href="#a519edc04a930dda39ece993319beeb05"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1DataProxy.html#a11cb9f691247736f5ed69d108cd27492">get_sample_size</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the size of each chunk of data displayed at a time. <a href="#a11cb9f691247736f5ed69d108cd27492"></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_1DataProxy.html#acaa0f674714646ca31d6ec57aab078ae">set_sample_start</a> (int sample_start)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the number of the first row to be available in <em>proxy</em> (in reference to the proxied data model) <a href="#acaa0f674714646ca31d6ec57aab078ae"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1DataProxy.html#a9d9e4f0c62cd82886a5a33264816dd2e">get_sample_start</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the number of the first row to be available in <em>proxy</em> (in reference to the proxied data model) <a href="#a9d9e4f0c62cd82886a5a33264816dd2e"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1DataProxy.html#af9094f0b09ab12567c9aebd3e80369d4">get_sample_end</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the number of the last row to be available in <em>proxy</em> (in reference to the proxied data model) <a href="#af9094f0b09ab12567c9aebd3e80369d4"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1DataProxy.html#acd2cf6caca93fe6e871a9f2a5940aabd">apply_all_changes</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Apply all the changes stored in the proxy to the proxied data model. <a href="#acd2cf6caca93fe6e871a9f2a5940aabd"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1DataProxy.html#a1878e859aa43f71018aa4eb9c7cd9de2">cancel_all_changes</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Cancel all the changes stored in the proxy (the <em>proxy</em> will be reset to its state as it was just after creation). <a href="#a1878e859aa43f71018aa4eb9c7cd9de2"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1DataProxy.html#af4b50dc08b41895f5b01f2818e458396">get_filtered_n_rows</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the total number of filtered rows in <em>proxy</em> if a filter has been applied. <a href="#af4b50dc08b41895f5b01f2818e458396"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef"  >get_filter_expr</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the current filter expression used by <em>proxy</em>. <a href="#ae5ea4f7fd12b2ce693f111bcc1950801"></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_1DataProxy.html#aaae882af4ed8f3f658094d19379bd379">get_filter_expr</a> (const <a class="elRef"  >Glib::ustring</a>&amp; filter_expr)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets a filter among the rows presented by <em>proxy</em>. <a href="#aaae882af4ed8f3f658094d19379bd379"></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_1DataProxy.html#ac3b6ccfc2b86577326036510ed7286bc">set_ordering_column</a> (int col)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Orders by the <em>col</em> column. <a href="#ac3b6ccfc2b86577326036510ed7286bc"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef"  />
&lt; <a class="elRef"  >property_model</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Proxied data model. <a href="#ac4490c795536742bf000b2463c244d13"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef"  />
&lt; <a class="elRef"  >property_model</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Proxied data model. <a href="#a976598ba4890cfa99d412d6ec7c97e44"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef"  >property_prepend_null_entry</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Tells if a row composed of NULL values is inserted as the proxy's first row. <a href="#a03f3056dc392dc599424665052659856"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef"  />
&lt; bool &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1DataProxy.html#ac74c13c48a11cca9a2e1fcc60c59a67f">property_prepend_null_entry</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Tells if a row composed of NULL values is inserted as the proxy's first row. <a href="#ac74c13c48a11cca9a2e1fcc60c59a67f"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef"  >property_defer_sync</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Tells if changes to the sample of rows displayed is done in background in several steps or if it's done in one step. <a href="#a56dd8aca753f28d6221faf6e3d085574"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef"  />
&lt; bool &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1DataProxy.html#a35cbf66cf61558d88ebdbd4c5a5879ee">property_defer_sync</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Tells if changes to the sample of rows displayed is done in background in several steps or if it's done in one step. <a href="#a35cbf66cf61558d88ebdbd4c5a5879ee"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef"  >property_sample_size</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Number of rows which the proxy will contain at any time, like a sliding window on the proxied data model. <a href="#a6be6fbdeb4c972be05d3946c43d65d83"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef"  >property_sample_size</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Number of rows which the proxy will contain at any time, like a sliding window on the proxied data model. <a href="#a484a4916047941be3686958b0080f6e4"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef"  />
bool &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1DataProxy.html#a9c6b2591ccb7c86a91dd5154507dc187">signal_row_delete_changed</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef"  />
int &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1DataProxy.html#a36cfa77d1b108d99093e1a605df4348c">signal_sample_changed</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef"  >signal_sample_size_changed</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef"  >signal_filter_changed</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef"  />
&lt; <a class="elRef"  >signal_validate_row_changes</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef"  />
int &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1DataProxy.html#a3bc587aa8ea4513c30fe70847337b4a0">signal_row_changes_applied</a> ()</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"  >DataModel</a> &gt;&amp; model)</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_1DataProxy.html#a1ca28f2466df84a1080959accdc43861">DataProxy</a> (const <a class="elRef"  >DataModel</a> &gt;&amp; model)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1DataProxy.html#a1e1109b76776daeddea821cbab3c9cda">on_row_delete_changed</a> (int row, bool to_be_deleted)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1DataProxy.html#a37b75ea13cca51a9500609979ed3e572">on_sample_changed</a> (int sample_start, int sample_end)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1DataProxy.html#a606d9d28b53ede9b1d335e4968247324">on_sample_size_changed</a> (int sample_size)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1DataProxy.html#ac689dfcbe7495f5c336e130840846e2e">on_row_changes_applied</a> (int row, int proxied_row)</td></tr>
<tr><td colspan="2"><h2><a name="related"></a>
Related Functions</h2></td></tr>
<tr><td class="ititle" colspan="2"><p>(Note that these are not member functions.) </p>
</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef"  />
&lt; <a class="el" href="classGnome_1_1Gda_1_1DataProxy.html">Gnome::Gda::DataProxy</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1DataProxy.html#aeb2755aa7104f5f143fb823326fac00b">wrap</a> (GdaDataProxy* object, bool take_copy=false)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">A <a class="elRef"  ></a><br/></td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>Proxy to hold modifications for any <a class="el" href="classGnome_1_1Gda_1_1DataModel.html" title="Abstract DataModel (Base class for all DataModels).">DataModel</a>, providing the <a class="el" href="classGnome_1_1Gda_1_1DataModel.html" title="Abstract DataModel (Base class for all DataModels).">DataModel</a> interface itself. </p>
<p>This object stores modifications made to a <a class="el" href="classGnome_1_1Gda_1_1DataModel.html" title="Abstract DataModel (Base class for all DataModels).">DataModel</a> object which is proxied until asked to make the changes inside the <a class="el" href="classGnome_1_1Gda_1_1DataModel.html" title="Abstract DataModel (Base class for all DataModels).">DataModel</a>. It also filters the proxied data model to show only a sample (a defined number of continuous rows) of it.</p>
<p>Specifically, for a proxied data model having nb_cols columns and nb_rows rows, the <a class="el" href="classGnome_1_1Gda_1_1DataProxy.html" title="Proxy to hold modifications for any DataModel, providing the DataModel interface itself.">DataProxy</a> object has the following attributes:</p>
<ul>
<li>2 * nb_cols columns:<ul>
<li>The first (&gt;= 0) nb_cols columns are the current values stored in the proxy (which correspond to the values of the proxied data model if the considered row has not been changed). The associated values are writable.</li>
<li>The last nb_cols columns are the values stored in the proxied data model, at column col - nb_cols.</li>
</ul>
</li>
<li>A variable number of rows depending on the following attributes:<ul>
<li>Whether the proxy is configured to have an empty row as the first row.</li>
<li>Whether the proxy only displays parts of the proxied data model.</li>
<li>Whether new rows have been added to the proxy.</li>
</ul>
</li>
</ul>
<p>Note that unless explicitely mentioned, the columns are read-only. </p>
</div><hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="aaa456bc82d03ce7e2ce64c227509be47"></a><!-- doxytag: member="Gnome::Gda::DataProxy::~DataProxy" ref="aaa456bc82d03ce7e2ce64c227509be47" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual Gnome::Gda::DataProxy::~DataProxy </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="a1ca28f2466df84a1080959accdc43861"></a><!-- doxytag: member="Gnome::Gda::DataProxy::DataProxy" ref="a1ca28f2466df84a1080959accdc43861" args="(const Glib::RefPtr&lt; DataModel &gt; &amp;model)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Gnome::Gda::DataProxy::DataProxy </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef"  >DataModel</a> &gt;&amp;&#160;</td>
          <td class="paramname"><em>model</em></td><td>)</td>
          <td><code> [explicit, protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="af6cb66b0b79c7401417f1ec8f1379285"></a><!-- doxytag: member="Gnome::Gda::DataProxy::alter_value_attributes" ref="af6cb66b0b79c7401417f1ec8f1379285" args="(int proxy_row, int col, ValueAttribute alter_flags)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gnome::Gda::DataProxy::alter_value_attributes </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>proxy_row</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>col</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespaceGnome_1_1Gda.html#a9f6ae7fb1f39a3e8f221f95151e89e28">ValueAttribute</a>&#160;</td>
          <td class="paramname"><em>alter_flags</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Alters the attributes of the value stored at (proxy_row, col) in <em>proxy</em>. </p>
<p>the <em>alter_flags</em> can only contain the GDA_VALUE_ATTR_IS_<code>0</code>, GDA_VALUE_ATTR_IS_DEFAULT and GDA_VALUE_ATTR_IS_UNCHANGED flags (other flags are ignored). </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">proxy_row</td><td>A proxy row number. </td></tr>
    <tr><td class="paramname">col</td><td>A valid column number. </td></tr>
    <tr><td class="paramname">alter_flags</td><td>Flags to alter the attributes. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="acd2cf6caca93fe6e871a9f2a5940aabd"></a><!-- doxytag: member="Gnome::Gda::DataProxy::apply_all_changes" ref="acd2cf6caca93fe6e871a9f2a5940aabd" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Gnome::Gda::DataProxy::apply_all_changes </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Apply all the changes stored in the proxy to the proxied data model. </p>
<p>The changes are done row after row, and if an error occurs, then it is possible that not all the changes to all the rows have been applied. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> if no error occurred. </dd></dl>

</div>
</div>
<a class="anchor" id="ab8583dac60b58bf33d063c92f6d99474"></a><!-- doxytag: member="Gnome::Gda::DataProxy::apply_row_changes" ref="ab8583dac60b58bf33d063c92f6d99474" args="(int proxy_row)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gnome::Gda::DataProxy::apply_row_changes </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>proxy_row</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Commits the modified data in the proxy back into the <a class="el" href="classGnome_1_1Gda_1_1DataModel.html" title="Abstract DataModel (Base class for all DataModels).">Gda::DataModel</a>. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">proxy_row</td><td>The row number to commit. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> if no error occurred. </dd></dl>

</div>
</div>
<a class="anchor" id="a1878e859aa43f71018aa4eb9c7cd9de2"></a><!-- doxytag: member="Gnome::Gda::DataProxy::cancel_all_changes" ref="a1878e859aa43f71018aa4eb9c7cd9de2" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Gnome::Gda::DataProxy::cancel_all_changes </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Cancel all the changes stored in the proxy (the <em>proxy</em> will be reset to its state as it was just after creation). </p>
<dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> if no error occurred. </dd></dl>

</div>
</div>
<a class="anchor" id="abe2edadb419b26915650e77e07489a0f"></a><!-- doxytag: member="Gnome::Gda::DataProxy::cancel_row_changes" ref="abe2edadb419b26915650e77e07489a0f" args="(int proxy_row, int col)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gnome::Gda::DataProxy::cancel_row_changes </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>proxy_row</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>col</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Resets data at the corresponding row and column. </p>
<p>If <em>proxy_row</em> corresponds to a new row, then that new row is deleted from <em>proxy</em>. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">proxy_row</td><td>The row to cancel changes. </td></tr>
    <tr><td class="paramname">col</td><td>The column to cancel changes, or less than 0 to cancel any change on the <em>row</em> row. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ad5a5f8ac4afede919da02580b4081aa3"></a><!-- doxytag: member="Gnome::Gda::DataProxy::create" ref="ad5a5f8ac4afede919da02580b4081aa3" args="(const Glib::RefPtr&lt; DataModel &gt; &amp;model)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="elRef"  >DataProxy</a>&gt; Gnome::Gda::DataProxy::create </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef"  >DataModel</a> &gt;&amp;&#160;</td>
          <td class="paramname"><em>model</em></td><td>)</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a0a02bfb027d48ff4578a6edf0f4fea22"></a><!-- doxytag: member="Gnome::Gda::DataProxy::erase" ref="a0a02bfb027d48ff4578a6edf0f4fea22" args="(int proxy_row)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gnome::Gda::DataProxy::erase </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>proxy_row</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Marks the row <em>proxy_row</em> to be deleted. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">proxy_row</td><td>A proxy row number. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ae5ea4f7fd12b2ce693f111bcc1950801"></a><!-- doxytag: member="Gnome::Gda::DataProxy::get_filter_expr" ref="ae5ea4f7fd12b2ce693f111bcc1950801" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef"  >Glib::ustring</a> Gnome::Gda::DataProxy::get_filter_expr </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Get the current filter expression used by <em>proxy</em>. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>The current filter expression or <code>0</code> if no filter has been set. </dd></dl>

</div>
</div>
<a class="anchor" id="aaae882af4ed8f3f658094d19379bd379"></a><!-- doxytag: member="Gnome::Gda::DataProxy::get_filter_expr" ref="aaae882af4ed8f3f658094d19379bd379" args="(const Glib::ustring &amp;filter_expr)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gnome::Gda::DataProxy::get_filter_expr </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef"  >Glib::ustring</a> &amp;&#160;</td>
          <td class="paramname"><em>filter_expr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets a filter among the rows presented by <em>proxy</em>. </p>
<p>The filter is defined by a filter expression which can be any SQL valid expression using <em>proxy's</em> columns. For instance if <em>proxy</em> has the "id" and "name" columns, then a filter can be "length(name) &lt; 5" to filter only the rows where the length of the name is strictly inferior to 5, or "id &gt;= 1000 and id &lt; 2000 order by name limit 50" to filter only the rows where the id is between 1000 and 2000, ordered by name and limited to 50 rows.</p>
<p>Note about column names: real column names can be used (double quoted if necessary), but columns can also be named "_&lt;column number&gt;" with column numbers starting at 1.</p>
<p>Note that any previous filter expression is replaced with the new <em>filter_expr</em> if no error occurs (if an error occurs, then any previous filter is left unchanged). </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">filter_expr</td><td>An SQL based expression which will filter the contents of <em>proxy</em>, or <code>0</code> to remove any previous filter. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> if no error occurred. </dd></dl>

</div>
</div>
<a class="anchor" id="af4b50dc08b41895f5b01f2818e458396"></a><!-- doxytag: member="Gnome::Gda::DataProxy::get_filtered_n_rows" ref="af4b50dc08b41895f5b01f2818e458396" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int Gnome::Gda::DataProxy::get_filtered_n_rows </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Get the total number of filtered rows in <em>proxy</em> if a filter has been applied. </p>
<p>As new rows (rows added to the proxy and not yet added to the proxied data model) and rows to remove (rows marked for removal but not yet removed from the proxied data model) are also filtered, the returned number also contains references to new rows and rows to be removed. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>The number of filtered rows in <em>proxy</em>, or -1 if no filter has been applied. </dd></dl>

</div>
</div>
<a class="anchor" id="a77c6ccd92246e4efb6be1b246460bc36"></a><!-- doxytag: member="Gnome::Gda::DataProxy::get_n_modified_rows" ref="a77c6ccd92246e4efb6be1b246460bc36" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int Gnome::Gda::DataProxy::get_n_modified_rows </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Get the number of rows which have been modified in the proxy (the sum of rows existing in the proxied data model which have been modified, and new rows). </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>The number of modified rows. </dd></dl>

</div>
</div>
<a class="anchor" id="a6355be309052503450a8c0cc710860b7"></a><!-- doxytag: member="Gnome::Gda::DataProxy::get_n_new_rows" ref="a6355be309052503450a8c0cc710860b7" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int Gnome::Gda::DataProxy::get_n_new_rows </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Get the number of rows which have been added to <em>proxy</em> and which are not part of the proxied data model. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>The number of new rows. </dd></dl>

</div>
</div>
<a class="anchor" id="a5d074bd6e3c57274050f74c9b96005a3"></a><!-- doxytag: member="Gnome::Gda::DataProxy::get_proxied_model" ref="a5d074bd6e3c57274050f74c9b96005a3" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef"  >DataModel</a>&gt; Gnome::Gda::DataProxy::get_proxied_model </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Fetch the <a class="el" href="classGnome_1_1Gda_1_1DataModel.html" title="Abstract DataModel (Base class for all DataModels).">Gda::DataModel</a> which <em>proxy</em> does proxy. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>The proxied data model. </dd></dl>

</div>
</div>
<a class="anchor" id="aa014abf27a434c4389ce43caf1d166ad"></a><!-- doxytag: member="Gnome::Gda::DataProxy::get_proxied_model" ref="aa014abf27a434c4389ce43caf1d166ad" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef"  >DataModel</a>&gt; Gnome::Gda::DataProxy::get_proxied_model </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Fetch the <a class="el" href="classGnome_1_1Gda_1_1DataModel.html" title="Abstract DataModel (Base class for all DataModels).">Gda::DataModel</a> which <em>proxy</em> does proxy. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>The proxied data model. </dd></dl>

</div>
</div>
<a class="anchor" id="ab08280878e7a001ddca503f11cd14c32"></a><!-- doxytag: member="Gnome::Gda::DataProxy::get_proxied_model_n_cols" ref="ab08280878e7a001ddca503f11cd14c32" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int Gnome::Gda::DataProxy::get_proxied_model_n_cols </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Get the number of columns in the proxied data model. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>The number of columns, or -1 if an error occurred. </dd></dl>

</div>
</div>
<a class="anchor" id="aa87b3e19bc5995a249719a09068d9d8d"></a><!-- doxytag: member="Gnome::Gda::DataProxy::get_proxied_model_n_rows" ref="aa87b3e19bc5995a249719a09068d9d8d" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int Gnome::Gda::DataProxy::get_proxied_model_n_rows </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

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

</div>
</div>
<a class="anchor" id="aff1c2ef56b16ec4fc9709ebb2d3c9c5f"></a><!-- doxytag: member="Gnome::Gda::DataProxy::get_proxied_model_row" ref="aff1c2ef56b16ec4fc9709ebb2d3c9c5f" args="(int proxy_row) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int Gnome::Gda::DataProxy::get_proxied_model_row </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>proxy_row</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Get the <em>proxy's</em> proxied model row corresponding to <em>proxy_row</em>. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">proxy_row</td><td>A proxy row number. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The proxied model's row, or -1 if <em>proxy</em> row which only exists <em>proxy</em>. </dd></dl>

</div>
</div>
<a class="anchor" id="af9094f0b09ab12567c9aebd3e80369d4"></a><!-- doxytag: member="Gnome::Gda::DataProxy::get_sample_end" ref="af9094f0b09ab12567c9aebd3e80369d4" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int Gnome::Gda::DataProxy::get_sample_end </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Get the number of the last row to be available in <em>proxy</em> (in reference to the proxied data model) </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>The number of the last proxied model's row. </dd></dl>

</div>
</div>
<a class="anchor" id="a11cb9f691247736f5ed69d108cd27492"></a><!-- doxytag: member="Gnome::Gda::DataProxy::get_sample_size" ref="a11cb9f691247736f5ed69d108cd27492" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int Gnome::Gda::DataProxy::get_sample_size </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Get the size of each chunk of data displayed at a time. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>The chunk (or sample) size, or 0 if chunking is disabled. </dd></dl>

</div>
</div>
<a class="anchor" id="a9d9e4f0c62cd82886a5a33264816dd2e"></a><!-- doxytag: member="Gnome::Gda::DataProxy::get_sample_start" ref="a9d9e4f0c62cd82886a5a33264816dd2e" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int Gnome::Gda::DataProxy::get_sample_start </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Get the number of the first row to be available in <em>proxy</em> (in reference to the proxied data model) </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>The number of the first proxied model's row. </dd></dl>

</div>
</div>
<a class="anchor" id="a3b597666c13ba06b2fc0c66a5e709d36"></a><!-- doxytag: member="Gnome::Gda::DataProxy::get_value_attributes" ref="a3b597666c13ba06b2fc0c66a5e709d36" args="(int proxy_row, int col) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="namespaceGnome_1_1Gda.html#a9f6ae7fb1f39a3e8f221f95151e89e28">ValueAttribute</a> Gnome::Gda::DataProxy::get_value_attributes </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>proxy_row</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>col</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Get the attributes of the value stored at (proxy_row, col) in <em>proxy</em>, which is an ORed value of <a class="el" href="namespaceGnome_1_1Gda.html#a9f6ae7fb1f39a3e8f221f95151e89e28">Gda::ValueAttribute</a> flags. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">proxy_row</td><td>A proxy row. </td></tr>
    <tr><td class="paramname">col</td><td>A valid proxy column. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The attribute. </dd></dl>

</div>
</div>
<a class="anchor" id="a8bed3e92e6daa3cabcafb66beacae73b"></a><!-- doxytag: member="Gnome::Gda::DataProxy::get_values" ref="a8bed3e92e6daa3cabcafb66beacae73b" args="(int proxy_row, const std::vector&lt; int &gt; &amp;cols_index) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classGnome_1_1Gda_1_1DataModel.html#a0ed66299310af38e618f740a79fc3c52">ValueVector</a> Gnome::Gda::DataProxy::get_values </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>proxy_row</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef"  >std::vector</a>&lt; int &gt; &amp;&#160;</td>
          <td class="paramname"><em>cols_index</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Retrieve a whole list of values from the <em>proxy</em> data model. </p>
<p>This function calls gda_data_proxy_get_value() for each column index specified in <em>cols_index</em>, and generates a SList on the way. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">proxy_row</td><td>A proxy row. </td></tr>
    <tr><td class="paramname">cols_index</td><td>Array containing the columns for which the values are requested. </td></tr>
    <tr><td class="paramname">n_cols</td><td>Size of <em>cols_index</em>. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>A new list of values (the list must be freed, not the values), or <code>0</code> if an error occurred. </dd></dl>

</div>
</div>
<a class="anchor" id="a20ff1348fc0013fb9c33c82d7d494401"></a><!-- doxytag: member="Gnome::Gda::DataProxy::gobj" ref="a20ff1348fc0013fb9c33c82d7d494401" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">GdaDataProxy* Gnome::Gda::DataProxy::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="el" href="classGnome_1_1Gda_1_1DataModel.html#a63b551e8308d050dbd5ab8964b405e76">Gnome::Gda::DataModel</a>.</p>

</div>
</div>
<a class="anchor" id="a596dbec3180a1f066831130ae85a06dc"></a><!-- doxytag: member="Gnome::Gda::DataProxy::gobj" ref="a596dbec3180a1f066831130ae85a06dc" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const GdaDataProxy* Gnome::Gda::DataProxy::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="el" href="classGnome_1_1Gda_1_1DataModel.html#af06bc95c0e33adf8a3faca1870190a7f">Gnome::Gda::DataModel</a>.</p>

</div>
</div>
<a class="anchor" id="a13a9f1ff550fdc9d56d56326b3c4d913"></a><!-- doxytag: member="Gnome::Gda::DataProxy::gobj_copy" ref="a13a9f1ff550fdc9d56d56326b3c4d913" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">GdaDataProxy* Gnome::Gda::DataProxy::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="a6a5ec8f0ff423656d3eb90a79748382d"></a><!-- doxytag: member="Gnome::Gda::DataProxy::has_changed" ref="a6a5ec8f0ff423656d3eb90a79748382d" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Gnome::Gda::DataProxy::has_changed </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Tells if <em>proxy</em> contains any modifications not applied to the proxied data model. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> if there are some modifications in <em>proxy</em>. </dd></dl>

</div>
</div>
<a class="anchor" id="a968cd04871fb3c21948f3798a5848b8e"></a><!-- doxytag: member="Gnome::Gda::DataProxy::is_read_only" ref="a968cd04871fb3c21948f3798a5848b8e" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Gnome::Gda::DataProxy::is_read_only </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><code>true</code> if the proxied data model is itself read-only. </dd></dl>

</div>
</div>
<a class="anchor" id="ac689dfcbe7495f5c336e130840846e2e"></a><!-- doxytag: member="Gnome::Gda::DataProxy::on_row_changes_applied" ref="ac689dfcbe7495f5c336e130840846e2e" args="(int row, int proxied_row)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void Gnome::Gda::DataProxy::on_row_changes_applied </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>row</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>proxied_row</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a1e1109b76776daeddea821cbab3c9cda"></a><!-- doxytag: member="Gnome::Gda::DataProxy::on_row_delete_changed" ref="a1e1109b76776daeddea821cbab3c9cda" args="(int row, bool to_be_deleted)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void Gnome::Gda::DataProxy::on_row_delete_changed </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>row</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>to_be_deleted</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a37b75ea13cca51a9500609979ed3e572"></a><!-- doxytag: member="Gnome::Gda::DataProxy::on_sample_changed" ref="a37b75ea13cca51a9500609979ed3e572" args="(int sample_start, int sample_end)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void Gnome::Gda::DataProxy::on_sample_changed </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>sample_start</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>sample_end</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a606d9d28b53ede9b1d335e4968247324"></a><!-- doxytag: member="Gnome::Gda::DataProxy::on_sample_size_changed" ref="a606d9d28b53ede9b1d335e4968247324" args="(int sample_size)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void Gnome::Gda::DataProxy::on_sample_size_changed </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>sample_size</em></td><td>)</td>
          <td><code> [protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a56dd8aca753f28d6221faf6e3d085574"></a><!-- doxytag: member="Gnome::Gda::DataProxy::property_defer_sync" ref="a56dd8aca753f28d6221faf6e3d085574" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef"  >Glib::PropertyProxy</a>&lt;bool&gt; Gnome::Gda::DataProxy::property_defer_sync </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Tells if changes to the sample of rows displayed is done in background in several steps or if it's done in one step. </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="a35cbf66cf61558d88ebdbd4c5a5879ee"></a><!-- doxytag: member="Gnome::Gda::DataProxy::property_defer_sync" ref="a35cbf66cf61558d88ebdbd4c5a5879ee" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef"  >Glib::PropertyProxy_ReadOnly</a>&lt;bool&gt; Gnome::Gda::DataProxy::property_defer_sync </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Tells if changes to the sample of rows displayed is done in background in several steps or if it's done in one step. </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="ac4490c795536742bf000b2463c244d13"></a><!-- doxytag: member="Gnome::Gda::DataProxy::property_model" ref="ac4490c795536742bf000b2463c244d13" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef"  >DataModel</a>&gt; &gt; Gnome::Gda::DataProxy::property_model </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Proxied data model. </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="a976598ba4890cfa99d412d6ec7c97e44"></a><!-- doxytag: member="Gnome::Gda::DataProxy::property_model" ref="a976598ba4890cfa99d412d6ec7c97e44" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef"  >DataModel</a>&gt; &gt; Gnome::Gda::DataProxy::property_model </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Proxied data model. </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="a03f3056dc392dc599424665052659856"></a><!-- doxytag: member="Gnome::Gda::DataProxy::property_prepend_null_entry" ref="a03f3056dc392dc599424665052659856" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef"  >Glib::PropertyProxy</a>&lt;bool&gt; Gnome::Gda::DataProxy::property_prepend_null_entry </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Tells if a row composed of NULL values is inserted as the proxy's first row. </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="ac74c13c48a11cca9a2e1fcc60c59a67f"></a><!-- doxytag: member="Gnome::Gda::DataProxy::property_prepend_null_entry" ref="ac74c13c48a11cca9a2e1fcc60c59a67f" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef"  >Glib::PropertyProxy_ReadOnly</a>&lt;bool&gt; Gnome::Gda::DataProxy::property_prepend_null_entry </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Tells if a row composed of NULL values is inserted as the proxy's first row. </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="a6be6fbdeb4c972be05d3946c43d65d83"></a><!-- doxytag: member="Gnome::Gda::DataProxy::property_sample_size" ref="a6be6fbdeb4c972be05d3946c43d65d83" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef"  >Glib::PropertyProxy</a>&lt;int&gt; Gnome::Gda::DataProxy::property_sample_size </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Number of rows which the proxy will contain at any time, like a sliding window on the proxied data model. </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="a484a4916047941be3686958b0080f6e4"></a><!-- doxytag: member="Gnome::Gda::DataProxy::property_sample_size" ref="a484a4916047941be3686958b0080f6e4" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef"  >Glib::PropertyProxy_ReadOnly</a>&lt;int&gt; Gnome::Gda::DataProxy::property_sample_size </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Number of rows which the proxy will contain at any time, like a sliding window on the proxied data model. </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="a8d36c248041ba85d221bdd9d4a2e7d08"></a><!-- doxytag: member="Gnome::Gda::DataProxy::row_has_changed" ref="a8d36c248041ba85d221bdd9d4a2e7d08" args="(int proxy_row) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Gnome::Gda::DataProxy::row_has_changed </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>proxy_row</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Tells if the row number <em>proxy_row</em> has changed. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">proxy_row</td><td>A proxy row number. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> if the row has changed. </dd></dl>

</div>
</div>
<a class="anchor" id="a2bdadcc3f5f66d2edb191fe211403bbb"></a><!-- doxytag: member="Gnome::Gda::DataProxy::row_is_deleted" ref="a2bdadcc3f5f66d2edb191fe211403bbb" args="(int proxy_row) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Gnome::Gda::DataProxy::row_is_deleted </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>proxy_row</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Tells if the row number <em>proxy_row</em> is marked to be deleted. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">proxy_row</td><td>A proxy row number. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> if the row is marked to be deleted. </dd></dl>

</div>
</div>
<a class="anchor" id="a779cd3b00bfc8b0126a62dbfac1ec857"></a><!-- doxytag: member="Gnome::Gda::DataProxy::row_is_inserted" ref="a779cd3b00bfc8b0126a62dbfac1ec857" args="(int proxy_row) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Gnome::Gda::DataProxy::row_is_inserted </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>proxy_row</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Tells if the row number <em>proxy_row</em> is a row which has been inserted in <em>proxy</em> (and is thus not in the proxied data model). </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">proxy_row</td><td>A proxy row number. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> if the row is an inserted row. </dd></dl>

</div>
</div>
<a class="anchor" id="ac3b6ccfc2b86577326036510ed7286bc"></a><!-- doxytag: member="Gnome::Gda::DataProxy::set_ordering_column" ref="ac3b6ccfc2b86577326036510ed7286bc" args="(int col)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gnome::Gda::DataProxy::set_ordering_column </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>col</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Orders by the <em>col</em> column. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">col</td><td>The column number to order from. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> if no error occurred. </dd></dl>

</div>
</div>
<a class="anchor" id="a519edc04a930dda39ece993319beeb05"></a><!-- doxytag: member="Gnome::Gda::DataProxy::set_sample_size" ref="a519edc04a930dda39ece993319beeb05" args="(int sample_size)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gnome::Gda::DataProxy::set_sample_size </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>sample_size</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets the size of each chunk of data to display: the maximum number of rows which can be "displayed" at a time (the maximum number of rows which <em>proxy</em> pretends to have). </p>
<p>The default value is arbitrary 300 as it is big enough to be able to display quite a lot of data, but small enough to avoid too much data displayed at the same time.</p>
<dl class="note"><dt><b>Note:</b></dt><dd>the rows which have been added but not yet committed will always be displayed regardless of the current chunk of data, and the modified rows which are not visible when the displayed chunk of data changes are still held as modified rows.</dd></dl>
<p>To remove the chunking of the data to display, simply pass <em>sample_size</em> the %0 value. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">sample_size</td><td>The requested size of a chunk, or 0. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="acaa0f674714646ca31d6ec57aab078ae"></a><!-- doxytag: member="Gnome::Gda::DataProxy::set_sample_start" ref="acaa0f674714646ca31d6ec57aab078ae" args="(int sample_start)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gnome::Gda::DataProxy::set_sample_start </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>sample_start</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets the number of the first row to be available in <em>proxy</em> (in reference to the proxied data model) </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">sample_start</td><td>The number of the first row to be displayed. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a324cff8212f3dbeb9504e97636dd39dd"></a><!-- doxytag: member="Gnome::Gda::DataProxy::signal_filter_changed" ref="a324cff8212f3dbeb9504e97636dd39dd" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef"  >Glib::SignalProxy0</a>&lt; void &gt; Gnome::Gda::DataProxy::signal_filter_changed </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="user"><dt><b>Prototype:</b></dt><dd><code>void on_my_filter_changed()</code> </dd></dl>

</div>
</div>
<a class="anchor" id="a3bc587aa8ea4513c30fe70847337b4a0"></a><!-- doxytag: member="Gnome::Gda::DataProxy::signal_row_changes_applied" ref="a3bc587aa8ea4513c30fe70847337b4a0" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef"  >Glib::SignalProxy2</a>&lt; void,int,int &gt; Gnome::Gda::DataProxy::signal_row_changes_applied </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="user"><dt><b>Prototype:</b></dt><dd><code>void on_my_row_changes_applied(int row, int proxied_row)</code> </dd></dl>

</div>
</div>
<a class="anchor" id="a9c6b2591ccb7c86a91dd5154507dc187"></a><!-- doxytag: member="Gnome::Gda::DataProxy::signal_row_delete_changed" ref="a9c6b2591ccb7c86a91dd5154507dc187" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef"  >Glib::SignalProxy2</a>&lt; void,int,bool &gt; Gnome::Gda::DataProxy::signal_row_delete_changed </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="user"><dt><b>Prototype:</b></dt><dd><code>void on_my_row_delete_changed(int row, bool to_be_deleted)</code> </dd></dl>

</div>
</div>
<a class="anchor" id="a36cfa77d1b108d99093e1a605df4348c"></a><!-- doxytag: member="Gnome::Gda::DataProxy::signal_sample_changed" ref="a36cfa77d1b108d99093e1a605df4348c" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef"  >Glib::SignalProxy2</a>&lt; void,int,int &gt; Gnome::Gda::DataProxy::signal_sample_changed </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="user"><dt><b>Prototype:</b></dt><dd><code>void on_my_sample_changed(int sample_start, int sample_end)</code> </dd></dl>

</div>
</div>
<a class="anchor" id="ac6d3e410ebae7cb6f90064eeaf7a2efa"></a><!-- doxytag: member="Gnome::Gda::DataProxy::signal_sample_size_changed" ref="ac6d3e410ebae7cb6f90064eeaf7a2efa" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef"  >Glib::SignalProxy1</a>&lt; void,int &gt; Gnome::Gda::DataProxy::signal_sample_size_changed </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="user"><dt><b>Prototype:</b></dt><dd><code>void on_my_sample_size_changed(int sample_size)</code> </dd></dl>

</div>
</div>
<a class="anchor" id="aedd0dc6781a74ca9c6e9f43d4faa84db"></a><!-- doxytag: member="Gnome::Gda::DataProxy::signal_validate_row_changes" ref="aedd0dc6781a74ca9c6e9f43d4faa84db" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef"  >Glib::Error</a>,int,int &gt; Gnome::Gda::DataProxy::signal_validate_row_changes </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="user"><dt><b>Prototype:</b></dt><dd><code><a class="elRef"  >Glib::Error</a> on_my_validate_row_changes(int row, int proxied_row)</code> </dd></dl>

</div>
</div>
<a class="anchor" id="aa924b89d8c77a82af926eed675cf0919"></a><!-- doxytag: member="Gnome::Gda::DataProxy::unerase" ref="aa924b89d8c77a82af926eed675cf0919" args="(int proxy_row)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gnome::Gda::DataProxy::unerase </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>proxy_row</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Remove the "to be deleted" mark at the row <em>proxy_row</em>, if it existed. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">proxy_row</td><td>A proxy row number. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<hr/><h2>Friends And Related Function Documentation</h2>
<a class="anchor" id="aeb2755aa7104f5f143fb823326fac00b"></a><!-- doxytag: member="Gnome::Gda::DataProxy::wrap" ref="aeb2755aa7104f5f143fb823326fac00b" args="(GdaDataProxy *object, bool take_copy=false)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef"  >Gnome::Gda::DataProxy</a> &gt; wrap </td>
          <td>(</td>
          <td class="paramtype">GdaDataProxy *&#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"  >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/dataproxy.h</li>
</ul>
</div>


<hr class="footer"/><address class="footer"><small>
Generated on Sun Nov 20 2011 22:38:13 for libgdamm by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.7.5.1-20110925
</small></address>

</body>
</html>