From 6508eb18a20a2f0bc48374f3f0a352f1195cc95b Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Sat, 15 Oct 2011 11:33:40 +0200 Subject: Add support for readonly members New pragma: readonly. New test: readonly. --- odb/common.hxx | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'odb/common.hxx') 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 () -- cgit v1.1