diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2003-12-28 16:15:04 +0000 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2003-12-28 16:15:04 +0000 |
commit | 6278cff56af4196113a9e48b7c646e072f506cde (patch) | |
tree | 049562eca5f1d4dac2dc2d23d3a72339efcf4be8 /TAO/tao/BiDir_GIOP | |
parent | 5b0723c9d1ddf70779729abb49845bf17b2b88b6 (diff) | |
download | ATCD-6278cff56af4196113a9e48b7c646e072f506cde.tar.gz |
ChangeLogTag: Sun Dec 28 16:06:43 UTC 2003 Johnny Willemsen <jwillemsen@remedy.nl>
Diffstat (limited to 'TAO/tao/BiDir_GIOP')
-rw-r--r-- | TAO/tao/BiDir_GIOP/BiDirPolicyC.cpp | 20 | ||||
-rw-r--r-- | TAO/tao/BiDir_GIOP/BiDirPolicyC.h | 64 |
2 files changed, 42 insertions, 42 deletions
diff --git a/TAO/tao/BiDir_GIOP/BiDirPolicyC.cpp b/TAO/tao/BiDir_GIOP/BiDirPolicyC.cpp index cbfe8bbdf94..2bc6c88f379 100644 --- a/TAO/tao/BiDir_GIOP/BiDirPolicyC.cpp +++ b/TAO/tao/BiDir_GIOP/BiDirPolicyC.cpp @@ -46,14 +46,14 @@ // Arg traits specializations. namespace TAO { -}; +} // TAO_IDL - Generated from // be/be_visitor_interface/interface_cs.cpp:60 // Traits specializations for BiDirPolicy::BidirectionalPolicy. -ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION +ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION BiDirPolicy::BidirectionalPolicy_ptr TAO::Objref_Traits<BiDirPolicy::BidirectionalPolicy>::tao_duplicate ( BiDirPolicy::BidirectionalPolicy_ptr p @@ -62,7 +62,7 @@ TAO::Objref_Traits<BiDirPolicy::BidirectionalPolicy>::tao_duplicate ( return BiDirPolicy::BidirectionalPolicy::_duplicate (p); } -ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION +ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION void TAO::Objref_Traits<BiDirPolicy::BidirectionalPolicy>::tao_release ( BiDirPolicy::BidirectionalPolicy_ptr p @@ -71,14 +71,14 @@ TAO::Objref_Traits<BiDirPolicy::BidirectionalPolicy>::tao_release ( CORBA::release (p); } -ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION +ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION BiDirPolicy::BidirectionalPolicy_ptr TAO::Objref_Traits<BiDirPolicy::BidirectionalPolicy>::tao_nil (void) { return BiDirPolicy::BidirectionalPolicy::_nil (); } -ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION +ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION CORBA::Boolean TAO::Objref_Traits<BiDirPolicy::BidirectionalPolicy>::tao_marshal ( BiDirPolicy::BidirectionalPolicy_ptr p, @@ -89,7 +89,7 @@ TAO::Objref_Traits<BiDirPolicy::BidirectionalPolicy>::tao_marshal ( } // Function pointer for collocation factory initialization. -TAO::Collocation_Proxy_Broker * +TAO::Collocation_Proxy_Broker * (*BiDirPolicy__TAO_BidirectionalPolicy_Proxy_Broker_Factory_function_pointer) ( CORBA::Object_ptr obj ) = 0; @@ -110,10 +110,10 @@ BiDirPolicy::BidirectionalPolicy::_narrow ( { return BidirectionalPolicy::_nil (); } - + BidirectionalPolicy_ptr proxy = dynamic_cast<BidirectionalPolicy_ptr> (_tao_objref); - + return BidirectionalPolicy::_duplicate (proxy); } @@ -124,7 +124,7 @@ BiDirPolicy::BidirectionalPolicy::_duplicate (BidirectionalPolicy_ptr obj) { obj->_add_ref (); } - + return obj; } @@ -186,7 +186,7 @@ BiDirPolicy::BidirectionalPolicy::marshal (TAO_OutputCDR &) TAO_Objref_Var_T< BiDirPolicy::BidirectionalPolicy >; - + template class TAO_Objref_Out_T< BiDirPolicy::BidirectionalPolicy diff --git a/TAO/tao/BiDir_GIOP/BiDirPolicyC.h b/TAO/tao/BiDir_GIOP/BiDirPolicyC.h index 4efa6af066b..e2d72039a70 100644 --- a/TAO/tao/BiDir_GIOP/BiDirPolicyC.h +++ b/TAO/tao/BiDir_GIOP/BiDirPolicyC.h @@ -73,13 +73,13 @@ #pragma option push -w-rvl -w-rch -w-ccc -w-inl #endif /* __BORLANDC__ */ -// TAO_IDL - Generated from +// TAO_IDL - Generated from // be/be_visitor_root/root_ch.cpp:63 namespace TAO { class Collocation_Proxy_Broker; - + template<typename T> class Narrow_Utils; template<typename T> class AbstractBase_Narrow_Utils; } @@ -89,43 +89,43 @@ namespace TAO namespace BiDirPolicy { - + // TAO_IDL - Generated from // be/be_visitor_typedef/typedef_ch.cpp:342 - + typedef CORBA::UShort BidirectionalPolicyValue; typedef CORBA::UShort_out BidirectionalPolicyValue_out; - + // TAO_IDL - Generated from // be/be_visitor_constant/constant_ch.cpp:52 - + const BiDirPolicy::BidirectionalPolicyValue NORMAL = 0U; - + // TAO_IDL - Generated from // be/be_visitor_constant/constant_ch.cpp:52 - + const BiDirPolicy::BidirectionalPolicyValue BOTH = 1U; - + // TAO_IDL - Generated from // be/be_visitor_constant/constant_ch.cpp:52 - + const CORBA::PolicyType BIDIRECTIONAL_POLICY_TYPE = 37U; - + // TAO_IDL - Generated from // be/be_interface.cpp:610 #if !defined (_BIDIRPOLICY_BIDIRECTIONALPOLICY__VAR_OUT_CH_) #define _BIDIRPOLICY_BIDIRECTIONALPOLICY__VAR_OUT_CH_ - + class BidirectionalPolicy; typedef BidirectionalPolicy *BidirectionalPolicy_ptr; - + typedef TAO_Objref_Var_T< BidirectionalPolicy > BidirectionalPolicy_var; - + typedef TAO_Objref_Out_T< BidirectionalPolicy @@ -133,66 +133,66 @@ namespace BiDirPolicy BidirectionalPolicy_out; #endif /* end #if !defined */ - + // TAO_IDL - Generated from // be/be_visitor_interface/interface_ch.cpp:54 #if !defined (_BIDIRPOLICY_BIDIRECTIONALPOLICY_CH_) #define _BIDIRPOLICY_BIDIRECTIONALPOLICY_CH_ - + class TAO_BiDirGIOP_Export BidirectionalPolicy : public virtual CORBA::Policy { public: typedef BidirectionalPolicy_ptr _ptr_type; typedef BidirectionalPolicy_var _var_type; - + // The static operations. static BidirectionalPolicy_ptr _duplicate (BidirectionalPolicy_ptr obj); - + static BidirectionalPolicy_ptr _narrow ( CORBA::Object_ptr obj ACE_ENV_ARG_DECL_WITH_DEFAULTS ); - + static BidirectionalPolicy_ptr _nil (void) { return (BidirectionalPolicy_ptr)0; } - - - + + + // TAO_IDL - Generated from // be/be_visitor_operation/operation_ch.cpp:46 - + virtual BiDirPolicy::BidirectionalPolicyValue value ( ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS ) ACE_THROW_SPEC (( CORBA::SystemException )) = 0; - + // TAO_IDL - Generated from // be/be_visitor_interface/interface_ch.cpp:192 - + virtual CORBA::Boolean _is_a ( const char *type_id ACE_ENV_ARG_DECL_WITH_DEFAULTS ); - + virtual const char* _interface_repository_id (void) const; virtual CORBA::Boolean marshal (TAO_OutputCDR &cdr); - + protected: // Abstract or local interface only. BidirectionalPolicy (void); - + virtual ~BidirectionalPolicy (void); - + private: // Private and unimplemented for concrete interfaces. BidirectionalPolicy (const BidirectionalPolicy &); - + void operator= (const BidirectionalPolicy &); }; @@ -212,7 +212,7 @@ namespace TAO #if !defined (_BIDIRPOLICY_BIDIRECTIONALPOLICY__TRAITS_CH_) #define _BIDIRPOLICY_BIDIRECTIONALPOLICY__TRAITS_CH_ - + ACE_TEMPLATE_SPECIALIZATION struct TAO_BiDirGIOP_Export Objref_Traits<BiDirPolicy::BidirectionalPolicy> { @@ -230,7 +230,7 @@ namespace TAO }; #endif /* end #if !defined */ -}; +} // TAO_IDL - Generated from // be/be_visitor_root/cdr_op.cpp:48 |