diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2013-03-18 13:10:41 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2013-04-10 18:46:43 +0200 |
commit | 3b457daf6b252ef31ec0611e7375aa4badd8e63d (patch) | |
tree | 8874473de1c2cf6c1fd5a63a93c609d6f3fd0127 /odb/semantics/relational/changelog.hxx | |
parent | 1112388f458cbbac8a73ca840f7f62f6f517e9fa (diff) |
Add support for copying database models
Diffstat (limited to 'odb/semantics/relational/changelog.hxx')
-rw-r--r-- | odb/semantics/relational/changelog.hxx | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/odb/semantics/relational/changelog.hxx b/odb/semantics/relational/changelog.hxx index ed2323f..93b327d 100644 --- a/odb/semantics/relational/changelog.hxx +++ b/odb/semantics/relational/changelog.hxx @@ -82,6 +82,12 @@ namespace semantics pointer_iterator<contains_changeset_list::const_iterator> contains_changeset_iterator; + contains_changeset const& + contains_changeset_back () const + { + return *contains_changeset_.back (); + } + contains_changeset_iterator contains_changeset_begin () const { @@ -100,6 +106,12 @@ namespace semantics return contains_changeset_.size (); } + bool + contains_changeset_empty () const + { + return contains_changeset_.empty (); + } + public: changelog (): contains_model_ (0) {} changelog (xml::parser&); |