diff options
author | Constantin Michael <constantin@codesynthesis.com> | 2011-10-27 15:54:35 +0200 |
---|---|---|
committer | Constantin Michael <constantin@codesynthesis.com> | 2011-11-01 13:14:55 +0200 |
commit | 25feb0393f8c8a1e9e0e0edf369b10b318a60599 (patch) | |
tree | 081bd6f7d87a83bbe5c6b9685cda268b127e5ac7 /odb/relational/header.hxx | |
parent | cf655b58f841f29adb214c710a47dcb0b32c5bc9 (diff) |
Implement query image change callback machinery
Diffstat (limited to 'odb/relational/header.hxx')
-rw-r--r-- | odb/relational/header.hxx | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/odb/relational/header.hxx b/odb/relational/header.hxx index a331b3f..53ff93a 100644 --- a/odb/relational/header.hxx +++ b/odb/relational/header.hxx @@ -88,6 +88,11 @@ namespace relational } virtual void + image_extra (type&) + { + } + + virtual void traverse (type& c) { os << "struct image_type"; @@ -106,6 +111,8 @@ namespace relational if (!composite (c)) os << "std::size_t version;"; + image_extra (c); + os << "};"; } |