From 3b457daf6b252ef31ec0611e7375aa4badd8e63d Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 18 Mar 2013 13:10:41 +0200 Subject: Add support for copying database models --- odb/semantics/relational/table.hxx | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'odb/semantics/relational/table.hxx') diff --git a/odb/semantics/relational/table.hxx b/odb/semantics/relational/table.hxx index 5a38e6d..768d3d7 100644 --- a/odb/semantics/relational/table.hxx +++ b/odb/semantics/relational/table.hxx @@ -15,8 +15,12 @@ namespace semantics { public: table (string const& id): qnameable (id) {} + table (table const&, qscope&, graph&); table (xml::parser&, qscope&, graph&); + virtual table& + clone (qscope&, graph&) const; + virtual string kind () const {return "table";} @@ -32,8 +36,12 @@ namespace semantics { public: add_table (string const& id): table (id) {} + add_table (table const& t, qscope& s, graph& g): table (t, s, g) {} add_table (xml::parser& p, qscope& s, graph& g): table (p, s, g) {} + virtual add_table& + clone (qscope&, graph&) const; + virtual string kind () const {return "add table";} -- cgit v1.1