diff options
Diffstat (limited to 'TAO/tao/PortableServer/PS_CurrentC.h')
-rw-r--r-- | TAO/tao/PortableServer/PS_CurrentC.h | 103 |
1 files changed, 60 insertions, 43 deletions
diff --git a/TAO/tao/PortableServer/PS_CurrentC.h b/TAO/tao/PortableServer/PS_CurrentC.h index f897b62f9ce..69ac3faaf4d 100644 --- a/TAO/tao/PortableServer/PS_CurrentC.h +++ b/TAO/tao/PortableServer/PS_CurrentC.h @@ -26,10 +26,10 @@ // http://www.cs.wustl.edu/~schmidt/TAO.html // TAO_IDL - Generated from -// be\be_codegen.cpp:154 +// be\be_codegen.cpp:153 -#ifndef _TAO_IDL_PS_CURRENTC_H_ -#define _TAO_IDL_PS_CURRENTC_H_ +#ifndef _TAO_IDL_ORIG_PS_CURRENTC_H_ +#define _TAO_IDL_ORIG_PS_CURRENTC_H_ #include /**/ "ace/pre.h" @@ -41,13 +41,10 @@ #endif /* ACE_LACKS_PRAGMA_ONCE */ #include "tao/PortableServer/portableserver_export.h" -#include "tao/AnyTypeCode/AnyTypeCode_methods.h" #include "tao/ORB.h" #include "tao/SystemException.h" #include "tao/Environment.h" #include "tao/Object.h" -#include "tao/PortableServer/PS_ForwardA.h" -#include "tao/AnyTypeCode/CurrentA.h" #include "tao/Objref_VarOut_T.h" #include "tao/PortableServer/PS_ForwardC.h" @@ -58,16 +55,23 @@ #endif #define TAO_EXPORT_MACRO TAO_PortableServer_Export -// TAO_IDL - Generated from -// be\be_visitor_module/module_ch.cpp:49 +#if defined(_MSC_VER) +#pragma warning(push) +#pragma warning(disable:4250) +#endif /* _MSC_VER */ + +#if defined (__BORLANDC__) +#pragma option push -w-rvl -w-rch -w-ccc -w-inl +#endif /* __BORLANDC__ */ -TAO_BEGIN_VERSIONED_NAMESPACE_DECL +// TAO_IDL - Generated from +// be\be_visitor_module/module_ch.cpp:48 namespace PortableServer { // TAO_IDL - Generated from - // be\be_interface.cpp:646 + // be\be_interface.cpp:598 #if !defined (_PORTABLESERVER_CURRENT__VAR_OUT_CH_) #define _PORTABLESERVER_CURRENT__VAR_OUT_CH_ @@ -108,12 +112,12 @@ namespace PortableServer static void _tao_release (Current_ptr obj); static Current_ptr _narrow ( - ::CORBA::Object_ptr obj + CORBA::Object_ptr obj ACE_ENV_ARG_DECL_WITH_DEFAULTS ); static Current_ptr _unchecked_narrow ( - ::CORBA::Object_ptr obj + CORBA::Object_ptr obj ACE_ENV_ARG_DECL_WITH_DEFAULTS ); @@ -122,7 +126,7 @@ namespace PortableServer return static_cast<Current_ptr> (0); } - + static void _tao_any_destructor (void *); // TAO_IDL - Generated from // be\be_visitor_exception/exception_ch.cpp:53 @@ -130,7 +134,7 @@ namespace PortableServer #if !defined (_PORTABLESERVER_CURRENT_NOCONTEXT_CH_) #define _PORTABLESERVER_CURRENT_NOCONTEXT_CH_ - class TAO_PortableServer_Export NoContext : public ::CORBA::UserException + class TAO_PortableServer_Export NoContext : public CORBA::UserException { public: @@ -142,12 +146,12 @@ namespace PortableServer static void _tao_any_destructor (void *); - static NoContext *_downcast ( ::CORBA::Exception *); - static const NoContext *_downcast ( ::CORBA::Exception const *); + static NoContext *_downcast (CORBA::Exception *); + static const NoContext *_downcast (CORBA::Exception const *); - static ::CORBA::Exception *_alloc (void); + static CORBA::Exception *_alloc (void); - virtual ::CORBA::Exception *_tao_duplicate (void) const; + virtual CORBA::Exception *_tao_duplicate (void) const; virtual void _raise (void) const; @@ -161,11 +165,14 @@ namespace PortableServer ACE_ENV_ARG_DECL ); - virtual ::CORBA::TypeCode_ptr _tao_type (void) const; + // TAO_IDL - Generated from + // be\be_visitor_exception/exception_ch.cpp:129 + + virtual CORBA::TypeCode_ptr _tao_type (void) const; }; // TAO_IDL - Generated from - // be\be_visitor_typecode/typecode_decl.cpp:49 + // be\be_visitor_typecode/typecode_decl.cpp:44 static ::CORBA::TypeCode_ptr const _tc_NoContext; @@ -178,7 +185,7 @@ namespace PortableServer ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS ) ACE_THROW_SPEC (( - ::CORBA::SystemException, + CORBA::SystemException, ::PortableServer::Current::NoContext )) = 0; @@ -189,18 +196,7 @@ namespace PortableServer ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS ) ACE_THROW_SPEC (( - ::CORBA::SystemException, - ::PortableServer::Current::NoContext - )) = 0; - - // TAO_IDL - Generated from - // be\be_visitor_operation/operation_ch.cpp:46 - - virtual ::CORBA::Object_ptr get_reference ( - ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS - ) - ACE_THROW_SPEC (( - ::CORBA::SystemException, + CORBA::SystemException, ::PortableServer::Current::NoContext )) = 0; @@ -211,20 +207,20 @@ namespace PortableServer ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS ) ACE_THROW_SPEC (( - ::CORBA::SystemException, + CORBA::SystemException, ::PortableServer::Current::NoContext )) = 0; // TAO_IDL - Generated from // be\be_visitor_interface/interface_ch.cpp:210 - virtual ::CORBA::Boolean _is_a ( + 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); + virtual CORBA::Boolean marshal (TAO_OutputCDR &cdr); protected: // Abstract or local interface only. @@ -242,12 +238,12 @@ namespace PortableServer #endif /* end #if !defined */ // TAO_IDL - Generated from - // be\be_visitor_typecode/typecode_decl.cpp:49 + // be\be_visitor_typecode/typecode_decl.cpp:44 extern TAO_PortableServer_Export ::CORBA::TypeCode_ptr const _tc_Current; // TAO_IDL - Generated from -// be\be_visitor_module/module_ch.cpp:78 +// be\be_visitor_module/module_ch.cpp:66 } // module PortableServer @@ -258,8 +254,8 @@ namespace PortableServer namespace TAO { -#if !defined (_PORTABLESERVER_CURRENT__TRAITS_) -#define _PORTABLESERVER_CURRENT__TRAITS_ +#if !defined (_PORTABLESERVER_CURRENT__TRAITS_CH_) +#define _PORTABLESERVER_CURRENT__TRAITS_CH_ template<> struct TAO_PortableServer_Export Objref_Traits< ::PortableServer::Current> @@ -271,7 +267,7 @@ namespace TAO ::PortableServer::Current_ptr ); static ::PortableServer::Current_ptr nil (void); - static ::CORBA::Boolean marshal ( + static CORBA::Boolean marshal ( ::PortableServer::Current_ptr p, TAO_OutputCDR & cdr ); @@ -281,9 +277,30 @@ namespace TAO } // TAO_IDL - Generated from -// be\be_codegen.cpp:1040 +// be\be_visitor_interface/any_op_ch.cpp:52 + +TAO_PortableServer_Export void operator<<= (CORBA::Any &, PortableServer::Current_ptr); // copying +TAO_PortableServer_Export void operator<<= (CORBA::Any &, PortableServer::Current_ptr *); // non-copying +TAO_PortableServer_Export CORBA::Boolean operator>>= (const CORBA::Any &, PortableServer::Current_ptr &); + +// TAO_IDL - Generated from +// be\be_visitor_exception/any_op_ch.cpp:52 + +TAO_PortableServer_Export void operator<<= (CORBA::Any &, const PortableServer::Current::NoContext &); // copying version +TAO_PortableServer_Export void operator<<= (CORBA::Any &, PortableServer::Current::NoContext*); // noncopying version +TAO_PortableServer_Export CORBA::Boolean operator>>= (const CORBA::Any &, PortableServer::Current::NoContext *&); // deprecated +TAO_PortableServer_Export CORBA::Boolean operator>>= (const CORBA::Any &, const PortableServer::Current::NoContext *&); + +// TAO_IDL - Generated from +// be\be_codegen.cpp:955 + +#if defined(_MSC_VER) +#pragma warning(pop) +#endif /* _MSC_VER */ -TAO_END_VERSIONED_NAMESPACE_DECL +#if defined (__BORLANDC__) +#pragma option pop +#endif /* __BORLANDC__ */ #include /**/ "ace/post.h" |