Sophie

Sophie

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

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::DataComparator 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_1DataComparator.html">DataComparator</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::DataComparator Class Reference<div class="ingroups"><a class="el" href="group__DataHandlers.html">Data Handlers</a></div></div> </div>
</div>
<div class="contents">
<!-- doxytag: class="Gnome::Gda::DataComparator" --><!-- doxytag: inherits="Glib::Object,Gnome::Gda::DataModel" -->
<p>Simple data model's contents comparison.  <a href="classGnome_1_1Gda_1_1DataComparator.html#details">More...</a></p>
<div class="dynheader">
Inheritance diagram for Gnome::Gda::DataComparator:</div>
<div class="dyncontent">
<div class="center"><img src="classGnome_1_1Gda_1_1DataComparator__inherit__graph.png" border="0" usemap="#Gnome_1_1Gda_1_1DataComparator_inherit__map" alt="Inheritance graph"/></div>
<map name="Gnome_1_1Gda_1_1DataComparator_inherit__map" id="Gnome_1_1Gda_1_1DataComparator_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::DataComparator:</div>
<div class="dyncontent">
<div class="center"><img src="classGnome_1_1Gda_1_1DataComparator__coll__graph.png" border="0" usemap="#Gnome_1_1Gda_1_1DataComparator_coll__map" alt="Collaboration graph"/></div>
<map name="Gnome_1_1Gda_1_1DataComparator_coll__map" id="Gnome_1_1Gda_1_1DataComparator_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_1DataComparator-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_1DataComparator.html#a6e04f8288a095260f9ed7f97300fed4a">~DataComparator</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">GdaDataComparator*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1DataComparator.html#aeb8c550c13b715c3276022ac4220db27">gobj</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Provides access to the underlying C GObject. <a href="#aeb8c550c13b715c3276022ac4220db27"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const GdaDataComparator*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1DataComparator.html#a3ed245cdb2ee33f633b14e7ea8710f96">gobj</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Provides access to the underlying C GObject. <a href="#a3ed245cdb2ee33f633b14e7ea8710f96"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">GdaDataComparator*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1DataComparator.html#abe9bc645eaf538ae3e34f1ddc3b3f31a">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="#abe9bc645eaf538ae3e34f1ddc3b3f31a"></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_1DataComparator.html#ac7149bbb2bd4f4edc4f52e17a9d77a89">set_key_for_columns</a> (const <a class="elRef"  >std::vector</a>&lt; int &gt;&amp; col_numbers)</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_1DataComparator.html#ad073821f778e6f39497ef50c79de2a8f">compute_diff</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Actually computes the differences between the data models for which <em>comp</em> is defined. <a href="#ad073821f778e6f39497ef50c79de2a8f"></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_1DataComparator.html#ae03ee67435f04d62e4ae2274b9058897">get_n_diffs</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the number of differences as computed by the last time <a class="el" href="classGnome_1_1Gda_1_1DataComparator.html#ad073821f778e6f39497ef50c79de2a8f" title="Actually computes the differences between the data models for which comp is defined.">compute_diff()</a> was called. <a href="#ae03ee67435f04d62e4ae2274b9058897"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const <a class="el" href="namespaceGnome_1_1Gda.html#a81cdda215eb648202d4e4f6f389d9cff">Diff</a>*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1DataComparator.html#a220d85f5767a7fbbc2da3138f1f8647c">get_diff</a> (int pos)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Get a pointer to the <a class="el" href="namespaceGnome_1_1Gda.html#a81cdda215eb648202d4e4f6f389d9cff">Gda::Diff</a> structure representing the difference which number is <em>pos</em>. <a href="#a220d85f5767a7fbbc2da3138f1f8647c"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef"  />
&lt; <a class="elRef"  >property_old_model</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">You rarely need to use properties because there are get_ and set_ methods for almost all of them. <a href="#a07e0822e1dcbefc86f6fb89dc3ff5c6f"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef"  />
&lt; <a class="elRef"  >property_old_model</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">You rarely need to use properties because there are get_ and set_ methods for almost all of them. <a href="#af7501bb2a543e0698f3f09ac2ca32d5e"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef"  />
&lt; <a class="elRef"  >property_new_model</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">You rarely need to use properties because there are get_ and set_ methods for almost all of them. <a href="#a393c656e41f6834397b065378330b195"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef"  />
&lt; <a class="elRef"  >property_new_model</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">You rarely need to use properties because there are get_ and set_ methods for almost all of them. <a href="#acf8eddcd37b46a92b81fdabe96af2573"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef"  >signal_diff_computed</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"  />
&lt; <a class="el" href="classGnome_1_1Gda_1_1DataComparator.html">DataComparator</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1DataComparator.html#a1dd93d66f5dfa9e4632702f9e0b30d23">create</a> (const <a class="elRef"  >DataModel</a> &gt;&amp; new_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_1DataComparator.html#a2532529a66bc2c7f14511b56b4eb69ac">DataComparator</a> (const <a class="elRef"  >DataModel</a> &gt;&amp; new_model)</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_1DataComparator.html">Gnome::Gda::DataComparator</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1DataComparator.html#ab27bfbf910d89f8b114df210af57b4c6">wrap</a> (GdaDataComparator* 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>Simple data model's contents comparison. </p>
<p>The <a class="el" href="classGnome_1_1Gda_1_1DataComparator.html" title="Simple data model&#39;s contents comparison.">DataComparator</a> is a simple object which takes two <a class="el" href="classGnome_1_1Gda_1_1DataModel.html" title="Abstract DataModel (Base class for all DataModels).">DataModel</a> objects and compare them. Actual comparison is performed when the <a class="el" href="classGnome_1_1Gda_1_1DataComparator.html#ad073821f778e6f39497ef50c79de2a8f" title="Actually computes the differences between the data models for which comp is defined.">compute_diff()</a> is called; for each difference found, the diff-computed signal is emitted (any user installed signal handler which returns FALSE stops the computing process).</p>
<p>After the differences have been computed, they can each be accessed using gda_data_comparator_get_diff(), the number of differences found being returned by gda_data_comparator_get_n_diffs(). There are some limitations to this object: </p>
<ul>
<li>
The data models compared must have the same number and type of columns </li>
<li>
The comparison is done column-for-column: one cannot omit columns in the comparison, nor compare columns with different positions </li>
</ul>
</div><hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a6e04f8288a095260f9ed7f97300fed4a"></a><!-- doxytag: member="Gnome::Gda::DataComparator::~DataComparator" ref="a6e04f8288a095260f9ed7f97300fed4a" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual Gnome::Gda::DataComparator::~DataComparator </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="a2532529a66bc2c7f14511b56b4eb69ac"></a><!-- doxytag: member="Gnome::Gda::DataComparator::DataComparator" ref="a2532529a66bc2c7f14511b56b4eb69ac" args="(const Glib::RefPtr&lt; DataModel &gt; &amp;old_model, const Glib::RefPtr&lt; DataModel &gt; &amp;new_model)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Gnome::Gda::DataComparator::DataComparator </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef"  >DataModel</a> &gt;&amp;&#160;</td>
          <td class="paramname"><em>old_model</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef"  >DataModel</a> &gt;&amp;&#160;</td>
          <td class="paramname"><em>new_model</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</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="ad073821f778e6f39497ef50c79de2a8f"></a><!-- doxytag: member="Gnome::Gda::DataComparator::compute_diff" ref="ad073821f778e6f39497ef50c79de2a8f" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Gnome::Gda::DataComparator::compute_diff </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Actually computes the differences between the data models for which <em>comp</em> is defined. </p>
<p>For each difference computed, stored in a <a class="el" href="namespaceGnome_1_1Gda.html#a81cdda215eb648202d4e4f6f389d9cff">Gda::Diff</a> structure, the "diff-computed" signal is emitted. If one connects to this signal and returns <code>false</code> in the signal handler, then computing differences will be stopped and an error will be returned. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> if all the differences have been sucessfully computed, and <code>false</code> if an error occurred. </dd></dl>

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

</div>
</div>
<a class="anchor" id="a220d85f5767a7fbbc2da3138f1f8647c"></a><!-- doxytag: member="Gnome::Gda::DataComparator::get_diff" ref="a220d85f5767a7fbbc2da3138f1f8647c" args="(int pos)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="namespaceGnome_1_1Gda.html#a81cdda215eb648202d4e4f6f389d9cff">Diff</a>* Gnome::Gda::DataComparator::get_diff </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>pos</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Get a pointer to the <a class="el" href="namespaceGnome_1_1Gda.html#a81cdda215eb648202d4e4f6f389d9cff">Gda::Diff</a> structure representing the difference which number is <em>pos</em>. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">pos</td><td>The requested difference number (starting at 0). </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>A pointer to a <a class="el" href="namespaceGnome_1_1Gda.html#a81cdda215eb648202d4e4f6f389d9cff">Gda::Diff</a>, or <code>0</code> if <em>pos</em> is invalid. </dd></dl>

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

<p>Get the number of differences as computed by the last time <a class="el" href="classGnome_1_1Gda_1_1DataComparator.html#ad073821f778e6f39497ef50c79de2a8f" title="Actually computes the differences between the data models for which comp is defined.">compute_diff()</a> was called. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>The number of computed differences. </dd></dl>

</div>
</div>
<a class="anchor" id="aeb8c550c13b715c3276022ac4220db27"></a><!-- doxytag: member="Gnome::Gda::DataComparator::gobj" ref="aeb8c550c13b715c3276022ac4220db27" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">GdaDataComparator* Gnome::Gda::DataComparator::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="a3ed245cdb2ee33f633b14e7ea8710f96"></a><!-- doxytag: member="Gnome::Gda::DataComparator::gobj" ref="a3ed245cdb2ee33f633b14e7ea8710f96" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const GdaDataComparator* Gnome::Gda::DataComparator::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="abe9bc645eaf538ae3e34f1ddc3b3f31a"></a><!-- doxytag: member="Gnome::Gda::DataComparator::gobj_copy" ref="abe9bc645eaf538ae3e34f1ddc3b3f31a" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">GdaDataComparator* Gnome::Gda::DataComparator::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="a393c656e41f6834397b065378330b195"></a><!-- doxytag: member="Gnome::Gda::DataComparator::property_new_model" ref="a393c656e41f6834397b065378330b195" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef"  >DataModel</a>&gt; &gt; Gnome::Gda::DataComparator::property_new_model </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<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="acf8eddcd37b46a92b81fdabe96af2573"></a><!-- doxytag: member="Gnome::Gda::DataComparator::property_new_model" ref="acf8eddcd37b46a92b81fdabe96af2573" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef"  >DataModel</a>&gt; &gt; Gnome::Gda::DataComparator::property_new_model </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<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="a07e0822e1dcbefc86f6fb89dc3ff5c6f"></a><!-- doxytag: member="Gnome::Gda::DataComparator::property_old_model" ref="a07e0822e1dcbefc86f6fb89dc3ff5c6f" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef"  >DataModel</a>&gt; &gt; Gnome::Gda::DataComparator::property_old_model </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<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="af7501bb2a543e0698f3f09ac2ca32d5e"></a><!-- doxytag: member="Gnome::Gda::DataComparator::property_old_model" ref="af7501bb2a543e0698f3f09ac2ca32d5e" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef"  >DataModel</a>&gt; &gt; Gnome::Gda::DataComparator::property_old_model </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<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="ac7149bbb2bd4f4edc4f52e17a9d77a89"></a><!-- doxytag: member="Gnome::Gda::DataComparator::set_key_for_columns" ref="ac7149bbb2bd4f4edc4f52e17a9d77a89" args="(const std::vector&lt; int &gt; &amp;col_numbers)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gnome::Gda::DataComparator::set_key_for_columns </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef"  >std::vector</a>&lt; int &gt; &amp;&#160;</td>
          <td class="paramname"><em>col_numbers</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a5fbbe25ad75e7e274fe164cac2e7372d"></a><!-- doxytag: member="Gnome::Gda::DataComparator::signal_diff_computed" ref="a5fbbe25ad75e7e274fe164cac2e7372d" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef"  >Diff</a>* &gt; Gnome::Gda::DataComparator::signal_diff_computed </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>bool on_my_diff_computed(Diff* diff)</code> </dd></dl>

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