gnomemm r1757 - in libgdamm/trunk: . libgda/src



Author: jhs
Date: Thu Oct 30 14:24:29 2008
New Revision: 1757
URL: http://svn.gnome.org/viewvc/gnomemm?rev=1757&view=rev

Log:
2008-10-30  Johannes Schmid  <jschmid openismus com>

	* libgda/src/Makefile_list_of_hg.am_fragment:
	* libgda/src/dataaccesswrapper.ccg:
	* libgda/src/dataaccesswrapper.hg:
	
	Wrapped GdaDataAccessWrapper

Added:
   libgdamm/trunk/libgda/src/dataaccesswrapper.ccg
   libgdamm/trunk/libgda/src/dataaccesswrapper.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:24:29 2008
@@ -12,7 +12,8 @@
      serverprovider.hg serveroperation.hg transactionstatus.hg \
      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
+     blobop.hg blob.hg quarklist.hg error.hg datacomparator.hg \
+     dataaccesswrapper.hg
 
 
 

Added: libgdamm/trunk/libgda/src/dataaccesswrapper.ccg
==============================================================================
--- (empty file)
+++ libgdamm/trunk/libgda/src/dataaccesswrapper.ccg	Thu Oct 30 14:24:29 2008
@@ -0,0 +1,33 @@
+// -*- C++ -*- // this is for the .ccg, I realize gensig puts one in
+
+/* dataaccesswrapper.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-access-wrapper.h>
+
+namespace Gnome
+{
+
+namespace Gda
+{
+
+} /* namespace Gda */
+
+} /* namespace Gnome */
+

Added: libgdamm/trunk/libgda/src/dataaccesswrapper.hg
==============================================================================
--- (empty file)
+++ libgdamm/trunk/libgda/src/dataaccesswrapper.hg	Thu Oct 30 14:24:29 2008
@@ -0,0 +1,53 @@
+// -*- C++ -*- // this is for the .hg, I realize gensig puts one in
+
+/* dataaccesswrapper.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>
+
+namespace Gnome
+{
+
+namespace Gda
+{
+
+/** Offers a random access on top of a cursor-only access data model
+ *
+ * The Gda::DataAccessWrapper object simply wraps around another Gda::DataModel data model 
+ * object and allows data to be accessed in a random way while remaining memory efficient as much as possible.
+ *
+ * @ingroup Connection
+ */
+class DataAccessWrapper : public Glib::Object
+{
+  _CLASS_GOBJECT(DataAccessWrapper, GdaDataAccessWrapper, GDA_DATA_ACCESS_WRAPPER, Glib::Object, GObject)
+protected:
+  _WRAP_CTOR(DataAccessWrapper(const Glib::RefPtr<DataModel>& model), gda_data_access_wrapper_new)
+public:
+  _WRAP_CREATE(const Glib::RefPtr<DataModel>& model)
+  
+  _WRAP_PROPERTY("model", Glib::RefPtr<DataModel>)
+};
+
+} // namespace Gda
+} // namespace Gnome
+



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]