diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2005-02-22 13:35:33 +0000 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2005-02-22 13:35:33 +0000 |
commit | c04ef89e6cac73c12d852cd8c99599773e888bbe (patch) | |
tree | 499ae2348fae60686430b3ac6b1ec0166ab2cbaa /TAO/tao/BiDir_GIOP | |
parent | 9c2cb59f55082a1024d7fc3c141c9732b4372616 (diff) | |
download | ATCD-c04ef89e6cac73c12d852cd8c99599773e888bbe.tar.gz |
ChangeLogTag: Tue Feb 22 13:02:12 UTC 2005 Johnny Willemsen <jwillemsen@remedy.nl>
Diffstat (limited to 'TAO/tao/BiDir_GIOP')
-rw-r--r-- | TAO/tao/BiDir_GIOP/BiDirPolicyC.cpp | 14 | ||||
-rw-r--r-- | TAO/tao/BiDir_GIOP/BiDirPolicyC.h | 6 |
2 files changed, 12 insertions, 8 deletions
diff --git a/TAO/tao/BiDir_GIOP/BiDirPolicyC.cpp b/TAO/tao/BiDir_GIOP/BiDirPolicyC.cpp index c9b3894eac1..ffffed2ea77 100644 --- a/TAO/tao/BiDir_GIOP/BiDirPolicyC.cpp +++ b/TAO/tao/BiDir_GIOP/BiDirPolicyC.cpp @@ -42,7 +42,7 @@ #endif /* !defined INLINE */ // TAO_IDL - Generated from -// be\be_visitor_arg_traits.cpp:66 +// be\be_visitor_arg_traits.cpp:69 // Arg traits specializations. namespace TAO @@ -55,7 +55,6 @@ namespace TAO // Traits specializations for BiDirPolicy::BidirectionalPolicy. -ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION BiDirPolicy::BidirectionalPolicy_ptr TAO::Objref_Traits<BiDirPolicy::BidirectionalPolicy>::duplicate ( BiDirPolicy::BidirectionalPolicy_ptr p @@ -64,7 +63,6 @@ TAO::Objref_Traits<BiDirPolicy::BidirectionalPolicy>::duplicate ( return BiDirPolicy::BidirectionalPolicy::_duplicate (p); } -ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION void TAO::Objref_Traits<BiDirPolicy::BidirectionalPolicy>::release ( BiDirPolicy::BidirectionalPolicy_ptr p @@ -73,14 +71,12 @@ TAO::Objref_Traits<BiDirPolicy::BidirectionalPolicy>::release ( CORBA::release (p); } -ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION BiDirPolicy::BidirectionalPolicy_ptr TAO::Objref_Traits<BiDirPolicy::BidirectionalPolicy>::nil (void) { return BiDirPolicy::BidirectionalPolicy::_nil (); } -ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION CORBA::Boolean TAO::Objref_Traits<BiDirPolicy::BidirectionalPolicy>::marshal ( BiDirPolicy::BidirectionalPolicy_ptr p, @@ -141,6 +137,12 @@ BiDirPolicy::BidirectionalPolicy::_duplicate (BidirectionalPolicy_ptr obj) return obj; } +void +BiDirPolicy::BidirectionalPolicy::_tao_release (BidirectionalPolicy_ptr obj) +{ + CORBA::release (obj); +} + CORBA::Boolean BiDirPolicy::BidirectionalPolicy::_is_a ( const char *value @@ -186,7 +188,7 @@ BiDirPolicy::BidirectionalPolicy::marshal (TAO_OutputCDR &) } // TAO_IDL - Generated from -// be\be_visitor_root/root.cpp:1509 +// be\be_visitor_root/root.cpp:1619 #if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) diff --git a/TAO/tao/BiDir_GIOP/BiDirPolicyC.h b/TAO/tao/BiDir_GIOP/BiDirPolicyC.h index 981017226fb..060efa0e6f6 100644 --- a/TAO/tao/BiDir_GIOP/BiDirPolicyC.h +++ b/TAO/tao/BiDir_GIOP/BiDirPolicyC.h @@ -150,6 +150,8 @@ namespace BiDirPolicy // The static operations. static BidirectionalPolicy_ptr _duplicate (BidirectionalPolicy_ptr obj); + static void _tao_release (BidirectionalPolicy_ptr obj); + static BidirectionalPolicy_ptr _narrow ( CORBA::Object_ptr obj ACE_ENV_ARG_DECL_WITH_DEFAULTS @@ -198,7 +200,7 @@ namespace BiDirPolicy )) = 0; // TAO_IDL - Generated from - // be\be_visitor_interface/interface_ch.cpp:208 + // be\be_visitor_interface/interface_ch.cpp:210 virtual CORBA::Boolean _is_a ( const char *type_id @@ -238,7 +240,7 @@ namespace TAO #if !defined (_BIDIRPOLICY_BIDIRECTIONALPOLICY__TRAITS_CH_) #define _BIDIRPOLICY_BIDIRECTIONALPOLICY__TRAITS_CH_ - ACE_TEMPLATE_SPECIALIZATION + template<> struct TAO_BiDirGIOP_Export Objref_Traits< ::BiDirPolicy::BidirectionalPolicy> { static ::BiDirPolicy::BidirectionalPolicy_ptr duplicate ( |