aboutsummaryrefslogtreecommitdiff
path: root/odb/sqlite/forward.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2013-02-05 15:50:07 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2013-02-05 15:50:07 +0200
commit32613d718b36a6c400d6f05da50d30b3fd25c3b8 (patch)
tree5e6816a5133fc4de18dc6442c727528bbaa6875c /odb/sqlite/forward.hxx
parent3a9feb01e8cda69c41af126a7266ae7a6e545499 (diff)
Add support for change-tracking containers
ODB now supports "smart" ordered containers. Such containers get extra functions for updating and deleting individual elements. Based on this functionality implement two change-tracking containers: odb::vector (equivalent to std::vector) and QOdbList (equivalent to QList). New tests: common/container/change-tracking and qt/common/container/change- tracking.
Diffstat (limited to 'odb/sqlite/forward.hxx')
-rw-r--r--odb/sqlite/forward.hxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/odb/sqlite/forward.hxx b/odb/sqlite/forward.hxx
index 382284e..389b078 100644
--- a/odb/sqlite/forward.hxx
+++ b/odb/sqlite/forward.hxx
@@ -67,6 +67,9 @@ namespace odb
template <typename T>
class container_statements;
+ template <typename T>
+ class smart_container_statements;
+
class query_base;
class query_params;
}