gnomemm r1759 - in libgdamm/trunk: . libgda/src
- From: jhs svn gnome org
- To: svn-commits-list gnome org
- Subject: gnomemm r1759 - in libgdamm/trunk: . libgda/src
- Date: Thu, 30 Oct 2008 14:59:49 +0000 (UTC)
Author: jhs
Date: Thu Oct 30 14:59:49 2008
New Revision: 1759
URL: http://svn.gnome.org/viewvc/gnomemm?rev=1759&view=rev
Log:
2008-10-30 Johannes Schmid <jschmid openismus com>
* libgda/src/Makefile_list_of_hg.am_fragment:
* libgda/src/dataselect.ccg:
* libgda/src/dataselect.hg:
Wrapped GdaDataSelect
Added:
libgdamm/trunk/libgda/src/dataselect.ccg
libgdamm/trunk/libgda/src/dataselect.hg
Modified:
libgdamm/trunk/ChangeLog
libgdamm/trunk/libgda/src/Makefile_list_of_hg.am_fragment
Modified: libgdamm/trunk/libgda/src/Makefile_list_of_hg.am_fragment
==============================================================================
--- libgdamm/trunk/libgda/src/Makefile_list_of_hg.am_fragment (original)
+++ libgdamm/trunk/libgda/src/Makefile_list_of_hg.am_fragment Thu Oct 30 14:59:49 2008
@@ -13,7 +13,7 @@
set.hg row.hg column.hg holder.hg statement.hg sqlparser.hg \
batch.hg metastore.hg metastruct.hg config.hg threader.hg \
blobop.hg blob.hg quarklist.hg error.hg datacomparator.hg \
- dataaccesswrapper.hg
+ dataaccesswrapper.hg dataselect.hg
Added: libgdamm/trunk/libgda/src/dataselect.ccg
==============================================================================
--- (empty file)
+++ libgdamm/trunk/libgda/src/dataselect.ccg Thu Oct 30 14:59:49 2008
@@ -0,0 +1,33 @@
+// -*- C++ -*- // this is for the .ccg, I realize gensig puts one in
+
+/* dataselect.cc
+ *
+ * Copyright 2003 libgdamm Development Team
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Library General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Library General Public License for more details.
+ *
+ * You should have received a copy of the GNU Library General Public
+ * License along with this library; if not, write to the Free
+ * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ */
+
+#include <libgda/gda-data-select.h>
+
+namespace Gnome
+{
+
+namespace Gda
+{
+
+} /* namespace Gda */
+
+} /* namespace Gnome */
+
Added: libgdamm/trunk/libgda/src/dataselect.hg
==============================================================================
--- (empty file)
+++ libgdamm/trunk/libgda/src/dataselect.hg Thu Oct 30 14:59:49 2008
@@ -0,0 +1,67 @@
+// -*- C++ -*- // this is for the .hg, I realize gensig puts one in
+
+/* dataselect.h
+ *
+ * Copyright 2006 libgdamm Development Team
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Library General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or(at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Library General Public License for more details.
+ *
+ * You should have received a copy of the GNU Library General Public
+ * License along with this library; if not, write to the Free
+ * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ */
+
+_DEFS(libgdamm,libgda)
+_PINCLUDE(glibmm/private/object_p.h)
+
+#include <libgdamm/datamodel.h>
+#include <libgdamm/statement.h>
+#include <libgdamm/set.h>
+
+namespace Gnome
+{
+
+namespace Gda
+{
+
+/** Data models returned by the execution of a SELECT statement
+ *
+ *
+ * @ingroup Connection
+ */
+class DataSelect : public Glib::Object
+{
+ _CLASS_GOBJECT(DataSelect, GdaDataSelect, GDA_DATA_SELECT, Glib::Object, GObject)
+public:
+ _WRAP_METHOD (bool set_row_selection_condition_sql (const Glib::ustring& sql_where), gda_data_select_set_row_selection_condition_sql, errthrow)
+ // This is internal only
+ _IGNORE (gda_data_select_set_row_selection_condition)
+ _WRAP_METHOD (void compute_row_selection_condition (), gda_data_select_compute_row_selection_condition, errthrow)
+ _WRAP_METHOD (void set_modification_statement (const Glib::RefPtr<Statement>& stmt), gda_data_select_set_modification_statement, errthrow)
+ _WRAP_METHOD (void set_modification_statement_sql (const Glib::ustring& sql), gda_data_select_set_modification_statement_sql, errthrow)
+ _WRAP_METHOD (void compute_modification_statements (), gda_data_select_compute_modification_statements, errthrow)
+ _WRAP_METHOD (void compute_columns_attributes (), gda_data_select_compute_columns_attributes, errthrow)
+
+ _WRAP_PROPERTY("auto-reset", bool)
+ _WRAP_PROPERTY("store-all-rows", bool)
+ _WRAP_PROPERTY("connection", Glib::RefPtr<Connection>)
+ _WRAP_PROPERTY("delete-stmt", Glib::RefPtr<Statement>)
+ _WRAP_PROPERTY("insert-stmt", Glib::RefPtr<Statement>)
+ _WRAP_PROPERTY("prepared-stmt", Glib::RefPtr<Statement>)
+ _WRAP_PROPERTY("update-stmt", Glib::RefPtr<Statement>)
+ _WRAP_PROPERTY("exec-params", Glib::RefPtr<Set>)
+ _WRAP_PROPERTY("model-usage", guint)
+
+};
+
+} // namespace Gda
+} // namespace Gnome
+
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]