diff options
author | sma <sma@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2012-03-01 11:28:43 +0000 |
---|---|---|
committer | sma <sma@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2012-03-01 11:28:43 +0000 |
commit | 110c0b2ce1dcde6b786d66bcb1f3756d46062ab2 (patch) | |
tree | 8670e0ce86a3991484de3aa8fb315c15e313bd18 /TAO/tao/Valuetype | |
parent | fdb2c99dcc82b15544bd050a22bf41f94e0c2902 (diff) | |
download | ATCD-110c0b2ce1dcde6b786d66bcb1f3756d46062ab2.tar.gz |
Thu Mar 1 11:27:00 UTC 2012 Simon Massey <simon dot massey at prismtech dot com>
Diffstat (limited to 'TAO/tao/Valuetype')
-rw-r--r-- | TAO/tao/Valuetype/Valuetype_Adapter_Impl.cpp | 5 | ||||
-rw-r--r-- | TAO/tao/Valuetype/Valuetype_Adapter_Impl.h | 2 |
2 files changed, 7 insertions, 0 deletions
diff --git a/TAO/tao/Valuetype/Valuetype_Adapter_Impl.cpp b/TAO/tao/Valuetype/Valuetype_Adapter_Impl.cpp index 74002deaf23..b6d7186c006 100644 --- a/TAO/tao/Valuetype/Valuetype_Adapter_Impl.cpp +++ b/TAO/tao/Valuetype/Valuetype_Adapter_Impl.cpp @@ -97,4 +97,9 @@ TAO_Valuetype_Adapter_Impl::vf_map_find (const char *repo_id) return factory; } +CORBA::TypeCode_ptr TAO_Valuetype_Adapter_Impl::derived_type (CORBA::ValueBase *vb) +{ + return vb->_tao_type (); +} + TAO_END_VERSIONED_NAMESPACE_DECL diff --git a/TAO/tao/Valuetype/Valuetype_Adapter_Impl.h b/TAO/tao/Valuetype/Valuetype_Adapter_Impl.h index 55a6b72d1ba..23b01ad5b8f 100644 --- a/TAO/tao/Valuetype/Valuetype_Adapter_Impl.h +++ b/TAO/tao/Valuetype/Valuetype_Adapter_Impl.h @@ -66,6 +66,8 @@ public: virtual CORBA::ValueFactory vf_map_find (const char *); + virtual CORBA::TypeCode_ptr derived_type (CORBA::ValueBase *); + private: TAO_ValueFactory_Map map_; }; |