summaryrefslogtreecommitdiff
path: root/odb/semantics/relational/column.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'odb/semantics/relational/column.hxx')
-rw-r--r--odb/semantics/relational/column.hxx15
1 files changed, 10 insertions, 5 deletions
diff --git a/odb/semantics/relational/column.hxx b/odb/semantics/relational/column.hxx
index 621e354..19aed98 100644
--- a/odb/semantics/relational/column.hxx
+++ b/odb/semantics/relational/column.hxx
@@ -19,11 +19,6 @@ namespace semantics
typedef std::vector<contains*> contained_list;
public:
- column (string const& id, string const& type, bool null)
- : unameable (id), type_ (type), null_ (null)
- {
- }
-
string const&
type () const
{
@@ -89,6 +84,13 @@ namespace semantics
}
public:
+ column (string const& id, string const& type, bool null)
+ : unameable (id), type_ (type), null_ (null)
+ {
+ }
+
+ column (xml::parser&, uscope&, graph&);
+
void
add_edge_right (contains& e)
{
@@ -103,6 +105,9 @@ namespace semantics
return "column";
}
+ virtual void
+ serialize (xml::serializer&) const;
+
private:
string type_;
bool null_;