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/index.hxx | |
parent | 1112388f458cbbac8a73ca840f7f62f6f517e9fa (diff) |
Add support for copying database models
Diffstat (limited to 'odb/semantics/relational/index.hxx')
-rw-r--r-- | odb/semantics/relational/index.hxx | 31 |
1 files changed, 13 insertions, 18 deletions
diff --git a/odb/semantics/relational/index.hxx b/odb/semantics/relational/index.hxx index 802faa7..621f36a 100644 --- a/odb/semantics/relational/index.hxx +++ b/odb/semantics/relational/index.hxx @@ -18,28 +18,13 @@ namespace semantics { public: string const& - type () const - { - return type_; - } + type () const {return type_;} string const& - method () const - { - return method_; - } + method () const {return method_;} string const& - options () const - { - return options_; - } - - virtual string - kind () const - { - return "index"; - } + options () const {return options_;} public: index (string const& id, @@ -50,8 +35,18 @@ namespace semantics { } + index (index const&, uscope&, graph&); index (xml::parser&, uscope&, graph&); + virtual index& + clone (uscope&, graph&) const; + + virtual string + kind () const + { + return "index"; + } + virtual void serialize (xml::serializer&) const; |