diff options
Diffstat (limited to 'odb/semantics/relational/index.hxx')
-rw-r--r-- | odb/semantics/relational/index.hxx | 22 |
1 files changed, 14 insertions, 8 deletions
diff --git a/odb/semantics/relational/index.hxx b/odb/semantics/relational/index.hxx index ac65eb3..802faa7 100644 --- a/odb/semantics/relational/index.hxx +++ b/odb/semantics/relational/index.hxx @@ -17,14 +17,6 @@ namespace semantics class index: public key { public: - index (string const& id, - string const& t = string (), - string const& m = string (), - string const& o = string ()) - : key (id), type_ (t), method_ (m), options_ (o) - { - } - string const& type () const { @@ -49,6 +41,20 @@ namespace semantics return "index"; } + public: + index (string const& id, + string const& t = string (), + string const& m = string (), + string const& o = string ()) + : key (id), type_ (t), method_ (m), options_ (o) + { + } + + index (xml::parser&, uscope&, graph&); + + virtual void + serialize (xml::serializer&) const; + private: string type_; // E.g., "UNIQUE", etc. string method_; // E.g., "BTREE", etc. |