diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2005-02-18 09:07:14 +0000 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2005-02-18 09:07:14 +0000 |
commit | 6505e0e66092f5c22ab656946a800138897ddf4c (patch) | |
tree | 91ba7fc4584511f31379702bdcf543da966f7f78 /TAO/tao/PolicyC.h | |
parent | 088f6e83bd2ffc10f050df15282f9795ddbb02f6 (diff) | |
download | ATCD-6505e0e66092f5c22ab656946a800138897ddf4c.tar.gz |
ChangeLogTag: Fri Feb 18 17:04:12 UTC 2005 Johnny Willemsen <jwillemsen@remedy.nl>
Diffstat (limited to 'TAO/tao/PolicyC.h')
-rw-r--r-- | TAO/tao/PolicyC.h | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/TAO/tao/PolicyC.h b/TAO/tao/PolicyC.h index 1944fad144c..967d2342105 100644 --- a/TAO/tao/PolicyC.h +++ b/TAO/tao/PolicyC.h @@ -90,7 +90,7 @@ namespace CORBA { // TAO_IDL - Generated from - // be\be_visitor_typedef/typedef_ch.cpp:342 + // be\be_visitor_typedef/typedef_ch.cpp:379 typedef CORBA::Short PolicyErrorCode; typedef CORBA::Short_out PolicyErrorCode_out; @@ -293,7 +293,7 @@ namespace CORBA static Policy_ptr _nil (void) { - return (Policy_ptr)0; + return static_cast<Policy_ptr> (0); } static void _tao_any_destructor (void *); @@ -439,7 +439,7 @@ namespace CORBA static PolicyManager_ptr _nil (void) { - return (PolicyManager_ptr)0; + return static_cast<PolicyManager_ptr> (0); } static void _tao_any_destructor (void *); @@ -551,7 +551,7 @@ namespace CORBA static PolicyCurrent_ptr _nil (void) { - return (PolicyCurrent_ptr)0; + return static_cast<PolicyCurrent_ptr> (0); } static void _tao_any_destructor (void *); @@ -631,42 +631,42 @@ namespace TAO #endif /* end #if !defined */ -#if !defined (_CORBA_POLICYMANAGER__TRAITS_CH_) -#define _CORBA_POLICYMANAGER__TRAITS_CH_ +#if !defined (_CORBA_POLICYCURRENT__TRAITS_CH_) +#define _CORBA_POLICYCURRENT__TRAITS_CH_ ACE_TEMPLATE_SPECIALIZATION - struct TAO_Export Objref_Traits< ::CORBA::PolicyManager> + struct TAO_Export Objref_Traits< ::CORBA::PolicyCurrent> { - static ::CORBA::PolicyManager_ptr duplicate ( - ::CORBA::PolicyManager_ptr + static ::CORBA::PolicyCurrent_ptr duplicate ( + ::CORBA::PolicyCurrent_ptr ); static void release ( - ::CORBA::PolicyManager_ptr + ::CORBA::PolicyCurrent_ptr ); - static ::CORBA::PolicyManager_ptr nil (void); + static ::CORBA::PolicyCurrent_ptr nil (void); static CORBA::Boolean marshal ( - ::CORBA::PolicyManager_ptr p, + ::CORBA::PolicyCurrent_ptr p, TAO_OutputCDR & cdr ); }; #endif /* end #if !defined */ -#if !defined (_CORBA_POLICYCURRENT__TRAITS_CH_) -#define _CORBA_POLICYCURRENT__TRAITS_CH_ +#if !defined (_CORBA_POLICYMANAGER__TRAITS_CH_) +#define _CORBA_POLICYMANAGER__TRAITS_CH_ ACE_TEMPLATE_SPECIALIZATION - struct TAO_Export Objref_Traits< ::CORBA::PolicyCurrent> + struct TAO_Export Objref_Traits< ::CORBA::PolicyManager> { - static ::CORBA::PolicyCurrent_ptr duplicate ( - ::CORBA::PolicyCurrent_ptr + static ::CORBA::PolicyManager_ptr duplicate ( + ::CORBA::PolicyManager_ptr ); static void release ( - ::CORBA::PolicyCurrent_ptr + ::CORBA::PolicyManager_ptr ); - static ::CORBA::PolicyCurrent_ptr nil (void); + static ::CORBA::PolicyManager_ptr nil (void); static CORBA::Boolean marshal ( - ::CORBA::PolicyCurrent_ptr p, + ::CORBA::PolicyManager_ptr p, TAO_OutputCDR & cdr ); }; |