aboutsummaryrefslogtreecommitdiff
path: root/odb/common.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2010-11-22 14:18:40 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2010-11-22 14:18:40 +0200
commit759c865ebbdf8401e58ef5df705f9d1ad3d83cc9 (patch)
tree142b8b4f0ef70774632ae6e9254b9514ccbc8d29 /odb/common.hxx
parent4a50c5a7e9976587569276c768f85ad481694e70 (diff)
Implement support for one-to-{one,many} inverse relationships
New pragma: inverse.
Diffstat (limited to 'odb/common.hxx')
-rw-r--r--odb/common.hxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/odb/common.hxx b/odb/common.hxx
index 3811ea9..96d1330 100644
--- a/odb/common.hxx
+++ b/odb/common.hxx
@@ -90,7 +90,10 @@ private:
//
struct object_columns_base: traversal::class_
{
- virtual void
+ // Returning false means that the column has been ignored and the
+ // first flag should not be changed.
+ //
+ virtual bool
column (semantics::data_member&, std::string const& name, bool first) = 0;
// If you override this function, always call the base. The second argument