summaryrefslogtreecommitdiff
path: root/odb/semantics/relational/table.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2013-03-16 07:44:43 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2013-04-10 18:46:43 +0200
commit08b159e18527c2d6844e569b1309b5033b4d47c9 (patch)
tree224a1d6e7c989740e9be806c0f3cc7fc20266eb2 /odb/semantics/relational/table.hxx
parent9fe60de16cf9411a548c020cae5ac7b9e7938e82 (diff)
Add initial support for database model serialization to XML
Diffstat (limited to 'odb/semantics/relational/table.hxx')
-rw-r--r--odb/semantics/relational/table.hxx43
1 files changed, 8 insertions, 35 deletions
diff --git a/odb/semantics/relational/table.hxx b/odb/semantics/relational/table.hxx
index 1dc3957..a57a7db 100644
--- a/odb/semantics/relational/table.hxx
+++ b/odb/semantics/relational/table.hxx
@@ -14,45 +14,18 @@ namespace semantics
class table: public qnameable, public uscope
{
public:
- // Resolve ambiguity.
- //
- using qnameable::scope;
-
- protected:
- table (string const& id)
- : qnameable (id)
- {
- }
- };
-
- class object_table: public table
- {
- public:
- object_table (string const& id)
- : table (id)
- {
- }
+ table (string const& id): qnameable (id) {}
+ table (xml::parser&, qscope&, graph&);
virtual string
- kind () const
- {
- return "object table";
- }
- };
+ kind () const {return "table";}
- class container_table: public table
- {
- public:
- container_table (string const& id)
- : table (id)
- {
- }
+ virtual void
+ serialize (xml::serializer&) const;
- virtual string
- kind () const
- {
- return "container table";
- }
+ // Resolve ambiguity.
+ //
+ using qnameable::scope;
};
}
}