diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2011-10-15 11:33:40 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2011-10-21 19:25:06 +0200 |
commit | 6508eb18a20a2f0bc48374f3f0a352f1195cc95b (patch) | |
tree | 0aaf5a65d82b7d58721b0020c17885d16f178b3e /odb/common.hxx | |
parent | b2f0cd834b8f5651985357f8acbe82edd7d11c63 (diff) |
Add support for readonly members
New pragma: readonly. New test: readonly.
Diffstat (limited to 'odb/common.hxx')
-rw-r--r-- | odb/common.hxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/odb/common.hxx b/odb/common.hxx index 96b0935..679e25c 100644 --- a/odb/common.hxx +++ b/odb/common.hxx @@ -98,6 +98,9 @@ protected: table_prefix table_prefix_; std::string member_prefix_; + data_member_path member_path_; + data_member_scope member_scope_; + private: void init (bool build_flat_prefix, @@ -213,6 +216,9 @@ public: protected: string column_prefix_; + data_member_path member_path_; + data_member_scope member_scope_; + private: void init () |