diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2013-09-15 12:46:09 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2013-09-15 12:46:09 +0200 |
commit | 51956f409ec7ebea8b6790b0c5d4f0b51513d683 (patch) | |
tree | 66f30e68fa3c8080d0d3d8d50c30e11914fc82b9 /odb/semantics/relational/table.hxx | |
parent | d9ea777539b166c7347c44a6b7784626405bc029 (diff) |
Cleanup polymorphic base tables when dropping derived one
Diffstat (limited to 'odb/semantics/relational/table.hxx')
-rw-r--r-- | odb/semantics/relational/table.hxx | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/odb/semantics/relational/table.hxx b/odb/semantics/relational/table.hxx index f46eec1..99c65b7 100644 --- a/odb/semantics/relational/table.hxx +++ b/odb/semantics/relational/table.hxx @@ -20,6 +20,17 @@ namespace semantics virtual void options (string const& o) {options_ = o;} + // Extra information. + // + public: + typedef std::map<string, string> extra_map; + + extra_map& + extra () {return extra_map_;} + + extra_map const& + extra () const {return extra_map_;} + public: table (string const& id): qnameable (id) {} table (table const&, qscope&, graph&, bool base = false); @@ -44,6 +55,7 @@ namespace semantics protected: string options_; + extra_map extra_map_; }; class add_table: public table |