From 3f37eff838e00274e20acc89f58fc36fb3531e94 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 21 Jun 2011 20:13:06 +0200 Subject: Add hooks for generating extra code in object traits --- odb/relational/inline.hxx | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'odb/relational/inline.hxx') diff --git a/odb/relational/inline.hxx b/odb/relational/inline.hxx index 73e0112..856965c 100644 --- a/odb/relational/inline.hxx +++ b/odb/relational/inline.hxx @@ -30,6 +30,11 @@ namespace relational } virtual void + object_extra (type&) + { + } + + virtual void traverse_object (type& c) { bool abst (abstract (c)); @@ -43,6 +48,8 @@ namespace relational << "//" << endl << endl; + object_extra (c); + if (id != 0) { // id (object_type) -- cgit v1.1