summaryrefslogtreecommitdiff
path: root/odb/semantics/relational/changelog.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'odb/semantics/relational/changelog.hxx')
-rw-r--r--odb/semantics/relational/changelog.hxx12
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&);