summaryrefslogtreecommitdiff
path: root/TAO/tao/IORInterceptor/IORInterceptorC.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tao/IORInterceptor/IORInterceptorC.cpp')
-rw-r--r--TAO/tao/IORInterceptor/IORInterceptorC.cpp153
1 files changed, 12 insertions, 141 deletions
diff --git a/TAO/tao/IORInterceptor/IORInterceptorC.cpp b/TAO/tao/IORInterceptor/IORInterceptorC.cpp
index 684f5361ebc..0a657bf65a8 100644
--- a/TAO/tao/IORInterceptor/IORInterceptorC.cpp
+++ b/TAO/tao/IORInterceptor/IORInterceptorC.cpp
@@ -26,18 +26,20 @@
// http://www.cs.wustl.edu/~schmidt/TAO.html
// TAO_IDL - Generated from
-// be\be_codegen.cpp:277
+// be\be_codegen.cpp:291
-#include "tao/IORInterceptor/IORInterceptor.h"
+#include "IORInterceptor.h"
#include "tao/CDR.h"
#include "ace/OS_NS_string.h"
+#if defined (__BORLANDC__)
+#pragma option -w-rvl -w-rch -w-ccc -w-aus -w-sig
+#endif /* __BORLANDC__ */
+
// TAO_IDL - Generated from
// be\be_visitor_arg_traits.cpp:70
-TAO_BEGIN_VERSIONED_NAMESPACE_DECL
-
// Arg traits specializations.
namespace TAO
{
@@ -71,13 +73,13 @@ TAO::Objref_Traits<PortableInterceptor::IORInterceptor>::nil (void)
return PortableInterceptor::IORInterceptor::_nil ();
}
-::CORBA::Boolean
+CORBA::Boolean
TAO::Objref_Traits<PortableInterceptor::IORInterceptor>::marshal (
PortableInterceptor::IORInterceptor_ptr p,
TAO_OutputCDR & cdr
)
{
- return ::CORBA::Object::marshal (p, cdr);
+ return CORBA::Object::marshal (p, cdr);
}
PortableInterceptor::IORInterceptor::IORInterceptor (void)
@@ -88,7 +90,7 @@ PortableInterceptor::IORInterceptor::~IORInterceptor (void)
PortableInterceptor::IORInterceptor_ptr
PortableInterceptor::IORInterceptor::_narrow (
- ::CORBA::Object_ptr _tao_objref
+ CORBA::Object_ptr _tao_objref
ACE_ENV_ARG_DECL_NOT_USED
)
{
@@ -99,7 +101,7 @@ PortableInterceptor::IORInterceptor::_narrow (
PortableInterceptor::IORInterceptor_ptr
PortableInterceptor::IORInterceptor::_unchecked_narrow (
- ::CORBA::Object_ptr _tao_objref
+ CORBA::Object_ptr _tao_objref
ACE_ENV_ARG_DECL_NOT_USED
)
{
@@ -125,7 +127,7 @@ PortableInterceptor::IORInterceptor::_tao_release (IORInterceptor_ptr obj)
CORBA::release (obj);
}
-::CORBA::Boolean
+CORBA::Boolean
PortableInterceptor::IORInterceptor::_is_a (
const char *value
ACE_ENV_ARG_DECL_NOT_USED
@@ -163,139 +165,8 @@ const char* PortableInterceptor::IORInterceptor::_interface_repository_id (void)
return "IDL:omg.org/PortableInterceptor/IORInterceptor:1.0";
}
-::CORBA::Boolean
+CORBA::Boolean
PortableInterceptor::IORInterceptor::marshal (TAO_OutputCDR &)
{
return false;
}
-
-// TAO_IDL - Generated from
-// be\be_visitor_interface/interface_cs.cpp:60
-
-// Traits specializations for PortableInterceptor::IORInterceptor_3_0.
-
-PortableInterceptor::IORInterceptor_3_0_ptr
-TAO::Objref_Traits<PortableInterceptor::IORInterceptor_3_0>::duplicate (
- PortableInterceptor::IORInterceptor_3_0_ptr p
- )
-{
- return PortableInterceptor::IORInterceptor_3_0::_duplicate (p);
-}
-
-void
-TAO::Objref_Traits<PortableInterceptor::IORInterceptor_3_0>::release (
- PortableInterceptor::IORInterceptor_3_0_ptr p
- )
-{
- CORBA::release (p);
-}
-
-PortableInterceptor::IORInterceptor_3_0_ptr
-TAO::Objref_Traits<PortableInterceptor::IORInterceptor_3_0>::nil (void)
-{
- return PortableInterceptor::IORInterceptor_3_0::_nil ();
-}
-
-::CORBA::Boolean
-TAO::Objref_Traits<PortableInterceptor::IORInterceptor_3_0>::marshal (
- PortableInterceptor::IORInterceptor_3_0_ptr p,
- TAO_OutputCDR & cdr
- )
-{
- return ::CORBA::Object::marshal (p, cdr);
-}
-
-PortableInterceptor::IORInterceptor_3_0::IORInterceptor_3_0 (void)
-{}
-
-PortableInterceptor::IORInterceptor_3_0::~IORInterceptor_3_0 (void)
-{}
-
-PortableInterceptor::IORInterceptor_3_0_ptr
-PortableInterceptor::IORInterceptor_3_0::_narrow (
- ::CORBA::Object_ptr _tao_objref
- ACE_ENV_ARG_DECL_NOT_USED
- )
-{
- return IORInterceptor_3_0::_duplicate (
- dynamic_cast<IORInterceptor_3_0_ptr> (_tao_objref)
- );
-}
-
-PortableInterceptor::IORInterceptor_3_0_ptr
-PortableInterceptor::IORInterceptor_3_0::_unchecked_narrow (
- ::CORBA::Object_ptr _tao_objref
- ACE_ENV_ARG_DECL_NOT_USED
- )
-{
- return IORInterceptor_3_0::_duplicate (
- dynamic_cast<IORInterceptor_3_0_ptr> (_tao_objref)
- );
-}
-
-PortableInterceptor::IORInterceptor_3_0_ptr
-PortableInterceptor::IORInterceptor_3_0::_duplicate (IORInterceptor_3_0_ptr obj)
-{
- if (! CORBA::is_nil (obj))
- {
- obj->_add_ref ();
- }
-
- return obj;
-}
-
-void
-PortableInterceptor::IORInterceptor_3_0::_tao_release (IORInterceptor_3_0_ptr obj)
-{
- CORBA::release (obj);
-}
-
-::CORBA::Boolean
-PortableInterceptor::IORInterceptor_3_0::_is_a (
- const char *value
- ACE_ENV_ARG_DECL_NOT_USED
- )
-{
- if (
- !ACE_OS::strcmp (
- value,
- "IDL:omg.org/PortableInterceptor/Interceptor:1.0"
- ) ||
- !ACE_OS::strcmp (
- value,
- "IDL:omg.org/PortableInterceptor/IORInterceptor:1.0"
- ) ||
- !ACE_OS::strcmp (
- value,
- "IDL:omg.org/PortableInterceptor/IORInterceptor_3_0:1.0"
- ) ||
- !ACE_OS::strcmp (
- value,
- "IDL:omg.org/CORBA/LocalObject:1.0"
- ) ||
- !ACE_OS::strcmp (
- value,
- "IDL:omg.org/CORBA/Object:1.0"
- )
- )
- {
- return true; // success using local knowledge
- }
- else
- {
- return false;
- }
-}
-
-const char* PortableInterceptor::IORInterceptor_3_0::_interface_repository_id (void) const
-{
- return "IDL:omg.org/PortableInterceptor/IORInterceptor_3_0:1.0";
-}
-
-::CORBA::Boolean
-PortableInterceptor::IORInterceptor_3_0::marshal (TAO_OutputCDR &)
-{
- return false;
-}
-
-TAO_END_VERSIONED_NAMESPACE_DECL