diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2006-04-19 09:45:01 +0000 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2006-04-19 09:45:01 +0000 |
commit | 8e6d2b3638898ca921939762c0934d1be7da3b23 (patch) | |
tree | 95a7bfd2ae5dbe44cfe36766ed6f76097489cf4c /TAO/tao/IORManipulation | |
parent | be940eef5758561869db96ab820fb21774e3942f (diff) | |
download | ATCD-8e6d2b3638898ca921939762c0934d1be7da3b23.tar.gz |
ChangeLogTag: Wed Apr 19 07:44:49 UTC 2006 Johnny Willemsen <jwillemsen@remedy.nl>
Diffstat (limited to 'TAO/tao/IORManipulation')
-rw-r--r-- | TAO/tao/IORManipulation/IORC.cpp | 97 | ||||
-rw-r--r-- | TAO/tao/IORManipulation/IORC.h | 310 | ||||
-rw-r--r-- | TAO/tao/IORManipulation/IORManipulation.cpp | 2 |
3 files changed, 203 insertions, 206 deletions
diff --git a/TAO/tao/IORManipulation/IORC.cpp b/TAO/tao/IORManipulation/IORC.cpp index b30c619e153..b90f2877f73 100644 --- a/TAO/tao/IORManipulation/IORC.cpp +++ b/TAO/tao/IORManipulation/IORC.cpp @@ -48,7 +48,7 @@ namespace TAO } -// TAO_IDL - Generated from +// TAO_IDL - Generated from // be\be_visitor_exception/exception_cs.cpp:63 TAO_IOP::EmptyProfileList::EmptyProfileList (void) @@ -74,7 +74,7 @@ TAO_IOP::EmptyProfileList::EmptyProfileList (const ::TAO_IOP::EmptyProfileList & TAO_IOP::EmptyProfileList& TAO_IOP::EmptyProfileList::operator= (const ::TAO_IOP::EmptyProfileList &_tao_excp) { - this->ACE_NESTED_CLASS (CORBA, UserException)::operator= (_tao_excp); + this->::CORBA::UserException::operator= (_tao_excp); return *this; } @@ -130,7 +130,7 @@ void TAO_IOP::EmptyProfileList::_tao_encode ( { return; } - + ACE_THROW (CORBA::MARSHAL ()); } @@ -143,7 +143,7 @@ void TAO_IOP::EmptyProfileList::_tao_decode ( { return; } - + ACE_THROW (CORBA::MARSHAL ()); } @@ -153,7 +153,7 @@ CORBA::TypeCode_ptr TAO_IOP::EmptyProfileList::_tao_type (void) const return ::TAO_IOP::_tc_EmptyProfileList; } -// TAO_IDL - Generated from +// TAO_IDL - Generated from // be\be_visitor_exception/exception_cs.cpp:63 TAO_IOP::NotFound::NotFound (void) @@ -179,7 +179,7 @@ TAO_IOP::NotFound::NotFound (const ::TAO_IOP::NotFound &_tao_excp) TAO_IOP::NotFound& TAO_IOP::NotFound::operator= (const ::TAO_IOP::NotFound &_tao_excp) { - this->ACE_NESTED_CLASS (CORBA, UserException)::operator= (_tao_excp); + this->::CORBA::UserException::operator= (_tao_excp); return *this; } @@ -235,7 +235,7 @@ void TAO_IOP::NotFound::_tao_encode ( { return; } - + ACE_THROW (CORBA::MARSHAL ()); } @@ -248,7 +248,7 @@ void TAO_IOP::NotFound::_tao_decode ( { return; } - + ACE_THROW (CORBA::MARSHAL ()); } @@ -258,7 +258,7 @@ CORBA::TypeCode_ptr TAO_IOP::NotFound::_tao_type (void) const return ::TAO_IOP::_tc_NotFound; } -// TAO_IDL - Generated from +// TAO_IDL - Generated from // be\be_visitor_exception/exception_cs.cpp:63 TAO_IOP::Duplicate::Duplicate (void) @@ -284,7 +284,7 @@ TAO_IOP::Duplicate::Duplicate (const ::TAO_IOP::Duplicate &_tao_excp) TAO_IOP::Duplicate& TAO_IOP::Duplicate::operator= (const ::TAO_IOP::Duplicate &_tao_excp) { - this->ACE_NESTED_CLASS (CORBA, UserException)::operator= (_tao_excp); + this->::CORBA::UserException::operator= (_tao_excp); return *this; } @@ -340,7 +340,7 @@ void TAO_IOP::Duplicate::_tao_encode ( { return; } - + ACE_THROW (CORBA::MARSHAL ()); } @@ -353,7 +353,7 @@ void TAO_IOP::Duplicate::_tao_decode ( { return; } - + ACE_THROW (CORBA::MARSHAL ()); } @@ -363,7 +363,7 @@ CORBA::TypeCode_ptr TAO_IOP::Duplicate::_tao_type (void) const return ::TAO_IOP::_tc_Duplicate; } -// TAO_IDL - Generated from +// TAO_IDL - Generated from // be\be_visitor_exception/exception_cs.cpp:63 TAO_IOP::Invalid_IOR::Invalid_IOR (void) @@ -389,7 +389,7 @@ TAO_IOP::Invalid_IOR::Invalid_IOR (const ::TAO_IOP::Invalid_IOR &_tao_excp) TAO_IOP::Invalid_IOR& TAO_IOP::Invalid_IOR::operator= (const ::TAO_IOP::Invalid_IOR &_tao_excp) { - this->ACE_NESTED_CLASS (CORBA, UserException)::operator= (_tao_excp); + this->::CORBA::UserException::operator= (_tao_excp); return *this; } @@ -445,7 +445,7 @@ void TAO_IOP::Invalid_IOR::_tao_encode ( { return; } - + ACE_THROW (CORBA::MARSHAL ()); } @@ -458,7 +458,7 @@ void TAO_IOP::Invalid_IOR::_tao_decode ( { return; } - + ACE_THROW (CORBA::MARSHAL ()); } @@ -468,7 +468,7 @@ CORBA::TypeCode_ptr TAO_IOP::Invalid_IOR::_tao_type (void) const return ::TAO_IOP::_tc_Invalid_IOR; } -// TAO_IDL - Generated from +// TAO_IDL - Generated from // be\be_visitor_exception/exception_cs.cpp:63 TAO_IOP::MultiProfileList::MultiProfileList (void) @@ -494,7 +494,7 @@ TAO_IOP::MultiProfileList::MultiProfileList (const ::TAO_IOP::MultiProfileList & TAO_IOP::MultiProfileList& TAO_IOP::MultiProfileList::operator= (const ::TAO_IOP::MultiProfileList &_tao_excp) { - this->ACE_NESTED_CLASS (CORBA, UserException)::operator= (_tao_excp); + this->::CORBA::UserException::operator= (_tao_excp); return *this; } @@ -550,7 +550,7 @@ void TAO_IOP::MultiProfileList::_tao_encode ( { return; } - + ACE_THROW (CORBA::MARSHAL ()); } @@ -563,7 +563,7 @@ void TAO_IOP::MultiProfileList::_tao_decode ( { return; } - + ACE_THROW (CORBA::MARSHAL ()); } @@ -591,7 +591,7 @@ TAO::Objref_Traits<TAO_IOP::TAO_IOR_Property>::release ( TAO_IOP::TAO_IOR_Property_ptr p ) { - CORBA::release (p); + ::CORBA::release (p); } TAO_IOP::TAO_IOR_Property_ptr @@ -615,12 +615,12 @@ TAO_IOP::TAO_IOR_Property::TAO_IOR_Property (void) TAO_IOP::TAO_IOR_Property::~TAO_IOR_Property (void) {} -void +void TAO_IOP::TAO_IOR_Property::_tao_any_destructor (void *_tao_void_pointer) { TAO_IOR_Property *_tao_tmp_pointer = static_cast<TAO_IOR_Property *> (_tao_void_pointer); - CORBA::release (_tao_tmp_pointer); + ::CORBA::release (_tao_tmp_pointer); } TAO_IOP::TAO_IOR_Property_ptr @@ -633,10 +633,10 @@ TAO_IOP::TAO_IOR_Property::_narrow ( { return TAO_IOR_Property::_nil (); } - + TAO_IOR_Property_ptr proxy = dynamic_cast<TAO_IOR_Property_ptr> (_tao_objref); - + return TAO_IOR_Property::_duplicate (proxy); } @@ -650,28 +650,28 @@ TAO_IOP::TAO_IOR_Property::_unchecked_narrow ( { return TAO_IOR_Property::_nil (); } - + TAO_IOR_Property_ptr proxy = dynamic_cast<TAO_IOR_Property_ptr> (_tao_objref); - + return TAO_IOR_Property::_duplicate (proxy); } TAO_IOP::TAO_IOR_Property_ptr TAO_IOP::TAO_IOR_Property::_duplicate (TAO_IOR_Property_ptr obj) { - if (! CORBA::is_nil (obj)) + if (! ::CORBA::is_nil (obj)) { obj->_add_ref (); } - + return obj; } void TAO_IOP::TAO_IOR_Property::_tao_release (TAO_IOR_Property_ptr obj) { - CORBA::release (obj); + ::CORBA::release (obj); } CORBA::Boolean @@ -732,7 +732,7 @@ TAO::Objref_Traits<TAO_IOP::TAO_IOR_Manipulation>::release ( TAO_IOP::TAO_IOR_Manipulation_ptr p ) { - CORBA::release (p); + ::CORBA::release (p); } TAO_IOP::TAO_IOR_Manipulation_ptr @@ -750,7 +750,7 @@ TAO::Objref_Traits<TAO_IOP::TAO_IOR_Manipulation>::marshal ( return CORBA::Object::marshal (p, cdr); } -// TAO_IDL - Generated from +// TAO_IDL - Generated from // be\be_visitor_sequence/sequence_cs.cpp:65 #if !defined (_TAO_IOP_TAO_IOR_MANIPULATION_IORLIST_CS_) @@ -762,8 +762,9 @@ TAO_IOP::TAO_IOR_Manipulation::IORList::IORList (void) TAO_IOP::TAO_IOR_Manipulation::IORList::IORList ( CORBA::ULong max ) - : TAO_Unbounded_Pseudo_Sequence< - CORBA::Object + : TAO::unbounded_object_reference_sequence< + CORBA::Object, + CORBA::Object_var > (max) {} @@ -774,8 +775,9 @@ TAO_IOP::TAO_IOR_Manipulation::IORList::IORList ( CORBA::Object_ptr * buffer, CORBA::Boolean release ) - : TAO_Unbounded_Pseudo_Sequence< - CORBA::Object + : TAO::unbounded_object_reference_sequence< + CORBA::Object, + CORBA::Object_var > (max, length, buffer, release) {} @@ -783,8 +785,9 @@ TAO_IOP::TAO_IOR_Manipulation::IORList::IORList ( TAO_IOP::TAO_IOR_Manipulation::IORList::IORList ( const IORList &seq ) - : TAO_Unbounded_Pseudo_Sequence< - CORBA::Object + : TAO::unbounded_object_reference_sequence< + CORBA::Object, + CORBA::Object_var > (seq) {} @@ -809,12 +812,12 @@ TAO_IOP::TAO_IOR_Manipulation::TAO_IOR_Manipulation (void) TAO_IOP::TAO_IOR_Manipulation::~TAO_IOR_Manipulation (void) {} -void +void TAO_IOP::TAO_IOR_Manipulation::_tao_any_destructor (void *_tao_void_pointer) { TAO_IOR_Manipulation *_tao_tmp_pointer = static_cast<TAO_IOR_Manipulation *> (_tao_void_pointer); - CORBA::release (_tao_tmp_pointer); + ::CORBA::release (_tao_tmp_pointer); } TAO_IOP::TAO_IOR_Manipulation_ptr @@ -827,10 +830,10 @@ TAO_IOP::TAO_IOR_Manipulation::_narrow ( { return TAO_IOR_Manipulation::_nil (); } - + TAO_IOR_Manipulation_ptr proxy = dynamic_cast<TAO_IOR_Manipulation_ptr> (_tao_objref); - + return TAO_IOR_Manipulation::_duplicate (proxy); } @@ -844,28 +847,28 @@ TAO_IOP::TAO_IOR_Manipulation::_unchecked_narrow ( { return TAO_IOR_Manipulation::_nil (); } - + TAO_IOR_Manipulation_ptr proxy = dynamic_cast<TAO_IOR_Manipulation_ptr> (_tao_objref); - + return TAO_IOR_Manipulation::_duplicate (proxy); } TAO_IOP::TAO_IOR_Manipulation_ptr TAO_IOP::TAO_IOR_Manipulation::_duplicate (TAO_IOR_Manipulation_ptr obj) { - if (! CORBA::is_nil (obj)) + if (! ::CORBA::is_nil (obj)) { obj->_add_ref (); } - + return obj; } void TAO_IOP::TAO_IOR_Manipulation::_tao_release (TAO_IOR_Manipulation_ptr obj) { - CORBA::release (obj); + ::CORBA::release (obj); } CORBA::Boolean diff --git a/TAO/tao/IORManipulation/IORC.h b/TAO/tao/IORManipulation/IORC.h index 2c6bb305c61..52751b81503 100644 --- a/TAO/tao/IORManipulation/IORC.h +++ b/TAO/tao/IORManipulation/IORC.h @@ -75,30 +75,30 @@ TAO_BEGIN_VERSIONED_NAMESPACE_DECL namespace TAO_IOP { - + // TAO_IDL - Generated from // be\be_visitor_exception/exception_ch.cpp:51 #if !defined (_TAO_IOP_EMPTYPROFILELIST_CH_) #define _TAO_IOP_EMPTYPROFILELIST_CH_ - + class TAO_IORManip_Export EmptyProfileList : public CORBA::UserException { public: - + EmptyProfileList (void); EmptyProfileList (const EmptyProfileList &); ~EmptyProfileList (void); EmptyProfileList &operator= (const EmptyProfileList &); - + static void _tao_any_destructor (void *); - + static EmptyProfileList *_downcast (CORBA::Exception *); static const EmptyProfileList *_downcast (CORBA::Exception const *); - + static CORBA::Exception *_alloc (void); - + virtual CORBA::Exception *_tao_duplicate (void) const; virtual void _raise (void) const; @@ -107,48 +107,48 @@ namespace TAO_IOP TAO_OutputCDR & ACE_ENV_ARG_DECL ) const; - + virtual void _tao_decode ( TAO_InputCDR & ACE_ENV_ARG_DECL ); - + // TAO_IDL - Generated from // be\be_visitor_exception/exception_ch.cpp:127 - + virtual CORBA::TypeCode_ptr _tao_type (void) const; }; - + // TAO_IDL - Generated from // be\be_visitor_typecode/typecode_decl.cpp:44 - + extern TAO_IORManip_Export ::CORBA::TypeCode_ptr const _tc_EmptyProfileList; #endif /* end #if !defined */ - + // TAO_IDL - Generated from // be\be_visitor_exception/exception_ch.cpp:51 #if !defined (_TAO_IOP_NOTFOUND_CH_) #define _TAO_IOP_NOTFOUND_CH_ - + class TAO_IORManip_Export NotFound : public CORBA::UserException { public: - + NotFound (void); NotFound (const NotFound &); ~NotFound (void); NotFound &operator= (const NotFound &); - + static void _tao_any_destructor (void *); - + static NotFound *_downcast (CORBA::Exception *); static const NotFound *_downcast (CORBA::Exception const *); - + static CORBA::Exception *_alloc (void); - + virtual CORBA::Exception *_tao_duplicate (void) const; virtual void _raise (void) const; @@ -157,48 +157,48 @@ namespace TAO_IOP TAO_OutputCDR & ACE_ENV_ARG_DECL ) const; - + virtual void _tao_decode ( TAO_InputCDR & ACE_ENV_ARG_DECL ); - + // TAO_IDL - Generated from // be\be_visitor_exception/exception_ch.cpp:127 - + virtual CORBA::TypeCode_ptr _tao_type (void) const; }; - + // TAO_IDL - Generated from // be\be_visitor_typecode/typecode_decl.cpp:44 - + extern TAO_IORManip_Export ::CORBA::TypeCode_ptr const _tc_NotFound; #endif /* end #if !defined */ - + // TAO_IDL - Generated from // be\be_visitor_exception/exception_ch.cpp:51 #if !defined (_TAO_IOP_DUPLICATE_CH_) #define _TAO_IOP_DUPLICATE_CH_ - + class TAO_IORManip_Export Duplicate : public CORBA::UserException { public: - + Duplicate (void); Duplicate (const Duplicate &); ~Duplicate (void); Duplicate &operator= (const Duplicate &); - + static void _tao_any_destructor (void *); - + static Duplicate *_downcast (CORBA::Exception *); static const Duplicate *_downcast (CORBA::Exception const *); - + static CORBA::Exception *_alloc (void); - + virtual CORBA::Exception *_tao_duplicate (void) const; virtual void _raise (void) const; @@ -207,48 +207,48 @@ namespace TAO_IOP TAO_OutputCDR & ACE_ENV_ARG_DECL ) const; - + virtual void _tao_decode ( TAO_InputCDR & ACE_ENV_ARG_DECL ); - + // TAO_IDL - Generated from // be\be_visitor_exception/exception_ch.cpp:127 - + virtual CORBA::TypeCode_ptr _tao_type (void) const; }; - + // TAO_IDL - Generated from // be\be_visitor_typecode/typecode_decl.cpp:44 - + extern TAO_IORManip_Export ::CORBA::TypeCode_ptr const _tc_Duplicate; #endif /* end #if !defined */ - + // TAO_IDL - Generated from // be\be_visitor_exception/exception_ch.cpp:51 #if !defined (_TAO_IOP_INVALID_IOR_CH_) #define _TAO_IOP_INVALID_IOR_CH_ - + class TAO_IORManip_Export Invalid_IOR : public CORBA::UserException { public: - + Invalid_IOR (void); Invalid_IOR (const Invalid_IOR &); ~Invalid_IOR (void); Invalid_IOR &operator= (const Invalid_IOR &); - + static void _tao_any_destructor (void *); - + static Invalid_IOR *_downcast (CORBA::Exception *); static const Invalid_IOR *_downcast (CORBA::Exception const *); - + static CORBA::Exception *_alloc (void); - + virtual CORBA::Exception *_tao_duplicate (void) const; virtual void _raise (void) const; @@ -257,48 +257,48 @@ namespace TAO_IOP TAO_OutputCDR & ACE_ENV_ARG_DECL ) const; - + virtual void _tao_decode ( TAO_InputCDR & ACE_ENV_ARG_DECL ); - + // TAO_IDL - Generated from // be\be_visitor_exception/exception_ch.cpp:127 - + virtual CORBA::TypeCode_ptr _tao_type (void) const; }; - + // TAO_IDL - Generated from // be\be_visitor_typecode/typecode_decl.cpp:44 - + extern TAO_IORManip_Export ::CORBA::TypeCode_ptr const _tc_Invalid_IOR; #endif /* end #if !defined */ - + // TAO_IDL - Generated from // be\be_visitor_exception/exception_ch.cpp:51 #if !defined (_TAO_IOP_MULTIPROFILELIST_CH_) #define _TAO_IOP_MULTIPROFILELIST_CH_ - + class TAO_IORManip_Export MultiProfileList : public CORBA::UserException { public: - + MultiProfileList (void); MultiProfileList (const MultiProfileList &); ~MultiProfileList (void); MultiProfileList &operator= (const MultiProfileList &); - + static void _tao_any_destructor (void *); - + static MultiProfileList *_downcast (CORBA::Exception *); static const MultiProfileList *_downcast (CORBA::Exception const *); - + static CORBA::Exception *_alloc (void); - + virtual CORBA::Exception *_tao_duplicate (void) const; virtual void _raise (void) const; @@ -307,40 +307,40 @@ namespace TAO_IOP TAO_OutputCDR & ACE_ENV_ARG_DECL ) const; - + virtual void _tao_decode ( TAO_InputCDR & ACE_ENV_ARG_DECL ); - + // TAO_IDL - Generated from // be\be_visitor_exception/exception_ch.cpp:127 - + virtual CORBA::TypeCode_ptr _tao_type (void) const; }; - + // TAO_IDL - Generated from // be\be_visitor_typecode/typecode_decl.cpp:44 - + extern TAO_IORManip_Export ::CORBA::TypeCode_ptr const _tc_MultiProfileList; #endif /* end #if !defined */ - + // TAO_IDL - Generated from // be\be_interface.cpp:598 #if !defined (_TAO_IOP_TAO_IOR_PROPERTY__VAR_OUT_CH_) #define _TAO_IOP_TAO_IOR_PROPERTY__VAR_OUT_CH_ - + class TAO_IOR_Property; typedef TAO_IOR_Property *TAO_IOR_Property_ptr; - + typedef TAO_Objref_Var_T< TAO_IOR_Property > TAO_IOR_Property_var; - + typedef TAO_Objref_Out_T< TAO_IOR_Property @@ -348,45 +348,45 @@ namespace TAO_IOP TAO_IOR_Property_out; #endif /* end #if !defined */ - + // TAO_IDL - Generated from // be\be_visitor_interface/interface_ch.cpp:54 #if !defined (_TAO_IOP_TAO_IOR_PROPERTY_CH_) #define _TAO_IOP_TAO_IOR_PROPERTY_CH_ - + class TAO_IORManip_Export TAO_IOR_Property : public virtual CORBA::Object { public: typedef TAO_IOR_Property_ptr _ptr_type; typedef TAO_IOR_Property_var _var_type; - + // The static operations. static TAO_IOR_Property_ptr _duplicate (TAO_IOR_Property_ptr obj); - + static void _tao_release (TAO_IOR_Property_ptr obj); - + static TAO_IOR_Property_ptr _narrow ( CORBA::Object_ptr obj ACE_ENV_ARG_DECL_WITH_DEFAULTS ); - + static TAO_IOR_Property_ptr _unchecked_narrow ( CORBA::Object_ptr obj ACE_ENV_ARG_DECL_WITH_DEFAULTS ); - + static TAO_IOR_Property_ptr _nil (void) { return static_cast<TAO_IOR_Property_ptr> (0); } - + static void _tao_any_destructor (void *); - + // TAO_IDL - Generated from // be\be_visitor_operation/operation_ch.cpp:46 - + virtual CORBA::Boolean set_property ( ::CORBA::Object_ptr & ior ACE_ENV_ARG_DECL_WITH_DEFAULTS @@ -395,10 +395,10 @@ namespace TAO_IOP CORBA::SystemException, ::TAO_IOP::Invalid_IOR )) = 0; - + // TAO_IDL - Generated from // be\be_visitor_operation/operation_ch.cpp:46 - + virtual CORBA::Boolean set_primary ( ::CORBA::Object_ptr & ior1, ::CORBA::Object_ptr ior2 @@ -409,10 +409,10 @@ namespace TAO_IOP ::TAO_IOP::Duplicate, ::TAO_IOP::NotFound )) = 0; - + // TAO_IDL - Generated from // be\be_visitor_operation/operation_ch.cpp:46 - + virtual CORBA::Object_ptr get_primary ( ::CORBA::Object_ptr ior ACE_ENV_ARG_DECL_WITH_DEFAULTS @@ -421,10 +421,10 @@ namespace TAO_IOP CORBA::SystemException, ::TAO_IOP::NotFound )) = 0; - + // TAO_IDL - Generated from // be\be_visitor_operation/operation_ch.cpp:46 - + virtual CORBA::Boolean is_primary_set ( ::CORBA::Object_ptr ior ACE_ENV_ARG_DECL_WITH_DEFAULTS @@ -432,10 +432,10 @@ namespace TAO_IOP ACE_THROW_SPEC (( CORBA::SystemException )) = 0; - + // TAO_IDL - Generated from // be\be_visitor_operation/operation_ch.cpp:46 - + virtual CORBA::Boolean remove_primary_tag ( ::CORBA::Object_ptr & iogr ACE_ENV_ARG_DECL_WITH_DEFAULTS @@ -444,53 +444,53 @@ namespace TAO_IOP CORBA::SystemException, ::TAO_IOP::NotFound )) = 0; - + // TAO_IDL - Generated from // be\be_visitor_interface/interface_ch.cpp:210 - + 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. TAO_IOR_Property (void); - + virtual ~TAO_IOR_Property (void); - + private: // Private and unimplemented for concrete interfaces. TAO_IOR_Property (const TAO_IOR_Property &); - + void operator= (const TAO_IOR_Property &); }; #endif /* end #if !defined */ - + // TAO_IDL - Generated from // be\be_visitor_typecode/typecode_decl.cpp:44 - + extern TAO_IORManip_Export ::CORBA::TypeCode_ptr const _tc_TAO_IOR_Property; - + // TAO_IDL - Generated from // be\be_interface.cpp:598 #if !defined (_TAO_IOP_TAO_IOR_MANIPULATION__VAR_OUT_CH_) #define _TAO_IOP_TAO_IOR_MANIPULATION__VAR_OUT_CH_ - + class TAO_IOR_Manipulation; typedef TAO_IOR_Manipulation *TAO_IOR_Manipulation_ptr; - + typedef TAO_Objref_Var_T< TAO_IOR_Manipulation > TAO_IOR_Manipulation_var; - + typedef TAO_Objref_Out_T< TAO_IOR_Manipulation @@ -498,73 +498,67 @@ namespace TAO_IOP TAO_IOR_Manipulation_out; #endif /* end #if !defined */ - + // TAO_IDL - Generated from // be\be_visitor_interface/interface_ch.cpp:54 #if !defined (_TAO_IOP_TAO_IOR_MANIPULATION_CH_) #define _TAO_IOP_TAO_IOR_MANIPULATION_CH_ - + class TAO_IORManip_Export TAO_IOR_Manipulation : public virtual CORBA::Object { public: typedef TAO_IOR_Manipulation_ptr _ptr_type; typedef TAO_IOR_Manipulation_var _var_type; - + // The static operations. static TAO_IOR_Manipulation_ptr _duplicate (TAO_IOR_Manipulation_ptr obj); - + static void _tao_release (TAO_IOR_Manipulation_ptr obj); - + static TAO_IOR_Manipulation_ptr _narrow ( CORBA::Object_ptr obj ACE_ENV_ARG_DECL_WITH_DEFAULTS ); - + static TAO_IOR_Manipulation_ptr _unchecked_narrow ( CORBA::Object_ptr obj ACE_ENV_ARG_DECL_WITH_DEFAULTS ); - + static TAO_IOR_Manipulation_ptr _nil (void) { return static_cast<TAO_IOR_Manipulation_ptr> (0); } - + static void _tao_any_destructor (void *); - + // TAO_IDL - Generated from // be\be_visitor_sequence/sequence_ch.cpp:101 #if !defined (_TAO_IOP_TAO_IOR_MANIPULATION_IORLIST_CH_) #define _TAO_IOP_TAO_IOR_MANIPULATION_IORLIST_CH_ - + class IORList; - + typedef - TAO_MngSeq_Var_T< - IORList, - TAO_Pseudo_Object_Manager< - CORBA::Object - > + TAO_VarSeq_Var_T< + IORList > IORList_var; - + typedef - TAO_MngSeq_Out_T< - IORList, - IORList_var, - TAO_Pseudo_Object_Manager< - CORBA::Object - > + TAO_Seq_Out_T< + IORList > IORList_out; - + class TAO_IORManip_Export IORList : public - TAO_Unbounded_Pseudo_Sequence< - CORBA::Object + TAO::unbounded_object_reference_sequence< + CORBA::Object, + CORBA::Object_var > { public: @@ -573,27 +567,27 @@ namespace TAO_IOP IORList ( CORBA::ULong max, CORBA::ULong length, - CORBA::Object_ptr* buffer, - CORBA::Boolean release = 0 + CORBA::Object_ptr* buffer, + CORBA::Boolean release = false ); IORList (const IORList &); ~IORList (void); - + static void _tao_any_destructor (void *); - + typedef IORList_var _var_type; }; #endif /* end #if !defined */ - + // TAO_IDL - Generated from // be\be_visitor_typecode/typecode_decl.cpp:44 - + static ::CORBA::TypeCode_ptr const _tc_IORList; - + // TAO_IDL - Generated from // be\be_visitor_operation/operation_ch.cpp:46 - + virtual CORBA::Object_ptr merge_iors ( const ::TAO_IOP::TAO_IOR_Manipulation::IORList & iors ACE_ENV_ARG_DECL_WITH_DEFAULTS @@ -604,10 +598,10 @@ namespace TAO_IOP ::TAO_IOP::Duplicate, ::TAO_IOP::Invalid_IOR )) = 0; - + // TAO_IDL - Generated from // be\be_visitor_operation/operation_ch.cpp:46 - + virtual CORBA::Object_ptr add_profiles ( ::CORBA::Object_ptr ior1, ::CORBA::Object_ptr ior2 @@ -619,10 +613,10 @@ namespace TAO_IOP ::TAO_IOP::Duplicate, ::TAO_IOP::Invalid_IOR )) = 0; - + // TAO_IDL - Generated from // be\be_visitor_operation/operation_ch.cpp:46 - + virtual CORBA::Object_ptr remove_profiles ( ::CORBA::Object_ptr ior1, ::CORBA::Object_ptr ior2 @@ -634,10 +628,10 @@ namespace TAO_IOP ::TAO_IOP::EmptyProfileList, ::TAO_IOP::NotFound )) = 0; - + // TAO_IDL - Generated from // be\be_visitor_operation/operation_ch.cpp:46 - + virtual CORBA::Boolean set_property ( ::TAO_IOP::TAO_IOR_Property_ptr prop, ::CORBA::Object_ptr ior @@ -648,10 +642,10 @@ namespace TAO_IOP ::TAO_IOP::Invalid_IOR, ::TAO_IOP::Duplicate )) = 0; - + // TAO_IDL - Generated from // be\be_visitor_operation/operation_ch.cpp:46 - + virtual CORBA::Boolean set_primary ( ::TAO_IOP::TAO_IOR_Property_ptr prop, ::CORBA::Object_ptr ior1, @@ -665,10 +659,10 @@ namespace TAO_IOP ::TAO_IOP::MultiProfileList, ::TAO_IOP::NotFound )) = 0; - + // TAO_IDL - Generated from // be\be_visitor_operation/operation_ch.cpp:46 - + virtual CORBA::Boolean remove_primary_tag ( ::TAO_IOP::TAO_IOR_Property_ptr prop, ::CORBA::Object_ptr ior @@ -677,10 +671,10 @@ namespace TAO_IOP ACE_THROW_SPEC (( CORBA::SystemException )) = 0; - + // TAO_IDL - Generated from // be\be_visitor_operation/operation_ch.cpp:46 - + virtual CORBA::Object_ptr get_primary ( ::TAO_IOP::TAO_IOR_Property_ptr prop, ::CORBA::Object_ptr ior @@ -690,10 +684,10 @@ namespace TAO_IOP CORBA::SystemException, ::TAO_IOP::NotFound )) = 0; - + // TAO_IDL - Generated from // be\be_visitor_operation/operation_ch.cpp:46 - + virtual CORBA::Boolean is_primary_set ( ::TAO_IOP::TAO_IOR_Property_ptr prop, ::CORBA::Object_ptr ior @@ -702,10 +696,10 @@ namespace TAO_IOP ACE_THROW_SPEC (( CORBA::SystemException )) = 0; - + // TAO_IDL - Generated from // be\be_visitor_operation/operation_ch.cpp:46 - + virtual CORBA::ULong is_in_ior ( ::CORBA::Object_ptr ior1, ::CORBA::Object_ptr ior2 @@ -715,10 +709,10 @@ namespace TAO_IOP CORBA::SystemException, ::TAO_IOP::NotFound )) = 0; - + // TAO_IDL - Generated from // be\be_visitor_operation/operation_ch.cpp:46 - + virtual CORBA::ULong get_profile_count ( ::CORBA::Object_ptr ior ACE_ENV_ARG_DECL_WITH_DEFAULTS @@ -727,36 +721,36 @@ namespace TAO_IOP CORBA::SystemException, ::TAO_IOP::EmptyProfileList )) = 0; - + // TAO_IDL - Generated from // be\be_visitor_interface/interface_ch.cpp:210 - + 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. TAO_IOR_Manipulation (void); - + virtual ~TAO_IOR_Manipulation (void); - + private: // Private and unimplemented for concrete interfaces. TAO_IOR_Manipulation (const TAO_IOR_Manipulation &); - + void operator= (const TAO_IOR_Manipulation &); }; #endif /* end #if !defined */ - + // TAO_IDL - Generated from // be\be_visitor_typecode/typecode_decl.cpp:44 - + extern TAO_IORManip_Export ::CORBA::TypeCode_ptr const _tc_TAO_IOR_Manipulation; // TAO_IDL - Generated from @@ -773,7 +767,7 @@ namespace TAO #if !defined (_TAO_IOP_TAO_IOR_PROPERTY__TRAITS_CH_) #define _TAO_IOP_TAO_IOR_PROPERTY__TRAITS_CH_ - + template<> struct TAO_IORManip_Export Objref_Traits< ::TAO_IOP::TAO_IOR_Property> { @@ -794,7 +788,7 @@ namespace TAO #if !defined (_TAO_IOP_TAO_IOR_MANIPULATION__TRAITS_CH_) #define _TAO_IOP_TAO_IOR_MANIPULATION__TRAITS_CH_ - + template<> struct TAO_IORManip_Export Objref_Traits< ::TAO_IOP::TAO_IOR_Manipulation> { diff --git a/TAO/tao/IORManipulation/IORManipulation.cpp b/TAO/tao/IORManipulation/IORManipulation.cpp index 079f942eee2..dcc9217a1fb 100644 --- a/TAO/tao/IORManipulation/IORManipulation.cpp +++ b/TAO/tao/IORManipulation/IORManipulation.cpp @@ -189,7 +189,7 @@ TAO_IOR_Manipulation_impl::remove_profiles ( // immediately like before, // because it could result in an // Object Reference with 0 profile. And it would not pass - // the CORBA::is_nil() evaluation. + // the ::CORBA::is_nil() evaluation. // Instead, we create the Object Reference right here, which is // earlier than before.(Actually, I just moved some code // from below up to here). |