From e7892161b62d0f7f2ccf984d163a91025a3ddf78 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 24 Nov 2010 16:37:09 +0200 Subject: Implement support for many-to-{one,many} inverse relationships --- odb/context.hxx | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'odb/context.hxx') 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) -- cgit v1.1