diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2015-07-01 19:20:25 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2015-07-01 19:20:25 +0200 |
commit | c9531e4140c08dcb45f05698c5ff6d201f319e8f (patch) | |
tree | f54e44bbec6bd437085df73180562604a0a1399f /odb/relational/common.hxx | |
parent | 425fb7fdbe9cdb48ad84dda45c53d92dc23c3ad4 (diff) |
C++ type mapping support for data members
Diffstat (limited to 'odb/relational/common.hxx')
-rw-r--r-- | odb/relational/common.hxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/odb/relational/common.hxx b/odb/relational/common.hxx index c117be5..bc7e034 100644 --- a/odb/relational/common.hxx +++ b/odb/relational/common.hxx @@ -78,6 +78,7 @@ namespace relational semantics::data_member& m; // Member. semantics::type& t; // Cvr-unqualified member C++ type, note // that m.type () may not be the same as t. + const custom_cxx_type* ct; // Translation used for t, if any. semantics::class_* ptr; // Pointed-to object if m is an object // pointer. In this case t is the id type // while fq_type_ is the pointer fq-type. @@ -146,12 +147,14 @@ namespace relational member_info (semantics::data_member& m_, semantics::type& t_, + const custom_cxx_type* ct_, semantics::type* wrapper_, bool cq_, string& var_, string const& fq_type) : m (m_), t (t_), + ct (ct_), ptr (0), wrapper (wrapper_), cq (cq_), |