diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2013-03-18 08:42:38 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2013-04-10 18:46:43 +0200 |
commit | ab135a6c31cd0e8c8b63b78781baa22442c1c129 (patch) | |
tree | a98a9cdf2e844a573e00e60264b437ce124339df /odb/semantics/relational/changeset.hxx | |
parent | 08b159e18527c2d6844e569b1309b5033b4d47c9 (diff) |
Add changelog, changeset, and add_table semantics nodes
Diffstat (limited to 'odb/semantics/relational/changeset.hxx')
-rw-r--r-- | odb/semantics/relational/changeset.hxx | 42 |
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 |