summaryrefslogtreecommitdiff
path: root/odb/semantics/relational/changeset.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'odb/semantics/relational/changeset.hxx')
-rw-r--r--odb/semantics/relational/changeset.hxx42
1 files changed, 42 insertions, 0 deletions
diff --git a/odb/semantics/relational/changeset.hxx b/odb/semantics/relational/changeset.hxx
new file mode 100644
index 0000000..74e665b
--- /dev/null
+++ b/odb/semantics/relational/changeset.hxx
@@ -0,0 +1,42 @@
+// file : odb/semantics/relational/changeset.hxx
+// copyright : Copyright (c) 2009-2013 Code Synthesis Tools CC
+// license : GNU GPL v3; see accompanying LICENSE file
+
+#ifndef ODB_SEMANTICS_RELATIONAL_CHANGESET_HXX
+#define ODB_SEMANTICS_RELATIONAL_CHANGESET_HXX
+
+#include <odb/semantics/relational/elements.hxx>
+
+namespace semantics
+{
+ namespace relational
+ {
+ class changeset: public qscope
+ {
+ public:
+ typedef relational::version version_type;
+
+ version_type
+ version () const {return version_;}
+
+ public:
+ changeset (version_type v): version_ (v) {}
+ changeset (xml::parser&, graph&);
+
+ virtual string
+ kind () const {return "changeset";}
+
+ virtual void
+ serialize (xml::serializer&) const;
+
+ public:
+ using qscope::add_edge_left;
+ using qscope::add_edge_right;
+
+ private:
+ version_type version_;
+ };
+ }
+}
+
+#endif // ODB_SEMANTICS_RELATIONAL_CHANGESET_HXX