diff options
Diffstat (limited to 'TAO/tao/IORTable')
-rw-r--r-- | TAO/tao/IORTable/IORTableC.cpp | 64 | ||||
-rw-r--r-- | TAO/tao/IORTable/IORTableC.h | 148 |
2 files changed, 106 insertions, 106 deletions
diff --git a/TAO/tao/IORTable/IORTableC.cpp b/TAO/tao/IORTable/IORTableC.cpp index 2ee31f9dcb2..1984a986857 100644 --- a/TAO/tao/IORTable/IORTableC.cpp +++ b/TAO/tao/IORTable/IORTableC.cpp @@ -31,7 +31,6 @@ #include "IORTableC.h" #include "tao/CDR.h" -#include "tao/SystemException.h" #include "ace/OS_NS_string.h" #if defined (__BORLANDC__) @@ -51,7 +50,7 @@ namespace TAO } -// TAO_IDL - Generated from +// TAO_IDL - Generated from // be\be_visitor_exception/exception_cs.cpp:63 IORTable::AlreadyBound::AlreadyBound (void) @@ -127,7 +126,7 @@ void IORTable::AlreadyBound::_tao_encode ( { return; } - + ACE_THROW (CORBA::MARSHAL ()); } @@ -140,13 +139,13 @@ void IORTable::AlreadyBound::_tao_decode ( { return; } - + ACE_THROW (CORBA::MARSHAL ()); } -// TAO_IDL - Generated from +// TAO_IDL - Generated from // be\be_visitor_exception/exception_cs.cpp:63 IORTable::NotFound::NotFound (void) @@ -222,7 +221,7 @@ void IORTable::NotFound::_tao_encode ( { return; } - + ACE_THROW (CORBA::MARSHAL ()); } @@ -235,7 +234,7 @@ void IORTable::NotFound::_tao_decode ( { return; } - + ACE_THROW (CORBA::MARSHAL ()); } @@ -248,7 +247,7 @@ void IORTable::NotFound::_tao_decode ( ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION IORTable::Table_ptr -TAO::Objref_Traits<IORTable::Table>::duplicate ( +TAO::Objref_Traits<IORTable::Table>::tao_duplicate ( IORTable::Table_ptr p ) { @@ -257,7 +256,7 @@ TAO::Objref_Traits<IORTable::Table>::duplicate ( ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION void -TAO::Objref_Traits<IORTable::Table>::release ( +TAO::Objref_Traits<IORTable::Table>::tao_release ( IORTable::Table_ptr p ) { @@ -266,14 +265,14 @@ TAO::Objref_Traits<IORTable::Table>::release ( ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION IORTable::Table_ptr -TAO::Objref_Traits<IORTable::Table>::nil (void) +TAO::Objref_Traits<IORTable::Table>::tao_nil (void) { return IORTable::Table::_nil (); } ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION CORBA::Boolean -TAO::Objref_Traits<IORTable::Table>::marshal ( +TAO::Objref_Traits<IORTable::Table>::tao_marshal ( IORTable::Table_ptr p, TAO_OutputCDR & cdr ) @@ -282,7 +281,7 @@ TAO::Objref_Traits<IORTable::Table>::marshal ( } // Function pointer for collocation factory initialization. -TAO::Collocation_Proxy_Broker * +TAO::Collocation_Proxy_Broker * (*IORTable__TAO_Table_Proxy_Broker_Factory_function_pointer) ( CORBA::Object_ptr obj ) = 0; @@ -303,10 +302,10 @@ IORTable::Table::_narrow ( { return Table::_nil (); } - + Table_ptr proxy = dynamic_cast<Table_ptr> (_tao_objref); - + return Table::_duplicate (proxy); } @@ -320,10 +319,10 @@ IORTable::Table::_unchecked_narrow ( { return Table::_nil (); } - + Table_ptr proxy = dynamic_cast<Table_ptr> (_tao_objref); - + return Table::_duplicate (proxy); } @@ -334,7 +333,7 @@ IORTable::Table::_duplicate (Table_ptr obj) { obj->_add_ref (); } - + return obj; } @@ -385,7 +384,7 @@ IORTable::Table::marshal (TAO_OutputCDR &) ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION IORTable::Locator_ptr -TAO::Objref_Traits<IORTable::Locator>::duplicate ( +TAO::Objref_Traits<IORTable::Locator>::tao_duplicate ( IORTable::Locator_ptr p ) { @@ -394,7 +393,7 @@ TAO::Objref_Traits<IORTable::Locator>::duplicate ( ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION void -TAO::Objref_Traits<IORTable::Locator>::release ( +TAO::Objref_Traits<IORTable::Locator>::tao_release ( IORTable::Locator_ptr p ) { @@ -403,14 +402,14 @@ TAO::Objref_Traits<IORTable::Locator>::release ( ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION IORTable::Locator_ptr -TAO::Objref_Traits<IORTable::Locator>::nil (void) +TAO::Objref_Traits<IORTable::Locator>::tao_nil (void) { return IORTable::Locator::_nil (); } ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION CORBA::Boolean -TAO::Objref_Traits<IORTable::Locator>::marshal ( +TAO::Objref_Traits<IORTable::Locator>::tao_marshal ( IORTable::Locator_ptr p, TAO_OutputCDR & cdr ) @@ -419,7 +418,7 @@ TAO::Objref_Traits<IORTable::Locator>::marshal ( } // Function pointer for collocation factory initialization. -TAO::Collocation_Proxy_Broker * +TAO::Collocation_Proxy_Broker * (*IORTable__TAO_Locator_Proxy_Broker_Factory_function_pointer) ( CORBA::Object_ptr obj ) = 0; @@ -440,10 +439,10 @@ IORTable::Locator::_narrow ( { return Locator::_nil (); } - + Locator_ptr proxy = dynamic_cast<Locator_ptr> (_tao_objref); - + return Locator::_duplicate (proxy); } @@ -457,10 +456,10 @@ IORTable::Locator::_unchecked_narrow ( { return Locator::_nil (); } - + Locator_ptr proxy = dynamic_cast<Locator_ptr> (_tao_objref); - + return Locator::_duplicate (proxy); } @@ -471,7 +470,7 @@ IORTable::Locator::_duplicate (Locator_ptr obj) { obj->_add_ref (); } - + return obj; } @@ -583,7 +582,7 @@ CORBA::Boolean operator>> ( TAO_Objref_Var_T< IORTable::Locator >; - + template class TAO_Objref_Out_T< IORTable::Locator @@ -598,7 +597,7 @@ CORBA::Boolean operator>> ( TAO_Objref_Var_T< IORTable::Table >; - + template class TAO_Objref_Out_T< IORTable::Table @@ -615,7 +614,7 @@ CORBA::Boolean operator>> ( TAO_Objref_Var_T< \ IORTable::Locator > - + # pragma instantiate \ TAO_Objref_Out_T< \ IORTable::Locator @@ -630,10 +629,11 @@ CORBA::Boolean operator>> ( TAO_Objref_Var_T< \ IORTable::Table > - + # pragma instantiate \ TAO_Objref_Out_T< \ IORTable::Table > -#endif /* !ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */ +#endif /* !ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */ + diff --git a/TAO/tao/IORTable/IORTableC.h b/TAO/tao/IORTable/IORTableC.h index 8b22ddb0d82..4db02def81f 100644 --- a/TAO/tao/IORTable/IORTableC.h +++ b/TAO/tao/IORTable/IORTableC.h @@ -41,8 +41,7 @@ #include "tao/Environment.h" #include "tao/Object.h" -#include "tao/SystemException.h" -#include "tao/UserException.h" +#include "tao/Exception.h" #include "tao/Objref_VarOut_T.h" #if defined (TAO_EXPORT_MACRO) @@ -68,13 +67,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; } @@ -84,22 +83,22 @@ namespace TAO namespace IORTable { - + // TAO_IDL - Generated from // be\be_interface.cpp:611 #if !defined (_IORTABLE_LOCATOR__VAR_OUT_CH_) #define _IORTABLE_LOCATOR__VAR_OUT_CH_ - + class Locator; typedef Locator *Locator_ptr; - + typedef TAO_Objref_Var_T< Locator > Locator_var; - + typedef TAO_Objref_Out_T< Locator @@ -107,23 +106,23 @@ namespace IORTable Locator_out; #endif /* end #if !defined */ - + // TAO_IDL - Generated from // be\be_visitor_exception/exception_ch.cpp:51 #if !defined (_IORTABLE_ALREADYBOUND_CH_) #define _IORTABLE_ALREADYBOUND_CH_ - + class TAO_IORTable_Export AlreadyBound : public CORBA::UserException { public: - + AlreadyBound (void); AlreadyBound (const AlreadyBound &); ~AlreadyBound (void); AlreadyBound &operator= (const AlreadyBound &); - + static AlreadyBound *_downcast (CORBA::Exception *); static CORBA::Exception *_alloc (void); @@ -135,34 +134,34 @@ namespace IORTable 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:125 }; #endif /* end #if !defined */ - + // TAO_IDL - Generated from // be\be_visitor_exception/exception_ch.cpp:51 #if !defined (_IORTABLE_NOTFOUND_CH_) #define _IORTABLE_NOTFOUND_CH_ - + class TAO_IORTable_Export NotFound : public CORBA::UserException { public: - + NotFound (void); NotFound (const NotFound &); ~NotFound (void); NotFound &operator= (const NotFound &); - + static NotFound *_downcast (CORBA::Exception *); static CORBA::Exception *_alloc (void); @@ -174,33 +173,33 @@ namespace IORTable 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:125 }; #endif /* end #if !defined */ - + // TAO_IDL - Generated from // be\be_interface.cpp:611 #if !defined (_IORTABLE_TABLE__VAR_OUT_CH_) #define _IORTABLE_TABLE__VAR_OUT_CH_ - + class Table; typedef Table *Table_ptr; - + typedef TAO_Objref_Var_T< Table > Table_var; - + typedef TAO_Objref_Out_T< Table @@ -208,43 +207,43 @@ namespace IORTable Table_out; #endif /* end #if !defined */ - + // TAO_IDL - Generated from // be\be_visitor_interface/interface_ch.cpp:54 #if !defined (_IORTABLE_TABLE_CH_) #define _IORTABLE_TABLE_CH_ - + class TAO_IORTable_Export Table : public virtual CORBA::Object { public: typedef Table_ptr _ptr_type; typedef Table_var _var_type; - + // The static operations. static Table_ptr _duplicate (Table_ptr obj); - + static Table_ptr _narrow ( CORBA::Object_ptr obj ACE_ENV_ARG_DECL_WITH_DEFAULTS ); - + static Table_ptr _unchecked_narrow ( CORBA::Object_ptr obj ACE_ENV_ARG_DECL_WITH_DEFAULTS ); - + static Table_ptr _nil (void) { return (Table_ptr)0; } - - - + + + // TAO_IDL - Generated from // be\be_visitor_operation/operation_ch.cpp:46 - + virtual void bind ( const char * object_key, const char * IOR @@ -254,10 +253,10 @@ namespace IORTable CORBA::SystemException , IORTable::AlreadyBound )) = 0; - + // TAO_IDL - Generated from // be\be_visitor_operation/operation_ch.cpp:46 - + virtual void rebind ( const char * object_key, const char * IOR @@ -266,10 +265,10 @@ namespace IORTable ACE_THROW_SPEC (( CORBA::SystemException )) = 0; - + // TAO_IDL - Generated from // be\be_visitor_operation/operation_ch.cpp:46 - + virtual void unbind ( const char * object_key ACE_ENV_ARG_DECL_WITH_DEFAULTS @@ -278,10 +277,10 @@ namespace IORTable CORBA::SystemException , IORTable::NotFound )) = 0; - + // TAO_IDL - Generated from // be\be_visitor_operation/operation_ch.cpp:46 - + virtual void set_locator ( IORTable::Locator_ptr the_locator ACE_ENV_ARG_DECL_WITH_DEFAULTS @@ -289,69 +288,69 @@ namespace IORTable ACE_THROW_SPEC (( CORBA::SystemException )) = 0; - + // TAO_IDL - Generated from // be\be_visitor_interface/interface_ch.cpp:208 - + 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. Table (void); - + virtual ~Table (void); - + private: // Private and unimplemented for concrete interfaces. Table (const Table &); - + void operator= (const Table &); }; #endif /* end #if !defined */ - + // TAO_IDL - Generated from // be\be_visitor_interface/interface_ch.cpp:54 #if !defined (_IORTABLE_LOCATOR_CH_) #define _IORTABLE_LOCATOR_CH_ - + class TAO_IORTable_Export Locator : public virtual CORBA::Object { public: typedef Locator_ptr _ptr_type; typedef Locator_var _var_type; - + // The static operations. static Locator_ptr _duplicate (Locator_ptr obj); - + static Locator_ptr _narrow ( CORBA::Object_ptr obj ACE_ENV_ARG_DECL_WITH_DEFAULTS ); - + static Locator_ptr _unchecked_narrow ( CORBA::Object_ptr obj ACE_ENV_ARG_DECL_WITH_DEFAULTS ); - + static Locator_ptr _nil (void) { return (Locator_ptr)0; } - - - + + + // TAO_IDL - Generated from // be\be_visitor_operation/operation_ch.cpp:46 - + virtual char * locate ( const char * object_key ACE_ENV_ARG_DECL_WITH_DEFAULTS @@ -360,28 +359,28 @@ namespace IORTable CORBA::SystemException , IORTable::NotFound )) = 0; - + // TAO_IDL - Generated from // be\be_visitor_interface/interface_ch.cpp:208 - + 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. Locator (void); - + virtual ~Locator (void); - + private: // Private and unimplemented for concrete interfaces. Locator (const Locator &); - + void operator= (const Locator &); }; @@ -401,18 +400,18 @@ namespace TAO #if !defined (_IORTABLE_LOCATOR__TRAITS_CH_) #define _IORTABLE_LOCATOR__TRAITS_CH_ - + ACE_TEMPLATE_SPECIALIZATION struct TAO_IORTable_Export Objref_Traits<IORTable::Locator> { - static IORTable::Locator_ptr duplicate ( + static IORTable::Locator_ptr tao_duplicate ( IORTable::Locator_ptr ); - static void release ( + static void tao_release ( IORTable::Locator_ptr ); - static IORTable::Locator_ptr nil (void); - static CORBA::Boolean marshal ( + static IORTable::Locator_ptr tao_nil (void); + static CORBA::Boolean tao_marshal ( IORTable::Locator_ptr p, TAO_OutputCDR & cdr ); @@ -422,18 +421,18 @@ namespace TAO #if !defined (_IORTABLE_TABLE__TRAITS_CH_) #define _IORTABLE_TABLE__TRAITS_CH_ - + ACE_TEMPLATE_SPECIALIZATION struct TAO_IORTable_Export Objref_Traits<IORTable::Table> { - static IORTable::Table_ptr duplicate ( + static IORTable::Table_ptr tao_duplicate ( IORTable::Table_ptr ); - static void release ( + static void tao_release ( IORTable::Table_ptr ); - static IORTable::Table_ptr nil (void); - static CORBA::Boolean marshal ( + static IORTable::Table_ptr tao_nil (void); + static CORBA::Boolean tao_marshal ( IORTable::Table_ptr p, TAO_OutputCDR & cdr ); @@ -472,3 +471,4 @@ TAO_IORTable_Export CORBA::Boolean operator>> (TAO_InputCDR &, IORTable::NotFoun #include /**/ "ace/post.h" #endif /* ifndef */ + |