diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2010-11-24 16:37:09 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2010-11-24 16:37:09 +0200 |
commit | e7892161b62d0f7f2ccf984d163a91025a3ddf78 (patch) | |
tree | 53b4ed2934df81071e5cf6b4fb44568bcf487522 /odb/context.hxx | |
parent | 19ba163feb74def218861b4b3981e713b358d1c8 (diff) |
Implement support for many-to-{one,many} inverse relationships
Diffstat (limited to 'odb/context.hxx')
-rw-r--r-- | odb/context.hxx | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/odb/context.hxx b/odb/context.hxx index 8878e54..dde1d72 100644 --- a/odb/context.hxx +++ b/odb/context.hxx @@ -192,7 +192,13 @@ public: // The 'is a' and 'has a' tests. The has_a test currently does not // cross the container boundaries. // - static unsigned short const eager_pointer = 0x01; + + static unsigned short const test_pointer = 0x01; + static unsigned short const test_eager_pointer = 0x02; + static unsigned short const test_lazy_pointer = 0x04; + static unsigned short const test_container = 0x08; + static unsigned short const test_straight_container = 0x10; + static unsigned short const test_inverse_container = 0x20; static bool is_a (semantics::data_member& m, unsigned short flags) |